1 2016-04-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3 * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
5 (__ALIGNMENT_COUNT): Likewise.
6 * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
7 (__ALIGNMENT_COUNT): Likewise.
8 (SYSCALL_LL): New define.
9 (SYSCALL_LL64): Likewise.
10 * sysdeps/unix/sysv/linux/mips/kernel-features.h:
11 [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
12 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
13 [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
15 * sysdeps/unix/sysv/linux/arm/kernel-features.h
16 (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
17 * sysdeps/unix/sysv/linux/mips/kernel-features.h
18 [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
19 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
20 [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
22 2016-04-11 Florian Weimer <fweimer@redhat.com>
25 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
26 original buffer before retry.
28 2016-04-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
31 [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
32 * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
34 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
35 including <ldsodefs.h>.
36 * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
38 2016-04-09 Nick Alcock <nick.alcock@oracle.com>
40 * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
41 * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
44 2016-04-09 Khem Raj <raj.khem@gmail.com>
47 * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
50 2016-04-09 Mike Frysinger <vapier@gentoo.org>
52 * sysdeps/i386/configure.ac: Change == to = when calling test.
53 * sysdeps/x86_64/configure.ac: Likewise.
54 * sysdeps/i386/configure: Regenerated.
55 * sysdeps/x86_64/configure: Likewise.
57 2016-04-08 Mike Frysinger <vapier@gentoo.org>
60 * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
61 * benchtests/bench-strcoll.c (input_files): Likewise.
62 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
63 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
64 * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
66 2016-04-08 Joseph Myers <joseph@codesourcery.com>
69 * include/bits/xopen_lim.h (NL_NMAX): Do not define if
70 [__USE_XOPEN2K8 && !__USE_GNU].
71 * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
75 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
76 define if [!__USE_MISC && __USE_XOPEN2K].
77 * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
78 * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
79 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
81 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
82 * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
84 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
86 2016-04-07 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
88 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
89 (sysdep_routines): Add new strspn targets.
90 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
91 (__libc_ifunc_impl_list): Add strspn.
92 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
94 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
96 * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
98 * sysdeps/powerpc/powerpc64/power8/strspn.S:
101 2016-04-07 Florian Weimer <fweimer@redhat.com>
103 * misc/hsearch_r.c: Include <limits.h>.
105 2016-04-07 Florian Weimer <fweimer@redhat.com>
107 * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
109 2016-04-06 H.J. Lu <hongjiu.lu@intel.com>
111 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
112 (MEMCPY_SYMBOL): New.
113 (MEMPCPY_SYMBOL): Likewise.
114 (MEMMOVE_CHK_SYMBOL): Likewise.
115 Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
116 symbols. Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
117 __mempcpy symbols. Provide alias for __memcpy_chk in libc.a.
118 Provide alias for memcpy in libc.a and ld.so.
120 2016-04-06 H.J. Lu <hongjiu.lu@intel.com>
122 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
123 (MEMSET_CHK_SYMBOL): New. Define if not defined.
124 (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
126 Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
127 symbols. Properly check USE_MULTIARCH on __memset symbols.
129 2016-04-06 H.J. Lu <hongjiu.lu@intel.com>
131 * benchtests/Makefile (string-benchset): Add memcpy-large,
132 memmove-large and memset-large.
133 * benchtests/bench-memcpy-large.c: New file.
134 * benchtests/bench-memmove-large.c: Likewise.
135 * benchtests/bench-memmove-large.c: Likewise.
136 * benchtests/bench-string.h (TIMEOUT): Don't redefine.
138 2016-04-05 H.J. Lu <hongjiu.lu@intel.com>
140 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
141 32-bit displacement to avoid long nop between instructions.
143 2016-04-05 H.J. Lu <hongjiu.lu@intel.com>
145 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
146 a comment on VMOVU and VMOVA.
148 2016-04-04 Florian Weimer <fweimer@redhat.com>
151 Use specified locale for number formatting in strfmon_l.
152 * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
153 (__nl_lookup_word): New inline functions.
154 * include/printf.h (__print_fp_l): Declare.
155 * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
156 ___printf_fp. Add locale argument. Replace _NL_CURRENT with
157 _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
158 (___printf_fp): New function.
159 * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
160 (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
161 * stdlib/tst-strfmon_l.c (do_test): New test.
162 * stdlib/Makefile (tests): Add kt.
163 (LOCALES): Build additional locales.
164 (tst-strfmon_l.out): Require locales.
166 2016-04-03 H.J. Lu <hongjiu.lu@intel.com>
168 * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
170 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
172 * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
174 * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
177 2016-04-03 H.J. Lu <hongjiu.lu@intel.com>
179 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
180 (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
182 (__memmove_erms): Skip if source == destination.
183 (__memmove_unaligned_erms): Don't check source == destination
186 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
188 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
189 bit_arch_Fast_Copy_Backward for Intel Core proessors.
191 2016-04-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
193 * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
194 * string/strspn.c (strspn): Likewise.
196 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
198 * benchtests/bench-memset.c (do_test): Support 64-byte
200 (test_main): Test 64-byte alignment.
202 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
204 * benchtests/bench-memmove.c (test_main): Test 64-byte
207 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
209 * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
211 2016-04-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
213 * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
214 * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
215 * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
217 * string/strpbrk.c (strpbrk): Rewrite function.
218 * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
219 (__strpbrk_c2): Likewise.
220 (__strpbrk_c3): Likewise.
221 * string/string-inlines.c
222 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
224 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
227 * string/strspn.c (strcspn): Rewrite function.
228 * string/bits/string2.h (strspn): Use __builtin_strcspn.
229 (__strspn_c1): Remove inline function.
230 (__strspn_c2): Likewise.
231 (__strspn_c3): Likewise.
232 * string/string-inlines.c
233 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
234 compatibility symbol.
235 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
237 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
239 * string/string-inlines.c: Include generic version.
241 2016-04-01 Wilco Dijkstra <wdijkstr@arm.com>
242 Adhemerval Zanella <adhemerval.zanella@linaro.org>
244 * string/Version (libc): Add GLIBC_2.24.
245 * string/strcspn.c (strcspn): Rewrite function.
246 * string/bits/string2.h (strcspn): Use __builtin_strcspn.
247 (__strcspn_c1): Remove inline function.
248 (__strcspn_c2): Likewise.
249 (__strcspn_c3): Likewise.
250 * string/string-inline.c
251 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
252 compatibility symbol.
253 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
255 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
257 * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
259 2016-04-01 Stefan Liebler <stli@linux.vnet.ibm.com>
261 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
262 Use ahi instead of aghi to adjust stack pointer.
264 2016-03-31 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
267 * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
268 TEST to take significant digits as second parameter.
269 [TEST]: Redefine in terms of TEST_N taking 30
271 (do_test): Add test case to demonstrate precision
272 failure in the ldbl-128ibm printf.
273 * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
274 (__mpn_extract_long_double): Carry 7 extra intermediate
275 bits of precision to aide computing difference when
278 2016-03-31 H.J. Lu <hongjiu.lu@intel.com>
281 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
282 memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
283 memset-avx512-unaligned-erms.
284 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
285 (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
286 __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
287 __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
288 __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
289 __memset_sse2_unaligned_erms, __memset_erms,
290 __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
291 __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
292 * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
294 * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
296 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
298 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
301 2016-03-31 H.J. Lu <hongjiu.lu@intel.com>
304 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
305 memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
306 memmove-avx512-unaligned-erms.
307 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
308 (__libc_ifunc_impl_list): Test
309 __memmove_chk_avx512_unaligned_2,
310 __memmove_chk_avx512_unaligned_erms,
311 __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
312 __memmove_chk_sse2_unaligned_2,
313 __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
314 __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
315 __memmove_avx512_unaligned_erms, __memmove_erms,
316 __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
317 __memcpy_chk_avx512_unaligned_2,
318 __memcpy_chk_avx512_unaligned_erms,
319 __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
320 __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
321 __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
322 __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
323 __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
324 __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
325 __mempcpy_chk_avx512_unaligned_erms,
326 __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
327 __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
328 __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
329 __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
330 __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
332 * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
334 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
336 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
338 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
341 2016-03-31 Stefan Liebler <stli@linux.vnet.ibm.com>
343 * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
344 (La_s390_32_regs): Append vector register lr_v24-lr_v31.
345 (La_s390_64_regs): Likewise.
346 (La_s390_32_retval): Append vector register lrv_v24.
347 (La_s390_64_retval): Likeweise.
348 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
349 Handle extended structs La_s390_32_regs and La_s390_32_retval.
350 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
351 Handle extended structs La_s390_64_regs and La_s390_64_retval.
353 2016-03-31 Stefan Liebler <stli@linux.vnet.ibm.com>
356 * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
357 to create a non-vector/vector version for _dl_runtime_resolve and
358 _dl_runtime_profile. Move implementation to ...
359 * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
360 (_dl_runtime_resolve) Save and restore fpr/vrs.
361 (_dl_runtime_profile) Save and restore vrs and fix some issues
362 if _dl_call_pltexit is called.
363 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
364 Choose the correct resolver function if running on a machine with vx.
365 * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
366 to create a non-vector/vector version for _dl_runtime_resolve and
367 _dl_runtime_profile. Move implementation to ...
368 * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
369 (_dl_runtime_resolve) Save and restore fpr/vrs.
370 (_dl_runtime_profile) Save and restore vrs and fix some issues
371 * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
372 Choose the correct resolver function if running on a machine with vx.
374 2016-03-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
376 * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
378 2016-03-31 Florian Weimer <fweimer@redhat.com>
381 * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
383 * elf/tst-dlsym-error.c: New file.
384 * elf/Makefile (tests): Add tst-dlsym-error.
385 (tst-dlsym-error): Link against libdl.
387 2016-03-29 Joseph Myers <joseph@codesourcery.com>
389 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
390 (__ASSUME_FUTIMESAT): Remove macro.
391 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
393 2016-03-29 Florian Weimer <fweimer@redhat.com>
397 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
400 2016-03-29 Florian Weimer <fweimer@redhat.com>
403 * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
404 error if parse_line fails.
406 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
408 * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
409 (index_cpu_ERMS): Likewise.
410 (reg_ERMS): Likewise.
412 2016-03-28 Aurelien Jarno <aurelien@aurel32.net>
414 * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
415 PER_LINUX_FDPIC): Add.
417 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
419 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
420 memcpy-avx512-no-vzeroupper.
421 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
423 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
424 (MEMCPY): Don't define.
425 (MEMCPY_CHK): Likewise.
427 (MEMPCPY_CHK): Likewise.
428 (MEMPCPY_CHK): Renamed to ...
429 (__mempcpy_chk_avx512_no_vzeroupper): This.
430 (MEMPCPY_CHK): Renamed to ...
431 (__mempcpy_chk_avx512_no_vzeroupper): This.
432 (MEMCPY_CHK): Renamed to ...
433 (__memmove_chk_avx512_no_vzeroupper): This.
434 (MEMCPY): Renamed to ...
435 (__memmove_avx512_no_vzeroupper): This.
436 (__memcpy_avx512_no_vzeroupper): New alias.
437 (__memcpy_chk_avx512_no_vzeroupper): Likewise.
439 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
442 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
443 mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
444 and mempcpy-avx512-no-vzeroupper.
445 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
448 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
451 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
453 * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
455 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
456 * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
458 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
459 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
461 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
462 Amit Pawar <Amit.Pawar@amd.com>
465 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
466 Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
467 processors. Set Fast_Copy_Backward for AMD Excavator
469 * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
471 (index_arch_Fast_Unaligned_Copy): Likewise.
472 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
473 Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
475 2016-03-25 Florian Weimer <fweimer@redhat.com>
478 * resolv/res_send.c (close_and_return_error): New function.
479 (send_dg): Initialize *resplen2 after reopen failure. Call
480 close_and_return_error for error returns. On error paths without
481 __res_iclose, initialze *resplen2 explicitly. Update comment for
484 2016-03-25 Florian Weimer <fweimer@redhat.com>
487 * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
488 zero if the compiler does not provide the AVX512F bit.
490 2016-03-24 Joseph Myers <joseph@codesourcery.com>
493 * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
495 (__ieee754_powl): Compare integer exponent against 4 not 8.
496 * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
498 (__ieee754_powl): Compare integer exponent against 4 not 8.
499 * math/auto-libm-test-in: Add more tests of pow.
500 * math/auto-libm-test-out: Regenerated.
501 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
502 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
504 2016-03-23 Aurelien Jarno <aurelien@aurel32.net>
506 * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
507 Make code unconditional.
508 [!__NR_utimensat]: Remove conditional code.
509 * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
510 Make code unconditional.
511 [!__NR_utimensat]: Remove conditional code.
512 * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
513 Make code unconditional.
514 [!__NR_utimensat]: Remove conditional code.
516 2016-03-23 Aurelien Jarno <aurelien@aurel32.net>
518 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
519 Make code unconditional.
521 2016-03-23 Nick Alcock <nick.alcock@oracle.com>
523 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
524 call-clobbered %eax on retry path.
525 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
527 2016-03-22 H.J. Lu <hongjiu.lu@intel.com>
529 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
530 Don't set %rcx twice before "rep movsb".
532 2016-03-22 H.J. Lu <hongjiu.lu@intel.com>
535 * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
536 inline. Check family before setting family, model and
537 extended_model. Set AVX, AVX2, AVX512, FMA and FMA4 usable
539 (init_cpu_features): Replace HAS_CPU_FEATURE and
540 HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
541 CPU_FEATURES_ARCH_P. Set index_arch_AVX_Fast_Unaligned_Load
542 for Intel processors with usable AVX2. Call get_common_indeces
543 for other processors with family == NULL.
544 * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
545 (CPU_FEATURES_ARCH_P): Likewise.
546 (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
547 (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
549 2016-03-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
551 * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
552 $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
553 $(shared-thread-library) instead of hardcoding the path to libpthread.
555 2016-03-22 Joseph Myers <joseph@codesourcery.com>
557 * sysdeps/unix/sysv/linux/kernel-features.h
558 (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
559 * sysdeps/unix/sysv/linux/getdents.c
560 [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
561 [!have_no_getdents64_defined]: Likewise.
562 (__GETDENTS): Remove __have_no_getdents64 conditional.
564 2016-03-21 Joseph Myers <joseph@codesourcery.com>
566 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
568 * sysdeps/unix/sysv/linux/signalfd.c: Do not include
570 (signalfd) [__NR_signalfd4]: Make code unconditional.
571 (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
573 2016-03-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
575 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
578 2016-03-21 H.J. Lu <hongjiu.lu@intel.com>
580 * sysdeps/unix/sysv/linux/x86_64/cancellation.S
581 (__pthread_enable_asynccancel): Use JUMPTARGET to call
583 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
584 (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
585 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
586 (__condvar_cleanup1): Likewise.
588 2016-03-21 Dylan Alex Simon <dylan-sourceware@dylex.net>
591 * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
592 move it to the final $@ location.
594 2016-03-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
596 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
597 access where posix_spawn success and pid argument is null.
598 * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
601 2016-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>:
603 * sysdeps/mach/hurd/i386/c++-types.data: New file.
605 * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
607 * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
609 * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
611 * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
612 adding attribute_hidden to __open and __fcntl.
614 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
615 "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
616 depend on libc-modules.h,
617 * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
619 2016-03-17 Joseph Myers <joseph@codesourcery.com>
621 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
623 * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
624 * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
627 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
629 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
630 include <kernel-features.h>.
631 [!__ASSUME_FALLOCATE]: Remove conditional code.
632 (posix_fallocate) [__NR_fallocate]: Make code unconditional.
634 2016-03-16 H.J. Lu <hongjiu.lu@intel.com>
636 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
637 (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
638 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
639 (_ZGVdN4v_cos_avx2): Likewise.
640 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
641 (_ZGVdN4v_cos): Likewise.
642 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
643 (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
644 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
645 (_ZGVdN4v_exp_avx2): Likewise.
646 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
647 (_ZGVdN4v_exp): Likewise.
648 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
649 (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
650 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
651 (_ZGVdN4v_log_avx2): Likewise.
652 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
653 (_ZGVdN4v_log): Likewise.
654 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
655 (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
656 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
657 (_ZGVdN4vv_pow_avx2): Likewise.
658 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
659 (_ZGVdN4vv_pow): Likewise.
660 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
661 (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
662 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
663 (_ZGVdN4v_sin_avx2): Likewise.
664 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
665 (_ZGVdN4v_sin): Likewise.
666 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
667 (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
668 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
669 (_ZGVdN4vvv_sincos_avx2): Likewise.
670 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
671 (_ZGVdN4vvv_sincos): Likewise.
672 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
673 (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
674 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
675 (_ZGVbN4v_cosf_sse4): Likewise.
676 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
677 (_ZGVdN8v_cosf_avx2): Likewise.
678 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
679 (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
680 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
681 (_ZGVbN4v_expf_sse4): Likewise.
682 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
683 (_ZGVdN8v_expf_avx2): Likewise.
684 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
685 (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
686 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
687 (_ZGVbN4v_logf_sse4): Likewise.
688 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
689 (_ZGVdN8v_logf_avx2): Likewise.
690 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
691 (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
692 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
693 (_ZGVbN4vv_powf_sse4): Likewise.
694 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
695 (_ZGVdN8vv_powf_avx2): Likewise.
696 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
697 (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
698 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
699 (_ZGVbN4vvv_sincosf_sse4): Likewise.
700 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
701 (_ZGVdN8vvv_sincosf_avx2): Likewise.
702 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
703 (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
704 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
705 (_ZGVbN4v_sinf_sse4): Likewise.
706 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
707 (_ZGVdN8v_sinf_avx2): Likewise.
708 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
709 Use JUMPTARGET to call callee.
710 (WRAPPER_IMPL_SSE2_ff): Likewise.
711 (WRAPPER_IMPL_SSE2_fFF): Likewise.
712 (WRAPPER_IMPL_AVX): Likewise.
713 (WRAPPER_IMPL_AVX_ff): Likewise.
714 (WRAPPER_IMPL_AVX_fFF): Likewise.
715 (WRAPPER_IMPL_AVX512): Likewise.
716 (WRAPPER_IMPL_AVX512_ff): Likewise.
717 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
719 (WRAPPER_IMPL_SSE2_ff): Likewise.
720 (WRAPPER_IMPL_SSE2_fFF): Likewise.
721 (WRAPPER_IMPL_AVX): Likewise.
722 (WRAPPER_IMPL_AVX_ff): Likewise.
723 (WRAPPER_IMPL_AVX_fFF): Likewise.
724 (WRAPPER_IMPL_AVX512): Likewise.
725 (WRAPPER_IMPL_AVX512_ff): Likewise.
726 (WRAPPER_IMPL_AVX512_fFF): Likewise.
728 2016-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
730 * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
731 * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
733 * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
734 internal_function qualifiers.
736 2016-03-15 Carlos O'Donell <carlos@redhat.com>
738 * catgets/tst-catgets.c (do_bz17905): Mark result unused.
739 * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
740 * math/atest-exp.c (exp_mpn): Mark chk unused.
741 * math/atest-exp2.c (exp_mpn): Likwise.
742 * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
743 * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
745 2016-03-15 Joseph Myers <joseph@codesourcery.com>
747 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
749 * sysdeps/unix/sysv/linux/ppoll.c: Do not include
751 [__NR_ppoll]: Make code unconditional.
752 [!__ASSUME_PPOLL]: Remove conditional code.
754 * sysdeps/unix/sysv/linux/kernel-features.h
755 (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
756 (__ASSUME_ACCEPT4): Likewise.
757 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
759 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
761 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
763 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
765 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
766 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
767 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
768 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
769 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
770 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
771 * sysdeps/unix/sysv/linux/arm/kernel-features.h
772 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
773 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
774 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
775 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
776 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
777 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
778 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
779 * sysdeps/unix/sysv/linux/i386/kernel-features.h
780 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
782 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
784 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
785 0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
787 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
788 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
789 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
790 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
791 0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
793 [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
794 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
795 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
796 0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
798 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
799 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
800 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
801 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
802 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
803 (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
804 0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
806 * sysdeps/unix/sysv/linux/mips/kernel-features.h
807 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
808 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
809 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
810 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
811 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
812 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
813 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
814 * sysdeps/unix/sysv/linux/s390/kernel-features.h
815 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
816 0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
818 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
819 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
820 * sysdeps/unix/sysv/linux/sh/kernel-features.h
821 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
822 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
823 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
824 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
825 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
826 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
827 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
828 * sysdeps/unix/sysv/linux/tile/kernel-features.h
829 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
830 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
831 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
832 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
833 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
834 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
836 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
839 2016-03-15 Andreas Schwab <schwab@suse.de>
842 * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
843 statp->_u._ext.nscount as loop count.
845 2016-03-14 Andreas Schwab <schwab@linux-m68k.org>
847 * math/test-signgam-finite-c99.c: Also #undef
848 __LIBC_INTERNAL_MATH_INLINES.
849 * math/test-signgam-main.c: Likewise.
851 2016-03-14 Joseph Myers <joseph@codesourcery.com>
853 * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
854 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
855 (MADV_FREE): Likewise.
856 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
857 * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
860 2016-03-14 Carlos O'Donell <carlos@redhat.com>
862 * timezone/README: Remove mention of checktab.awk. Mention wiki
865 2016-03-13 Samuel Thibault <samuel.thibault@ens-lyon.org
867 * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
870 2016-03-11 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
872 * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
873 order to match the type of p when calling atomic_exchange_acq().
875 2016-03-11 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
877 * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
879 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
880 * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
881 * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
882 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
883 * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
885 2016-03-10 Carlos O'Donell <carlos@redhat.com>
887 * timezone/checktab.awk: Removed.
889 2016-03-10 Joseph Myers <joseph@codesourcery.com>
891 * manual/math.texi (Errors in Math Functions): Document relaxed
892 accuracy goals for IBM long double.
893 * math/libm-test.inc (test_exceptions): Always allow spurious
894 "underflow" and "inexact" exceptions for IBM long double.
896 2016-03-10 H.J. Lu <hongjiu.lu@intel.com>
899 * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
900 (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
901 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
902 * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
903 (bit_arch_*): This for feature array.
904 (bit_*): Renamed to ...
905 (bit_cpu_*): This for cpu array.
906 (index_*): Renamed to ...
907 (index_arch_*): This for feature array.
908 (index_*): Renamed to ...
909 (index_cpu_*): This for cpu array.
910 [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
911 [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
912 [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
913 [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
914 bit_##name with index_cpu_##name and bit_cpu_##name.
915 [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
916 bit_##name with index_arch_##name and bit_arch_##name.
918 2016-03-09 Aurelien Jarno <aurelien@aurel32.net>
921 * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
922 Terminate FDE before return label.
924 2016-03-09 Joseph Myers <joseph@codesourcery.com>
927 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
928 (rintl): Define as macro.
929 [USE_AS_NEARBYINTL] (__rintl): Likewise.
930 (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
931 of fesetround. Ensure results are evaluated before end of scope.
932 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
933 USE_AS_NEARBYINTL and include s_rintl.c.
934 * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
935 Disable exception traps in new environment.
936 (libc_feholdsetround_ppc_ctx): Likewise.
938 2016-03-08 Roland McGrath <roland@hack.frob.com>
940 * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
941 * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
942 (tst_audit10_aux) [__AVX512F__]: ... here.
944 2016-03-08 Aurelien Jarno <aurelien@aurel32.net>
946 * include/sys/auxv.h: New file.
948 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
951 * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
953 2016-03-08 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
955 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
957 (feclearexcept): Likewise.
959 2016-03-08 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
961 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
962 to reflect the entire 32-bit HWCAP.
963 * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
964 (_DL_HWCAP_FIRST): Removed. Replaced by 0 accordingly.
966 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
969 * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
970 $(test-via-rtld-prefix).
971 ($(binaries-bench)): Replace $(+link) with $(+link-tests).
973 2016-03-08 Florian Weimer <fweimer@redhat.com>
975 * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
976 union wait. Report any non-zero exit status as error.
978 2016-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
980 * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
981 configured with --enable-hardcoded-path-in-tests.
983 2016-03-08 Joseph Myers <joseph@codesourcery.com>
986 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
987 (__ieee754_remainderl): Put zero low parts in canonical form.
988 * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
990 sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
991 * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
992 with wrapper round test-fmodrem-ldbl-128ibm.c.
993 * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
995 * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
997 * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
998 test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
1000 2016-03-07 Florian Weimer <fweimer@redhat.com>
1003 * elf/ldconfig.c (opt_link): Update comment.
1004 (options): Update help string for option -X.
1005 (search_dir): Unlink stale symbolic link only if updating symbolic
1007 * elf/tst-ldconfig-X.sh: New file.
1008 * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
1009 (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
1011 2016-03-07 Andreas Schwab <schwab@suse.de>
1013 * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
1016 2016-03-07 Hongjiu Zhang <noctuorare@gmail.com>
1019 * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
1022 2016-03-07 Florian Weimer <fweimer@redhat.com>
1024 * libio/filedoalloc.c (isatty): Remove.
1025 (local_isatty): Add comment. Call __isatty directly.
1026 (_IO_file_doallocate): Update comment. Assume _LIBC.
1027 * libio/wfiledoalloc.c (isatty): Remove.
1028 (_IO_wfile_doallocate): Update comment.
1030 2016-03-07 Florian Weimer <fweimer@redhat.com>
1033 * sysdeps/x86_64/Makefile (tst-audit4): Depend on
1035 (tst-audit10): Depend on tst-audit10-aux.o.
1036 (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
1037 (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
1038 * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
1039 instead of inline AVX code.
1040 * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
1041 instead of inline AVX512 code.
1042 * sysdeps/x86_64/tst-audit4-aux.c: New file
1043 * sysdeps/x86_64/tst-audit10-aux.c: New file
1046 * test-skeleton.c (main): Do not set RLIMIT_DATA.
1048 2016-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1053 * include/sched.h (__clone): Add hidden prototype.
1054 (__clone2): Likewise.
1055 * include/unistd.h (__dup): Likewise.
1056 * posix/Makefile (tests): Add tst-spawn2.
1057 * posix/tst-spawn2.c: New file.
1058 * sysdeps/posix/dup.c (__dup): Add hidden definition.
1059 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
1060 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
1061 * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
1062 * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
1063 * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
1064 * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
1065 * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
1066 * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
1067 * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
1068 * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
1069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
1071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
1073 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
1074 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
1075 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
1076 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
1077 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
1078 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
1079 * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
1080 * sysdeps/unix/sysv/linux/nptl-signals.h
1081 (____nptl_is_internal_signal): New function.
1082 * sysdeps/unix/sysv/linux/spawni.c: New file.
1084 * posix/execvpe.c (__execvpe): Remove dynamic allocation.
1085 * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
1086 * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
1087 * posix/tst-execvp2.c (do_test): Likewise.
1088 * posix/tst-execvp3.c (do_test): Likewise.
1089 * posix/tst-execvp4.c (do_test): Likewise.
1090 * posix/tst-execvpe1.c: New file.
1091 * posix/tst-execvpe2.c: Likewise.
1092 * posix/tst-execvpe3.c: Likewise.
1093 * posix/tst-execvpe4.c: Likewise.
1094 * posix/tst-execvpe5.c: Likewise.
1095 * posix/tst-execvpe6.c: Likewise.
1098 * posix/execl.c (execl): Remove dynamic memory allocation.
1099 * posix/execle.c (execle): Likewise.
1100 * posix/execlp.c (execlp): Likewise.
1102 2016-03-06 H.J. Lu <hongjiu.lu@intel.com>
1104 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
1105 Replace .text with .text.avx512.
1106 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
1109 2016-03-07 Aurelien Jarno <aurelien@aurel32.net>
1111 * sysdeps/generic/libnsl.abilist: New file.
1112 * sysdeps/generic/libutil.abilist: New file.
1114 2016-03-06 H.J. Lu <hongjiu.lu@intel.com>
1117 * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
1118 HAS_ARCH_FEATURE with Fast_Rep_String.
1119 * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
1120 * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
1121 * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
1123 * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
1125 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
1126 * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
1128 * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
1129 * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
1132 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
1135 * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
1138 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
1141 * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
1142 with *__libc_start_main@GOTPCREL(%rip) in call.
1144 2016-03-04 Roland McGrath <roland@hack.frob.com>
1146 * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
1147 inside conditional for nonempty $(CXX).
1149 * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
1152 * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
1153 to test for empty $(CXX) rather than $(CXX) of "no".
1155 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
1157 * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
1159 2016-03-04 Amit Pawar <Amit.Pawar@amd.com>
1160 H.J. Lu <hongjiu.lu@intel.com>
1163 * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
1164 instead of Slow_BSF, and also check for Fast_Copy_Backward to
1165 enable __memcpy_ssse3_back.
1167 2016-03-03 H.J. Lu <hongjiu.lu@intel.com>
1170 * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
1171 (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
1173 2016-03-03 Paul Pluzhnikov <ppluzhnikov@google.com>
1176 * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
1177 (__fentry__): Likewise.
1179 2016-03-03 H.J. Lu <hongjiu.lu@intel.com>
1181 * gmon/Makefile (noprof): Add $(sysdep_noprof).
1182 * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
1184 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
1186 * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
1187 __mcount_internal directly.
1188 (C_LABEL(__fentry__)): Likewise.
1189 * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
1192 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
1194 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
1195 (__start_context): Call __setcontext directly.
1197 2016-02-26 Joseph Myers <joseph@codesourcery.com>
1199 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1200 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
1201 [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
1202 [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
1203 * sysdeps/unix/sysv/linux/arm/kernel-features.h
1204 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
1205 [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
1206 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
1207 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
1208 [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
1209 [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
1210 [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
1211 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
1212 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
1213 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
1214 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1215 [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
1216 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1217 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
1218 [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
1219 [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
1220 * sysdeps/unix/sysv/linux/mips/kernel-features.h
1221 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
1222 [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
1223 [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
1224 Remove conditional code.
1225 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
1226 [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
1227 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
1228 * sysdeps/unix/sysv/linux/sh/kernel-features.h
1229 [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
1230 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
1231 [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
1232 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
1233 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
1234 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
1235 * sysdeps/unix/sysv/linux/tile/kernel-features.h
1236 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
1238 2016-02-24 Marko Myllynen <myllynen@redhat.com>
1240 * NEWS (2.23): Fix typo in bug 19048 text.
1242 2016-02-24 Carlos O'Donell <carlos@redhat.com>
1245 * Makeconfig: Rename msgcatdir to localedir.
1246 Rename inst_msgcatdir to inst_localedir.
1247 * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
1248 * config.make.in: Add localedir.
1249 * elf/Makefile ($(objpfx)sotruss): Use localedir.
1250 (ldd-rewrite): Likewise.
1251 * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
1252 (install-others): Use inst_localedir.
1253 (CPPFLAGS): Use localedir.
1254 * locale/Makefile (locale-CPPFLAGS): Likewise.
1255 * po/Makefile (mo-installed): Use inst_localedir.
1258 * localedata/charmaps/GB18030: Update comments regarding PAU to
1261 2016-02-24 Joseph Myers <joseph@codesourcery.com>
1263 * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
1265 * sysdeps/unix/sysv/linux/configure: Regenerated.
1266 * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
1267 * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
1268 Remove conditional code.
1269 [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
1271 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
1273 (arch_minimum_kernel): Likewise.
1274 * sysdeps/unix/sysv/linux/configure: Regenerated.
1275 * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
1277 * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
1278 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
1279 (arch_minimum_kernel): Define to 2.6.32.
1280 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
1281 * README: Document Linux 3.2 requirement.
1282 * manual/install.texi (Linux): Document Linux 3.2 headers
1284 * INSTALL: Regenerated.
1286 2016-02-24 Andreas Schwab <schwab@suse.de>
1288 * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
1291 2016-02-22 Roland McGrath <roland@hack.frob.com>
1293 * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
1294 fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
1296 2016-02-22 Dmitry V. Levin <ldv@altlinux.org>
1299 * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
1301 2016-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
1303 * posix/tst-dir.c: Include libc-internal.h.
1305 2016-02-20 Florian Weimer <fweimer@redhat.com>
1308 * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
1309 * manual/filesys.texi (Reading/Closing Directory): Mention
1311 * posix/tst-dir.c (main): Disable deprecation warning in test.
1313 2016-02-19 H.J. Lu <hongjiu.lu@intel.com>
1316 * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
1318 (DL_RUNTIME_UNALIGNED_VEC_SIZE): This. Set to 8.
1319 (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
1320 (DL_RUNTIME_RESOLVE_REALIGN_STACK): This. Updated.
1321 (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
1322 (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
1323 * sysdeps/x86_64/dl-trampoline.h
1324 (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
1325 (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
1327 2016-02-19 Mark Wielaard <mjw@redhat.com>
1329 * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
1331 2016-02-19 Mark Wielaard <mjw@redhat.com>
1333 * elf/elf.h (R_386_GOT32X): New.
1334 (R_386_NUM): Update.
1335 (R_X86_64_GOTPCRELX: New.
1336 (R_X86_64_REX_GOTPCRELX): New.
1337 (R_X86_64_NUM): Update.
1339 2016-02-19 Mike Frysinger <vapier@gentoo.org>
1341 * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
1343 2016-02-19 Carlos O'Donell <carlos@systemhalted.org>
1345 * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
1346 assign attr->stackaddr to it, and adjust it down when
1347 _STACK_GROWS_UP. Change all attr->stackaddr to stackaddr.
1348 [_STACK_GROWS_UP]: Delete assert.
1349 * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
1350 Implement stack grows up logic.
1351 * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
1352 stack grows up logic.
1354 2016-02-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1356 * NEWS: Update with 2.24 template.
1358 2016-02-19 Joseph Myers <joseph@codesourcery.com>
1361 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
1362 Ensure +0.0 is returned when taking the next value below the least
1365 2016-02-19 Florian Weimer <fweimer@redhat.com>
1367 * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
1368 available. Do not define NO_THREADS.
1369 * malloc/malloc.c: Do not check NO_THREADS.
1370 * malloc/arena.c: Likewise.
1372 2016-02-19 Florian Weimer <fweimer@redhat.com>
1374 * malloc/malloc.c (__libc_mallinfo): Update comment.
1375 (struct malloc_par): Remove max_total_mem member, it was always 0.
1376 (int_mallinfo): Store 0 into usmblks (no functional change).
1377 * malloc/hooks.c (struct malloc_state): Document that
1378 max_total_mem is always 0.
1379 * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
1381 * manual/memory.texi (Statistics of Malloc): Likewise.
1383 2016-02-19 Florian Weimer <fweimer@redhat.com>
1385 * malloc/malloc.c (sysmalloc): Do not update arena_max.
1386 * malloc/arena.c (arena_max): Remove.
1387 (heap_trim, _int_new_arena): Do not update arena_max.
1389 2016-02-19 Florian Weimer <fweimer@redhat.com>
1391 * resolv/res_init.c (res_ninit): Update comment.
1393 2016-02-19 Florian Weimer <fweimer@redhat.com>
1396 * posix/spawn_int.h: Add headers and include guard.
1397 (__spawn_valid_fd): New function.
1398 * posix/spawn_faction_addopen.c
1399 (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
1400 * posix/spawn_faction_addclose.c
1401 (posix_spawn_file_actions_addclose): Likewise.
1402 * posix/spawn_faction_adddup2.c
1403 (posix_spawn_file_actions_adddup2): Likewise. Add check for
1404 second file descriptor.
1405 * posix/spawn_valid_fd.c: New file.
1406 * posix/tst-posix_spawn-fd.c: New file.
1407 * posix/Makefile (routines): Add spawn_valid_fd.
1408 (tests): Add tst-posix_spawn-fd.
1410 2016-02-19 Florian Weimer <fweimer@redhat.com>
1412 * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
1413 (do_test): Limit the number of arenas, so that we can use fewer
1414 outer threads. Limit timeout to 3 seconds, in preparation for a
1415 larger TIMEOUT value.
1417 2016-02-19 Joseph Myers <joseph@codesourcery.com>
1420 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
1421 sign in overflowing and underflowing results when overflow or
1422 underflow is detected early. Include sign in result before rather
1426 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
1427 (__ieee754_remainderl): Adjust sign of integer version of low part
1428 when taking absolute value of high part.
1429 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
1430 * math/libm-test.inc (remainder_test_data): Add another test.
1431 (remquo_test_data): Likewise.
1433 2016-02-18 Joseph Myers <joseph@codesourcery.com>
1436 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
1437 equal high parts and both low parts zero specially.
1438 * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
1439 * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
1440 Add test-fmodl-ldbl-128ibm.
1443 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
1444 common logic for all cases of shifting subnormal results. Do not
1445 insert sign bit in shifted mantissa. Always pass -1023 as biased
1446 exponent to ldbl_insert_mantissa in subnormal case.
1449 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
1450 on high and low parts then adjust result and use
1451 ldbl_canonicalize_int if needed.
1454 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
1455 on high part and __floor or __ceil on low part then use
1456 ldbl_canonicalize_int if needed.
1459 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
1460 high and low parts then use ldbl_canonicalize_int if needed.
1463 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
1465 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
1466 on high and low parts then use ldbl_canonicalize_int if needed.
1468 2016-02-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1470 * configure: Regenerated.
1472 * po/libc.pot: Regenerated.
1474 * po/be.po: Updated translation.
1475 * po/bg.po: Likewise.
1476 * po/ca.po: Likewise.
1477 * po/cs.po: Likewise.
1478 * po/da.po: Likewise.
1479 * po/el.po: Likewise.
1480 * po/eo.po: Likewise.
1481 * po/es.po: Likewise.
1482 * po/fi.po: Likewise.
1483 * po/fr.po: Likewise.
1484 * po/gl.po: Likewise.
1485 * po/hr.po: Likewise.
1486 * po/hu.po: Likewise.
1487 * po/ia.po: Likewise.
1488 * po/id.po: Likewise.
1489 * po/it.po: Likewise.
1490 * po/ja.po: Likewise.
1491 * po/lt.po: Likewise.
1492 * po/nb.po: Likewise.
1493 * po/nl.po: Likewise.
1494 * po/pt_BR.po: Likewise.
1495 * po/rw.po: Likewise.
1496 * po/sk.po: Likewise.
1497 * po/sl.po: Likewise.
1498 * po/sv.po: Likewise.
1499 * po/tr.po: Likewise.
1500 * po/zh_CN.po: Likewise.
1501 * po/zh_TW.po: Likewise.
1503 * version.h (RELEAES): Set to "development".
1504 (VERSION): Set to 2.23.90.
1506 * version.h (RELEASE): Set to "stable".
1507 (VERSION): Set to 2.23.
1508 * include/feature.h (__GLIBC_MINOR__): Set to 23.
1510 * NEWS: Updated fixed bugs.
1512 2016-02-18 H.J. Lu <hongjiu.lu@intel.com>
1513 Wilco Dijkstra <wdijkstr@arm.com>
1516 * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
1517 (_STRING_INLINE_unaligned): This.
1518 * include/string.h: Include <string_private.h>.
1519 * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
1520 _STRING_INLINE_unaligned.
1521 * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
1522 (_STRING_INLINE_unaligned): New.
1523 * sysdeps/aarch64/string_private.h: New file.
1524 * sysdeps/generic/string_private.h: Likewise.
1525 * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
1526 * sysdeps/s390/string_private.h: Likewise.
1527 * sysdeps/x86/string_private.h: Likewise.
1528 * sysdeps/m68k/m680x0/m68020/bits/string.h
1529 (_STRING_ARCH_unaligned): Renamed to ...
1530 (_STRING_INLINE_unaligned): This.
1531 * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
1533 (_STRING_INLINE_unaligned): This.
1534 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
1536 (_STRING_INLINE_unaligned): This.
1537 * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
1539 (_STRING_INLINE_unaligned): This.
1541 2016-02-17 Andrew Senkevich <andrew.senkevich@intel.com>
1542 H.J. Lu <hongjiu.lu@intel.com>
1545 * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
1548 2016-02-15 Carlos O'Donell <carlos@redhat.com>
1551 * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
1553 (gaih_getanswer): Document functional behviour. Return tryagain
1554 if any result is tryagain.
1555 * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
1557 * resolv/res_send.c: Add copyright text.
1558 (__libc_res_nsend): Document that MAXPACKET is expected.
1559 (send_vc): Document. Remove buffer reuse.
1560 (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
1561 size of the buffer. Add Dprint for truncated UDP buffer.
1563 2016-02-14 Carlos O'Donell <carlos@redhat.com>
1565 * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
1566 4.1.3, and sed 4.2.2. Remove po2test.sed comments.
1567 * INSTALL: Regenerate.
1569 2016-02-14 Jakub Jelinek <jakub@redhat.com>
1570 Jonathan Wakely <jwakely@redhat.com>
1571 Carlos O'Donell <carlos@redhat.com>
1574 * math/Makefile (tests): Add test-math-isinff.
1575 (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
1576 * math/bits/mathcalls.h [__USE_MISC]: Use
1577 '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
1578 functions not in C++11 and which don't conflict e.g. isinff,
1580 * math/test-math-isinff.cc: New file.
1582 2016-02-12 Florian Weimer <fweimer@redhat.com>
1584 * misc/bug18240.c (do_test): Set RLIMIT_AS.
1586 2016-02-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
1589 * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
1591 2016-02-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1593 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
1595 2016-02-01 Joseph Myers <joseph@codesourcery.com>
1598 * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
1599 * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
1600 * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
1601 * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
1602 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
1604 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
1606 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
1609 2016-01-27 Paul Eggert <eggert@cs.ucla.edu>
1612 * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
1613 unsigned int wraparound.
1615 2016-01-27 Florian Weimer <fweimer@redhat.com>
1618 * misc/bug18240.c: New test.
1619 * misc/Makefile (tests): Add it.
1621 2016-01-28 Steve Ellcey <sellcey@imgtec.com>
1622 Joseph Myers <joseph@codesourcery.com>
1624 * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
1625 load in branch delay slot when less than a word of input left.
1627 2016-01-27 Andreas Schwab <schwab@suse.de>
1629 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
1630 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
1631 * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
1632 * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
1634 2016-01-26 David S. Miller <davem@davemloft.net>
1636 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
1638 2016-01-25 David S. Miller <davem@davemloft.net>
1640 * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
1642 * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
1643 instead using versioned_symbol.
1644 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
1647 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
1648 __sqrtl_finite to GLIBC_2.23
1650 2016-01-25 Ricchard Henderson <rth@redhat.com>
1652 * sysdeps/alpha/fpu/libm-test-ulps: Update.
1654 2016-01-25 Andreas Schwab <schwab@suse.de>
1657 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
1658 <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
1659 * nptl/Makefile (tests): Add tst-mutex-errorcheck.
1660 * nptl/tst-mutex-errorcheck.c: New file.
1662 2016-01-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
1665 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
1666 (IPCOP_semop): Likewise.
1667 (IPCOP_semget): Likewise.
1668 (IPCOP_semctl): Likewise.
1669 (IPCOP_msgsnd): Likewise.
1670 (IPCOP_msgrcv): Likewise.
1671 (IPCOP_msgget): Likewise.
1672 (IPCOP_msgctl): Likewise.
1673 (IPCOP_shmat): Likewise.
1674 (IPCOP_shmdt): Likewise.
1675 (IPCOP_shmget): Likewise.
1676 (IPCOP_shmctl): Likewise.
1678 2016-01-22 Stefan Liebler <stli@linux.vnet.ibm.com>
1680 * string/tst-endian.c: Include <libc-internal.h>.
1681 (do_test): Ignore tautological-compare warnings around
1682 "htobeXX (beXXtoh (i)) != i" and
1683 "htoleXX (leXXtoh (i)) != i" if-statements.
1685 2016-01-24 David S. Miller <davem@davemloft.net>
1687 * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
1688 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
1690 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
1693 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1695 2016-01-25 Maciej W. Rozycki <macro@imgtec.com>
1697 * sysdeps/unix/sysv/linux/mips/configure.ac: Set
1698 `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
1699 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
1701 2016-01-22 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
1703 * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
1704 (thread_func): Use new function to simplify barrier check.
1705 (do_test): Use new function to simplify checking barrier exit
1706 code, and actually join the child thread.
1708 2016-01-22 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
1710 * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
1712 (__libc_tend): Likewise.
1713 (__libc_tabort): Likewise.
1715 2016-01-22 Chung-Lin Tang <cltang@codesourcery.com>
1717 * sysdeps/nios2/libm-test-ulps: Update.
1718 * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
1719 (__gtsf2): Likewise.
1720 (__unorddf2): Likewise.
1721 (__unordsf2): Likewise.
1722 (__ledf2): Likewise.
1724 2016-01-20 Chris Metcalf <cmetcalf@ezchip.com>
1726 * nis/nis_table.c (__follow_path): Disable diagnostic for
1727 uninitialized variable that is a false positive for gcc 4.7.
1728 * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
1730 2016-01-20 Roland McGrath <roland@hack.frob.com>
1732 * sysdeps/nacl/lowlevellock-futex.h
1733 (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
1734 Always evaluate PRIVATE argument.
1736 2016-01-20 Paul Pluzhnikov <ppluzhnikov@google.com>
1739 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
1740 (pthread_cond_broadcast): Use ENTRY/END
1741 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
1742 (pthread_cond_signal): Likewise.
1743 * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
1745 * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
1747 * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
1750 2016-01-20 Joseph Myers <joseph@codesourcery.com>
1752 * sysdeps/ieee754/dbl-64/s_finite.c
1753 [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
1754 compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
1755 SHLIB_COMPAT condition for libm, not GLIBC_2_0.
1756 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
1757 [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
1759 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
1760 (__gtsf2): Add as optional for libc.so.
1761 (__unordsf2): Likewise.
1762 (__signbit): Remove for libc.so.
1763 (__signbitl): Likewise.
1765 2016-01-19 Stefan Liebler <stli@linux.vnet.ibm.com>
1767 * iconvdata/bug-iconv11.c (test_ibm93x):
1768 Use %zu printf format specifier for size_t argument.
1770 2016-01-19 Joseph Myers <joseph@codesourcery.com>
1772 * math/gen-libm-test.pl (parse_ulps): Do not reduce
1773 already-recorded ulps.
1774 * sysdeps/arm/libm-test-ulps: Regenerated.
1775 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
1776 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1777 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
1779 2016-01-19 Andrew Senkevich <andrew.senkevich@intel.com>
1780 Paul Pluzhnikov <ppluzhnikov@google.com>
1782 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
1783 assembler not supporting AVX-512.
1785 2016-01-18 Stefan Liebler <stli@linux.vnet.ibm.com>
1787 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
1789 2016-01-18 Joseph Myers <joseph@codesourcery.com>
1791 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
1792 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1794 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
1796 * sysdeps/arm/libm-test-ulps: Regenerated.
1798 2016-01-18 Paul Pluzhnikov <ppluzhnikov@google.com>
1801 * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
1803 2016-01-15 Stefan Liebler <stli@linux.vnet.ibm.com>
1806 * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
1807 * sysdeps/generic/fix-fp-int-convert-overflow.h
1808 (FIX_LDBL_LONG_CONVERT_OVERFLOW,
1809 FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
1810 * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
1811 * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
1813 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
1814 Avoid conversions to long int where inexact exceptions
1816 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
1818 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
1819 Avoid conversions to long long int where inexact exceptions
1821 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
1824 2016-01-17 Mike Frysinger <vapier@gentoo.org>
1826 * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
1827 * configure: Regenerated.
1829 2016-01-16 Andrew Senkevich <andrew.senkevich@intel.com>
1831 * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
1833 2016-01-16 Mike Frysinger <vapier@gentoo.org>
1835 * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
1838 2016-01-15 Torvald Riegel <triegel@redhat.com>
1840 * nptl/tst-barrier1.c: Add description on first line.
1841 * nptl/tst-barrier2.c: Likewise.
1842 * nptl/tst-barrier3.c: Likewise.
1843 * nptl/tst-barrier4.c: Likewise.
1844 * nptl/tst-barrier5.c: Likewise.
1846 2016-01-15 Torvald Riegel <triegel@redhat.com>
1849 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
1851 2016-01-16 Andrew Senkevich <andrew.senkevich@intel.com>
1853 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
1854 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
1855 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
1856 * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
1857 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
1858 * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
1859 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
1860 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
1861 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
1862 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
1863 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
1865 2016-01-15 Torvald Riegel <triegel@redhat.com>
1868 * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
1870 * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
1871 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
1872 * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
1873 (BARRIER_IN_THRESHOLD): New macro.
1874 * nptl/pthread_barrierattr_setpshared.c
1875 (pthread_barrierattr_setpshared): Clean up.
1876 * nptl/tst-barrier4.c: Correct comment.
1877 * nptl/tst-barrier5.c: New file.
1878 * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
1879 (gen-as-const-headers): Remove lowlevelbarrier.sym.
1880 * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
1881 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
1882 * nptl/lowlevelbarrier.sym: Remove.
1883 * nptl/DESIGN-barrier.txt: Remove.
1884 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
1885 * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
1886 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
1887 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
1889 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
1892 2016-01-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
1894 * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
1895 (do_child): Mask SIGRTMIN while thr is running.
1897 2016-01-15 Martin Sebor <msebor@redhat.com>
1900 * iconvdata/Makefile: Add bug-iconv11.
1901 * iconvdata/bug-iconv11.c: New test.
1902 * iconvdata/ibm930.c: Do not reject redundant shift sequences.
1903 * iconvdata/ibm933.c: Same.
1904 * iconvdata/ibm935.c: Same.
1905 * iconvdata/ibm937.c: Same.
1906 * iconvdata/ibm939.c: Same.
1908 2016-01-15 Martin Sebor <msebor@redhat.com>
1911 * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
1912 [DEBUG] (_ufc_set_bits): Declare used.
1913 * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
1914 [DEBUG] (print_all): Declare used.
1915 * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
1916 operands of the ternary ?: expression to target type.
1917 * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
1918 calling the undeclared abort.
1919 * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
1921 2016-01-15 Martin Sebor <msebor@redhat.com>
1924 * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
1926 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
1927 (__gai_create_helper_thread): Same.
1928 * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
1929 * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
1930 to suppress -Wmaybe-uninitialized warnings.
1932 2016-01-15 H.J. Lu <hongjiu.lu@intel.com>
1935 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
1937 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1938 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
1939 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1941 2016-01-14 H.J. Lu <hongjiu.lu@intel.com>
1944 * time/tst-mktime2.c (time_t_max): Removed.
1945 (time_t_min): Likewise.
1947 (TYPE_MINIMUM): Likewise.
1948 (TYPE_MAXIMUM): Likewise.
1949 (TIME_T_MIN): Likewise.
1950 (TIME_T_MAX): Likewise.
1951 (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
1953 (do_test): Likewise.
1955 2016-01-14 Amit Pawar <amit.pawar@amd.com>
1958 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
1959 index_Fast_Unaligned_Load flag for Excavator family CPUs.
1961 2016-01-02 Marcin Kościelnicki <koriakin@0x04.net>
1963 * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
1965 2016-01-13 Carlos O'Donell <carlos@redhat.com>
1967 * benchtests/Makefile (PYTHON): Define.
1968 (bench-func): Use $(PYTHON) to run python scripts.
1969 ($(objpfx)bench-%.c): Likewise.
1971 2016-01-13 Flavio Cruz <flaviocruz@gmail.com>
1973 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
1974 leading slash when `file_name' is "/".
1976 2016-01-12 Joseph Myers <joseph@codesourcery.com>
1978 * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
1979 * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
1981 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
1983 * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
1985 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
1986 enum constant and macro.
1987 (PTRACE_SETSIGMASK): Likewise.
1988 (PTRACE_SECCOMP_GET_FILTER): Likewise.
1989 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
1990 (PTRACE_GETSIGMASK): Likewise.
1991 (PTRACE_SETSIGMASK): Likewise.
1992 (PTRACE_SECCOMP_GET_FILTER): Likewise.
1993 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
1995 (PTRACE_SETSIGMASK): Likewise.
1996 (PTRACE_SECCOMP_GET_FILTER): Likewise.
1997 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
1998 (PTRACE_GETSIGMASK): Likewise.
1999 (PTRACE_SETSIGMASK): Likewise.
2000 (PTRACE_SECCOMP_GET_FILTER): Likewise.
2001 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
2003 (PTRACE_SETSIGMASK): Likewise.
2004 (PTRACE_SECCOMP_GET_FILTER): Likewise.
2005 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
2007 (PTRACE_SETSIGMASK): Likewise.
2008 (PTRACE_SECCOMP_GET_FILTER): Likewise.
2009 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
2011 (PTRACE_SETSIGMASK): Likewise.
2012 (PTRACE_SECCOMP_GET_FILTER): Likewise.
2014 2016-01-11 Jonathan Wakely <jwakely.gcc@gmail.com>
2015 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2018 * math/bits/mathcalls.h
2019 [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
2021 [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
2023 2016-01-11 Andreas Schwab <schwab@suse.de>
2026 * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
2027 cache when TZDEFRULES was used.
2028 * time/tst-tzname.c: New file.
2029 * time/Makefile (test): Add tst-tzname.
2030 (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
2031 * timezone/Makefile (test-zones): Add $(posixrules-file).
2032 ($(testdata)/$(posixrules-file)): New rule.
2034 2016-01-10 Paul Eggert <eggert@cs.ucla.edu>
2036 Fix doc quoting problems with Texinfo 5
2037 Without this change, in the info file output, Texinfo 5 quotes code
2038 in text with undirected single quotes 'like this' and generates
2039 code examples that with many PDF readers cannot be cut out of PDFs
2040 and pasted into code.
2041 * manual/libc.texinfo: Configure the libc manual like the GNU
2042 Emacs manual, by using @documentencoding and setting
2043 txicodequoteundirected and txicodequotebacktick. This way,
2044 Texinfo 5 quotes code in text with directed single quotes ‘like
2045 this’ and produces examples that can be cut out of PDFs. This
2046 change causes Texinfo 5 to generate info files that contain UTF-8
2047 characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
2048 '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
2050 2016-01-08 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2052 * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
2053 __libc_tabort, __libc_tend): New wrappers that enforce compiler
2054 barriers to their respective compiler built-ins.
2055 * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
2056 ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
2057 * sysdeps/powerpc/sysdep.h: Likewise.
2058 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
2059 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
2060 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
2062 2016-01-08 Marko Myllynen <myllynen@redhat.com>
2064 * scripts/config.guess: Revert previous shebang change.
2065 * scripts/config.sub: Likewise.
2066 * scripts/mkinstalldirs: Likewise.
2068 2016-01-08 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
2070 * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
2071 PPC_FEATURE2_HAS_IEEE128.
2072 * sysdeps/powerpc/dl-procinfo.c:
2073 (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
2075 2016-01-08 John David Anglin <danglin@gcc.gnu.org>
2078 * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
2079 (elf_machine_resolve): New. Return address of _dl_runtime_resolve.
2080 (_dl_lookup_address): Rewrite using function resolver trampoline.
2081 * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
2082 two bits in address.
2084 2016-01-07 Mike Frysinger <vapier@gentoo.org>
2086 * longlong.h: Change !__SHMEDIA__ to
2087 (!defined (__SHMEDIA__) || !__SHMEDIA__).
2088 Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
2090 2016-01-07 Daniel Jacobowitz <dan@codesourcery.com>
2091 Joseph Myers <joseph@codesourcery.com>
2092 Mark Shinwell <shinwell@codesourcery.com>
2093 Andrew Stubbs <ams@codesourcery.com>
2094 Rich Felker <dalias@libc.org>
2096 * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
2098 2016-01-07 Richard Henderson <rth@redhat.com>
2100 * longlong.h [__alpha] (umul_ppmm): Disable for c++.
2102 2016-01-07 Mike Frysinger <vapier@gentoo.org>
2104 * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
2105 __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
2106 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
2107 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
2108 * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
2110 2016-01-07 Paul Eggert <eggert@cs.ucla.edu>
2111 Joseph Myers <joseph@codesourcery.com>
2113 * timezone/private.h: Update from tzcode 2015g.
2114 * timezone/tzfile.h: Likewise.
2115 * timezone/tzselect.ksh: Likewise.
2116 * timezone/zdump.c: Likewise.
2117 * timezone/zic.c: Likewise.
2118 * timezone/ialloc.c: Remove file.
2119 * timezone/scheck.c: Likewise.
2120 * timezone/Makefile (extra-objs): Remove variable.
2121 ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
2122 (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
2123 -Wno-maybe-uninitialized.
2124 (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
2125 (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
2126 (CFLAGS-ialloc.c): Remove variable.
2127 (CFLAGS-scheck.c): Likewise.
2128 * timezone/README: Update list of files from tzcode.
2130 2016-01-07 Khem Raj <raj.khem@gmail.com>
2132 * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
2133 instead of __fxprintf when _LIBC is undefined.
2135 2016-01-07 Marko Myllynen <myllynen@redhat.com>
2137 * catgets/test-gencat.sh: Remove space after shebang.
2138 * conform/GlibcConform.pm: Likewise.
2139 * conform/check-header-lists.sh: Likewise.
2140 * conform/conformtest.pl: Likewise.
2141 * conform/linknamespace.pl: Likewise.
2142 * conform/list-header-symbols.pl: Likewise.
2143 * debug/catchsegv.sh: Likewise.
2144 * elf/genrtldtbl.awk: Likewise.
2145 * elf/tst-pathopt.sh: Likewise.
2146 * elf/tst-rtld-load-self.sh: Likewise.
2147 * grp/tst_fgetgrent.sh: Likewise.
2148 * iconvdata/gen-8bit-gap-1.sh: Likewise.
2149 * iconvdata/gen-8bit-gap.sh: Likewise.
2150 * iconvdata/gen-8bit.sh: Likewise.
2151 * iconvdata/run-iconv-test.sh: Likewise.
2152 * intl/tst-gettext.sh: Likewise.
2153 * intl/tst-gettext2.sh: Likewise.
2154 * intl/tst-gettext4.sh: Likewise.
2155 * intl/tst-gettext6.sh: Likewise.
2156 * intl/tst-translit.sh: Likewise.
2157 * io/ftwtest-sh: Likewise.
2158 * libio/test-freopen.sh: Likewise.
2159 * locale/gen-translit.pl: Likewise.
2160 * malloc/tst-mtrace.sh: Likewise.
2161 * manual/check-safety.sh: Likewise.
2162 * manual/libc-texinfo.sh: Likewise.
2163 * manual/tsort.awk: Likewise.
2164 * manual/xtract-typefun.awk: Likewise.
2165 * nptl/tst-cancel-wrappers.sh: Likewise.
2166 * nptl/tst-tls6.sh: Likewise.
2167 * posix/globtest.sh: Likewise.
2168 * posix/tst-getconf.sh: Likewise.
2169 * posix/wordexp-tst.sh: Likewise.
2170 * scripts/check-c++-types.sh: Likewise.
2171 * scripts/check-local-headers.sh: Likewise.
2172 * scripts/config.guess: Likewise.
2173 * scripts/config.sub: Likewise.
2174 * scripts/cpp: Likewise.
2175 * scripts/cross-test-ssh.sh: Likewise.
2176 * scripts/documented.sh: Likewise.
2177 * scripts/evaluate-test.sh: Likewise.
2178 * scripts/gen-libc-abis: Likewise.
2179 * scripts/gen-sorted.awk: Likewise.
2180 * scripts/list-fixed-bugs.py: Likewise.
2181 * scripts/merge-test-results.sh: Likewise.
2182 * scripts/mkinstalldirs: Likewise.
2183 * scripts/rellns-sh: Likewise.
2184 * scripts/test-installation.pl: Likewise.
2185 * scripts/update-copyrights: Likewise.
2186 * stdio-common/tst-printf.sh: Likewise.
2187 * stdio-common/tst-unbputc.sh: Likewise.
2188 * stdlib/tst-fmtmsg.sh: Likewise.
2189 * stdlib/tst-setcontext3.sh: Likewise.
2190 * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
2191 * sysdeps/unix/make-syscalls.sh: Likewise.
2193 2016-01-06 John David Anglin <dave.anglin@bell.net>
2195 * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
2196 asm stw with atomic_exchange_rel. Add explanatory comment.
2197 * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
2200 2016-01-05 H.J. Lu <hongjiu.lu@intel.com>
2203 * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
2204 * sysdeps/generic/dl-unistd.h: New file.
2205 * sysdeps/mach/hurd/dl-unistd.h: Likewise.
2207 2016-01-05 H.J. Lu <hongjiu.lu@intel.com>
2210 * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
2211 * sysdeps/generic/dl-mman.h: New file.
2212 * sysdeps/mach/hurd/dl-mman.h: Likewise.
2214 2016-01-05 Joseph Myers <joseph@codesourcery.com>
2216 * manual/texinfo.tex: Update to version 2016-01-04.21 with
2217 trailing whitespace removed.
2218 * scripts/config.guess: Update to version 2016-01-01.
2219 * scripts/config.sub: Update to version 2016-01-01.
2220 * scripts/move-if-change: Update from gnulib.
2222 2016-01-04 Anton Blanchard <anton@samba.org>
2224 * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
2226 * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
2228 2016-01-04 Joseph Myers <joseph@codesourcery.com>
2230 * NEWS: Update copyright dates.
2231 * catgets/gencat.c (print_version): Likewise.
2232 * csu/version.c (banner): Likewise.
2233 * debug/catchsegv.sh: Likewise.
2234 * debug/pcprofiledump.c (print_version): Likewise.
2235 * debug/xtrace.sh (do_version): Likewise.
2236 * elf/ldconfig.c (print_version): Likewise.
2237 * elf/ldd.bash.in: Likewise.
2238 * elf/pldd.c (print_version): Likewise.
2239 * elf/sotruss.sh: Likewise.
2240 * elf/sprof.c (print_version): Likewise.
2241 * iconv/iconv_prog.c (print_version): Likewise.
2242 * iconv/iconvconfig.c (print_version): Likewise.
2243 * locale/programs/locale.c (print_version): Likewise.
2244 * locale/programs/localedef.c (print_version): Likewise.
2245 * login/programs/pt_chown.c (print_version): Likewise.
2246 * malloc/memusage.sh (do_version): Likewise.
2247 * malloc/memusagestat.c (print_version): Likewise.
2248 * malloc/mtrace.pl: Likewise.
2249 * manual/libc.texinfo: Likewise.
2250 * nptl/version.c (banner): Likewise.
2251 * nscd/nscd.c (print_version): Likewise.
2252 * nss/getent.c (print_version): Likewise.
2253 * nss/makedb.c (print_version): Likewise.
2254 * posix/getconf.c (main): Likewise.
2255 * scripts/test-installation.pl: Likewise.
2256 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
2258 * All files with FSF copyright notices: Update copyright dates
2259 using scripts/update-copyrights.
2260 * intl/plural.c: Regenerated.
2261 * locale/programs/charmap-kw.h: Likewise.
2262 * locale/programs/locfile-kw.h: Likewise.
2264 2016-01-02 Helge Deller <deller@gmx.de>
2267 * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
2268 (MAP_HUGETLB, MCL_ONFAULT): Likewise.
2269 (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
2270 (MADV_xxK_PAGES): Remove.
2272 2016-01-01 Mike Frysinger <vapier@gentoo.org>
2275 * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
2276 [BUILD_LGAMMA]: Wrap all code by define. Re-indent sub-preprocessor.
2277 * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
2278 * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
2280 2015-12-30 Dmitry V. Levin <ldv@altlinux.org>
2283 * sysdeps/unix/sysv/linux/personality.c: New file.
2284 * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
2285 * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
2286 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
2287 (sysdep_routines): Add personality.
2288 (tests): Add tst-personality.
2289 * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
2290 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
2291 * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
2292 * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
2293 * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
2294 * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
2295 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
2297 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
2299 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
2301 * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
2302 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
2305 2015-12-30 Aurelien Jarno <aurelien@aurel32.net>
2307 * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
2308 (PATH_ARM_SYSTYPE): Remove.
2309 (PATH_CPUINFO): Likewise.
2310 (IO_BASE_FOOTBRIDGE): Likewise.
2311 (IO_SHIFT_FOOTBRIDGE): Likewise.
2312 (struct platform): Likewise.
2313 (init_iosys): Remove compatibility code for 2.4 kernels.
2314 * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
2316 2015-12-29 Florian Weimer <fweimer@redhat.com>
2318 * malloc/tst-malloc-thread-fail.c: New file.
2319 * malloc/Makefile (tests): Add tst-malloc-thread-fail.
2320 (tst-malloc-thread-fail): Link against libpthread.
2322 2015-12-29 Mike Frysinger <vapier@gentoo.org>
2324 * scripts/list-fixed-bugs.py: Import argparse. Call main instead.
2325 (get_parser): New function.
2326 (main): New function.
2328 2015-12-29 Rob Wu <rob@robwu.nl>
2331 * resolv/res_init.c (__res_vinit): Reset defdname before use.
2333 2015-12-29 John David Anglin <danglin@gcc.gnu.org>
2336 * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
2338 2015-12-28 Mike Frysinger <vapier@gentoo.org>
2341 * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
2343 2015-12-23 Torvald Riegel <triegel@redhat.com>
2346 * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
2348 (__lll_robust_unlock): Likewise.
2349 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
2350 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
2351 (lll_robust_unlock): Likewise.
2352 * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
2353 Prevent warnings in callers.
2355 2015-12-23 Florian Weimer <fweimer@redhat.com>
2357 * malloc/arena.c (list_lock): Update comment.
2359 2015-12-22 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
2361 * sysdeps/powerpc/hwcapinfo.c: Export symbol
2362 __parse_hwcap_and_convert_at_platform to libc.a.
2364 2015-12-22 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
2366 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
2367 platform and feature support for POWER9.
2368 * sysdeps/powerpc/dl-procinfo.h: Likewise.
2369 * sysdeps/powerpc/powerpc32/power9/Implies: New file.
2370 * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
2371 * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
2372 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
2373 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
2374 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
2375 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
2377 2015-12-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
2379 Harmonize generic stdio-lock support with nptl
2381 This fixes build when _IO_funlockfile is a macro, fixes build where
2382 _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
2385 * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
2386 _IO_release_lock ): Use cleanup attribute on new
2387 _IO_acquire_lock_file variable instead of assuming that
2388 _IO_release_lock will be called.
2389 [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
2390 _IO_acquire_lock_needs_exceptions_enabled.
2391 (_IO_acquire_lock_clear_flags2): New macro.
2393 2015-12-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2395 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
2397 2015-12-21 Florian Weimer <fweimer@redhat.com>
2400 * malloc/arena.c (list_lock): Document lock ordering requirements.
2401 (free_list_lock): New lock.
2402 (ptmalloc_lock_all): Comment on free_list_lock.
2403 (ptmalloc_unlock_all2): Reinitialize free_list_lock.
2404 (detach_arena): Update comment. free_list_lock is now needed.
2405 (_int_new_arena): Use free_list_lock around detach_arena call.
2406 Acquire arena lock after list_lock. Add comment, including FIXME
2407 about incorrect synchronization.
2408 (get_free_list): Switch to free_list_lock.
2409 (reused_arena): Acquire free_list_lock around detach_arena call
2410 and attached threads counter update. Add two FIXMEs about
2411 incorrect synchronization.
2412 (arena_thread_freeres): Switch to free_list_lock.
2413 * malloc/malloc.c (struct malloc_state): Update comments to
2414 mention free_list_lock.
2416 2015-12-21 Siddhesh Poyarekar <siddhesh.poyarekar@linaro.org>
2418 * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
2420 (sloww, sloww1): Accept argument to offset quadrant.
2421 (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
2423 (__sin, __cos): Consolidate common code into new functions.
2424 (reduce_sincos_1, do_sincos_1): New functions.
2425 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
2427 * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
2428 code to new functions.
2429 (reduce_sincos_2, do_sincos_2): New functions.
2430 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
2432 * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
2433 common code for sincos.
2434 (__cos) [!IN_SINCOS]: Likewise.
2435 * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
2439 2015-12-20 Aurelien Jarno <aurelien@aurel32.net>
2441 * sysdeps/i386/fpu/libm-test-ulps: Move to ....
2442 * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
2443 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
2445 2015-12-19 Andrew Senkevich <andrew.senkevich@intel.com>
2447 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
2448 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
2449 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
2450 * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
2451 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2452 * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
2453 index_Prefer_No_VZEROUPPER): New feature.
2454 * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
2455 Prefer_No_VZEROUPPER for Knights Landing.
2457 015-12-18 Torvald Riegel <triegel@redhat.com>
2459 * math/atest-exp2.c (mp_exp_m1): Remove.
2461 2015-12-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2463 * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
2465 (__SYSCALL0): New macro.
2466 (__SYSCALL1): Likewise.
2467 (__SYSCALL2): Likewise.
2468 (__SYSCALL3): Likewise.
2469 (__SYSCALL4): Likewise.
2470 (__SYSCALL5): Likewise.
2471 (__SYSCALL6): Likewise.
2472 (__SYSCALL_CONCAT_X): Likewise.
2473 (__SYSCALL_CONCAT): Likewise.
2474 (__SYSCALL_DIST): Likewise.
2475 (__SYSCALL_CALL): Likewise.
2477 2015-12-17 H.J. Lu <hongjiu.lu@intel.com>
2480 * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
2482 2015-12-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2485 * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
2486 negative subnormals.
2488 2015-12-16 H.J. Lu <hongjiu.lu@intel.com>
2490 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
2491 (REGISTERS_CLOBBERED_BY_SYSCALL): New.
2492 (INTERNAL_SYSCALL_NCS): Use it.
2493 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
2495 2015-12-16 Florian Weimer <fweimer@redhat.com>
2498 * malloc/arena.c (get_free_list): Remove assert and adjust
2499 reference count handling. Add comment about reused_arena
2501 (reused_arena): Add comments abount get_free_list interaction.
2502 * malloc/tst-malloc-thread-exit.c: New file.
2503 * malloc/Makefile (tests): Add tst-malloc-thread-exit.
2504 (tst-malloc-thread-exit): Link against libpthread.
2506 2015-12-15 H.J. Lu <hongjiu.lu@intel.com>
2509 * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
2510 * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
2511 * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
2512 * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
2513 (index_Prefer_MAP_32BIT_EXEC): Likewise.
2515 2015-12-15 H.J. Lu <hongjiu.lu@intel.com>
2517 * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
2518 Silvermont optimizations for Knights Landing.
2520 2015-12-15 Andreas Schwab <schwab@suse.de>
2523 * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
2524 immediately after emitting SI.
2525 * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
2526 * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
2527 * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
2528 * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
2529 * iconvdata/bug-iconv10.c: New file.
2530 * iconvdata/Makefile (tests): Add bug-iconv10.
2531 ($(objpfx)bug-iconv10.out): New rule.
2533 2015-12-15 Florian Weimer <fweimer@redhat.com>
2535 * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
2538 2015-12-14 Joseph Myers <joseph@codesourcery.com>
2541 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
2542 for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
2543 conditionals for them.
2544 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
2545 * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
2546 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
2548 * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
2549 compat-only syscall, obsoleted in glibc 2.23.
2550 (create_module): Likewise.
2551 (get_kernel_syms): Likewise.
2552 (query_module): Likewise.
2554 * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
2556 2015-12-11 Aurelien Jarno <aurelien@aurel32.net>
2558 * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
2560 [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
2562 (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
2563 and ioshift_name initialization.
2565 2015-12-11 Steve Ellcey <sellcey@imgtec.com>
2567 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
2570 2015-12-11 Steve Ellcey <sellcey@imgtec.com>
2572 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
2574 2015-12-11 Steve Ellcey <sellcey@imgtec.com>
2576 * stdlib/strtol_l.c (__strtol_l): Fix indentation.
2578 2015-12-10 Aurelien Jarno <aurelien@aurel32.net>
2579 Jakub Wilk <jwilk@debian.org>
2582 * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
2583 to change the group of the device to the tty group.
2585 2015-12-10 Paul Eggert <eggert@cs.ucla.edu>
2587 Split large string section; add truncation advice
2588 * manual/examples/strncat.c: Remove.
2589 This example was misleading, as the code would have undefined
2590 behavior if "hello" was longer than SIZE. Anyway, the manual
2591 shouldn't encourage strncpy+strncat for this sort of thing.
2592 * manual/string.texi (Copying Strings and Arrays): Split into
2593 three sections Copying Strings and Arrays, Concatenating Strings,
2594 and Truncating Strings, as this section was way too long. All
2595 cross-referenced changed. Add advice about string-truncation
2596 functions. Remove misleading strncat example.
2598 2015-12-10 Carlos O'Donell <carlos@redhat.com>
2600 * manual/nss.texi (NSS Modules Interface): Document
2601 NSS_STATUS_NOTFOUND and SUCCESS.
2603 2015-12-09 Mike FABIAN <mfabian@redhat.com>
2606 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
2607 201505L, for Unicode 8.
2609 2015-12-09 Carlos O'Donell <carlos@redhat.com>
2611 * locale/C-translit.h: Regenerate.
2613 2015-12-09 Mike FABIAN <mfabian@redhat.com>
2615 * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
2618 2015-12-09 Joseph Myers <joseph@codesourcery.com>
2621 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
2622 expanding log(1+z), compare z rather than its square with epsilon
2623 to determine when to avoid evaluating the expansion.
2626 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
2627 Increase overflow threshold.
2630 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
2633 * sysdeps/unix/sysv/linux/i386/kernel-features.h
2634 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
2636 [__LINUX_KERNEL_VERSION >= 0x040300]
2637 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
2638 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
2640 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
2642 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
2644 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
2646 [__LINUX_KERNEL_VERSION >= 0x040300]
2647 (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
2648 [__LINUX_KERNEL_VERSION >= 0x040300]
2649 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
2650 [__LINUX_KERNEL_VERSION >= 0x040300]
2651 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
2652 [__LINUX_KERNEL_VERSION >= 0x040300]
2653 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
2654 [__LINUX_KERNEL_VERSION >= 0x040300]
2655 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
2656 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
2658 [__LINUX_KERNEL_VERSION >= 0x040300]
2659 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
2660 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
2662 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
2664 [__LINUX_KERNEL_VERSION >= 0x040300]
2665 (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
2666 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
2668 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
2670 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2671 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
2673 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
2675 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
2677 [__LINUX_KERNEL_VERSION >= 0x040300]
2678 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
2679 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
2681 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
2683 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
2685 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
2687 [__LINUX_KERNEL_VERSION >= 0x040300]
2688 (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
2689 [__LINUX_KERNEL_VERSION >= 0x040300]
2690 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
2691 [__LINUX_KERNEL_VERSION >= 0x040300]
2692 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
2693 [__LINUX_KERNEL_VERSION >= 0x040300]
2694 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
2695 [__LINUX_KERNEL_VERSION >= 0x040300]
2696 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
2697 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
2699 [__LINUX_KERNEL_VERSION >= 0x040300]
2700 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
2701 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
2703 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
2705 [__LINUX_KERNEL_VERSION >= 0x040300]
2706 (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
2707 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
2709 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
2711 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2712 (__ASSUME_SOCKET_SYSCALL): Likewise.
2713 (__ASSUME_BIND_SYSCALL): Likewise.
2714 (__ASSUME_CONNECT_SYSCALL): Likewise.
2715 (__ASSUME_LISTEN_SYSCALL): Likewise.
2716 (__ASSUME_ACCEPT_SYSCALL): Likewise.
2717 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
2718 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
2719 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
2720 (__ASSUME_SEND_SYSCALL): Likewise.
2721 (__ASSUME_SENDTO_SYSCALL): Likewise.
2722 (__ASSUME_RECV_SYSCALL): Likewise.
2723 (__ASSUME_RECVFROM_SYSCALL): Likewise.
2724 (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
2725 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
2726 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
2727 (__ASSUME_SENDMSG_SYSCALL): Likewise.
2728 (__ASSUME_RECVMSG_SYSCALL): Likewise.
2729 * sysdeps/unix/sysv/linux/sh/kernel-features.h
2730 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
2732 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
2734 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
2736 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
2738 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
2740 [__LINUX_KERNEL_VERSION >= 0x020625]
2741 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
2742 [__LINUX_KERNEL_VERSION >= 0x020625]
2743 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
2744 [__LINUX_KERNEL_VERSION >= 0x020625]
2745 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
2746 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
2748 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
2750 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
2752 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
2754 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
2756 [__LINUX_KERNEL_VERSION >= 0x020625]
2757 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
2758 [__LINUX_KERNEL_VERSION >= 0x020625]
2759 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
2760 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
2762 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
2765 2015-12-09 Aurelien Jarno <aurelien@aurel32.net>
2767 * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
2768 record the current if the current ABI and CPU support the FP64
2770 (has-modd-spreg): Define to record the current if the current ABI and
2771 CPU support 32-bit floating point values in odd FPU registers.
2772 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
2773 * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
2774 $(has-modd-spreg) equals yes.
2775 (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
2776 (tst-abi-fp64mod): Only build when both $(has-mpf64) and
2777 $(has-modd-spreg) equal yes.
2779 2015-12-09 Aurelien Jarno <aurelien@aurel32.net>
2781 * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
2784 2015-12-08 Siddhesh Poyarekar <sid@reserved-bit.com>
2786 * benchtests/Makefile (bench-math): Move ffs and ffsll...
2787 (bench-string): ... here.
2788 (bench): Add bench-string.
2789 (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
2790 to *-benchset to reflect what they are.
2793 * benchtests/sincos-inputs: Add inputs from sin-inputs and
2796 2015-12-07 Andrew Senkevich <andrew.senkevich@intel.com>
2798 * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
2799 __attribute__ ((__simd__)) for vector math function declarations.
2801 2015-12-04 Paul Eggert <eggert@cs.ucla.edu>
2803 Fix typo in strncat, wcsncat manual entries
2804 * manual/string.texi (Copying and Concatenation): Fix typos in
2805 sample implementations of strncat and wcsncat, by having them use
2806 the old value of the destination length, not the new one.
2808 2015-12-04 Joseph Myers <joseph@codesourcery.com>
2812 * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
2813 string on the stack for strtod.
2814 * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
2815 a string on the stack for strtof.
2816 * math/s_nanl.c (__nanl): Use __strtold_nan instead of
2817 constructing a string on the stack for strtold.
2818 * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
2819 __strtold_nan to GLIBC_PRIVATE.
2820 * math/test-nan-overflow.c: New file.
2821 * math/test-nan-payload.c: Likewise.
2822 * math/Makefile (tests): Add test-nan-overflow and
2825 2015-12-04 Paul Eggert <eggert@cs.ucla.edu>
2827 Consistency about byte vs character in string.texi
2828 * manual/string.texi (String and Array Utilities):
2829 Distinguish more carefully among bytes, multibyte characters,
2830 and wide characters. Use "byte" when talking about C 'char',
2831 to distinguish it more clearly from multibyte characters.
2832 Say "wide character" or "multibyte character" instead of
2833 "character", when a wide or multibyte character is intended.
2834 Similarly for "multibyte string" versus "string".
2835 Define these terms more carefully.
2837 2015-12-03 Chris Metcalf <cmetcalf@ezchip.com>
2839 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
2840 * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
2842 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
2843 * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
2844 * sysdeps/sh/math_private.h: New file.
2845 * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
2846 * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
2847 defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
2848 long double function name.
2849 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
2850 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
2851 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
2852 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
2853 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
2854 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
2855 Remove __finitel, __isinfl, and __isnanl.
2856 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
2858 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
2859 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2861 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2863 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2865 2015-12-03 Andrew Senkevich <andrew.senkevich@intel.com>
2867 * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
2868 installed libmvec_nonshared.a.
2870 2015-12-03 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
2872 * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
2873 (sysdep_routines): Likewise.
2874 (sysdep-rtld-routines): Likewise.
2875 [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
2876 [$(subdir) = nptl](tests-static): test-get_hwcap-static
2877 * sysdeps/powerpc/Versions: Added new
2878 __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
2879 * sysdeps/powerpc/hwcapinfo.c: New file.
2880 (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
2881 and parse hwcap, hwcap2 and platform number information.
2882 * sysdeps/powerpc/hwcapinfo.h: New file. Creates global variables
2883 to store HWCAP+HWCAP2 and platform number.
2884 * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
2885 for HWCAP+HWCAP2 and platform number in the TCB.
2886 * sysdeps/powerpc/nptl/tls.h: New functionality. Stores
2887 the HWCAP, HWCAP2 and platform number in the TCB.
2888 (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
2889 (TLS_INIT_TP): Included calls to add the hwcap and
2890 at_platform values in the TCB in TP initialization.
2891 (TLS_DEFINE_INIT_TP): Likewise.
2892 (THREAD_GET_HWCAP): New macro.
2893 (THREAD_SET_HWCAP): Likewise.
2894 (THREAD_GET_AT_PLATFORM): Likewise.
2895 (THREAD_SET_AT_PLATFORM): Likewise.
2896 * sysdeps/powerpc/powerpc32/dl-machine.h:
2897 (dl_platform_init): New function that calls
2898 __parse_hwcap_and_convert_at_platform for the dymanic linking case for
2900 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
2901 * sysdeps/powerpc/test-get_hwcap-static.c: New file. Testcase for
2902 this functionality, static linking case.
2903 * sysdeps/powerpc/test-get_hwcap.c: New file. Likewise, dynamic
2905 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
2906 __parse_hwcap_and_convert_at_platform for the static linking case.
2907 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
2908 Included the new __parse_hwcap_and_convert_at_platform symbol in the
2909 ABI list for GLIBC 2.23.
2910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
2912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
2915 2015-12-02 Ludovic Courtès <ludo@gnu.org>
2917 * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
2918 * configure: Regenerate.
2919 * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
2920 * scripts/rellns-sh: Likewise. Remove 'pwd' variable.
2922 2015-12-02 Carlos O'Donell <carlos@redhat.com>
2924 * iconvdata/ibm930.c: Add comment explaining encoding uses.
2925 * iconvdata/ibm933.c: Likewise.
2926 * iconvdata/ibm935.c: Likewise.
2927 * iconvdata/ibm937.c: Likewise.
2928 * iconvdata/ibm939.c: Likewise.
2930 2015-12-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2932 * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
2934 * nptl/tst-cancel21.c (tf): Likewise.
2936 2015-12-01 H.J. Lu <hongjiu.lu@intel.com>
2939 * bits/typesizes.h (__CPU_MASK_TYPE): New.
2940 * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
2941 * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
2942 * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
2944 * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
2946 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
2948 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
2950 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
2951 * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
2952 unsigned long int with __CPU_MASK_TYPE.
2954 2015-12-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
2956 * sysdeps/aarch64/libm-test-ulps: Regenerated.
2958 2015-12-01 Joseph Myers <joseph@codesourcery.com>
2960 * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
2961 (__ieee754_sqrt): Use hex float constants instead of tm256.x and
2963 * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
2965 2015-11-30 Amit Pawar <amit.pawar@amd.com>
2968 * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
2969 argument to return extended model. Update family and model
2970 with extended family and model when family == 0x0f.
2971 (init_cpu_features): Updated.
2973 2015-11-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
2975 The RPC interface used by mmap uses the unsigned vm_offset_t, not the
2976 signed off_t, so 32bit bigger than 2GiB values are fine actually.
2978 * sysdeps/mach/hurd/mmap64.c: New file.
2980 2015-11-29 Thomas Schwinge <thomas@codesourcery.com>
2982 * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
2983 rights for its main user thread in NEWTASK.
2985 2015-11-28 Maciej W. Rozycki <macro@imgtec.com>
2987 * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
2988 (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
2990 2015-11-27 Carlos O'Donell <carlos@redhat.com>
2993 * Makeconfig: Rename localedir to complocaledir.
2994 Rename inst_localedir to inst_complocaledir.
2995 * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
2996 * config.make.in: Use complocaledir and libc_cv_complocaledir.
2997 * configure.ac: Use libc_cv_complocaledir.
2998 * configure: Regenerate.
2999 * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
3001 * locale/findlocale.c: Use COMPLOCALEDIR.
3002 * locale/loadarchive.c: Likewise.
3003 * locale/programs/locale.c: Likewise.
3004 * locale/programs/localedef.c: Likewise.
3005 * locale/programs/locarchive.c: Likewise.
3006 * localedata/Makefile: Use inst_complocaledir.
3007 * sysdeps/gnu/configure: Regenerate.
3008 * sysdeps/hppa/configure: Regenerate.
3009 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
3010 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
3011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
3012 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
3013 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
3014 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
3015 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
3017 2015-11-27 Andrew Senkevich <andrew.senkevich@intel.com>
3020 * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
3022 * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
3024 * sysdeps/x86_64/fpu/Makefile (libmvec-support,
3025 libmvec-static-only-routines): Added new file.
3026 * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
3028 2015-11-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
3030 * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
3031 of interrupted RPC instead of restoring it.
3033 * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
3034 * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
3036 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
3037 into initialized data instead of common. Define rtld_hidden_data_def.
3038 * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
3039 * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
3041 (if_freenameindex): Add libc_hidden_weak.
3042 (if_nameindex): Add libc_hidden_weak.
3043 * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
3045 * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
3046 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
3047 * sysdeps/mach/nanosleep.c: Include <time.h>
3048 (__nanosleep): Rename to __libc_nanosleep.
3049 (__nanosleep): Add weak_alias.
3050 (nanosleep): Update alias.
3052 2015-11-24 Joseph Myers <joseph@codesourcery.com>
3054 * stdlib/strtod_nan.c: New file.
3055 * stdlib/strtod_nan_double.h: Likewise.
3056 * stdlib/strtod_nan_float.h: Likewise.
3057 * stdlib/strtod_nan_main.c: Likewise.
3058 * stdlib/strtod_nan_narrow.h: Likewise.
3059 * stdlib/strtod_nan_wide.h: Likewise.
3060 * stdlib/strtof_nan.c: Likewise.
3061 * stdlib/strtold_nan.c: Likewise.
3062 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
3063 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
3064 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
3065 * wcsmbs/wcstod_nan.c: Likewise.
3066 * wcsmbs/wcstof_nan.c: Likewise.
3067 * wcsmbs/wcstold_nan.c: Likewise.
3068 * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
3070 * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
3072 * include/stdlib.h (__strtof_nan): Declare and use
3074 (__strtod_nan): Likewise.
3075 (__strtold_nan): Likewise.
3076 (__wcstof_nan): Likewise.
3077 (__wcstod_nan): Likewise.
3078 (__wcstold_nan): Likewise.
3079 * include/wchar.h (____wcstoull_l_internal): Declare.
3080 * stdlib/strtod_l.c: Do not include <ieee754.h>.
3081 (____strtoull_l_internal): Remove declaration.
3082 (STRTOF_NAN): Define macro.
3083 (SET_MANTISSA): Remove macro.
3084 (STRTOULL): Likewise.
3085 (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
3086 * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
3087 (STRTOF_NAN): Define macro.
3088 (SET_MANTISSA): Remove macro.
3089 * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
3090 (SET_MANTISSA): Remove macro.
3091 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
3093 (SET_MANTISSA): Remove macro.
3094 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
3096 (SET_MANTISSA): Remove macro.
3097 * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
3098 (SET_MANTISSA): Remove macro.
3099 * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
3100 * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
3101 * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
3104 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
3105 upper case and lower case letters inside NAN(), not using TOLOWER.
3106 * stdlib/tst-strtod-nan-locale-main.c: New file.
3107 * stdlib/tst-strtod-nan-locale.c: Likewise.
3108 * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
3109 [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
3110 Depend on $(gen-locales).
3111 ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
3112 * wcsmbs/tst-wcstod-nan-locale.c: New file.
3113 * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
3114 [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
3115 Depend on $(gen-locales).
3116 ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
3118 2015-11-24 Chris Metcalf <cmetcalf@ezchip.com>
3120 * misc/tst-tsearch.c (TIMEOUT): Set to 10.
3122 * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
3123 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
3124 __finitel, __isinfl, and __isnanl.
3125 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
3127 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
3128 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
3130 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3132 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3134 2015-11-24 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
3136 * malloc/memusage.c (me): Remove redundant getenv call.
3138 2015-10-24 Florian Weimer <fweimer@redhat.com>
3142 * nptl/check-cpuset.h: Remove.
3143 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
3144 Remove CPU set size check.
3145 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
3147 * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
3148 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
3149 (__kernel_cpumask_size, __determine_cpumask_size): Remove.
3150 (__pthread_setaffinity_new): Remove CPU set size check.
3151 * sysdeps/unix/sysv/linux/sched_setaffinity.c
3152 (__kernel_cpumask_size): Remove.
3153 (__sched_setaffinity_new): Remove CPU set size check.
3154 * manual/threads.texi (Default Thread Attributes): Remove stale
3155 reference to check_cpuset_attr, determine_cpumask_size in comment.
3156 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
3157 Remove tst-getcpu. Add tst-affinity, tst-affinity-pid.
3158 [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
3159 tst-thread-affinity-pthread2, tst-thread-affinity-sched.
3160 * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
3161 * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
3162 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
3163 * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
3164 * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
3165 * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
3166 * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
3168 * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove. Superseded by
3171 2015-11-24 Florian Weimer <fweimer@redhat.com>
3173 * scripts/update-abilist.sh: New file.
3174 * Makefile (+subdir_targets): Add subdir_update-all-abi.
3175 * Makerules (update-all-abi-%, update-all-abi)
3176 (subdir_update-all-abi): New targets.
3177 * elf/Makefile (update-all-abi): New target.
3179 2015-11-24 Florian Weimer <fweimer@redhat.com>
3181 Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
3182 * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
3183 (__libc_lock_define_initialized): Use it.
3184 * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
3185 * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
3186 * malloc/malloc.c (main_arena): Likewise.
3187 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
3188 * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
3190 2015-11-23 Joseph Myers <joseph@codesourcery.com>
3192 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
3193 (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
3194 (PTRACE_O_SUSPEND_SECCOMP): Likewise.
3195 (PTRACE_O_MASK): Update value.
3196 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
3197 New value in enum __ptrace_setoptions.
3198 (PTRACE_O_SUSPEND_SECCOMP): Likewise.
3199 (PTRACE_O_MASK): Update value.
3200 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
3201 (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
3202 (PTRACE_O_MASK): Update value.
3203 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
3204 (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
3205 (PTRACE_O_MASK): Update value.
3206 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
3207 (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
3208 (PTRACE_O_MASK): Update value.
3209 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
3210 New value in enum __ptrace_setoptions.
3211 (PTRACE_O_MASK): Update value.
3212 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
3213 New value in enum __ptrace_setoptions.
3214 (PTRACE_O_SUSPEND_SECCOMP): Likewise.
3215 (PTRACE_O_MASK): Update value.
3217 * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
3219 (PACKET_AUXDATA): Likewise.
3220 (PACKET_ORIGDEV): Likewise.
3221 (PACKET_VERSION): Likewise.
3222 (PACKET_HDRLEN): Likewise.
3223 (PACKET_RESERVE): Likewise.
3224 (PACKET_TX_RING): Likewise.
3225 (PACKET_LOSS): Likewise.
3226 (PACKET_VNET_HDR): Likewise.
3227 (PACKET_TX_TIMESTAMP): Likewise.
3228 (PACKET_TIMESTAMP): Likewise.
3229 (PACKET_FANOUT): Likewise.
3230 (PACKET_TX_HAS_OFF): Likewise.
3231 (PACKET_QDISC_BYPASS): Likewise.
3232 (PACKET_ROLLOVER_STATS): Likewise.
3233 (PACKET_FANOUT_DATA): Likewise.
3234 (PACKET_MR_UNICAST): Likewise.
3237 * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
3238 (TOUPPER): Likewise.
3239 * stdlib/tst-strtol-locale-main.c: New file.
3240 * stdlib/tst-strtol-locale.c: Likewise.
3241 * stdlib/Makefile (tests): Add tst-strtol-locale.
3242 [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
3243 [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
3244 Depend on $(gen-locales).
3245 * wcsmbs/tst-wcstol-locale.c: New file.
3246 * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
3247 [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
3249 [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
3250 Depend on $(gen-locales).
3252 2015-11-20 Roland McGrath <roland@hack.frob.com>
3254 * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
3255 __glibc_likely instead of __builtin_expect. After falling back to
3256 dyncode_create in a non-ET_DYN case, use the allocate_code_data
3257 system interface to register the code pages as occupied.
3259 2015-11-20 Joseph Myers <joseph@codesourcery.com>
3261 * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
3262 [!ARM_MATH_PRIVATE_H].
3263 [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
3264 * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
3265 [!HPPA_MATH_PRIVATE_H].
3266 [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
3267 * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
3268 to [!I386_MATH_PRIVATE_H].
3269 [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
3270 * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
3271 Change guard to [!M68K_MATH_PRIVATE_H].
3272 [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
3273 * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
3274 guard to [!MICROBLAZE_MATH_PRIVATE_H].
3275 [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
3277 * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
3278 [!MIPS_MATH_PRIVATE_H].
3279 [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
3280 * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
3281 [!NIO2_MATH_PRIVATE_H].
3282 [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
3283 * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
3284 [!TILE_MATH_PRIVATE_H].
3285 [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
3288 * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
3289 initialize with 0 and define as weak alias of __signgam.
3290 * include/math.h [!_ISOMAC] (__signgam): Declare.
3291 * math/Makefile (libm-calls): Add w_lgamma_compat.
3292 (tests): Add test-signgam-uchar, test-signgam-uchar-init,
3293 test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
3294 test-signgam-ullong-init.
3295 (tests-static): Add test-signgam-uchar-static,
3296 test-signgam-uchar-init-static, test-signgam-uint-static,
3297 test-signgam-uint-init-static, test-signgam-ullong-static and
3298 test-signgam-ullong-init-static.
3299 (CFLAGS-test-signgam-uchar.c): New variable.
3300 (CFLAGS-test-signgam-uchar-init.c): Likewise.
3301 (CFLAGS-test-signgam-uchar-static.c): Likewise.
3302 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
3303 (CFLAGS-test-signgam-uint.c): Likewise.
3304 (CFLAGS-test-signgam-uint-init.c): Likewise.
3305 (CFLAGS-test-signgam-uint-static.c): Likewise.
3306 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
3307 (CFLAGS-test-signgam-ullong.c): Likewise.
3308 (CFLAGS-test-signgam-ullong-init.c): Likewise.
3309 (CFLAGS-test-signgam-ullong-static.c): Likewise.
3310 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
3311 * math/Versions (libm): Add GLIBC_2.23.
3312 * math/lgamma-compat.h: New file.
3313 * math/test-signgam-main.c: Likewise.
3314 * math/test-signgam-uchar-init-static.c: Likewise.
3315 * math/test-signgam-uchar-init.c: Likewise.
3316 * math/test-signgam-uchar-static.c: Likewise.
3317 * math/test-signgam-uchar.c: Likewise.
3318 * math/test-signgam-uint-init-static.c: Likewise.
3319 * math/test-signgam-uint-init.c: Likewise.
3320 * math/test-signgam-uint-static.c: Likewise.
3321 * math/test-signgam-uint.c: Likewise.
3322 * math/test-signgam-ullong-init-static.c: Likewise.
3323 * math/test-signgam-ullong-init.c: Likewise.
3324 * math/test-signgam-ullong-static.c: Likewise.
3325 * math/test-signgam-ullong.c: Likewise.
3326 * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
3327 wrapper of w_lgamma_main.c.
3328 * math/w_lgamma_compat.c: New file.
3329 * math/w_lgamma_compatf.c: Likewise.
3330 * math/w_lgamma_compatl.c: Likewise.
3331 * math/w_lgamma_main.c: New file. Based on w_lgamma.c. Include
3332 <lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support
3333 defining compatibility symbols.
3334 (__lgamma): Change to LGFUNC (__lgamma). Use CALL_LGAMMA.
3335 * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
3336 wrapper of w_lgammaf_main.c.
3337 * math/w_lgammaf_main.c: New file. Based on w_lgammaf.c. Include
3338 <lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support
3339 defining compatibility symbols.
3340 (__lgammaf): Change to LGFUNC (__lgammaf). Use CALL_LGAMMA.
3341 * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
3342 wrapper of w_lgammal_main.c.
3343 * math/w_lgammal_main.c: New file. Based on w_lgammal.c. Include
3344 <lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support
3345 defining compatibility symbols.
3346 (__lgammal): Change to LGFUNC (__lgammal). Use CALL_LGAMMA.
3347 * sysdeps/ia64/fpu/lgamma-compat.h: New file.
3348 * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
3349 * sysdeps/ia64/fpu/w_lgamma_main.c: ...here. Include
3351 (__ieee754_lgamma): Change to LGFUNC (lgamma). Use CALL_LGAMMA.
3352 (__ieee754_gamma): Define as alias.
3353 * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
3354 * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here. Include
3356 (__ieee754_lgammaf): Change to LGFUNC (lgammaf). Use CALL_LGAMMA.
3357 (__ieee754_gammaf): Define as alias.
3358 * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
3359 * sysdeps/ia64/fpu/w_lgammal_main.c: ...here. Include
3361 (__ieee754_lgammal): Change to LGFUNC (lgammal). Use CALL_LGAMMA.
3362 (__ieee754_gammal): Define as alias.
3363 * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
3364 * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here. Include
3365 <math/w_lgamma_compat.c>.
3366 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
3367 Define as alias of __lgamma_compat and use in defining lgammal.
3368 * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
3369 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here. Include
3370 <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
3371 (USE_AS_COMPAT): New macro.
3372 (LGAMMA_OLD_VER): Undefine and redefine.
3373 (lgammal): Do not define here.
3374 (gammal): Only define here if [GAMMA_ALIAS].
3375 * conform/linknamespace.pl (@whitelist): Remove signgam.
3376 * sysdeps/nacl/libm.abilist: Update.
3377 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3378 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3379 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3380 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3381 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3382 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3383 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3384 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3385 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3386 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3387 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3388 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3389 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3397 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3398 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3399 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3400 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3401 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3402 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3404 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3406 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3407 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3408 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3410 2015-11-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3413 * sysdeps/unix/sysv/linux/sleep.c: Remove file.
3414 * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
3416 2015-11-20 Stefan Liebler <stli@linux.vnet.ibm.com>
3418 * sysdeps/s390/fpu/bits/mathinline.h:
3419 Use __asm__ [__volatile__] instead of asm [volatile].
3420 * sysdeps/s390/abort-instr.h: Likewise.
3421 * sysdeps/s390/atomic-machine.h: Likewise.
3422 * sysdeps/s390/bits/string.h: Likewise.
3423 * sysdeps/s390/dl-tls.h: Likewise.
3424 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
3425 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
3426 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
3427 * sysdeps/s390/fpu/fesetround.c: Likewise.
3428 * sysdeps/s390/fpu/fpu_control.h: Likewise.
3429 * sysdeps/s390/fpu/s_fma.c: Likewise.
3430 * sysdeps/s390/fpu/s_fmaf.c: Likewise.
3431 * sysdeps/s390/memusage.h: Likewise.
3432 * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
3433 * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
3434 * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
3435 * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
3436 * sysdeps/s390/nptl/tls.h: Likewise.
3437 * sysdeps/s390/s390-32/__longjmp.c: Likewise.
3438 * sysdeps/s390/s390-32/backtrace.c: Likewise.
3439 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
3440 * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
3441 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
3442 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
3443 * sysdeps/s390/s390-64/__longjmp.c: Likewise.
3444 * sysdeps/s390/s390-64/backtrace.c: Likewise.
3445 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
3446 * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
3447 * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
3448 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
3449 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
3450 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
3451 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
3452 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
3453 * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
3454 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
3455 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
3456 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3457 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
3458 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3459 * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
3461 2015-11-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3462 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
3464 * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
3465 Add lwarx hint, and use macro for acquire instruction.
3466 * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
3468 * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
3469 * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
3470 update to use new atomic macros.
3472 2015-11-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
3474 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
3475 (__lll_trylock_elision): Fix setting of adapt_count.
3476 * sysdeps/unix/sysv/linux/powerpc/htm.h
3477 (_ABORT_PERSISTENT): Define to clarify persistent aborts.
3478 (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
3479 (_ABORT_SYSCALL): Renumber, and clarify definition.
3480 (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
3482 2015-11-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
3484 * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
3485 after system headers to prevent MIN/MAX redefinition. Define
3486 HAVE_ALLOCA to preserve builtin alloca usage.
3488 2015-11-17 Siddhesh Poyarekar <siddhesh.poyarekar@linaro.org>
3490 * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
3491 static and don't set or restore rounding.
3492 (__cos)[IN_SINCOS]: Likewise.
3493 * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
3494 (__sincos): Set and restore rounding mode. Remove check for infinite
3497 * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
3499 * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
3502 2015-11-16 Florian Weimer <fweimer@redhat.com>
3504 * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
3506 2015-11-14 H.J. Lu <hongjiu.lu@intel.com>
3508 * config.make.in (have-glob-dat-reloc): New.
3509 * configure.ac (libc_cv_has_glob_dat): New. Set to yes if
3510 target supports GLOB_DAT relocaton. AC_SUBST.
3511 * configure: Regenerated.
3512 * elf/Makefile (tests): Add tst-prelink.
3513 (tests-special): Add $(objpfx)tst-prelink-cmp.out.
3514 (tst-prelink-ENV): New.
3515 ($(objpfx)tst-prelink-conflict.out): Likewise.
3516 ($(objpfx)tst-prelink-cmp.out): Likewise.
3517 * sysdeps/x86/tst-prelink.c: Moved to ...
3518 * elf/tst-prelink.c: Here.
3519 * sysdeps/x86/tst-prelink.exp: Moved to ...
3520 * elf/tst-prelink.exp: Here.
3521 * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
3522 (tst-prelink-ENV): Removed.
3523 ($(objpfx)tst-prelink-conflict.out): Likewise.
3524 ($(objpfx)tst-prelink-cmp.out): Likewise.
3525 (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
3527 2015-11-13 Joseph Myers <joseph@codesourcery.com>
3530 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
3531 (__mpn_construct_long_double): If high part overflows to infinity,
3532 set errno and recompute overflowed result of the correct sign.
3533 * sysdeps/ieee754/ldbl-128ibm/Makefile
3534 [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
3535 [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
3537 * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
3539 2015-11-12 Joseph Myers <joseph@codesourcery.com>
3543 * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
3544 floating-point state after first operation on input. Restore full
3545 state rather than just rounding mode.
3546 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
3547 * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
3548 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
3551 * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
3552 add 0.5 to integer arguments.
3553 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
3557 2015-11-11 Mike Frysinger <vapier@gentoo.org>
3559 * scripts/pylintrc (reports): Set to no.
3561 2015-11-10 Roland McGrath <roland@hack.frob.com>
3563 * elf/dl-load.c (open_verify): Take new argument FD.
3564 Skip __open call if passed FD is not -1.
3565 (_dl_map_object, open_path): Update callers.
3566 * elf/dl-sysdep-open.h: New file.
3567 * elf/dl-load.c: Include it.
3568 (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
3569 * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
3570 * sysdeps/nacl/dl-sysdep-open.h: New file.
3571 * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
3574 2015-11-10 Joseph Myers <joseph@codesourcery.com>
3577 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
3578 and restore full floating-point state.
3579 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
3581 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
3583 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
3585 * math/test-nearbyint-except-2.c: New file.
3586 * math/Makefile (tests): Add test-nearbyint-except-2.
3588 2015-11-10 H.J. Lu <hongjiu.lu@intel.com>
3591 * sysdeps/x86/Makefile (tests): Add tst-prelink.
3592 (tst-prelink-ENV): New.
3593 ($(objpfx)tst-prelink-conflict.out): Likewise.
3594 ($(objpfx)tst-prelink-cmp.out): Likewise.
3595 (tests-special): Add $(objpfx)tst-prelink-cmp.out.
3596 * sysdeps/x86/tst-prelink.c: New file.
3597 * sysdeps/x86/tst-prelink.exp: Likewise.
3599 2015-11-10 Joseph Myers <joseph@codesourcery.com>
3601 * math/auto-libm-test-in: Add another test of pow.
3602 * math/auto-libm-test-out: Regenerated.
3603 * math/libm-test.inc (pow_test_data): Add another test.
3605 2015-11-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3608 * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
3609 weak_alias to nearbyintl.
3611 2015-11-10 Wilco Dijkstra <wdijkstr@arm.com>
3613 * sysdeps/aarch64/bits/string.h: New file.
3614 (_STRING_ARCH_unaligned): Define.
3616 2015-11-10 Wilco Dijkstra <wdijkstr@arm.com>
3618 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
3619 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
3620 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
3621 * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
3622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
3624 2015-11-09 Ulrich Drepper <drepper@gmail.com>
3626 * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
3627 for original name of the DSO. Add it to the name list of the DSO
3628 if it is actually given.
3629 (_dl_map_object): Keep track of whether an audit module rewrote
3630 the file name. If yes, pass the original name to
3631 _dl_map_object_from_fd in a new parameter, otherwise NULL. When
3632 debugging is enabled, log the change of the file name.
3633 * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
3634 _dl_map_object_from_fd.
3635 * elf/Makefile: Build and run tst-audit11 and tst-audit12.
3636 * elf/tst-audit11.c: New file
3637 * elf/tst-auditmod11.c: New file.
3638 * elf/tst-audit11mod1.c: New file.
3639 * elf/tst-audit11mod2.c: New file.
3640 * elf/tst-audit11mod2.map: New file.
3641 * elf/tst-audit12.c: New file
3642 * elf/tst-auditmod12.c: New file.
3643 * elf/tst-audit12mod1.c: New file.
3644 * elf/tst-audit12mod2.c: New file.
3645 * elf/tst-audit12mod2.map: New file.
3646 * elf/tst-audit12mod3.c: New file.
3648 2015-11-09 Stefan Liebler <stli@linux.vnet.ibm.com>
3650 * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
3651 Don't create weak aliases,
3652 because versioned symbols are created later.
3653 * sysdeps/s390/s390-32/setjmp.S
3654 (setjmp, _setjmp): Remove weak and rename to an unique name
3655 in SHARED case due to existing versioned symbols.
3656 * sysdeps/s390/s390-64/setjmp.S: Likewise.
3657 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
3658 (getcontext): Create weak alias only in non SHARED case.
3659 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
3661 2015-11-09 Stefan Liebler <stli@linux.vnet.ibm.com>
3663 * sysdeps/unix/sysv/linux/s390/kernel-features.h:
3664 (__ASSUME_*_SYSCALL) Define new macros.
3665 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
3666 Remove socketcall syscalls.
3667 * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
3668 Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
3669 * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
3670 Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
3671 * sysdeps/unix/sysv/linux/send.c (__libc_send):
3672 Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
3674 2015-11-09 Florian Weimer <fweimer@redhat.com>
3677 Terminate process on invalid netlink response.
3678 * sysdeps/unix/sysv/linux/netlinkaccess.h
3679 (__netlink_assert_response): Declare.
3680 * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
3681 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
3682 (sysdep_routines): Add netlink_assert_response.
3683 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
3684 __netlink_assert_response.
3685 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
3686 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
3687 * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
3688 __netlink_assert_response.
3690 2015-11-07 H.J. Lu <hongjiu.lu@intel.com>
3693 * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
3694 (RTYPE_CLASS_PLT): Likewise.
3695 (RTYPE_CLASS_COPY): Likewise.
3696 (RTYPE_CLASS_TLS): Likewise.
3697 (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
3698 to set relocation type class for DL_DEBUG_PRELINK. Keep only
3699 ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
3702 2015-11-06 Joseph Myers <joseph@codesourcery.com>
3704 * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
3705 calls with argument -0.5.
3706 * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
3708 * configure.ac (libc_cv_z_nodelete): Remove configure test.
3709 (libc_cv_z_nodlopen): Likewise.
3710 (libc_cv_z_initfirst): Likewise.
3711 * configure: Regenerated.
3713 2015-11-06 Florian Weimer <fweimer@redhat.com>
3715 Simplify abilist format to be line-based.
3716 * scripts/abilist.awk: Collect descriptors in the descs variable.
3717 (emit): Write descs variable and sort it
3718 externally, with sort.
3719 * sysdeps/**/*.abilist: Convert to new format.
3721 2015-11-06 Mark Wielaard <mjw@redhat.com>
3724 * io/Makefile (routines): Add fts64.
3725 (tests): Add tst-fts and tst-fts-lfs.
3726 (CFLAGS-fts64.c): New.
3727 * io/Versions (GLIBC_2.23): New.
3728 * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
3729 function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
3730 FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
3731 FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
3732 * io/fts.h (FTS64): New if _USE_LARGEFILE64.
3733 (FTSENT64): Likewise.
3734 (fts64_children): Likewise.
3735 (fts64_close): Likewise.
3736 (fts64_open): Likewise.
3737 (fts64_read): Likewise.
3738 (fts64_set): Likewise.
3739 * io/fts64.c: New file.
3740 * io/tst-fts.c: New test.
3741 * io/tst-fts-lfs.c: Likewise.
3742 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
3743 GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
3745 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
3746 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
3747 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
3748 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
3749 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
3750 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
3751 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
3752 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
3753 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
3754 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
3755 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
3756 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
3757 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
3758 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
3760 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3762 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
3763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
3764 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
3765 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
3766 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
3767 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
3768 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
3769 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
3770 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
3771 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
3772 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
3773 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
3774 * sysdeps/wordsize-64/fts.c: New file.
3775 * sysdeps/wordsize-64/fts64.c: Likewise.
3776 * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
3777 * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
3778 * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
3779 * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
3781 2015-11-05 Joseph Myers <joseph@codesourcery.com>
3783 * math/libm-test.inc (NON_FINITE): New macro.
3784 (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
3785 * math/gen-libm-test.pl (show_exceptions): Add argument
3787 (parse_args): Update call to show_exceptions.
3788 * math/test-math-finite.h: New file.
3789 * math/test-math-no-finite.h: Likewise.
3790 * math/test-double-finite.c: Likewise.
3791 * math/test-float-finite.c: Likewise.
3792 * math/test-ldouble-finite.c: Likewise.
3793 * math/test-double.c: Include "test-math-no-finite.h".
3794 * math/test-float.c: Include "test-math-no-finite.h".
3795 * math/test-ldouble.c: Include "test-math-no-finite.h".
3796 * math/test-math-inline.h (TEST_FINITE): New macro.
3797 * math/test-math-vector.h (TEST_FINITE): Likewise.
3798 * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
3799 (libm-tests): Add test-float-finite and test-double-finite.
3800 ($(objpfx)test-float-finite.o): New dependency on
3801 $(objpfx)libm-test.stmp.
3802 ($(objpfx)test-double-finite.o): Likewise.
3803 ($(objpfx)test-ldouble-finite.o): Likewise.
3804 (libm-test-no-inline-cflags): New variable.
3805 (libm-test-finite-cflags): Likewise.
3806 (CFLAGS-test-float-finite.c): Likewise.
3807 (CFLAGS-test-double-finite.c): Likewise.
3808 (CFLAGS-test-ldouble-finite.c): Likewise.
3809 (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
3810 (CFLAGS-test-double.c): Likewise.
3811 (CFLAGS-test-ldouble.c): Likewise.
3813 2015-11-05 Roland McGrath <roland@hack.frob.com>
3815 * io/fcntl.c (__fcntl): Add ... to prototype.
3816 * misc/ioctl.c (__ioctl): Likewise.
3817 * misc/syscall.c (syscall): Likewise.
3819 2015-11-05 Joseph Myers <joseph@codesourcery.com>
3821 * scripts/list-fixed-bugs.py: New file.
3824 * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
3825 returned for argument 1.
3826 * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
3827 * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
3828 * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
3829 * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
3830 * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
3831 * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
3834 * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
3835 __USE_XOPEN], not if [!__USE_ISOC99].
3836 (lgammaf): Likewise.
3837 (lgammal): Likewise.
3838 (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
3841 * math/test-signgam-finite-c11.c: New file.
3842 * math/test-signgam-finite-c99.c: Likewise.
3843 * math/test-signgam-finite.c: Likewise.
3844 * math/Makefile (tests): Add test-signgam-finite,
3845 test-signgam-finite-c99 and test-signgam-finite-c11.
3846 (CFLAGS-test-signgam-finite.c): New variable.
3847 (CFLAGS-test-signgam-finite-c99.c): Likewise.
3848 (CFLAGS-test-signgam-finite-c11.c): Likewise.
3851 * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
3852 conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
3854 [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
3855 _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
3856 [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
3857 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
3858 [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
3859 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
3860 [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
3861 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
3862 [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
3863 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
3866 * math/bits/math-finite.h (ldexp): Remove declaration.
3871 * math/bits/math-finite.h (acosf): Condition declaration on
3888 (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
3889 (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
3901 (lgammaf_r): Condition declaration on [__USE_ISOC99].
3902 (lgammal_r): Likewise.
3903 (__lgamma_r_finite): New declaration.
3904 (__lgammaf_r_finite): Likewise.
3905 (__lgammal_r_finite): Likewise.
3906 (lgamma): Use __lgamma_r_finite.
3907 (lgammaf): Condition definition on [__USE_ISOC99]. Use
3909 (lgammal): Condition definition on [__USE_ISOC99]. Use
3911 (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K]. Use
3913 (gammaf): Condition definition on [__USE_ISOC99]. Use
3915 (gammal): Condition definition on [__USE_ISOC99]. Use
3917 (logf): Condition declaration on [__USE_ISOC99].
3925 (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
3927 (remainderf): Condition declaration on [__USE_ISOC99].
3928 (remainderl): Likewise.
3929 (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
3930 (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
3932 (sinhf): Condition declaration on [__USE_ISOC99].
3937 2015-11-04 Joseph Myers <joseph@codesourcery.com>
3939 * sysdeps/arm/atomic-machine.h
3940 [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
3941 Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
3942 [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
3943 Remove conditional code.
3944 [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
3945 Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
3946 * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
3947 Change conditional to [__ASSEMBLER__].
3948 [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
3949 [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
3951 [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
3953 * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
3954 conditional macro definitions.
3955 (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
3956 (__arch_compare_and_exchange_val_16_acq): Likewise.
3957 (__arch_compare_and_exchange_val_32_acq): Likewise.
3958 (atomic_exchange_and_add): Likewise.
3959 (atomic_add): Likewise.
3960 (atomic_add_negative): Likewise.
3961 (atomic_add_zero): Likewise.
3962 (atomic_bit_set): Likewise.
3963 (atomic_bit_test_set): Likewise.
3964 * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
3966 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
3968 * math/test-math-errno.h: New file.
3969 * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
3971 (TEST_ERRNO): New macro.
3972 (TEST_EXCEPTIONS): Likewise.
3973 * math/test-math-no-inline.h (TEST_INLINE): Likewise.
3974 (TEST_EXCEPTIONS): Likewise.
3975 * math/test-math-vector.h (TEST_ERRNO): Likewise.
3976 * math/test-double.c: Include "test-math-errno.h".
3977 * math/test-float.c: Likewise.
3978 * math/test-ldouble.c: Likewise.
3979 * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
3981 (test_exceptions): Only run code if TEST_EXCEPTIONS.
3982 (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
3984 (test_errno): Only run code if TEST_ERRNO.
3985 (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
3987 2015-11-04 Florian Weimer <fweimer@redhat.com>
3989 * nptl/tst-once5.cc: Remove attribution.
3991 2015-11-04 Joseph Myers <joseph@codesourcery.com>
3993 * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
3994 sqrt, tan, tanh, y0, y1 and yn.
3995 * math/auto-libm-test-out: Regenerated.
3996 * math/libm-test.inc (scalb_test_data): Add more tests.
3997 (scalbn_test_data): Likewise.
3998 (scalbln_test_data): Likewise.
3999 (signbit_test_data): Likewise.
4000 (sin_test_data): Likewise.
4001 (sincos_test_data): Likewise.
4002 (sinh_test_data): Likewise.
4003 (sqrt_test_data): Likewise.
4004 (tan_test_data): Likewise.
4005 (tanh_test_data): Likewise.
4006 (tgamma_test_data): Likewise.
4007 (y0_test_data): Likewise.
4008 (y1_test_data): Likewise.
4009 (yn_test_data): Likewise.
4010 (significand_test_data): Likewise.
4011 * sysdeps/i386/fpu/libm-test-ulps: Update.
4013 2015-11-03 David Kastrup <dak@gnu.org>
4016 * assert/assert.h (assert): Don't macro-expand failed assertion
4017 expression in error message.
4018 * malloc/malloc.c (assert): Likewise.
4020 2015-11-03 Joseph Myers <joseph@codesourcery.com>
4022 * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
4024 * configure: Regenerated.
4026 2015-11-02 Joseph Myers <joseph@codesourcery.com>
4028 * math/libm-test.inc (modf_test_data): Add more tests.
4029 (nearbyint_test_data): Likewise.
4030 (nextafter_test_data): Likewise.
4031 (nexttoward_test_data): Likewise.
4032 (pow_test_data): Likewise.
4033 (remainder_test_data): Likewise.
4034 (remquo_test_data): Likewise.
4035 (rint_test_data): Likewise.
4038 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
4039 Check for zero remainder in case of large exponents and ensure
4040 correct sign of result in that case.
4041 * math/libm-test.inc (remainder_test_data): Add more tests.
4044 * math/s_nextafter.c: Include <errno.h>.
4045 (__nextafter): Set errno on overflow and underflow.
4046 * math/s_nexttowardf.c: Include <errno.h>.
4047 (__nexttowardf): Set errno on overflow and underflow.
4048 * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
4049 (__nextafterl): Set errno on overflow and underflow.
4050 * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
4051 (__nexttoward): Set errno on overflow and underflow.
4052 * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
4053 (__nexttowardf): Set errno on overflow and underflow.
4054 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
4055 (__nextafterf): Set errno on overflow and underflow.
4056 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
4057 (__nextafterl): Set errno on overflow and underflow.
4058 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
4059 (__nexttoward): Set errno on overflow and underflow.
4060 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
4061 (__nexttowardf): Set errno on overflow and underflow.
4062 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
4063 (__nextafterl): Set errno on overflow and underflow.
4064 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
4065 (__nexttoward): Set errno on overflow and underflow.
4066 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
4067 (__nexttowardf): Set errno on overflow and underflow.
4068 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
4069 (__nexttoward): Set errno on overflow and underflow.
4070 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
4071 (__nexttowardf): Set errno on overflow and underflow.
4072 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
4073 (__nldbl_nexttowardf): Set errno on overflow and underflow.
4074 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
4075 (__nextafterl): Set errno on overflow and underflow.
4076 * math/libm-test.inc (nextafter_test_data): Do not allow errno
4077 setting to be missing on overflow. Add more tests.
4078 (nexttoward_test_data): Likewise.
4080 * configure.ac (libc_cv_initfini_array): Remove configure test.
4081 * configure: Regenerated.
4083 2015-10-29 Joseph Myers <joseph@codesourcery.com>
4086 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
4087 non-finite argument handle arguments with negative sign.
4089 * math/libm-test.inc (j0_test_data): Do not test sign of zero
4090 result from infinite argument.
4091 (j1_test_data): Likewise.
4092 (jn_test_data): Likewise.
4093 (y0_test_data): Likewise.
4094 (y1_test_data): Likewise.
4095 (yn_test_data): Likewise.
4098 * math/w_remainder.c (drem): Define as weak alias of __remainder.
4099 [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
4100 * math/w_remainderf.c (dremf): Define as weak alias of
4102 * math/w_remainderl.c (dreml): Define as weak alias of
4104 * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
4106 * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
4108 * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
4110 * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
4111 weak alias of remainderl.
4112 * sysdeps/ieee754/ldbl-opt/w_remainder.c
4113 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
4114 alias of __remainder.
4115 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
4116 * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
4117 strong alias of __remainderl.
4118 (dreml): Use long_double_symbol.
4119 * math/Makefile (libm-calls): Remove w_drem.
4120 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
4121 (CFLAGS-nldbl-drem.c): Remove variable.
4122 (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
4123 * math/w_drem.c: Remove file.
4124 * math/w_dremf.c: Likewise.
4125 * math/w_dreml.c: Likewise.
4126 * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
4127 * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
4128 * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
4130 * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
4131 * sysdeps/i386/configure: Regenerated.
4132 * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
4133 * sysdeps/x86_64/configure: Regenerated.
4135 * configure.ac (libc_cv_asm_protected_directive): Remove configure
4137 (libc_cv_visibility_attribute): Likewise.
4138 (libc_cv_protected_data): Test unconditionally.
4139 (libc_cv_broken_visibility_attribute): Remove configure test.
4140 (libc_cv_have_sdata_section): Test unconditionally.
4141 * configure: Regenerated.
4143 * include/libc-internal.h (libc_max_align_t): Remove typedef.
4144 * include/scratch_buffer.h: Include <stddef.h> instead of
4146 (struct scratch_buffer): Use max_align_t instead of
4149 2015-10-29 Florian Weimer <fweimer@redhat.com>
4151 * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
4152 instead of extend_alloca. Change control flow to avoid a goto.
4153 Remove assert which is trivially always true.
4155 2015-10-28 Joseph Myers <joseph@codesourcery.com>
4158 * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
4159 (FE_ALL_EXCEPT_X86): New macro.
4160 (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
4161 FE_ALL_EXCEPT. Ensure precision control is included in
4162 floating-point state. Ensure that FE_DFL_ENV and FE_NOMASK_ENV
4163 handle "denormal operand exception" and clear FZ and DAZ bits.
4164 * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
4165 (FE_ALL_EXCEPT_X86): New macro.
4166 (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
4167 FE_ALL_EXCEPT. Ensure precision control is included in
4168 floating-point state. Ensure that FE_DFL_ENV and FE_NOMASK_ENV
4169 handle "denormal operand exception" and clear FZ and DAZ bits.
4170 * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
4171 * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
4172 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
4173 test-fenv-x87 and test-fenv-sse-2.
4174 [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
4176 * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
4177 * math/test-double.h (BUILD_COMPLEX): New macro.
4178 * math/test-float.h (BUILD_COMPLEX): Likewise.
4179 * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
4181 * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
4182 DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
4183 __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
4184 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
4185 instead of DBL_DENORM_MIN in comment.
4186 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
4187 LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
4188 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
4189 (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
4190 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
4191 LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
4193 2015-10-28 Florian Weimer <fweimer@redhat.com>
4196 * malloc/malloc.c (struct malloc_state): Update comment. Add
4197 attached_threads member.
4198 (main_arena): Initialize attached_threads.
4199 * malloc/arena.c (list_lock): Update comment.
4200 (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
4201 (ptmalloc_unlock_all2): Reinitialize arena reference counts.
4202 (deattach_arena): New function.
4203 (_int_new_arena): Initialize arena reference count and deattach
4205 (get_free_list, reused_arena): Update reference count and deattach
4207 (arena_thread_freeres): Update arena reference count and only put
4208 unreferenced arenas on the free list.
4210 2015-10-28 Joseph Myers <joseph@codesourcery.com>
4213 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
4214 SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
4215 * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
4216 * math/test-fenv-clear-main.c: New file.
4217 * math/test-fenv-clear.c: Likewise.
4218 * math/Makefile (tests): Add test-fenv-clear.
4219 * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
4220 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
4221 test-fenv-clear-sse.
4222 [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
4224 * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
4225 DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
4226 __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
4228 2015-10-28 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
4230 * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
4233 2015-10-28 Joseph Myers <joseph@codesourcery.com>
4235 * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
4237 * sysdeps/i386/configure: Regenerated.
4238 * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
4240 * sysdeps/x86_64/configure: Regenerated.
4241 * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
4242 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4243 memset-avx2 unconditionally instead of conditionally on
4244 [$(config-cflags-avx2) = yes].
4245 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
4246 (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
4248 * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
4249 * sysdeps/x86_64/multiarch/memset_chk.S
4250 [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
4251 to [IS_IN (libc) && SHARED].
4253 2015-10-27 Joseph Myers <joseph@codesourcery.com>
4255 * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
4257 * sysdeps/arm/configure: Regenerated.
4258 * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
4259 Define variable if not already defined.
4262 * sysdeps/mips/atomic-machine.h
4263 [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
4264 Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
4265 [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
4267 * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
4269 * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
4270 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
4271 * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
4273 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
4274 * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
4276 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
4278 [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
4280 [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
4281 Remove conditional code.
4282 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
4283 (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
4285 (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
4287 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
4288 (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
4290 (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
4292 * sysdeps/ieee754/ldbl-128/k_tanl.c
4293 (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
4294 (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
4295 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
4296 (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
4297 (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
4298 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
4299 (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
4301 (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
4303 * sysdeps/ieee754/ldbl-96/k_tanl.c
4304 (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
4305 (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
4307 * nptl/tst-initializers1-c11.c: New file.
4308 * nptl/tst-initializers1-gnu11.c: Likewise.
4309 * nptl/Makefile (tests): Add these new tests.
4310 (CFLAGS-tst-initializers1-c11.c): New variable.
4311 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
4313 * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
4314 * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
4315 instead of -std=gnu99.
4316 * configure.ac (systemtap): Test with -std=gnu11 instead of
4318 * configure: Regenerated.
4319 * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
4320 in compilation command in comment.
4322 * sysdeps/nptl/configure.ac: Remove file.
4323 * sysdeps/nptl/configure: Remove generated file.
4324 * configure.ac (libc_cv_forced_unwind): Do not substitute.
4325 * configure: Regenerated.
4326 * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
4327 * config.make.in (have-forced-unwind): Remove variable.
4328 * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
4330 * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
4331 * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
4332 (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
4333 * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
4334 * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
4337 2015-10-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
4340 * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
4341 .skip_lock_out_of_tbegin_retries.
4342 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
4343 (__lll_lock_elision): Likewise, and respect a value of
4346 2015-10-27 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
4348 * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
4351 2015-10-27 Joseph Myers <joseph@codesourcery.com>
4353 * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
4355 (test-xfail-ISO11/stdalign.h/conform): Likewise.
4356 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
4358 * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
4359 of -std=c1x -D_ISOC11_SOURCE.
4361 * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
4362 * configure: Regenerated.
4363 * manual/install.texi (Tools for Compilation): Document
4364 requirement for GCC 4.7 or later.
4365 * INSTALL: Regenerated.
4367 2015-10-27 Ludovic Courtès <ludo@gnu.org>
4369 * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
4370 on CNT to a conditional jump to 'puntdata'.
4372 2015-10-27 Joseph Myers <joseph@codesourcery.com>
4374 * configure.ac (libc_cv_gcc___thread): Remove configure test.
4375 (libc_cv_gcc_tls_model_attr): Likewise.
4376 * configure: Regenerated.
4378 * configure.ac (libc_cv_need_minus_P): Remove configure test.
4379 * configure: Regenerated.
4380 * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
4382 2015-10-26 Joseph Myers <joseph@codesourcery.com>
4384 * configure.ac (old_glibc_headers): Remove configure test.
4385 * configure: Regenerated.
4386 * config.make.in (old-glibc-headers): Remove variable.
4387 * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
4388 (install): Remove dependency on remove-old-headers.
4389 (headers2_0): Remove variable.
4390 (remove-old-headers): Remove rule.
4392 * configure.ac (libc_cv_dot_text): Remove configure test.
4393 (libc_cv_asm_set_directive): Use .text instead of
4394 ${libc_cv_dot_text} in configure test.
4395 * configure: Regenerated.
4397 2015-10-26 Florian Weimer <fweimer@redhat.com>
4400 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4402 2015-10-26 Florian Weimer <fweimer@redhat.com>
4404 * configure.ac (CXX): Clear the variable if the C++ toolchain does
4405 not support static linking.
4406 * configure: Regenerate.
4408 2015-10-23 Joseph Myers <joseph@codesourcery.com>
4410 * math/libm-test.inc (check_float_internal): Do not special-case
4411 errors up to 0.5 ulp.
4413 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
4415 * math/auto-libm-test-out: Regenerated.
4416 * math/libm-test.inc (MAX_EXP): New macro.
4417 (ilogb_test_data): Add more tests.
4418 (isfinite_test_data): Likewise.
4419 (isgreater_test_data): Likewise.
4420 (isgreaterequal_test_data): Likewise.
4421 (isinf_test_data): Likewise.
4422 (isless_test_data): Likewise.
4423 (islessequal_test_data): Likewise.
4424 (islessgreater_test_data): Likewise.
4425 (isnan_test_data): Likewise.
4426 (isnormal_test_data): Likewise.
4427 (issignaling_test_data): Likewise.
4428 (isunordered_test_data): Likewise.
4429 (j0_test_data): Likewise.
4430 (j1_test_data): Likewise.
4431 (jn_test_data): Likewise.
4432 (lgamma_test_data): Likewise.
4433 (log_test_data): Likewise.
4434 (log10_test_data): Likewise.
4435 (log1p_test_data): Likewise.
4436 (log2_test_data): Likewise.
4437 (logb_test_data): Likewise.
4438 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4441 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
4442 avoid excess range and precision on underflow.
4443 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
4444 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
4445 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
4446 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
4448 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
4449 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
4450 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
4451 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
4452 * math/auto-libm-test-in: Do not allow missing errno setting for
4454 * math/auto-libm-test-out: Regenerated.
4456 2015-10-22 Joseph Myers <joseph@codesourcery.com>
4459 * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
4460 floating-point environment instead of clearing all exceptions.
4461 * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
4462 * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
4463 merging in "invalid" exceptions from frndint.
4464 * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
4465 * math/test-nearbyint-except.c: New file.
4466 * math/Makefile (tests): Add test-nearbyint-except.
4468 2015-10-22 Chris Metcalf <cmetcalf@ezchip.com>
4470 * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
4472 * sysdeps/tile/libm-test-ulps: Regenerated.
4474 2015-10-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
4477 (__NR_sync_file_range2): Assume it is always defined.
4478 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
4479 (__NR_sync_file_range): Assume it is always defined.
4481 2015-10-22 Andreas Schwab <schwab@suse.de>
4483 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
4484 INTERNAL_SYSCALL_ERRNO.
4485 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
4486 * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
4487 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
4488 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
4490 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
4492 2015-10-21 Joseph Myers <joseph@codesourcery.com>
4494 * io/tst-fcntl.c (fd): New static variable.
4495 (do_prepare): Open temporary file here....
4496 (do_test): ...not here.
4498 * io/ftwtest-sh: Also trap on exit to remove temporary files.
4500 2015-10-21 H.J. Lu <hongjiu.lu@intel.com>
4502 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
4503 __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
4504 * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
4505 Moved before "#ifdef __ASSEMBLER__".
4507 2015-10-21 Joseph Myers <joseph@codesourcery.com>
4510 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
4511 arguments very close to 0.
4513 2015-10-21 Chris Metcalf <cmetcalf@ezchip.com>
4515 * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
4516 (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
4518 2015-10-21 H.J. Lu <hongjiu.lu@intel.com>
4520 * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
4521 New. Defined for GCC 5 and above when not compiling for
4523 Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
4525 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
4527 (CFLAGS-epoll_pwait.o): This.
4528 (CFLAGS-mmap.c): Renamed to ...
4529 (CFLAGS-mmap.o): This.
4530 (CFLAGS-mmap64.c): Renamed to ...
4531 (CFLAGS-mmap64.o): This.
4532 (CFLAGS-epoll_pwait.os): New.
4533 (CFLAGS-mmap.os): Likewise.
4534 (CFLAGS-mmap64.os): Likewise.
4535 (CFLAGS-semtimedop.os): Likewise.
4536 (CFLAGS-semtimedop.c): Renamed to ...
4537 (CFLAGS-semtimedop.o): This.
4539 2015-10-21 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4541 * debug/tst-backtrace4.c (handle_signal): Fix a comment and
4544 2015-10-21 Joseph Myers <joseph@codesourcery.com>
4546 * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
4547 * Makefile ($(objpfx)c++-types-check.out): Filter out
4548 $(+gccwarn-c) instead of -Wstrict-prototypes.
4550 * io/fts.c (fts_open): Convert to prototype-style function
4552 * malloc/mcheck.c (mcheck): Likewise.
4553 (mcheck_pedantic): Likewise.
4554 * posix/regexec.c (re_search_2_stub): Likewise. Use
4556 (re_search_internal): Likewise.
4557 * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
4558 prototype-style function definition.
4559 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
4560 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
4561 * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
4562 (xdr_utmpptr): Likewise.
4563 (xdr_utmparr): Likewise.
4564 (xdr_utmpidle): Likewise.
4565 (xdr_utmpidleptr): Likewise.
4566 (xdr_utmpidlearr): Likewise.
4568 * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
4569 log, log10 and log2.
4570 * math/auto-libm-test-out: Regenerated.
4571 * math/libm-test.inc (fmod_test_data): Add more tests.
4572 (fpclassify_test_data): Likewise.
4573 (frexp_test_data): Likewise.
4574 (hypot_test_data): Likewise.
4575 (ilogb_test_data): Likewise.
4577 2015-10-20 Joseph Myers <joseph@codesourcery.com>
4579 * debug/fortify_fail.c (__fortify_fail): Convert to
4580 prototype-style function definition. Use internal_function.
4581 * libio/genops.c (save_for_backup): Convert to prototype-style
4582 function definition.
4583 * libio/wgenops.c (save_for_wbackup): Likewise.
4584 * login/grantpt.c (grantpt): Likewise.
4585 * login/ptsname.c (ptsname): Likewise.
4586 (__ptsname_r): Likewise.
4587 * login/unlockpt.c (unlockpt): Likewise.
4588 * mach/msgserver.c (__mach_msg_server): Likewise.
4589 * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
4590 (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
4591 (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
4592 * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
4593 (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
4594 * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
4595 * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
4597 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise. Use
4599 * nptl/pthread_atfork.c (__pthread_atfork): Convert to
4600 prototype-style function definition.
4601 * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
4602 [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
4603 (__pthread_create_2_0): Likewise.
4604 * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
4605 * nptl/register-atfork.c (__register_atfork): Likewise.
4606 * posix/glob.c (glob): Likewise.
4607 * posix/regcomp.c (re_comp): Likewise.
4608 * posix/regexec.c (re_exec): Likewise.
4609 * stdlib/add_n.c [__STDC__]: Make code unconditional.
4610 [!__STDC__]: Remove conditional code.
4611 * stdlib/cmp.c [__STDC__]: Make code unconditional.
4612 [!__STDC__]: Remove conditional code.
4613 * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
4614 [!__STDC__]: Remove conditional code.
4615 * stdlib/divrem.c [__STDC__]: Make code unconditional.
4616 [!__STDC__]: Remove conditional code.
4617 * stdlib/lshift.c [__STDC__]: Make code unconditional.
4618 [!__STDC__]: Remove conditional code.
4619 * stdlib/mod_1.c [__STDC__]: Make code unconditional.
4620 [!__STDC__]: Remove conditional code.
4621 * stdlib/mul.c [__STDC__]: Make code unconditional.
4622 [!__STDC__]: Remove conditional code.
4623 * stdlib/mul_n.c [__STDC__]: Make code unconditional.
4624 [!__STDC__]: Remove conditional code.
4625 * stdlib/rshift.c [__STDC__]: Make code unconditional.
4626 [!__STDC__]: Remove conditional code.
4627 * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
4628 function definition.
4630 * stdlib/strtod_l.c (__STRTOF): Likewise.
4631 * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
4632 * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
4633 (__strtol_l): Likewise.
4634 * stdlib/sub_n.c [__STDC__]: Make code unconditional.
4635 [!__STDC__]: Remove conditional code.
4636 * string/memrchr.c (MEMRCHR): Convert to prototype-style function
4638 * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
4639 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
4641 (__strcasecmp): Convert to prototype-style function definition.
4642 * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
4643 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
4645 (__strncasecmp): Convert to prototype-style function definition.
4646 * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
4647 * sunrpc/xdr.c (xdr_union): Likewise.
4648 * sunrpc/xdr_array.c (xdr_array): Likewise.
4649 * sunrpc/xdr_ref.c (xdr_reference): Likewise.
4650 * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
4651 * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
4653 * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
4655 * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
4656 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
4658 * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
4659 (LOCALE_PARAM_PROTO): Likewise.
4660 [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
4662 (ut_argument_spec): Remove macro.
4663 (ut_argument_spec_iso): Rename to ut_argument_spec.
4664 (memcpy_lowcase): Use LOCALE_PARAM in declaration. Convert to
4665 prototype-style function definition.
4666 (memcpy_uppcase): Likewise.
4667 (__strftime_internal): Likewise.
4668 (my_strftime): Likewise.
4669 * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
4670 (LOCALE_PARAM_DECL): Likewise.
4671 [_LIBC] (LOCALE_PARAM): Include argument type.
4672 (__strptime_internal): Convert to prototype-style function
4674 (strptime): Likewise.
4675 * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
4676 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
4678 (__wcscasecmp): Convert to prototype-style function definition.
4679 * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
4680 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
4682 (__wcsncasecmp): Convert to prototype-style function definition.
4684 * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
4685 function definition.
4686 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
4687 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
4688 * debug/backtracesyms.c (__backtrace_symbols): Likewise.
4689 * elf/dl-minimal.c (_itoa): Likewise.
4690 * hurd/hurdmalloc.c (malloc): Likewise.
4692 (realloc): Likewise.
4693 * inet/inet6_option.c (inet6_option_space): Likewise.
4694 (inet6_option_init): Likewise.
4695 (inet6_option_append): Likewise.
4696 (inet6_option_alloc): Likewise.
4697 (inet6_option_next): Likewise.
4698 (inet6_option_find): Likewise.
4699 * io/ftw.c (FTW_NAME): Likewise.
4700 (NFTW_NAME): Likewise.
4701 (NFTW_NEW_NAME): Likewise.
4702 (NFTW_OLD_NAME): Likewise.
4703 * libio/iofwide.c (_IO_fwide): Likewise.
4704 * libio/strops.c (_IO_str_init_static_internal): Likewise.
4705 (_IO_str_init_static): Likewise.
4706 (_IO_str_init_readonly): Likewise.
4707 (_IO_str_overflow): Likewise.
4708 (_IO_str_underflow): Likewise.
4709 (_IO_str_count): Likewise.
4710 (_IO_str_seekoff): Likewise.
4711 (_IO_str_pbackfail): Likewise.
4712 (_IO_str_finish): Likewise.
4713 * libio/wstrops.c (_IO_wstr_init_static): Likewise.
4714 (_IO_wstr_overflow): Likewise.
4715 (_IO_wstr_underflow): Likewise.
4716 (_IO_wstr_count): Likewise.
4717 (_IO_wstr_seekoff): Likewise.
4718 (_IO_wstr_pbackfail): Likewise.
4719 (_IO_wstr_finish): Likewise.
4720 * locale/programs/localedef.c (normalize_codeset): Likewise.
4721 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
4722 (add_locales_to_archive): Likewise.
4723 (delete_locales_from_archive): Likewise.
4724 * malloc/malloc.c (__libc_mallinfo): Likewise.
4725 * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
4726 * misc/tsearch.c (__tfind): Likewise.
4727 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
4728 * nptl/pthread_attr_getdetachstate.c
4729 (__pthread_attr_getdetachstate): Likewise.
4730 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
4732 * nptl/pthread_attr_getinheritsched.c
4733 (__pthread_attr_getinheritsched): Likewise.
4734 * nptl/pthread_attr_getschedparam.c
4735 (__pthread_attr_getschedparam): Likewise.
4736 * nptl/pthread_attr_getschedpolicy.c
4737 (__pthread_attr_getschedpolicy): Likewise.
4738 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
4740 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
4742 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
4744 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
4746 * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
4747 (__pthread_attr_init_2_0): Likewise.
4748 * nptl/pthread_attr_setdetachstate.c
4749 (__pthread_attr_setdetachstate): Likewise.
4750 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
4752 * nptl/pthread_attr_setinheritsched.c
4753 (__pthread_attr_setinheritsched): Likewise.
4754 * nptl/pthread_attr_setschedparam.c
4755 (__pthread_attr_setschedparam): Likewise.
4756 * nptl/pthread_attr_setschedpolicy.c
4757 (__pthread_attr_setschedpolicy): Likewise.
4758 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
4760 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
4762 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
4764 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
4766 * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
4768 * nptl/pthread_create.c (__find_in_stack_list): Likewise.
4769 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
4770 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
4771 use internal_function.
4772 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
4773 prototype-style function definition.
4774 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
4775 (__pthread_mutex_cond_lock_adjust): Likewise. Use
4777 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
4778 Convert to prototype-style function definition.
4779 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
4781 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
4783 (__pthread_mutex_unlock): Likewise.
4784 * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
4785 * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
4786 * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
4787 * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
4788 * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
4789 * nss/makedb.c (process_input): Likewise.
4790 * posix/fnmatch.c (__strchrnul): Likewise.
4791 (__wcschrnul): Likewise.
4792 (fnmatch): Likewise.
4793 * posix/fnmatch_loop.c (FCT): Likewise.
4794 * posix/glob.c (globfree): Likewise.
4795 (__glob_pattern_type): Likewise.
4796 (__glob_pattern_p): Likewise.
4797 * posix/regcomp.c (re_compile_pattern): Likewise.
4798 (re_set_syntax): Likewise.
4799 (re_compile_fastmap): Likewise.
4800 (regcomp): Likewise.
4801 (regerror): Likewise.
4802 (regfree): Likewise.
4803 * posix/regexec.c (regexec): Likewise.
4804 (re_match): Likewise.
4805 (re_search): Likewise.
4806 (re_match_2): Likewise.
4807 (re_search_2): Likewise.
4808 (re_search_stub): Likewise. Use internal_function
4809 (re_copy_regs): Likewise.
4810 (re_set_registers): Convert to prototype-style function
4812 (prune_impossible_nodes): Likewise. Use internal_function.
4813 * resolv/inet_net_pton.c (inet_net_pton): Convert to
4814 prototype-style function definition.
4815 (inet_net_pton_ipv4): Likewise.
4816 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
4817 * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
4818 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
4819 * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
4820 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
4822 * time/strptime_l.c (localtime_r): Convert to prototype-style
4823 function definition.
4824 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
4825 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
4826 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
4827 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
4829 * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
4831 (_ufc_doit_r): Likewise.
4832 * crypt/crypt_util.c (_ufc_copymem): Likewise.
4833 (_ufc_output_conversion_r): Likewise.
4834 * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
4835 * inet/rcmd.c (rcmd_af): Likewise.
4837 (ruserok_af): Likewise.
4838 (ruserok): Likewise.
4839 (ruserok2_sa): Likewise.
4840 (ruserok_sa): Likewise.
4841 (iruserok_af): Likewise.
4842 (iruserok): Likewise.
4843 (__ivaliduser): Likewise.
4844 (__validuser2_sa): Likewise.
4845 * inet/rexec.c (rexec_af): Likewise.
4847 * inet/ruserpass.c (ruserpass): Likewise.
4848 * locale/programs/xmalloc.c (xcalloc): Likewise.
4849 * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
4850 * math/w_drem.c (__drem): Likewise.
4851 * math/w_dremf.c (__dremf): Likewise.
4852 * math/w_dreml.c (__dreml): Likewise.
4853 * misc/daemon.c (daemon): Likewise.
4854 * resolv/res_debug.c (p_fqnname): Likewise.
4855 * stdlib/div.c (div): Likewise.
4856 * string/memcmp.c (memcmp_bytes): Likewise.
4857 * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
4858 * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
4860 * crypt/cert.c (main): Convert to prototype-style function
4862 * io/pipe.c (__pipe): Likewise.
4863 * io/pipe2.c (__pipe2): Likewise.
4864 * misc/futimesat.c (futimesat): Likewise.
4865 * misc/utimes.c (__utimes): Likewise.
4866 * posix/execve.c (__execve): Likewise.
4867 * posix/execvp.c (execvp): Likewise.
4868 * posix/execvpe.c (__execvpe): Likewise.
4869 * posix/fexecve.c (fexecve): Likewise.
4870 * socket/socketpair.c (socketpair): Likewise.
4871 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
4872 * stdlib/erand48.c (erand48): Likewise.
4873 * stdlib/erand48_r.c (__erand48_r): Likewise.
4874 * stdlib/jrand48.c (jrand48): Likewise.
4875 * stdlib/jrand48_r.c (__jrand48_r): Likewise.
4876 * stdlib/lcong48.c (lcong48): Likewise.
4877 * stdlib/lcong48_r.c (__lcong48_r): Likewise.
4878 * stdlib/nrand48.c (nrand48): Likewise.
4879 * stdlib/nrand48_r.c (__nrand48_r): Likewise.
4880 * stdlib/seed48.c (seed48): Likewise.
4881 * stdlib/seed48_r.c (__seed48_r): Likewise.
4882 * sysdeps/mach/hurd/execve.c (__execve): Likewise.
4883 * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
4884 * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
4886 2015-10-19 Joseph Myers <joseph@codesourcery.com>
4888 * configure.ac (libc_cv_asm_unique_object): Remove configure test.
4889 * configure: Regenerated.
4890 * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
4891 * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
4893 * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
4894 * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
4895 * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
4896 (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
4897 * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
4899 * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
4901 * posix/Makefile (CFLAGS-regex.c): Remove variable.
4902 * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
4904 * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
4905 function definition.
4906 * crypt/crypt_util.c (__encrypt_r): Likewise.
4907 * libio/genops.c (_IO_no_init): Likewise.
4908 * libio/iofopncook.c (_IO_fopencookie): Likewise.
4909 (_IO_old_fopencookie): Likewise.
4910 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
4911 * libio/iogetline.c (_IO_getline): Likewise.
4912 (_IO_getline_info): Likewise.
4913 * libio/iogetwline.c (_IO_getwline): Likewise.
4914 (_IO_getwline_info): Likewise.
4915 * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
4916 * libio/vswprintf.c (_IO_vswprintf): Likewise.
4917 * locale/programs/simple-hash.c (insert_entry_2): Likewise.
4918 (find_entry): Likewise.
4919 (iterate_table): Likewise.
4921 * login/forkpty.c (forkpty): Likewise.
4922 * misc/hsearch_r.c (__hsearch_r): Likewise.
4923 * misc/select.c (__select): Likewise.
4924 * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
4926 * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
4928 * nptl/old_pthread_cond_timedwait.c
4929 (__pthread_cond_timedwait_2_0): Likewise.
4930 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
4931 * nptl/pthread_barrierattr_getpshared.c
4932 (pthread_barrierattr_getpshared): Likewise.
4933 * nptl/pthread_getschedparam.c (__pthread_getschedparam):
4935 * nptl/pthread_mutex_setprioceiling.c
4936 (pthread_mutex_setprioceiling): Likewise.
4937 * nptl/pthread_mutexattr_getprioceiling.c
4938 (pthread_mutexattr_getprioceiling): Likewise.
4939 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
4940 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
4942 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
4944 * nptl/pthread_setschedparam.c (__pthread_setschedparam):
4946 * socket/recvfrom.c (__recvfrom): Likewise.
4947 * socket/sendto.c (__sendto): Likewise.
4948 * socket/setsockopt.c (__setsockopt): Likewise.
4949 * stdio-common/_itoa.c (_itoa): Likewise.
4950 * stdio-common/_itowa.c (_itowa): Likewise.
4951 * stdio-common/reg-printf.c (__register_printf_specifier):
4953 (__register_printf_function): Likewise.
4954 * stdio-common/tempname.c (__path_search): Likewise.
4955 * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
4956 * stdlib/mul_1.c (mpn_mul_1): Likewise.
4957 * stdlib/random_r.c (__initstate_r): Likewise.
4958 * stdlib/setenv.c (__add_to_environ): Likewise.
4959 * stdlib/submul_1.c (mpn_submul_1): Likewise.
4960 * streams/getpmsg.c (getpmsg): Likewise.
4961 * streams/putmsg.c (putmsg): Likewise.
4962 * streams/putpmsg.c (putpmsg): Likewise.
4963 * sunrpc/clnt_raw.c (clntraw_call): Likewise.
4964 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
4965 * sunrpc/clnt_udp.c (clntudp_create): Likewise.
4966 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
4967 * sunrpc/pm_getport.c (pmap_getport): Likewise.
4968 * sunrpc/svc_udp.c (cache_get): Likewise.
4969 * sunrpc/xdr_array.c (xdr_vector): Likewise.
4970 * sysdeps/mach/hurd/getcwd.c
4971 (__canonicalize_directory_name_internal): Likewise.
4972 * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
4973 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
4974 * sysdeps/mach/hurd/select.c (__select): Likewise.
4975 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
4976 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
4977 * sysdeps/sparc/nptl/pthread_barrier_init.c
4978 (__pthread_barrier_init): Likewise.
4979 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
4980 (__pthread_cond_timedwait): Likewise.
4981 * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
4982 * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
4984 * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
4985 * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
4987 * sysvipc/semtimedop.c (semtimedop): Likewise.
4988 * time/setitimer.c (__setitimer): Likewise.
4989 * time/strftime_l.c (emacs_strftime): Likewise.
4991 2015-10-19 Mike Frysinger <vapier@gentoo.org>
4993 * config.make.in (have-ssp): Delete.
4994 (stack-protector): New variable.
4995 * configure.ac: Delete libc_cv_ssp export. Add libc_cv_ssp_strong
4996 cache test for -fstack-protector-strong. Export stack_protector to
4998 * configure: Regenerated.
4999 * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
5000 * nscd/Makefile (CFLAGS-nscd): Likewise.
5001 * resolv/Makefile (CFLAGS-libresolv): Likewise.
5003 2015-10-16 H.J. Lu <hongjiu.lu@intel.com>
5006 * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
5009 2015-10-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5012 * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
5014 (ELIDE_LOCK): ...here.
5015 (__get_new_count): New function with part of the code from
5016 __elide_lock that updates the value of adapt_count after a
5018 (__elided_trylock): Moved this code to...
5019 (ELIDE_TRYLOCK): ...here.
5021 2015-10-19 Mike Frysinger <vapier@gentoo.org>
5023 * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
5024 * configure: Regenerate.
5025 * INSTALL: Regenerate.
5026 * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
5029 2015-10-19 Geoffrey Thomas <geofft@ldpreload.com>
5031 * login/programs/pt_chown.c: Include signal.h
5032 (main): Clear any signal mask from the parent process.
5034 2015-10-19 Joseph Myers <joseph@codesourcery.com>
5036 * configure.ac (libc_cv_gnu89_inline): Remove configure test.
5037 * configure: Regenerated.
5038 * config.make.in (gnu89-inline-CFLAGS): Remove variable.
5039 * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
5040 $(gnu89-inline-CFLAGS).
5042 * configure.ac (libc_cv_asm_weak_directive): Remove configure
5044 (libc_cv_asm_weakext_directive): Likewise.
5045 * configure: Regenerated.
5046 * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
5047 (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
5048 * include/libc-symbols.h
5049 [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
5051 [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
5052 [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
5054 * sysdeps/arm/backtrace.c (__backtrace): Convert to
5055 prototype-style function definition.
5056 * sysdeps/i386/backtrace.c (__backtrace): Likewise.
5057 * sysdeps/i386/ffs.c (__ffs): Likewise.
5058 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
5059 * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
5061 * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
5063 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
5064 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
5066 * sysdeps/m68k/ffs.c (__ffs): Likewise.
5067 * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
5068 * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
5069 * sysdeps/mach/adjtime.c (__adjtime): Likewise.
5070 * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
5071 * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
5072 * sysdeps/mach/hurd/access.c (__access): Likewise.
5073 * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
5074 * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
5075 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
5076 * sysdeps/mach/hurd/chown.c (__chown): Likewise.
5077 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
5078 (cthread_getspecific): Likewise.
5079 (cthread_setspecific): Likewise.
5080 (__libc_getspecific): Likewise.
5081 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
5082 * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
5083 * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
5084 * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
5085 * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
5086 * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
5087 * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
5088 * sysdeps/mach/hurd/flock.c (__flock): Likewise.
5089 * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
5090 * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
5091 * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
5092 * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
5093 * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
5094 * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
5095 * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
5096 * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
5097 * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
5098 * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
5099 * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
5100 * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
5101 * sysdeps/mach/hurd/link.c (__link): Likewise.
5102 * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
5103 * sysdeps/mach/hurd/listen.c (__listen): Likewise.
5104 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
5105 * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
5106 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
5107 * sysdeps/mach/hurd/poll.c (__poll): Likewise.
5108 * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
5109 * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
5110 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
5111 * sysdeps/mach/hurd/rename.c (rename): Likewise.
5112 * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
5113 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
5114 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
5115 * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
5116 * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
5117 * sysdeps/mach/hurd/send.c (__send): Likewise.
5118 * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
5119 * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
5120 * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
5121 * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
5122 * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
5123 * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
5124 * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
5125 * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
5126 * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
5127 * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
5128 * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
5129 * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
5130 * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
5131 * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
5132 * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
5133 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
5134 * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
5135 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
5136 * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
5137 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
5138 * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
5139 * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
5140 * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
5141 * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
5142 * sysdeps/mach/hurd/umask.c (__umask): Likewise.
5143 * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
5144 * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
5145 * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
5146 * sysdeps/posix/alarm.c (alarm): Likewise.
5147 * sysdeps/posix/cuserid.c (cuserid): Likewise.
5148 * sysdeps/posix/dirfd.c (dirfd): Likewise.
5149 * sysdeps/posix/dup.c (__dup): Likewise.
5150 * sysdeps/posix/dup2.c (__dup2): Likewise.
5151 * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
5153 * sysdeps/posix/flock.c (__flock): Likewise.
5154 * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
5155 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
5156 * sysdeps/posix/gethostname.c (__gethostname): Likewise.
5157 * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
5158 * sysdeps/posix/isatty.c (__isatty): Likewise.
5159 * sysdeps/posix/killpg.c (killpg): Likewise.
5160 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
5161 * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
5162 * sysdeps/posix/raise.c (raise): Likewise.
5163 * sysdeps/posix/remove.c (remove): Likewise.
5164 * sysdeps/posix/rename.c (rename): Likewise.
5165 * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
5166 * sysdeps/posix/seekdir.c (seekdir): Likewise.
5167 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
5168 * sysdeps/posix/sigignore.c (sigignore): Likewise.
5169 * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
5170 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
5171 * sysdeps/posix/sigset.c (sigset): Likewise.
5172 * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
5173 * sysdeps/posix/sysconf.c (__sysconf): Likewise.
5174 * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
5175 * sysdeps/posix/time.c (time): Likewise.
5176 * sysdeps/posix/ttyname.c (getttyname): Likewise.
5177 (ttyname): Likewise.
5178 * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
5179 * sysdeps/posix/utime.c (utime): Likewise.
5180 * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
5181 * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
5183 * sysdeps/powerpc/nptl/pthread_spin_trylock.c
5184 (pthread_spin_trylock): Likewise.
5185 * sysdeps/pthread/aio_error.c (aio_error): Likewise.
5186 * sysdeps/pthread/aio_read.c (aio_read): Likewise.
5187 * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
5188 * sysdeps/pthread/aio_write.c (aio_write): Likewise.
5189 * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
5190 * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
5191 * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
5192 * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
5193 * sysdeps/pthread/timer_create.c (timer_create): Likewise.
5194 * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
5195 * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
5196 * sysdeps/s390/ffs.c (__ffs): Likewise.
5197 * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
5199 * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
5201 * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
5203 * sysdeps/sparc/nptl/pthread_barrier_destroy.c
5204 (pthread_barrier_destroy): Likewise.
5205 * sysdeps/sparc/nptl/pthread_barrier_wait.c
5206 (__pthread_barrier_wait): Likewise.
5207 * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
5208 * sysdeps/sparc/sparc32/pthread_barrier_wait.c
5209 (__pthread_barrier_wait): Likewise.
5210 * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
5211 * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
5212 (memcmp_not_common_alignment): Likewise.
5214 * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
5215 (_wordcopy_fwd_dest_aligned): Likewise.
5216 (_wordcopy_bwd_aligned): Likewise.
5217 (_wordcopy_bwd_dest_aligned): Likewise.
5218 * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
5219 * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
5220 * sysdeps/unix/bsd/stty.c (stty): Likewise.
5221 * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
5222 * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
5223 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
5224 * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
5225 * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
5226 * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
5227 * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
5228 * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
5229 * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
5230 * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
5231 * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
5232 * sysdeps/unix/stime.c (stime): Likewise.
5233 * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
5234 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
5235 Likewise. Use internal_function.
5236 * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
5237 Convert to prototype-style function definition.
5238 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
5239 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
5240 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
5241 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
5242 Likewise. Use internal_function.
5243 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
5244 prototype-style function definition
5245 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
5247 (__getlogin_r): Likewise.
5248 * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
5249 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
5250 (__pthread_cond_broadcast): Likewise.
5251 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
5252 (__pthread_cond_destroy): Likewise.
5253 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
5254 (__pthread_cond_init): Likewise.
5255 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
5256 (__pthread_cond_signal): Likewise.
5257 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
5258 (__pthread_cond_wait): Likewise.
5259 * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
5260 * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
5261 * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
5263 * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
5265 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
5267 * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
5269 * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
5270 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
5271 (__ftruncate64): Likewise.
5272 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
5273 (truncate64): Likewise.
5274 * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
5275 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
5276 (pthread_getcpuclockid): Likewise.
5277 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
5279 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
5281 * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
5283 * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
5285 * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
5286 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
5287 (__libc_sigaction): Likewise.
5288 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
5290 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
5291 (__sigprocmask): Likewise.
5292 * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
5293 * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
5294 * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
5295 * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
5296 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
5297 * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
5298 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
5300 * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
5301 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
5302 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
5303 * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
5304 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
5306 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
5307 (__sigprocmask): Likewise.
5308 * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
5309 (cfgetispeed): Likewise.
5310 (cfsetospeed): Likewise.
5311 (cfsetispeed): Likewise.
5312 * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
5313 * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
5314 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
5315 * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
5316 * sysdeps/unix/sysv/linux/time.c (time): Likewise.
5317 * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
5318 * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
5319 * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
5321 * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
5323 * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
5325 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
5327 * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
5329 2015-10-17 Florian Weimer <fweimer@redhat.com>
5331 sunrpc: Rewrite with explicit TLS access using __thread.
5332 * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
5333 (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
5335 (__rpc_thread_variables): Access thread_rpc_vars directly.
5336 Eliminate redundant assignment of the tvp variable.
5338 2015-10-17 Florian Weimer <fweimer@redhat.com>
5340 malloc: Rewrite with explicit TLS access using __thread.
5341 * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
5342 (tsd_setspecific, tsd_getspecific): Remove.
5343 * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
5344 (tsd_setspecific, tsd_getspecific): Likewise.
5345 * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
5346 (tsd_setspecific, tsd_getspecific): Likewise.
5347 * malloc/arena.c (thread_arena): New TLS variable.
5348 (arena_key): Remove variable.
5349 (arena_get): Use thread_arena.
5350 (arena_lookup): Remove macro.
5351 (malloc_atfork, free_atfork, ptmalloc_lock_all)
5352 (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
5353 (_int_new_arena, get_free_list, reused_arena)
5354 (arena_thread_freeres): Use thread_arena.
5355 * manual/memory.texi (Basic Allocation): Remove arena_lookup,
5356 tsd_getspecific, tsd_setspecific from safety annotations.
5357 (Allocating Cleared Space): Remove arena_lookup from safety
5360 2015-10-17 Florian Weimer <fweimer@redhat.com>
5362 * stdio-common/vfprintf.c (printf_positional): Rewrite to use
5363 struct scratch_buffer instead of extend_alloca.
5365 2015-10-17 Florian Weimer <fweimer@redhat.com>
5367 * sysdeps/unix/sysv/linux/kernel-features.h
5368 (__ASSUME_SOCK_CLOEXEC): Remove.
5369 * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
5370 (__have_paccept): Remove unused macro.
5371 * include/unistd.h (__have_sock_cloexec): Remove declaration.
5372 * misc/syslog.c (openlog_internal): Remove fallback code for
5373 !__ASSUME_SOCK_CLOEXEC.
5374 * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
5375 missing SOCK_CLOEXEC.
5376 * nscd/connections.c (have_sock_cloexec): Remove definition.
5377 (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
5378 * nscd/nscd_helper.c (open_socket): Remove fallback code for
5379 !__ASSUME_SOCK_CLOEXEC.
5380 * resolv/res_send.c (__have_o_nonblock): Remove definition.
5381 (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
5382 * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
5384 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
5385 code for !__ASSUME_SOCK_CLOEXEC.
5387 2015-10-17 Florian Weimer <fweimer@redhat.com>
5390 * manual/stdio.texi (Variable Arguments Output): Add portability
5391 note, explaining that vfprintf clobbers the va_list pointer.
5393 2015-10-16 Joseph Myers <joseph@codesourcery.com>
5395 * math/libm-test.inc (fabs_test_data): Add more tests.
5396 (fdim_test_data): Likewise.
5397 (fma_test_data): Likewise.
5398 (fmax_test_data): Likewise.
5399 (fmin_test_data): Likewise.
5400 (fmod_test_data): Likewise.
5402 2015-10-16 Steve Ellcey <sellcey@imgtec.com>
5404 * sysdeps/mips/memcpy.S (memcpy): Add word copies for small aligned
5407 2015-10-16 Joseph Myers <joseph@codesourcery.com>
5409 * math/libm-test.inc (ceil_test_data): Add more tests and more
5410 expectations for "inexact".
5411 (floor_test_data): Add more tests.
5412 (round_test_data): Likewise.
5413 (trunc_test_data): Likewise.
5415 * crypt/cert.c (good_bye): Convert to prototype-style function
5419 * crypt/crypt-entry.c (crypt): Likewise.
5420 (__fcrypt): Likewise.
5421 * crypt/crypt_util.c (_ufc_prbits): Likewise.
5422 (_ufc_set_bits): Likewise.
5423 (_ufc_clearmem): Likewise.
5424 (__init_des_r): Likewise.
5425 (shuffle_sb): Likewise.
5426 (shuffle_sb): Likewise.
5427 (_ufc_setup_salt_r): Likewise.
5428 (_ufc_mk_keytab_r): Likewise.
5429 (_ufc_dofinalperm_r): Likewise.
5430 (encrypt): Likewise.
5431 (__setkey_r): Likewise.
5433 * crypt/md5.c (md5_init_ctx): Likewise.
5434 (md5_read_ctx): Likewise.
5435 (md5_finish_ctx): Likewise.
5436 (md5_stream): Likewise.
5437 (md5_buffer): Likewise.
5438 (md5_process_bytes): Likewise.
5439 * crypt/sha256.c (__sha256_init_ctx): Likewise.
5440 (__sha256_finish_ctx): Likewise.
5441 (__sha256_process_bytes): Likewise.
5442 * crypt/sha512.c (__sha512_init_ctx): Likewise.
5443 (__sha512_finish_ctx): Likewise.
5444 (__sha512_process_bytes): Likewise.
5445 * ctype/isctype.c (__isctype): Likewise.
5446 * debug/backtrace.c (__backtrace): Likewise.
5447 * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
5448 * debug/fgets_chk.c (__fgets_chk): Likewise.
5449 * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
5450 * debug/memcpy_chk.c (__memcpy_chk): Likewise.
5451 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
5452 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
5453 * debug/memset_chk.c (__memset_chk): Likewise.
5454 * debug/strcat_chk.c (__strcat_chk): Likewise.
5455 * debug/strncat_chk.c (__strncat_chk): Likewise.
5456 * debug/strncpy_chk.c (__strncpy_chk): Likewise.
5457 * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
5458 * dirent/dirfd.c (dirfd): Likewise.
5459 * dirent/getdents.c (__getdirentries): Likewise.
5460 * dirent/getdents64.c (getdirentries64): Likewise.
5461 * dirent/rewinddir.c (__rewinddir): Likewise.
5462 * dirent/seekdir.c (seekdir): Likewise.
5463 * dirent/telldir.c (telldir): Likewise.
5464 * elf/sln.c (makesymlinks): Likewise.
5465 (makesymlink): Likewise.
5466 * gmon/gmon.c (__moncontrol): Likewise.
5467 (__monstartup): Likewise.
5468 (write_hist): Likewise.
5469 (write_call_graph): Likewise.
5470 (write_bb_counts): Likewise.
5471 * grp/setgroups.c (setgroups): Likewise.
5472 * inet/inet_lnaof.c (inet_lnaof): Likewise.
5473 * inet/inet_net.c (inet_network): Likewise.
5474 * inet/inet_netof.c (inet_netof): Likewise.
5475 * inet/rcmd.c (rresvport_af): Likewise.
5476 (rresvport): Likewise.
5477 * io/access.c (__access): Likewise.
5478 * io/chdir.c (__chdir): Likewise.
5479 * io/chmod.c (__chmod): Likewise.
5480 * io/chown.c (__chown): Likewise.
5481 * io/close.c (__close): Likewise.
5482 * io/creat.c (creat): Likewise.
5483 * io/creat64.c (creat64): Likewise.
5484 * io/dup.c (__dup): Likewise.
5485 * io/dup2.c (__dup2): Likewise.
5486 * io/dup3.c (__dup3): Likewise.
5487 * io/euidaccess.c (__euidaccess): Likewise.
5488 * io/faccessat.c (faccessat): Likewise.
5489 * io/fchmod.c (__fchmod): Likewise.
5490 * io/fchmodat.c (fchmodat): Likewise.
5491 * io/fchown.c (__fchown): Likewise.
5492 * io/fchownat.c (fchownat): Likewise.
5493 * io/fcntl.c (__fcntl): Likewise.
5494 * io/flock.c (__flock): Likewise.
5495 * io/fts.c (fts_load): Likewise.
5496 (fts_close): Likewise.
5497 (fts_read): Likewise.
5498 (fts_set): Likewise.
5499 (fts_children): Likewise.
5500 (fts_build): Likewise.
5501 (fts_stat): Likewise.
5502 (fts_sort): Likewise.
5503 (fts_alloc): Likewise.
5504 (fts_lfree): Likewise.
5505 (fts_palloc): Likewise.
5506 (fts_padjust): Likewise.
5507 (fts_maxarglen): Likewise.
5508 (fts_safe_changedir): Likewise.
5509 * io/getwd.c (getwd): Likewise.
5510 * io/isatty.c (__isatty): Likewise.
5511 * io/lchown.c (__lchown): Likewise.
5512 * io/link.c (__link): Likewise.
5513 * io/linkat.c (linkat): Likewise.
5514 * io/lseek.c (__libc_lseek): Likewise.
5515 * io/mkdir.c (__mkdir): Likewise.
5516 * io/mkdirat.c (mkdirat): Likewise.
5517 * io/mkfifo.c (mkfifo): Likewise.
5518 * io/mkfifoat.c (mkfifoat): Likewise.
5519 * io/open.c (__libc_open): Likewise.
5520 * io/open64.c (__libc_open64): Likewise.
5521 * io/readlink.c (__readlink): Likewise.
5522 * io/readlinkat.c (readlinkat): Likewise.
5523 * io/rmdir.c (__rmdir): Likewise.
5524 * io/symlink.c (__symlink): Likewise.
5525 * io/symlinkat.c (symlinkat): Likewise.
5526 * io/ttyname.c (ttyname): Likewise.
5527 * io/ttyname_r.c (__ttyname_r): Likewise.
5528 * io/umask.c (__umask): Likewise.
5529 * io/unlink.c (__unlink): Likewise.
5530 * io/unlinkat.c (unlinkat): Likewise.
5531 * io/utime.c (utime): Likewise.
5532 * libio/clearerr.c (clearerr): Likewise.
5533 * libio/clearerr_u.c (clearerr_unlocked): Likewise.
5534 * libio/feof.c (_IO_feof): Likewise.
5535 * libio/feof_u.c (feof_unlocked): Likewise.
5536 * libio/ferror.c (_IO_ferror): Likewise.
5537 * libio/ferror_u.c (ferror_unlocked): Likewise.
5538 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
5539 * libio/fileno.c (__fileno): Likewise.
5540 * libio/fputc.c (fputc): Likewise.
5541 * libio/fputc_u.c (fputc_unlocked): Likewise.
5542 * libio/fputwc.c (fputwc): Likewise.
5543 * libio/fputwc_u.c (fputwc_unlocked): Likewise.
5544 * libio/freopen.c (freopen): Likewise.
5545 * libio/freopen64.c (freopen64): Likewise.
5546 * libio/fseek.c (fseek): Likewise.
5547 * libio/fseeko.c (fseeko): Likewise.
5548 * libio/fseeko64.c (fseeko64): Likewise.
5549 * libio/ftello.c (__ftello): Likewise.
5550 * libio/ftello64.c (ftello64): Likewise.
5551 * libio/fwide.c (fwide): Likewise.
5552 * libio/genops.c (_IO_un_link): Likewise.
5553 (_IO_link_in): Likewise.
5554 (_IO_least_marker): Likewise.
5555 (_IO_switch_to_main_get_area): Likewise.
5556 (_IO_switch_to_backup_area): Likewise.
5557 (_IO_switch_to_get_mode): Likewise.
5558 (_IO_free_backup_area): Likewise.
5559 (_IO_switch_to_put_mode): Likewise.
5560 (__overflow): Likewise.
5561 (__underflow): Likewise.
5562 (__uflow): Likewise.
5563 (_IO_setb): Likewise.
5564 (_IO_doallocbuf): Likewise.
5565 (_IO_default_underflow): Likewise.
5566 (_IO_default_uflow): Likewise.
5567 (_IO_default_xsputn): Likewise.
5568 (_IO_sgetn): Likewise.
5569 (_IO_default_xsgetn): Likewise.
5570 (_IO_sync): Likewise.
5571 (_IO_default_setbuf): Likewise.
5572 (_IO_default_seekpos): Likewise.
5573 (_IO_default_doallocate): Likewise.
5574 (_IO_init): Likewise.
5575 (_IO_old_init): Likewise.
5576 (_IO_default_sync): Likewise.
5577 (_IO_default_finish): Likewise.
5578 (_IO_default_seekoff): Likewise.
5579 (_IO_sputbackc): Likewise.
5580 (_IO_sungetc): Likewise.
5581 (_IO_set_column): Likewise.
5582 (_IO_set_column): Likewise.
5583 (_IO_adjust_column): Likewise.
5584 (_IO_get_column): Likewise.
5585 (_IO_init_marker): Likewise.
5586 (_IO_remove_marker): Likewise.
5587 (_IO_marker_difference): Likewise.
5588 (_IO_marker_delta): Likewise.
5589 (_IO_seekmark): Likewise.
5590 (_IO_unsave_markers): Likewise.
5591 (_IO_nobackup_pbackfail): Likewise.
5592 (_IO_default_pbackfail): Likewise.
5593 (_IO_default_seek): Likewise.
5594 (_IO_default_stat): Likewise.
5595 (_IO_default_read): Likewise.
5596 (_IO_default_write): Likewise.
5597 (_IO_default_showmanyc): Likewise.
5598 (_IO_default_imbue): Likewise.
5599 (_IO_iter_next): Likewise.
5600 (_IO_iter_file): Likewise.
5601 * libio/getc.c (_IO_getc): Likewise.
5602 * libio/getwc.c (_IO_getwc): Likewise.
5603 * libio/iofclose.c (_IO_new_fclose): Likewise.
5604 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
5605 * libio/iofflush.c (_IO_fflush): Likewise.
5606 * libio/iofflush_u.c (__fflush_unlocked): Likewise.
5607 * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
5608 * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
5609 * libio/iofgets.c (_IO_fgets): Likewise.
5610 * libio/iofgets_u.c (__fgets_unlocked): Likewise.
5611 * libio/iofgetws.c (fgetws): Likewise.
5612 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
5613 * libio/iofopen64.c (_IO_fopen64): Likewise.
5614 * libio/iofopncook.c (_IO_cookie_read): Likewise.
5615 (_IO_cookie_write): Likewise.
5616 (_IO_cookie_seek): Likewise.
5617 (_IO_cookie_close): Likewise.
5618 (_IO_cookie_seekoff): Likewise.
5619 (_IO_old_cookie_seek): Likewise.
5620 * libio/iofputs.c (_IO_fputs): Likewise.
5621 * libio/iofputs_u.c (__fputs_unlocked): Likewise.
5622 * libio/iofputws.c (fputws): Likewise.
5623 * libio/iofputws_u.c (fputws_unlocked): Likewise.
5624 * libio/iofread.c (_IO_fread): Likewise.
5625 * libio/iofread_u.c (__fread_unlocked): Likewise.
5626 * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
5627 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
5628 * libio/ioftell.c (_IO_ftell): Likewise.
5629 * libio/iofwrite.c (_IO_fwrite): Likewise.
5630 * libio/iogetdelim.c (_IO_getdelim): Likewise.
5631 * libio/iogets.c (_IO_gets): Likewise.
5632 * libio/iopadn.c (_IO_padn): Likewise.
5633 * libio/iopopen.c (_IO_new_proc_open): Likewise.
5634 (_IO_new_popen): Likewise.
5635 (_IO_new_proc_close): Likewise.
5636 * libio/ioputs.c (_IO_puts): Likewise.
5637 * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
5638 (_IO_seekoff): Likewise.
5639 * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
5640 (_IO_seekpos): Likewise.
5641 * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
5642 * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
5643 * libio/ioungetc.c (_IO_ungetc): Likewise.
5644 * libio/ioungetwc.c (ungetwc): Likewise.
5645 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
5646 * libio/iovsscanf.c (_IO_vsscanf): Likewise.
5647 * libio/iowpadn.c (_IO_wpadn): Likewise.
5648 * libio/libc_fatal.c (__libc_fatal): Likewise.
5649 * libio/memstream.c (__open_memstream): Likewise.
5650 (_IO_mem_sync): Likewise.
5651 (_IO_mem_finish): Likewise.
5652 * libio/oldfileops.c (_IO_old_file_init): Likewise.
5653 (_IO_old_file_close_it): Likewise.
5654 (_IO_old_file_finish): Likewise.
5655 (_IO_old_file_fopen): Likewise.
5656 (_IO_old_file_attach): Likewise.
5657 (_IO_old_file_setbuf): Likewise.
5658 (_IO_old_do_write): Likewise.
5659 (old_do_write): Likewise.
5660 (_IO_old_file_underflow): Likewise.
5661 (_IO_old_file_overflow): Likewise.
5662 (_IO_old_file_sync): Likewise.
5663 (_IO_old_file_seekoff): Likewise.
5664 (_IO_old_file_write): Likewise.
5665 (_IO_old_file_xsputn): Likewise.
5666 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
5667 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
5668 * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
5669 * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
5670 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
5671 * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
5672 * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
5673 * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
5674 (_IO_old_popen): Likewise.
5675 (_IO_old_proc_close): Likewise.
5676 * libio/oldpclose.c (__old_pclose): Likewise.
5677 * libio/pclose.c (__new_pclose): Likewise.
5678 * libio/peekc.c (_IO_peekc_locked): Likewise.
5679 * libio/putc.c (_IO_putc): Likewise.
5680 * libio/putc_u.c (putc_unlocked): Likewise.
5681 * libio/putchar.c (putchar): Likewise.
5682 * libio/putchar_u.c (putchar_unlocked): Likewise.
5683 * libio/putwc.c (putwc): Likewise.
5684 * libio/putwc_u.c (putwc_unlocked): Likewise.
5685 * libio/putwchar.c (putwchar): Likewise.
5686 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
5687 * libio/rewind.c (rewind): Likewise.
5688 * libio/setbuf.c (setbuf): Likewise.
5689 * libio/setlinebuf.c (setlinebuf): Likewise.
5690 * libio/vasprintf.c (_IO_vasprintf): Likewise.
5691 * libio/vscanf.c (_IO_vscanf): Likewise.
5692 * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
5693 * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
5694 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
5695 * libio/wgenops.c (_IO_least_wmarker): Likewise.
5696 (_IO_switch_to_main_wget_area): Likewise.
5697 (_IO_switch_to_wbackup_area): Likewise.
5698 (_IO_wsetb): Likewise.
5699 (_IO_wdefault_pbackfail): Likewise.
5700 (_IO_wdefault_finish): Likewise.
5701 (_IO_wdefault_uflow): Likewise.
5702 (__woverflow): Likewise.
5703 (__wuflow): Likewise.
5704 (__wunderflow): Likewise.
5705 (_IO_wdefault_xsputn): Likewise.
5706 (_IO_wdefault_xsgetn): Likewise.
5707 (_IO_wdoallocbuf): Likewise.
5708 (_IO_wdefault_doallocate): Likewise.
5709 (_IO_switch_to_wget_mode): Likewise.
5710 (_IO_free_wbackup_area): Likewise.
5711 (_IO_switch_to_wput_mode): Likewise.
5712 (_IO_sputbackwc): Likewise.
5713 (_IO_sungetwc): Likewise.
5714 (_IO_adjust_wcolumn): Likewise.
5715 (_IO_init_wmarker): Likewise.
5716 (_IO_wmarker_delta): Likewise.
5717 (_IO_seekwmark): Likewise.
5718 (_IO_unsave_wmarkers): Likewise.
5719 * libio/wmemstream.c (open_wmemstream): Likewise.
5720 (_IO_wmem_sync): Likewise.
5721 (_IO_wmem_finish): Likewise.
5722 * locale/nl_langinfo.c (nl_langinfo): Likewise.
5723 * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
5724 * locale/programs/simple-hash.c (init_hash): Likewise.
5725 (delete_hash): Likewise.
5726 (insert_entry): Likewise.
5727 (set_entry): Likewise.
5728 (next_prime): Likewise.
5729 (is_prime): Likewise.
5730 * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
5731 (xmalloc): Likewise.
5732 (xrealloc): Likewise.
5733 * locale/programs/xstrdup.c (xstrdup): Likewise.
5734 * localedata/collate-test.c (xstrcoll): Likewise.
5735 * localedata/xfrm-test.c (xstrcmp): Likewise.
5736 * login/getlogin_r.c (__getlogin_r): Likewise.
5737 * login/getpt.c (__posix_openpt): Likewise.
5738 * login/login_tty.c (login_tty): Likewise.
5739 * login/setlogin.c (setlogin): Likewise.
5740 * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
5741 (mach_msg_destroy_port): Likewise.
5742 (mach_msg_destroy_memory): Likewise.
5743 * malloc/mcheck.c (flood): Likewise.
5744 * misc/acct.c (acct): Likewise.
5745 * misc/brk.c (__brk): Likewise.
5746 * misc/chflags.c (chflags): Likewise.
5747 * misc/chroot.c (chroot): Likewise.
5748 * misc/fchflags.c (fchflags): Likewise.
5749 * misc/fstab.c (getfsspec): Likewise.
5750 (getfsfile): Likewise.
5751 * misc/fsync.c (fsync): Likewise.
5752 * misc/ftruncate.c (__ftruncate): Likewise.
5753 * misc/ftruncate64.c (__ftruncate64): Likewise.
5754 * misc/getdomain.c (getdomainname): Likewise.
5755 (getdomainname): Likewise.
5756 * misc/gethostname.c (__gethostname): Likewise.
5757 * misc/getpass.c (getpass): Likewise.
5758 * misc/getttyent.c (skip): Likewise.
5760 * misc/gtty.c (gtty): Likewise.
5761 * misc/hsearch.c (hsearch): Likewise.
5762 (hcreate): Likewise.
5763 * misc/hsearch_r.c (__hcreate_r): Likewise.
5764 (__hdestroy_r): Likewise.
5765 * misc/ioctl.c (__ioctl): Likewise.
5766 * misc/mkdtemp.c (mkdtemp): Likewise.
5767 * misc/mkostemp.c (mkostemp): Likewise.
5768 * misc/mkostemp64.c (mkostemp64): Likewise.
5769 * misc/mkostemps.c (mkostemps): Likewise.
5770 * misc/mkostemps64.c (mkostemps64): Likewise.
5771 * misc/mkstemp.c (mkstemp): Likewise.
5772 * misc/mkstemp64.c (mkstemp64): Likewise.
5773 * misc/mkstemps.c (mkstemps): Likewise.
5774 * misc/mkstemps64.c (mkstemps64): Likewise.
5775 * misc/mktemp.c (__mktemp): Likewise.
5776 * misc/preadv.c (preadv): Likewise.
5777 * misc/preadv64.c (preadv64): Likewise.
5778 * misc/pwritev.c (pwritev): Likewise.
5779 * misc/pwritev64.c (pwritev64): Likewise.
5780 * misc/readv.c (__readv): Likewise.
5781 * misc/revoke.c (revoke): Likewise.
5782 * misc/setdomain.c (setdomainname): Likewise.
5783 * misc/setegid.c (setegid): Likewise.
5784 * misc/seteuid.c (seteuid): Likewise.
5785 * misc/sethostid.c (sethostid): Likewise.
5786 * misc/sethostname.c (sethostname): Likewise.
5787 * misc/setregid.c (__setregid): Likewise.
5788 * misc/setreuid.c (__setreuid): Likewise.
5789 * misc/sstk.c (sstk): Likewise.
5790 * misc/stty.c (stty): Likewise.
5791 * misc/syscall.c (syscall): Likewise.
5792 * misc/syslog.c (setlogmask): Likewise.
5793 * misc/truncate.c (__truncate): Likewise.
5794 * misc/truncate64.c (truncate64): Likewise.
5795 * misc/ualarm.c (ualarm): Likewise.
5796 * misc/usleep.c (usleep): Likewise.
5797 * misc/ustat.c (ustat): Likewise.
5798 * misc/writev.c (__writev): Likewise.
5799 * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
5800 * nptl/old_pthread_cond_broadcast.c
5801 (__pthread_cond_broadcast_2_0): Likewise.
5802 * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
5804 * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
5806 * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
5808 * nptl/pt-raise.c (raise): Likewise.
5809 * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
5811 * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
5812 * nptl/pthread_barrierattr_destroy.c
5813 (pthread_barrierattr_destroy): Likewise.
5814 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
5816 * nptl/pthread_barrierattr_setpshared.c
5817 (pthread_barrierattr_setpshared): Likewise.
5818 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
5820 * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
5821 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
5822 * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
5823 * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
5825 * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
5827 * nptl/pthread_condattr_getpshared.c
5828 (pthread_condattr_getpshared): Likewise.
5829 * nptl/pthread_condattr_init.c (__pthread_condattr_init):
5831 * nptl/pthread_condattr_setpshared.c
5832 (pthread_condattr_setpshared): Likewise.
5833 * nptl/pthread_detach.c (pthread_detach): Likewise.
5834 * nptl/pthread_equal.c (__pthread_equal): Likewise.
5835 * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
5836 * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
5837 * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
5838 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
5840 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
5842 * nptl/pthread_mutex_getprioceiling.c
5843 (pthread_mutex_getprioceiling): Likewise.
5844 * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
5846 * nptl/pthread_mutexattr_getprotocol.c
5847 (pthread_mutexattr_getprotocol): Likewise.
5848 * nptl/pthread_mutexattr_getpshared.c
5849 (pthread_mutexattr_getpshared): Likewise.
5850 * nptl/pthread_mutexattr_getrobust.c
5851 (pthread_mutexattr_getrobust): Likewise.
5852 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
5854 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
5856 * nptl/pthread_mutexattr_setprioceiling.c
5857 (pthread_mutexattr_setprioceiling): Likewise.
5858 * nptl/pthread_mutexattr_setprotocol.c
5859 (pthread_mutexattr_setprotocol): Likewise.
5860 * nptl/pthread_mutexattr_setpshared.c
5861 (pthread_mutexattr_setpshared): Likewise.
5862 * nptl/pthread_mutexattr_setrobust.c
5863 (pthread_mutexattr_setrobust): Likewise.
5864 * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
5866 * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
5868 * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
5870 * nptl/pthread_rwlockattr_getkind_np.c
5871 (pthread_rwlockattr_getkind_np): Likewise.
5872 * nptl/pthread_rwlockattr_getpshared.c
5873 (pthread_rwlockattr_getpshared): Likewise.
5874 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
5876 * nptl/pthread_rwlockattr_setkind_np.c
5877 (pthread_rwlockattr_setkind_np): Likewise.
5878 * nptl/pthread_rwlockattr_setpshared.c
5879 (pthread_rwlockattr_setpshared): Likewise.
5880 * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
5882 * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
5884 * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
5886 * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
5887 * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
5888 * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
5889 * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
5890 * nptl/sem_close.c (sem_close): Likewise.
5891 * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
5892 * nptl/sem_init.c (__old_sem_init): Likewise.
5893 * nptl/sigaction.c (__sigaction): Likewise.
5894 * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
5895 * posix/_exit.c (_exit): Likewise.
5896 * posix/alarm.c (alarm): Likewise.
5897 * posix/confstr.c (confstr): Likewise.
5898 * posix/fpathconf.c (__fpathconf): Likewise.
5899 * posix/getgroups.c (__getgroups): Likewise.
5900 * posix/getpgid.c (__getpgid): Likewise.
5901 * posix/group_member.c (__group_member): Likewise.
5902 * posix/pathconf.c (__pathconf): Likewise.
5903 * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
5904 * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
5905 * posix/setgid.c (__setgid): Likewise.
5906 * posix/setpgid.c (__setpgid): Likewise.
5907 * posix/setuid.c (__setuid): Likewise.
5908 * posix/sleep.c (__sleep): Likewise.
5909 * posix/sysconf.c (__sysconf): Likewise.
5910 * posix/times.c (__times): Likewise.
5911 * posix/uname.c (__uname): Likewise.
5912 * posix/waitid.c (__waitid): Likewise.
5913 * pwd/getpw.c (__getpw): Likewise.
5914 * resolv/base64.c (b64_pton): Likewise.
5915 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
5916 * resolv/gethnamaddr.c (Dprintf): Likewise.
5917 (gethostbyname): Likewise.
5918 (gethostbyname2): Likewise.
5919 (gethostbyaddr): Likewise.
5920 (_sethtent): Likewise.
5921 (_gethtbyname): Likewise.
5922 (_gethtbyname2): Likewise.
5923 (_gethtbyaddr): Likewise.
5924 (map_v4v6_address): Likewise.
5925 (map_v4v6_hostent): Likewise.
5926 (addrsort): Likewise.
5927 (ht_sethostent): Likewise.
5928 (ht_gethostbyname): Likewise.
5929 (ht_gethostbyaddr): Likewise.
5930 * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
5931 (inet_net_ntop_ipv4): Likewise.
5932 * resolv/inet_neta.c (inet_neta): Likewise.
5933 * resolv/inet_ntop.c (inet_ntop): Likewise.
5934 (inet_ntop4): Likewise.
5935 (inet_ntop6): Likewise.
5936 * resolv/inet_pton.c (__inet_pton): Likewise.
5937 (inet_pton4): Likewise.
5938 (inet_pton6): Likewise.
5939 * resolv/res_debug.c (loc_aton): Likewise.
5940 (loc_ntoa): Likewise.
5941 * resource/getpriority.c (__getpriority): Likewise.
5942 * resource/getrusage.c (__getrusage): Likewise.
5943 * resource/nice.c (nice): Likewise.
5944 * resource/setpriority.c (__setpriority): Likewise.
5945 * resource/setrlimit64.c (setrlimit64): Likewise.
5946 * resource/vlimit.c (vlimit): Likewise.
5947 * resource/vtimes.c (vtimes): Likewise.
5948 * rt/aio_error.c (aio_error): Likewise.
5949 * rt/aio_return.c (aio_return): Likewise.
5950 * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
5951 * signal/kill.c (__kill): Likewise.
5952 * signal/killpg.c (killpg): Likewise.
5953 * signal/raise.c (raise): Likewise.
5954 * signal/sigaction.c (__sigaction): Likewise.
5955 * signal/sigaddset.c (sigaddset): Likewise.
5956 * signal/sigaltstack.c (sigaltstack): Likewise.
5957 * signal/sigandset.c (sigandset): Likewise.
5958 * signal/sigblock.c (__sigblock): Likewise.
5959 * signal/sigdelset.c (sigdelset): Likewise.
5960 * signal/sigempty.c (sigemptyset): Likewise.
5961 * signal/sigfillset.c (sigfillset): Likewise.
5962 * signal/sighold.c (sighold): Likewise.
5963 * signal/sigignore.c (sigignore): Likewise.
5964 * signal/sigintr.c (siginterrupt): Likewise.
5965 * signal/sigisempty.c (sigisemptyset): Likewise.
5966 * signal/sigismem.c (sigismember): Likewise.
5967 * signal/signal.c (signal): Likewise.
5968 * signal/sigorset.c (sigorset): Likewise.
5969 * signal/sigpause.c (__sigpause): Likewise.
5970 * signal/sigpending.c (sigpending): Likewise.
5971 * signal/sigprocmask.c (__sigprocmask): Likewise.
5972 * signal/sigrelse.c (sigrelse): Likewise.
5973 * signal/sigreturn.c (__sigreturn): Likewise.
5974 * signal/sigset.c (sigset): Likewise.
5975 * signal/sigsetmask.c (__sigsetmask): Likewise.
5976 * signal/sigstack.c (sigstack): Likewise.
5977 * signal/sigsuspend.c (__sigsuspend): Likewise.
5978 * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
5979 * signal/sysv_signal.c (__sysv_signal): Likewise.
5980 * socket/accept.c (accept): Likewise.
5981 * socket/accept4.c (__libc_accept4): Likewise.
5982 * socket/bind.c (__bind): Likewise.
5983 * socket/connect.c (__connect): Likewise.
5984 * socket/getpeername.c (getpeername): Likewise.
5985 * socket/getsockname.c (__getsockname): Likewise.
5986 * socket/getsockopt.c (getsockopt): Likewise.
5987 * socket/listen.c (__listen): Likewise.
5988 * socket/recv.c (__recv): Likewise.
5989 * socket/recvmsg.c (__recvmsg): Likewise.
5990 * socket/send.c (__send): Likewise.
5991 * socket/sendmsg.c (__sendmsg): Likewise.
5992 * socket/shutdown.c (shutdown): Likewise.
5993 * socket/sockatmark.c (sockatmark): Likewise.
5994 * socket/socket.c (__socket): Likewise.
5995 * stdio-common/ctermid.c (ctermid): Likewise.
5996 * stdio-common/cuserid.c (cuserid): Likewise.
5997 * stdio-common/printf-prs.c (parse_printf_format): Likewise.
5998 * stdio-common/remove.c (remove): Likewise.
5999 * stdio-common/rename.c (rename): Likewise.
6000 * stdio-common/renameat.c (renameat): Likewise.
6001 * stdio-common/tempname.c (__gen_tempname): Likewise.
6002 * stdio-common/xbug.c (InitBuffer): Likewise.
6003 (AppendToBuffer): Likewise.
6004 (ReadFile): Likewise.
6005 * stdlib/a64l.c (a64l): Likewise.
6006 * stdlib/drand48_r.c (drand48_r): Likewise.
6007 * stdlib/getcontext.c (getcontext): Likewise.
6008 * stdlib/getenv.c (getenv): Likewise.
6009 * stdlib/l64a.c (l64a): Likewise.
6010 * stdlib/llabs.c (llabs): Likewise.
6011 * stdlib/lldiv.c (lldiv): Likewise.
6012 * stdlib/lrand48_r.c (lrand48_r): Likewise.
6013 * stdlib/mrand48_r.c (mrand48_r): Likewise.
6014 * stdlib/putenv.c (putenv): Likewise.
6015 * stdlib/random.c (__srandom): Likewise.
6016 (__initstate): Likewise.
6017 (__setstate): Likewise.
6018 * stdlib/random_r.c (__srandom_r): Likewise.
6019 (__setstate_r): Likewise.
6020 (__random_r): Likewise.
6021 * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
6022 * stdlib/setcontext.c (setcontext): Likewise.
6023 * stdlib/setenv.c (setenv): Likewise.
6024 (unsetenv): Likewise.
6025 * stdlib/srand48.c (srand48): Likewise.
6026 * stdlib/srand48_r.c (__srand48_r): Likewise.
6027 * stdlib/swapcontext.c (swapcontext): Likewise.
6028 * stdlib/system.c (__libc_system): Likewise.
6029 * stdlib/tst-strtod.c (expand): Likewise.
6030 * stdlib/tst-strtol.c (expand): Likewise.
6031 * stdlib/tst-strtoll.c (expand): Likewise.
6032 * streams/fattach.c (fattach): Likewise.
6033 * streams/fdetach.c (fdetach): Likewise.
6034 * streams/getmsg.c (getmsg): Likewise.
6035 * streams/isastream.c (isastream): Likewise.
6036 * string/ffs.c (__ffs): Likewise.
6037 * string/ffsll.c (ffsll): Likewise.
6038 * string/memcmp.c (memcmp_common_alignment): Likewise.
6039 (memcmp_not_common_alignment): Likewise.
6041 * string/memcpy.c (memcpy): Likewise.
6042 * string/memmove.c (MEMMOVE): Likewise.
6043 * string/memset.c (memset): Likewise.
6044 * string/rawmemchr.c (RAWMEMCHR): Likewise.
6045 * string/strchrnul.c (STRCHRNUL): Likewise.
6046 * string/strerror.c (strerror): Likewise.
6047 * string/strndup.c (__strndup): Likewise.
6048 * string/strverscmp.c (__strverscmp): Likewise.
6049 * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
6050 * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
6051 (clnttcp_freeres): Likewise.
6052 * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
6053 * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
6054 * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
6055 * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
6056 * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
6057 (xdr_callhdr): Likewise.
6058 * sunrpc/rpcinfo.c (udpping): Likewise.
6059 (tcpping): Likewise.
6060 (pstatus): Likewise.
6061 (pmapdump): Likewise.
6063 (deletereg): Likewise.
6064 (getprognum): Likewise.
6065 (getvers): Likewise.
6066 (get_inet_address): Likewise.
6067 * sunrpc/svc_raw.c (svcraw_recv): Likewise.
6068 * sunrpc/svc_udp.c (svcudp_create): Likewise.
6069 (svcudp_stat): Likewise.
6070 (svcudp_recv): Likewise.
6071 (svcudp_reply): Likewise.
6072 (svcudp_getargs): Likewise.
6073 (svcudp_freeargs): Likewise.
6074 (svcudp_destroy): Likewise.
6075 * sunrpc/xdr.c (xdr_bytes): Likewise.
6076 (xdr_netobj): Likewise.
6077 (xdr_string): Likewise.
6078 (xdr_wrapstring): Likewise.
6079 * sunrpc/xdr_float.c (xdr_float): Likewise.
6080 (xdr_double): Likewise.
6081 * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
6082 * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
6083 * sysvipc/ftok.c (ftok): Likewise.
6084 * sysvipc/msgctl.c (msgctl): Likewise.
6085 * sysvipc/msgget.c (msgget): Likewise.
6086 * sysvipc/msgrcv.c (msgrcv): Likewise.
6087 * sysvipc/msgsnd.c (msgsnd): Likewise.
6088 * sysvipc/semget.c (semget): Likewise.
6089 * sysvipc/semop.c (semop): Likewise.
6090 * sysvipc/shmat.c (shmat): Likewise.
6091 * sysvipc/shmctl.c (shmctl): Likewise.
6092 * sysvipc/shmdt.c (shmdt): Likewise.
6093 * sysvipc/shmget.c (shmget): Likewise.
6094 * termios/cfmakeraw.c (cfmakeraw): Likewise.
6095 * termios/speed.c (cfgetospeed): Likewise.
6096 (cfgetispeed): Likewise.
6097 (cfsetospeed): Likewise.
6098 (cfsetispeed): Likewise.
6099 * termios/tcflow.c (tcflow): Likewise.
6100 * termios/tcflush.c (tcflush): Likewise.
6101 * termios/tcgetattr.c (__tcgetattr): Likewise.
6102 * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
6103 * termios/tcgetsid.c (tcgetsid): Likewise.
6104 * termios/tcsendbrk.c (tcsendbreak): Likewise.
6105 * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
6106 * time/adjtime.c (__adjtime): Likewise.
6107 * time/dysize.c (dysize): Likewise.
6108 * time/ftime.c (ftime): Likewise.
6109 * time/getitimer.c (__getitimer): Likewise.
6110 * time/gettimeofday.c (__gettimeofday): Likewise.
6111 * time/gmtime.c (__gmtime_r): Likewise.
6113 * time/localtime.c (__localtime_r): Likewise.
6114 (localtime): Likewise.
6115 * time/offtime.c (__offtime): Likewise.
6116 * time/settimeofday.c (__settimeofday): Likewise.
6117 * time/stime.c (stime): Likewise.
6118 * time/strftime_l.c (tm_diff): Likewise.
6119 (iso_week_days): Likewise.
6120 * time/strptime.c (strptime): Likewise.
6121 * time/time.c (time): Likewise.
6122 * time/timespec_get.c (timespec_get): Likewise.
6123 * time/tzset.c (tzset_internal): Likewise.
6124 (compute_change): Likewise.
6125 (__tz_compute): Likewise.
6126 * wcsmbs/btowc.c (__btowc): Likewise.
6127 * wcsmbs/mbrlen.c (__mbrlen): Likewise.
6128 * wcsmbs/mbsinit.c (__mbsinit): Likewise.
6129 * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
6130 * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
6131 * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
6132 * wcsmbs/wcscat.c (__wcscat): Likewise.
6133 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
6134 * wcsmbs/wcscmp.c (WCSCMP): Likewise.
6135 * wcsmbs/wcscpy.c (WCSCPY): Likewise.
6136 * wcsmbs/wcscspn.c (wcscspn): Likewise.
6137 * wcsmbs/wcsdup.c (wcsdup): Likewise.
6138 * wcsmbs/wcslen.c (__wcslen): Likewise.
6139 * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
6140 * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
6141 * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
6142 * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
6143 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
6144 * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
6145 * wcsmbs/wcsspn.c (wcsspn): Likewise.
6146 * wcsmbs/wcsstr.c (wcsstr): Likewise.
6147 * wcsmbs/wcstok.c (wcstok): Likewise.
6148 * wcsmbs/wctob.c (wctob): Likewise.
6149 * wcsmbs/wmemchr.c (__wmemchr): Likewise.
6150 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
6151 * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
6152 * wcsmbs/wmemmove.c (__wmemmove): Likewise.
6153 * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
6154 * wcsmbs/wmemset.c (__wmemset): Likewise.
6155 * wctype/wcfuncs.c (__towlower): Likewise.
6156 (__towupper): Likewise.
6158 * sysdeps/unix/sysv/linux/i386/lowlevellock.h
6159 (lll_unlock_elision): Add adapt_count parameter.
6161 2015-10-15 Joseph Myers <joseph@codesourcery.com>
6163 * sysdeps/nptl/configure.ac: Do not give errors based on the
6164 results of top-level configure tests.
6165 * sysdeps/nptl/configure: Regenerated.
6167 * configure.ac (libc_cv_Bgroup): Remove configure test.
6168 * configure: Regenerated.
6169 * config.make.in (have-Bgroup): Remove variable.
6171 * configure.ac (sizeof_long_double): Remove configure test.
6172 * configure: Regenerated.
6173 * config.make.in (sizeof-long-double): Remove variable.
6175 * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
6176 * configure: Regenerated.
6177 * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
6179 (exceptions): Likewise.
6180 * sysdeps/arm/configure: Regenerated.
6181 * config.make.in (exceptions): Remove variable.
6182 * Makeconfig (uses-callbacks): Use -fexceptions instead of
6184 * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
6185 (CFLAGS-vdprintf_chk.c): Likewise.
6186 (CFLAGS-printf_chk.c): Likewise.
6187 (CFLAGS-fprintf_chk.c): Likewise.
6188 (CFLAGS-vprintf_chk.c): Likewise.
6189 (CFLAGS-vfprintf_chk.c): Likewise.
6190 (CFLAGS-gets_chk.c): Likewise.
6191 (CFLAGS-fgets_chk.c): Likewise.
6192 (CFLAGS-fgets_u_chk.c): Likewise.
6193 (CFLAGS-fread_chk.c): Likewise.
6194 (CFLAGS-fread_u_chk.c): Likewise.
6195 (CFLAGS-wprintf_chk.c): Likewise.
6196 (CFLAGS-fwprintf_chk.c): Likewise.
6197 (CFLAGS-vwprintf_chk.c): Likewise.
6198 (CFLAGS-vfwprintf_chk.c): Likewise.
6199 (CFLAGS-fgetws_chk.c): Likewise.
6200 (CFLAGS-fgetws_u_chk.c): Likewise.
6201 * libio/Makefile (CFLAGS-fileops.c): Likewise.
6202 (CFLAGS-fputc.c): Likewise.
6203 (CFLAGS-fputwc.c): Likewise.
6204 (CFLAGS-freopen64.c): Likewise.
6205 (CFLAGS-freopen.c): Likewise.
6206 (CFLAGS-fseek.c): Likewise.
6207 (CFLAGS-fseeko64.c): Likewise.
6208 (CFLAGS-fseeko.c): Likewise.
6209 (CFLAGS-ftello64.c): Likewise.
6210 (CFLAGS-ftello.c): Likewise.
6211 (CFLAGS-fwide.c): Likewise.
6212 (CFLAGS-genops.c): Likewise.
6213 (CFLAGS-getc.c): Likewise.
6214 (CFLAGS-getchar.c): Likewise.
6215 (CFLAGS-getwc.c): Likewise.
6216 (CFLAGS-getwchar.c): Likewise.
6217 (CFLAGS-iofclose.c): Likewise.
6218 (CFLAGS-iofflush.c): Likewise.
6219 (CFLAGS-iofgetpos64.c): Likewise.
6220 (CFLAGS-iofgetpos.c): Likewise.
6221 (CFLAGS-iofgets.c): Likewise.
6222 (CFLAGS-iofgetws.c): Likewise.
6223 (CFLAGS-iofputs.c): Likewise.
6224 (CFLAGS-iofputws.c): Likewise.
6225 (CFLAGS-iofread.c): Likewise.
6226 (CFLAGS-iofsetpos64.c): Likewise.
6227 (CFLAGS-iofsetpos.c): Likewise.
6228 (CFLAGS-ioftell.c): Likewise.
6229 (CFLAGS-iofwrite.c): Likewise.
6230 (CFLAGS-iogetdelim.c): Likewise.
6231 (CFLAGS-iogetline.c): Likewise.
6232 (CFLAGS-iogets.c): Likewise.
6233 (CFLAGS-iogetwline.c): Likewise.
6234 (CFLAGS-ioputs.c): Likewise.
6235 (CFLAGS-ioseekoff.c): Likewise.
6236 (CFLAGS-ioseekpos.c): Likewise.
6237 (CFLAGS-iosetbuffer.c): Likewise.
6238 (CFLAGS-iosetvbuf.c): Likewise.
6239 (CFLAGS-ioungetc.c): Likewise.
6240 (CFLAGS-ioungetwc.c): Likewise.
6241 (CFLAGS-oldfileops.c): Likewise.
6242 (CFLAGS-oldiofclose.c): Likewise.
6243 (CFLAGS-oldiofgetpos64.c): Likewise.
6244 (CFLAGS-oldiofgetpos.c): Likewise.
6245 (CFLAGS-oldiofsetpos64.c): Likewise.
6246 (CFLAGS-oldiofsetpos.c): Likewise.
6247 (CFLAGS-peekc.c): Likewise.
6248 (CFLAGS-putc.c): Likewise.
6249 (CFLAGS-putchar.c): Likewise.
6250 (CFLAGS-putwc.c): Likewise.
6251 (CFLAGS-putwchar.c): Likewise.
6252 (CFLAGS-rewind.c): Likewise.
6253 (CFLAGS-wfileops.c): Likewise.
6254 (CFLAGS-wgenops.c): Likewise.
6255 (CFLAGS-oldiofopen.c): Likewise.
6256 (CFLAGS-iofopen.c): Likewise.
6257 (CFLAGS-iofopen64.c): Likewise.
6258 (CFLAGS-oldtmpfile.c): Likewise.
6259 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
6260 (CFLAGS-fprintf.c): Likewise.
6261 (CFLAGS-printf.c): Likewise.
6262 (CFLAGS-vfwprintf.c): Likewise.
6263 (CFLAGS-vfscanf.c): Likewise.
6264 (CFLAGS-vfwscanf.c): Likewise.
6265 (CFLAGS-fscanf.c): Likewise.
6266 (CFLAGS-scanf.c): Likewise.
6267 (CFLAGS-isoc99_vfscanf.c): Likewise.
6268 (CFLAGS-isoc99_vscanf.c): Likewise.
6269 (CFLAGS-isoc99_fscanf.c): Likewise.
6270 (CFLAGS-isoc99_scanf.c): Likewise.
6271 * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
6272 (CFLAGS-isoc99_fwscanf.c): Likewise.
6273 (CFLAGS-isoc99_vwscanf.c): Likewise.
6274 (CFLAGS-isoc99_vfwscanf.c): Likewise.
6276 * io/test-lfs.c (do_prepare): Do not call add_temp_file until
6278 * login/tst-utmp.c (do_prepare): Likewise.
6279 * rt/tst-aio.c (do_prepare): Likewise.
6280 * rt/tst-aio64.c (do_prepare): Likewise.
6282 2015-10-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6284 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
6285 (__lll_lock_elision): Remove adapt_count decrement...
6286 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
6287 (__lll_trylock_elision): Likewise.
6288 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
6289 (__lll_unlock_elision): ... to here. And utilize
6290 new adapt_count parameter.
6291 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
6292 (__lll_unlock_elision): Update to include adapt_count
6294 (lll_unlock_elision): Pass pointer to adapt_count
6297 2015-10-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6299 * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
6300 Add elision adapt_count parameter to list of arguments.
6301 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
6302 (lll_unlock_elision): Update with new parameter list
6303 * sysdeps/unix/sysv/linux/s390/lowlevellock.h
6304 (lll_unlock_elision): Likewise.
6305 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
6306 (lll_unlock_elision): Likewise.
6308 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
6311 * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
6314 * include/string.h [IS_IN (rtld)] (__stpcpy): Add
6316 [IS_IN (rtld)] (__strdup): Likewise.
6317 [IS_IN (rtld)] (__strerror_r): Likewise.
6318 [IS_IN (rtld)] (__strsep_g): Likewise.
6319 [IS_IN (rtld)] (memchr): Likewise.
6320 [IS_IN (rtld)] (memcmp): Likewise.
6321 [IS_IN (rtld)] (memcpy): Likewise.
6322 [IS_IN (rtld)] (memmove): Likewise.
6323 [IS_IN (rtld)] (memset): Likewise.
6324 [IS_IN (rtld)] (rawmemchr): Likewise.
6325 [IS_IN (rtld)] (stpcpy): Likewise.
6326 [IS_IN (rtld)] (strchr): Likewise.
6327 [IS_IN (rtld)] (strcmp): Likewise.
6328 [IS_IN (rtld)] (strlen): Likewise.
6329 [IS_IN (rtld)] (strnlen): Likewise.
6330 [IS_IN (rtld)] (strsep): Likewise.
6332 * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
6334 [IS_IN (rtld)] (__strtoul_internal): Likewise.
6336 * include/signal.h [IS_IN (rtld)] (__sigaction): Add
6338 [IS_IN (rtld)] (__libc_sigaction): Likewise.
6340 * include/setjmp.h (__longjmp): Add attribute_hidden.
6341 [IS_IN (rtld)] (__sigsetjmp): Likewise.
6343 * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
6344 Add attribute_hidden.
6346 * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
6347 [IS_IN (rtld)] (__open): Likewise.
6348 [IS_IN (rtld)] (__fcntl): Likewise.
6350 * include/dirent.h (__opendirat): Add attribute_hidden.
6351 (__getdents): Likewise.
6352 (__getdents64): Likewise.
6353 (__alloc_dir): Likewise.
6354 [IS_IN (rtld)] (__closedir): Likewise.
6355 [IS_IN (rtld)] (__fdopendir): Likewise.
6356 [IS_IN (rtld)] (__readdir): Likewise.
6357 [IS_IN (rtld)] (__readdir64): Likewise.
6358 [IS_IN (rtld)] (__rewinddir): Likewise.
6360 * include/dlfcn.h (_dl_catch_error): Moved to ...
6361 * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
6364 * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
6365 (_itoa_word): Likewise.
6367 * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
6368 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
6369 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
6370 * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
6371 (_dl_higher_prime_number): Likewise.
6372 (_dl_debug_printf_c): Likewise.
6373 (_dl_signal_cerror): Likewise.
6374 (_dl_receive_error): Likewise.
6375 (_dl_reloc_bad_type): Likewise.
6376 (_dl_resolve_conflicts): Likewise.
6377 (_dl_check_all_versions): Likewise.
6378 (_dl_check_map_versions): Likewise.
6379 (_dl_sort_fini): Likewise.
6380 (_dl_debug_initialize): Likewise.
6381 (_dl_init_paths): Likewise.
6382 (_dl_show_auxv): Likewise.
6383 (_dl_next_ld_env_entry): Likewise.
6384 (_dl_important_hwcaps): Likewise.
6385 (_dl_load_cache_lookup): Likewise.
6386 (_dl_update_slotinfo): Likewise.
6387 (_dl_show_scope): Likewise.
6389 * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
6391 (_wordcopy_fwd_dest_aligned): Likewise.
6392 (_wordcopy_bwd_aligned): Likewise.
6393 (_wordcopy_bwd_dest_aligned): Likewise.
6395 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
6396 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
6398 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
6400 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
6402 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
6404 * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
6407 2015-10-15 Joseph Myers <joseph@codesourcery.com>
6409 * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
6411 * sysdeps/i386/configure: Regenerated.
6412 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
6415 * configure.ac (libc_cv_asm_previous_directive): Remove configure
6417 (libc_cv_asm_popsection_directive): Likewise.
6418 * configure: Regenerated.
6419 * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
6420 (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
6421 * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
6422 (__make_section_unallocated): Make definition unconditional.
6423 [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
6424 Remove conditional definition.
6425 [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
6426 (__make_section_unallocated): Likewise.
6428 * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
6429 * configure: Regenerated.
6430 * config.make.in (static-libgcc): Remove variable.
6431 * Makerules (build-shlib-helper): Use -static-libgcc instead of
6433 (build-module-helper): Likewise.
6435 * configure.ac (libc_cv_friendly_stddef): Remove configure test.
6436 * configure: Regenerated.
6438 2015-10-15 Florian Weimer <fweimer@redhat.com>
6440 * stdio-common/vfscanf.c (MEMCPY): Remove macro.
6441 (struct char_buffer): New type.
6442 (char_buffer_start, char_buffer_size, char_buffer_error)
6443 (char_buffer_rewind, char_buffer_add): New functions.
6444 (ADDW): Remove macro, replaced by the char_buffer_add function.
6445 (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
6446 of extend_alloca. Make control flow more explicit.
6448 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
6451 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
6452 Add -fomit-frame-pointer.
6453 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
6455 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
6457 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
6458 (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
6459 * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
6460 only if !__GNUC_PREREQ (5,0).
6461 (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
6462 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
6463 (INTERNAL_SYSCALL_NCS): Likewise.
6464 (LOADREGS_0): New macro for GCC 5.
6465 (ASMARGS_0): Likewise.
6466 (LOADREGS_1): Likewise.
6467 (ASMARGS_1): Likewise.
6468 (LOADREGS_2): Likewise.
6469 (ASMARGS_2): Likewise.
6470 (LOADREGS_3): Likewise.
6471 (ASMARGS_3): Likewise.
6472 (LOADREGS_4): Likewise.
6473 (ASMARGS_4): Likewise.
6474 (LOADREGS_5): Likewise.
6475 (ASMARGS_5): Likewise.
6476 (LOADREGS_6): Likewise.
6477 (ASMARGS_6): Likewise.
6479 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
6481 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
6482 -fomit-frame-pointer.
6483 (CFLAGS-mmap64.c): Likewise.
6484 (CFLAGS-semtimedop.c): Likewise.
6485 * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
6486 * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
6487 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
6488 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
6490 2015-10-15 Florian Weimer <fweimer@redhat.com>
6493 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
6494 _dl_pointer_guard member.
6495 * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
6497 (security_init): Always set up pointer guard.
6498 (process_envvars): Do not process LD_POINTER_GUARD.
6500 2015-10-14 Joseph Myers <joseph@codesourcery.com>
6503 * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
6506 (__lround): Do not add 0.5 to integer or out-of-range arguments.
6508 2015-10-14 Szabolcs Nagy <szabolcs.nagy@arm.com>
6511 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
6514 2015-10-14 Namhyung Kim <namhyung@gmail.com>
6516 * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
6518 2015-10-14 Carlos O'Donell <carlos@redhat.com>
6520 * include/stap-probe.h: Fix macro definition formatting.
6522 2015-10-14 Florian Weimer <fweimer@redhat.com>
6525 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
6526 load and store num_ifs.
6528 2015-10-14 H.J. Lu <hongjiu.lu@intel.com>
6531 * sysdeps/unix/sysv/linux/sched_getaffinity.c
6532 (__sched_getaffinity_new): Add libc_hidden_proto and
6535 2015-10-14 H.J. Lu <hongjiu.lu@intel.com>
6538 * scripts/localplt.awk: Also allow GOT references.
6539 * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
6540 _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
6541 with "+ REL R_386_GLOB_DAT".
6542 * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
6543 and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
6545 2015-10-14 H.J. Lu <hongjiu.lu@intel.com>
6547 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
6548 INLINE_SYSCALL_ERROR_RETURN_VALUE.
6549 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
6551 * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
6552 * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
6553 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
6554 INTERNAL_SYSCALLINTERNAL_SYSCALL and
6555 INLINE_SYSCALL_ERROR_RETURN_VALUE.
6556 * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
6557 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
6558 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
6560 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
6562 2015-10-13 Joseph Myers <joseph@codesourcery.com>
6565 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
6566 <math_private.h> and <stdint.h>.
6567 (__llround): Avoid conversions to and from long long int, and
6568 subtractions, where those might raise spurious exceptions.
6569 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
6570 <math_private.h> and <stdint.h>.
6571 (__llroundf): Avoid conversions to and from long long int, and
6572 subtractions, where those might raise spurious exceptions.
6574 2015-10-13 H.J. Lu <hongjiu.lu@intel.com>
6576 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
6577 INLINE_SYSCALL_ERROR_RETURN_VALUE.
6578 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
6579 * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
6580 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
6581 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
6582 * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
6583 * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
6584 * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
6585 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
6586 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
6587 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
6588 * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
6589 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
6590 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
6591 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
6592 * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
6593 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
6594 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
6595 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
6596 * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
6597 * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
6598 * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
6599 * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
6600 * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
6601 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
6602 * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
6603 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
6604 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
6605 * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
6606 (__xstat64_conv): Likewise.
6607 (__xstat32_conv): Likewise.
6609 2015-10-13 H.J. Lu <hongjiu.lu@intel.com>
6611 * sysdeps/unix/sysv/linux/sysdep.h: New file.
6612 * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
6613 * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
6614 <sysdeps/unix/sysv/linux/sysdep.h>.
6615 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
6616 * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
6617 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
6618 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
6619 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
6620 * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
6621 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
6622 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
6623 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
6624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
6625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
6626 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6627 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6628 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
6629 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
6630 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
6631 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
6632 (sysdep-dl-routines): Add sysdep.
6633 [$(subdir) == nptl] (libpthread-routines): Likewise.
6634 [$(subdir) == rt] (librt-routines): Likewise.
6635 * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
6636 PIC when branching to SYSCALL_ERROR_LABEL.
6637 * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
6638 * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
6639 <sysdeps/unix/sysv/linux/sysdep.h>.
6640 (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
6641 (SYSCALL_ERROR_ERRNO): Removed.
6642 (SYSCALL_ERROR_HANDLER): Changed to empty.
6643 (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
6644 (__syscall_error): New prototype.
6645 [IS_IN (libc)] (INLINE_SYSCALL): New macro.
6646 (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
6648 2015-10-13 H.J. Lu <hongjiu.lu@intel.com>
6651 * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
6652 (_dl_runtime_resolve_avx512): Make it a hidden alias of
6653 _dl_runtime_resolve_avx.
6654 (_dl_runtime_profile_avx512): Make it a hidden alias of
6655 _dl_runtime_profile_avx.
6657 2015-10-13 Joseph Myers <joseph@codesourcery.com>
6659 * sysdeps/powerpc/fpu/s_llround.c: Move to ....
6660 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
6661 * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
6662 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
6665 * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
6667 * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
6668 * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
6669 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
6670 <math_private.h> and <stdint.h>.
6671 (__llrint): Avoid conversions to long long int where those might
6672 raise spurious exceptions.
6673 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
6674 <math_private.h> and <stdint.h>.
6675 (__llrintf): Avoid conversions to long long int where those might
6676 raise spurious exceptions.
6678 2015-10-12 Andreas Schwab <schwab@suse.de>
6681 * debug/Makefile (LOCALES): Define. Include gen-locales.mk.
6682 ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
6683 * iconvdata/Makefile (LOCALES): Define. Include gen-locales.mk.
6684 ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
6686 * intl/Makefile (LOCALES): Define. Include gen-locales.mk.
6687 ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
6688 ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
6689 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
6690 ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
6692 * libio/Makefile (LOCALES): Define. Include gen-locales.mk.
6693 ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
6694 ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
6695 ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
6696 ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
6697 ($(objpfx)tst-ftell-active-handler.out)
6698 ($(objpfx)tst-ftell-append.out)
6699 ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
6700 ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
6701 ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
6702 ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
6703 * posix/Makefile (LOCALES): Define. Include gen-locales.mk.
6704 ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
6705 ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
6706 ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
6707 ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
6708 ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
6709 ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
6710 ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
6711 ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
6712 ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
6713 ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
6714 ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
6715 ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
6716 ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
6717 * stdio-common/Makefile (LOCALES): Define. Include gen-locales.mk.
6718 ($(objpfx)bug14.out, $(objpfx)scanf13.out)
6719 ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
6720 ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
6721 ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
6722 * stdlib/Makefile (LOCALES): Define. Include gen-locales.mk.
6723 ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
6724 ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
6725 ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
6727 * time/Makefile (LOCALES): Define. Include gen-locales.mk.
6728 ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
6730 * wcsmbs/Makefile (LOCALES): Define. Include gen-locales.mk.
6731 ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
6732 ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
6733 ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
6735 * libio/tst_wprintf2.c (main): Use explicit locale.
6736 * wcsmbs/wcsmbs-tst1.c (main): Likewise.
6738 2015-10-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6740 * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
6742 * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
6744 2015-10-09 Joseph Myers <joseph@codesourcery.com>
6746 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
6747 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
6749 * sysdeps/arm/libm-test-ulps: Regenerated.
6752 * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
6755 * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
6756 * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
6757 and <fix-fp-int-convert-overflow.h>.
6758 (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
6759 FIX_DBL_LLONG_CONVERT_OVERFLOW.
6760 * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
6761 and <fix-fp-int-convert-overflow.h>.
6762 (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
6763 FIX_DBL_LLONG_CONVERT_OVERFLOW.
6764 * sysdeps/ieee754/dbl-64/s_lrint.c: Include
6765 <fix-fp-int-convert-overflow.h>.
6766 (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
6767 FIX_DBL_LLONG_CONVERT_OVERFLOW.
6768 * sysdeps/ieee754/dbl-64/s_lround.c: Include
6769 <fix-fp-int-convert-overflow.h>.
6770 (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
6771 FIX_DBL_LLONG_CONVERT_OVERFLOW.
6772 * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
6773 and <fix-fp-int-convert-overflow.h>.
6774 (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
6775 FIX_DBL_LLONG_CONVERT_OVERFLOW.
6776 * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
6777 <limits.h> and <fix-fp-int-convert-overflow.h>.
6778 (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
6779 FIX_DBL_LLONG_CONVERT_OVERFLOW.
6780 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
6781 and <fix-fp-int-convert-overflow.h>.
6782 (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
6783 FIX_DBL_LLONG_CONVERT_OVERFLOW.
6784 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
6785 and <fix-fp-int-convert-overflow.h>.
6786 (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
6787 FIX_DBL_LLONG_CONVERT_OVERFLOW.
6788 * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
6790 2015-10-09 Carlos O'Donell <carlos@redhat.com>
6793 * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
6794 * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
6797 2015-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6798 Phil Blundell <pb@pbcl.net>
6800 * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
6801 * nptl/tst-cancel26.c: New file.
6802 * nptl/tst-cancel27.c: Likewise.
6804 2015-10-09 H.J. Lu <hongjiu.lu@intel.com>
6806 * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
6807 __ILP32__ isn't defined.
6809 * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
6811 * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
6813 * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
6814 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
6815 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
6817 2015-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6819 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
6820 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
6822 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
6824 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
6825 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
6827 2015-10-09 Joseph Myers <joseph@codesourcery.com>
6829 * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
6831 * sysdeps/i386/configure: Regenerated.
6832 * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
6834 * sysdeps/x86_64/configure: Regenerated.
6835 * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
6836 Make code unconditional.
6838 * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
6840 * sysdeps/i386/configure: Regenerated.
6841 * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
6843 * sysdeps/x86_64/configure: Regenerated.
6844 * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
6845 Make code unconditional.
6846 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
6848 * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
6850 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
6851 * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
6853 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
6854 * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
6856 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
6857 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
6859 * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
6861 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
6862 * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
6864 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
6865 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
6867 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
6868 * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
6870 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
6871 * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
6873 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
6874 * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
6877 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
6878 mantissa to long int before shifting left.
6880 2015-10-08 Joseph Myers <joseph@codesourcery.com>
6883 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
6885 (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
6886 when result overflows but exception would not result from cast.
6887 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
6889 (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
6890 when result overflows but exception would not result from cast.
6891 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
6893 (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
6894 when result overflows but exception would not result from cast.
6895 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
6897 (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
6898 when result overflows but exception would not result from cast.
6899 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
6901 (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
6902 when result overflows but exception would not result from cast.
6903 * math/libm-test.inc (lrint_test_data): Add more tests.
6904 (llrint_test_data): Likewise.
6906 2015-10-08 Roland McGrath <roland@hack.frob.com>
6909 * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
6910 Move out from under [$(run-built-tests) = yes] conditional.
6911 ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
6912 ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
6914 2015-10-08 Carlos O'Donell <carlos@redhat.com>
6917 * string/Makefile (tests): Add bug-strcoll2.
6918 (LOCALES): Add cs_CZ.UTF-8.
6919 * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
6922 * string/bug-strcoll2.c: New file.
6923 * locale/categories.def: Revert commit
6924 f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
6925 * locale/langinfo.h: Likewise.
6926 * locale/localeinfo.h: Likewise.
6927 * locale/C-collate.c: Likewise.
6928 * locale/programs/ld-collate.c (collate_output): Likewise.
6929 * string/strcoll_l.c (STRDIFF): Likewise.
6930 (STRCOLL): Likewise.
6931 * wcsmbs/wcscoll_l.c: Likewise.
6933 2015-10-08 Joseph Myers <joseph@codesourcery.com>
6935 * math/libm-test.inc (lround_test_data): Do not expect the absence
6936 of "inexact" for some tests with non-integer arguments.
6937 (llround_test_data): Likewise.
6939 * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
6941 (libc_cv_cc_sse2avx): Likewise.
6942 * sysdeps/i386/configure: Regenerated.
6943 * sysdeps/i386/i686/multiarch/Makefile
6944 [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
6946 * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
6948 * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
6950 * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
6952 * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
6954 * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
6956 (libc_cv_cc_sse2avx): Likewise.
6957 * sysdeps/x86_64/configure: Regenerated.
6958 * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
6960 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
6961 [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
6963 (_dl_runtime_profile)
6964 [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
6966 * sysdeps/x86_64/fpu/multiarch/Makefile
6967 [$(config-cflags-sse2avx) = yes]: Make code unconditional.
6968 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
6969 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
6970 * sysdeps/x86_64/fpu/multiarch/e_exp.c
6971 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
6972 * sysdeps/x86_64/fpu/multiarch/e_log.c
6973 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
6974 * sysdeps/x86_64/fpu/multiarch/s_atan.c
6975 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
6976 * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
6978 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
6980 * sysdeps/x86_64/fpu/multiarch/s_sin.c
6981 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
6982 * sysdeps/x86_64/fpu/multiarch/s_tan.c
6983 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
6984 * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
6985 * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
6986 (HAVE_SSE2AVX_SUPPORT): Likewise.
6988 2015-10-07 Paul Pluzhnikov <ppluzhnikov@google.com>
6990 * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
6991 instead of #pragma optimize.
6993 2015-10-07 Carlos O'Donell <carlos@redhat.com>
6996 * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
6997 as is similarly done in systrim and _int_free already.
6999 2015-10-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
7001 * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
7003 2015-10-07 Joseph Myers <joseph@codesourcery.com>
7006 * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
7008 (__lround) [FE_INVALID]: Force FE_INVALID exception when result
7009 overflows but exception would not result from cast.
7010 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
7012 (__lround) [FE_INVALID]: Force FE_INVALID exception when result
7013 overflows but exception would not result from cast.
7014 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
7016 (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
7017 overflows but exception would not result from cast.
7018 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
7020 (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
7021 overflows but exception would not result from cast.
7022 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
7024 (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
7025 overflows but exception would not result from cast.
7026 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
7028 (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
7029 overflows but exception would not result from cast.
7030 * math/libm-test.inc (lround_test_data): Add more tests.
7031 (llround_test_data): Likewise.
7033 2015-10-07 Steve Ellcey <sellcey@imgtec.com>
7035 * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
7036 (CFLAGS-ialloc.c): Ditto.
7037 (CFLAGS-scheck.c): Ditto.
7039 2015-10-07 Carlos O'Donell <carlos@redhat.com>
7042 * manual/filesys.texi (Storage Allocation): Fix argument order for
7045 2015-10-07 Joseph Myers <joseph@codesourcery.com>
7048 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
7049 exponent below 48 inside case for non-overflowing exponent.
7050 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
7052 2015-10-07 Florian Weimer <fweimer@redhat.com>
7054 * iconvdata/cp737.h (from_idx): Add const.
7055 * iconvdata/cp775.h (from_idx): Likewise.
7057 2015-10-07 Joseph Myers <joseph@codesourcery.com>
7059 * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
7060 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
7061 (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
7064 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
7065 file, conditioned on [!_LP64].
7066 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
7067 [!_LP64] (__lround): Do not define as function or alias.
7068 [!_LP64] (lround): Likewise.
7069 [!_LP64] (__lroundl): Likewise.
7070 [!_LP64] (lroundl): Likewise.
7071 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
7073 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
7076 2015-10-06 Joseph Myers <joseph@codesourcery.com>
7078 * math/libm-test.inc (lrint_test_data): Add more tests.
7079 (llrint_test_data): Likewise.
7080 (lround_test_data): Likewise.
7081 (llround_test_data): Likewise.
7083 * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
7084 (llrint_test_data): Add tests used for lrint.
7086 * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
7088 * sysdeps/i386/configure: Regenerated.
7089 * sysdeps/i386/i686/multiarch/Makefile
7090 [$(config-cflags-sse4) = yes]: Make code unconditional.
7091 * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
7093 * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
7095 * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
7097 * sysdeps/x86_64/configure: Regenerated.
7098 * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
7099 Make code unconditional.
7100 * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
7102 * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
7103 * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
7105 * scripts/rpm2dynsym.sh: Remove file.
7107 2015-10-06 Florian Weimer <fweimer@redhat.com>
7109 * configure.ac (libc_cv_cxx_thread_local): Define.
7110 * configure: Regenerate.
7111 * config.make.in (have-cxx-thread_local): Define.
7112 * nptl/Makefile (CFLAGS-tst-thread_local1.o):
7113 (LDLIBS-tst-thread_local1): Define.
7114 (tests): Add tst-thread_local1.
7115 [have-cxx-thread_local != yes] (tests-unsupported): Add
7117 * nptl/tst-thread_local1.cc: New file.
7119 2015-10-06 Joseph Myers <joseph@codesourcery.com>
7122 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
7123 (u_thres): Likewise.
7124 (__expl): Determine whether to call __kernel_standard_l based on
7125 value of result, not argument.
7127 * math/libm-test.inc (scalb_test_data): Add more expectations for
7128 the "inexact" exception.
7131 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
7132 0.0L for argument 1.0L.
7135 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
7136 constant 0.0L when computing infinite result.
7138 2015-10-06 Florian Weimer <fweimer@redhat.com>
7141 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
7144 2015-10-06 Florian Weimer <fweimer@redhat.com>
7147 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
7148 Mangle function pointer before storing it.
7149 (__call_tls_dtors): Demangle function pointer before calling it.
7151 2015-10-05 Paul Pluzhnikov <ppluzhnikov@google.com>
7154 * iconv/gconv_db.c (gen_steps): Check for additional errors.
7155 Clean up on failure.
7157 2015-10-05 Joseph Myers <joseph@codesourcery.com>
7160 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
7161 long int variable to store possibly incremented high part of
7163 * math/libm-test.inc (lround_test_data): Add tests used for
7164 llround. Use [LONG_MAX > 0x7fffffff] consistently as condition
7165 for tests requiring 64-bit long. Do not condition tests on
7166 [TEST_FLOAT] unnecessarily.
7167 (llround_test_data): Add tests used for lround. Add another
7168 expectation for the "inexact" exception. Do not condition tests
7169 on [TEST_FLOAT] unnecessarily.
7174 * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
7175 * sysdeps/ieee754/dbl-64/e_log10.c: Include
7176 <fix-int-fp-convert-zero.h>.
7177 (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
7178 * sysdeps/ieee754/dbl-64/e_log2.c: Include
7179 <fix-int-fp-convert-zero.h>.
7180 (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
7181 * sysdeps/ieee754/dbl-64/s_erf.c: Include
7182 <fix-int-fp-convert-zero.h>.
7183 (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
7184 * sysdeps/ieee754/dbl-64/s_logb.c: Include
7185 <fix-int-fp-convert-zero.h>.
7186 (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
7187 * sysdeps/ieee754/flt-32/e_log10f.c: Include
7188 <fix-int-fp-convert-zero.h>.
7189 (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
7190 * sysdeps/ieee754/flt-32/e_log2f.c: Include
7191 <fix-int-fp-convert-zero.h>.
7192 (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
7193 * sysdeps/ieee754/flt-32/s_erff.c: Include
7194 <fix-int-fp-convert-zero.h>.
7195 (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
7196 * sysdeps/ieee754/flt-32/s_logbf.c: Include
7197 <fix-int-fp-convert-zero.h>.
7198 (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
7199 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
7200 <fix-int-fp-convert-zero.h>.
7201 (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
7202 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
7203 <fix-int-fp-convert-zero.h>.
7204 (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
7205 * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
7206 * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
7207 * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
7209 * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
7211 2015-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
7213 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
7215 2015-10-02 Joseph Myers <joseph@codesourcery.com>
7218 * math/s_nexttowardf.c (__nexttowardf): Do not return value from
7219 overflowing computation.
7220 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
7221 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
7222 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
7224 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
7226 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
7228 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
7230 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
7231 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
7233 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
7235 * math/libm-test.inc (nexttoward_test_data): Add more tests.
7237 * nss/rewrite_field.c (__nss_rewrite_field): Use
7239 * nss/valid_field.c (__nss_valid_field): Likewise.
7240 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
7242 2015-10-02 Florian Weimer <fweimer@redhat.com>
7245 * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
7246 (__nss_invalid_field_characters, __nss_valid_field)
7247 (__nss_valid_list_field, __nss_rewrite_field): Declare.
7248 * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
7249 tst-field.c: New file.
7250 * nss/Makefile (routines): Add valid_field, rewrite_field.
7251 (tests-static): Define unconditionally.
7252 (tests): Include tests-static.
7253 [build-static-nss] (tests-static): Use append.
7254 [build-static-nss] (tests): Remove modification.
7255 * nss/getent.c (print_group): Call putgrent. Report error.
7256 (print_gshadow): Call putsgent. Report error.
7257 (print_passwd): Call putpwent. Report error.
7258 (print_shadow): Call putspent. Report error.
7259 * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
7260 * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
7261 * pwd/putpwent.c (putpwent): Use ISO function definition. Check
7262 name, password, directory, shell fields for valid syntax. Rewrite
7263 GECOS field to match syntax.
7264 * pwd/Makefile (tests): Add tst-putpwent.
7265 * pwd/tst-putpwent.c: New file.
7266 * grp/putgrent.c (putgrent): Convert to ISO function definition.
7267 Check grName, grpasswd, gr_mem fields for valid syntax.
7268 Change loop variable i to size_t.
7269 * grp/Makefile (tests): Add tst-putgrent.
7270 * grp/tst-putgrent.c: New file.
7271 * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
7273 * shadow/Makefile (tests): Add tst-putspent.
7274 * shadow/tst-putspent.c: New file.
7275 * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
7276 sg_mem fields for valid syntax.
7277 * gshadow/Makefile (tests): Add tst-putsgent.
7278 * gshadow/tst-putsgent.c: New file.
7280 2015-10-01 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
7282 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
7283 assembly instructions.
7285 2015-10-01 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
7287 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
7288 prefix from operands.
7290 2015-10-01 Joseph Myers <joseph@codesourcery.com>
7294 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
7296 (MAXLGM): Do not use diagnostic control macros.
7297 [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
7298 threshold for ldbl-128ibm.
7299 (__ieee754_lgammal_r): For large arguments, multiply by log - 1
7300 instead of multiplying by log then subtracting.
7301 * math/auto-libm-test-in: Add more tests of lgamma.
7302 * math/auto-libm-test-out: Regenerated.
7304 * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
7305 (TYPE_HEX_DIG): Likewise.
7306 (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
7307 precisions when printing floating-point numbers.
7308 (check_float_internal): Likewise.
7310 2015-09-30 Joseph Myers <joseph@codesourcery.com>
7313 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
7314 of log (10) rounded downward to 48 bits.
7315 (log10_low): Use corresponding low part of log (10).
7318 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
7319 compute result as (x - x) / (x - x) not as 0 / 0.
7320 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
7321 * math/libm-test.inc (acosh_test_data): Add another test of acosh.
7323 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
7324 atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
7326 * math/auto-libm-test-out: Regenerated.
7327 * math/libm-test.inc (acos_test_data): Add more tests.
7328 (asin_test_data): Likewise.
7329 (asinh_test_data): Likewise.
7330 (atan_test_data): Likewise.
7331 (atanh_test_data): Likewise.
7332 (atan2_test_data): Likewise.
7333 (cbrt_test_data): Likewise.
7334 (ceil_test_data): Likewise.
7335 (copysign_test_data): Likewise.
7336 (cos_test_data): Likewise.
7337 (cosh_test_data): Likewise.
7338 (erf_test_data): Likewise.
7339 (erfc_test_data): Likewise.
7340 (exp_test_data): Likewise.
7341 (exp10_test_data): Likewise.
7342 (exp2_test_data): Likewise.
7343 (expm1_test_data): Likewise.
7344 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7346 2015-09-30 H.J. Lu <hongjiu.lu@intel.com>
7349 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
7351 * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
7352 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
7354 * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
7355 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
7357 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
7358 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
7359 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
7360 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
7362 * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
7363 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
7365 * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
7366 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
7368 * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
7369 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
7371 * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
7372 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
7374 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
7375 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
7377 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
7378 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
7380 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
7382 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
7384 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
7385 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
7387 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
7389 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
7391 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
7393 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
7395 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
7397 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
7399 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
7401 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
7403 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
7404 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
7406 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
7408 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
7410 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
7412 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
7414 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
7415 Replace ../i486/pthread_cond_timedwait.S with
7416 ../pthread_cond_timedwait.S.
7418 2015-09-30 Joseph Myers <joseph@codesourcery.com>
7420 * math/libm-test.inc (acos_test_data): Refine expectations for
7421 errno and "inexact" exceptions.
7422 (acosh_test_data): Likewise.
7423 (asin_test_data): Likewise.
7424 (asinh_test_data): Likewise.
7425 (atan_test_data): Likewise.
7426 (atanh_test_data): Likewise.
7427 (atan2_test_data): Likewise.
7428 (cbrt_test_data): Likewise.
7429 (ceil_test_data): Likewise.
7430 (copysign_test_data): Likewise.
7431 (cosh_test_data): Likewise.
7432 (erf_test_data): Likewise.
7433 (erfc_test_data): Likewise.
7434 (exp_test_data): Likewise.
7435 (exp10_test_data): Likewise.
7436 (exp2_test_data): Likewise.
7437 (expm1_test_data): Likewise.
7438 (fabs_test_data): Likewise.
7439 (floor_test_data): Likewise.
7440 (fma_test_data): Likewise.
7441 (fmax_test_data): Likewise.
7442 (fmin_test_data): Likewise.
7443 (fmod_test_data): Likewise.
7444 (fpclassify_test_data): Likewise.
7445 (frexp_test_data): Likewise.
7446 (hypot_test_data): Likewise.
7447 (ilogb_test_data): Likewise.
7448 (isgreater_test_data): Likewise.
7449 (isgreaterequal_test_data): Likewise.
7450 (isinf_test_data): Likewise.
7451 (isless_test_data): Likewise.
7452 (islessequal_test_data): Likewise.
7453 (islessgreater_test_data): Likewise.
7454 (isnan_test_data): Likewise.
7455 (isnormal_test_data): Likewise.
7456 (issignaling_test_data): Likewise.
7457 (isunordered_test_data): Likewise.
7458 (j0_test_data): Likewise.
7459 (j1_test_data): Likewise.
7460 (jn_test_data): Likewise.
7461 (lgamma_test_data): Likewise.
7462 (lrint_test_data): Likewise.
7463 (llrint_test_data): Likewise.
7464 (log_test_data): Likewise.
7465 (log10_test_data): Likewise.
7466 (log1p_test_data): Likewise.
7467 (log2_test_data): Likewise.
7468 (logb_test_data): Likewise.
7469 (lround_test_data): Likewise.
7470 (llround_test_data): Likewise.
7471 (modf_test_data): Likewise.
7472 (nearbyint_test_data): Likewise.
7473 (nextafter_test_data): Likewise.
7474 (nexttoward_test_data): Likewise.
7475 (pow_test_data): Likewise.
7476 (remainder_test_data): Likewise.
7477 (remquo_test_data): Likewise.
7478 (rint_test_data): Likewise.
7479 (round_test_data): Likewise.
7480 (signbit_test_data): Likewise.
7481 (sinh_test_data): Likewise.
7482 (sqrt_test_data): Likewise.
7483 (tanh_test_data): Likewise.
7484 (tgamma_test_data): Likewise.
7485 (trunc_test_data): Likewise.
7486 (y0_test_data): Likewise.
7487 (y1_test_data): Likewise.
7488 (yn_test_data): Likewise.
7489 (significand_test_data): Likewise.
7491 2015-09-29 Carlos O'Donell <carlos@redhat.com>
7493 * manual/filesys.texi (Storage Allocation): Document that
7494 posix_fallocate emulation fails when fd is open with O_WRONLY.
7496 2015-09-28 Joseph Myers <joseph@codesourcery.com>
7499 * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
7500 allow more cases with X^2 + Y^2 >= 0.5.
7501 * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise. Add -1 as
7502 normal element in sum instead of special-casing based on values of
7504 * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
7505 * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise. Add
7506 -1 as normal element in sum instead of special-casing based on
7507 values of arguments.
7508 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
7509 * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
7510 (__x2y2m1): Update comment.
7511 * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise. Add -1
7512 as normal element in sum instead of special-casing based on values
7514 * math/s_clog.c (__clog): Handle more cases using log1p without
7516 * math/s_clog10.c (__clog10): Likewise.
7517 * math/s_clog10f.c (__clog10f): Likewise.
7518 * math/s_clog10l.c (__clog10l): Likewise.
7519 * math/s_clogf.c (__clogf): Likewise.
7520 * math/s_clogl.c (__clogl): Likewise.
7521 * math/auto-libm-test-in: Add more tests of clog and clog10.
7522 * math/auto-libm-test-out: Regenerated.
7523 * sysdeps/i386/fpu/libm-test-ulps: Update.
7524 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7526 2015-09-28 Martin Sebor <msebor@redhat.com>
7529 * string/Makefile (LOCALES): Define.
7530 (gen-locales.mk): Include.
7531 (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
7532 (tst-strxfrm2.out): Add deppendency on $(gen-locales).
7533 * string/tst-strxfrm2.c (do_test): Print the name of the locale
7534 on setlocale failure.
7536 2015-09-26 Paul Pluzhnikov <ppluzhnikov@google.com>
7539 * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
7540 (__strftime_internal): Likewise.
7541 * time/tst-strftime.c (do_bz18985): New test.
7544 2015-09-26 Joseph Myers <joseph@codesourcery.com>
7547 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
7548 not 0x0040000 for high bit of mantissa. Mask with 0xfffff000 when
7549 extracting high part.
7550 * math/auto-libm-test-in: Add another test of pow.
7551 * math/auto-libm-test-out: Regenerated.
7552 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7554 2015-09-25 Joseph Myers <joseph@codesourcery.com>
7557 * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
7559 (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
7560 (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
7561 * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
7562 (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
7563 DBL_NARROW_EVAL, reloading the PIC register as needed.
7564 * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
7565 (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
7566 FLT_NARROW_EVAL. Use separate return path for case when first
7568 * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>. Use
7570 (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
7572 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
7573 math_check_force_underflow_nonneg.
7574 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
7575 underflow for subnormal result.
7576 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
7577 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
7578 math_check_force_underflow_nonneg.
7579 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
7580 math_check_force_underflow.
7581 * sysdeps/x86_64/fpu/x86_64-math-asm.h
7582 (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
7583 * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>. Use
7585 (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
7586 * math/auto-libm-test-in: Add more tests of pow.
7587 * math/auto-libm-test-out: Regenerated.
7589 2015-09-25 Florian Weimer <fweimer@redhat.com>
7591 * nss/bug17079.c (init_test_items): Add diagnostic for
7592 inconsistent entries.
7593 (test_buffer_size): Skip inconsistent entries.
7595 2015-09-25 Joseph Myers <joseph@codesourcery.com>
7598 * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
7599 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
7600 * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
7603 * sysdeps/microblaze/s_fma.c: New file.
7604 * sysdeps/microblaze/s_fmaf.c: Likewise.
7605 * sysdeps/microblaze/sfp-machine.h: Likewise.
7607 2015-09-25 Maciej W. Rozycki <macro@imgtec.com>
7610 * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
7613 2015-09-24 Joseph Myers <joseph@codesourcery.com>
7616 * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
7618 (__ieee754_hypot) [PIC]: Load PIC register.
7619 (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
7621 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
7622 math_check_force_underflow_nonneg in case where result might be
7624 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
7626 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
7628 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
7629 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
7630 * math/auto-libm-test-in: Add more tests of hypot.
7631 * math/auto-libm-test-out: Regenerated.
7633 2015-09-24 Steve Ellcey <sellcey@imgtec.com>
7635 * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
7637 2015-09-24 Joseph Myers <joseph@codesourcery.com>
7639 * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
7640 * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
7641 (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
7642 (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
7643 * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
7644 [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
7645 (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
7647 * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
7650 * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
7651 (FLT_CHECK_FORCE_UFLOW): Likewise.
7652 (DBL_CHECK_FORCE_UFLOW): Likewise.
7653 (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
7654 (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
7655 (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
7656 (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
7657 (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
7658 (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
7659 (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
7660 (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
7661 * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
7662 (dbl_min): Replace with use of DEFINE_DBL_MIN.
7663 (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
7664 * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
7665 (flt_min): Replace with use of DEFINE_FLT_MIN.
7666 (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
7667 * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
7668 (dbl_min): Replace with use of DEFINE_DBL_MIN.
7669 (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
7670 * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
7671 (flt_min): Replace with use of DEFINE_FLT_MIN.
7672 (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
7673 * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
7674 (dbl_min): Replace with use of DEFINE_DBL_MIN.
7675 (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
7676 * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
7677 (flt_min): Replace with use of DEFINE_FLT_MIN.
7678 (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
7679 * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
7680 (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
7681 (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
7682 * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
7683 [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
7684 (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
7685 * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
7686 (dbl_min): Replace with use of DEFINE_DBL_MIN.
7687 (__atan): Use DBL_CHECK_FORCE_UFLOW.
7688 * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
7689 (flt_min): Replace with use of DEFINE_FLT_MIN.
7690 (__atanf): Use FLT_CHECK_FORCE_UFLOW.
7691 * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
7692 (dbl_min): Replace with use of DEFINE_DBL_MIN.
7693 (__expm1): Use DBL_CHECK_FORCE_UFLOW. Move underflow check after
7695 * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
7696 (flt_min): Replace with use of DEFINE_FLT_MIN.
7697 (__expm1f): Use FLT_CHECK_FORCE_UFLOW. Move underflow check after
7699 * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
7700 (dbl_min): Replace with use of DEFINE_DBL_MIN.
7702 (__log1p): Use MO. Use DBL_CHECK_FORCE_UFLOW_NONNAN.
7703 * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
7704 (flt_min): Replace with use of DEFINE_FLT_MIN.
7706 (__log1pf): Use MO. Use FLT_CHECK_FORCE_UFLOW_NONNAN.
7707 * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
7711 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
7712 $(config-cflags-nofma).
7714 2015-09-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
7716 * sysdeps/aarch64/libm-test-ulps: Regenerated.
7718 2015-09-23 Joseph Myers <joseph@codesourcery.com>
7720 * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
7723 * sysdeps/generic/math_private.h (fabs_tg): New macro.
7724 (min_of_type): Likewise.
7725 (math_check_force_underflow): Likewise.
7726 (math_check_force_underflow_nonneg): Likewise.
7727 (math_check_force_underflow_complex): Likewise.
7728 * math/e_exp2l.c (__ieee754_exp2l): Use
7729 math_check_force_underflow_nonneg.
7730 * math/k_casinh.c (__kernel_casinh): Likewise.
7731 * math/k_casinhf.c (__kernel_casinhf): Likewise.
7732 * math/k_casinhl.c (__kernel_casinhl): Likewise.
7733 * math/s_catan.c (__catan): Use
7734 math_check_force_underflow_complex.
7735 * math/s_catanf.c (__catanf): Likewise.
7736 * math/s_catanh.c (__catanh): Likewise.
7737 * math/s_catanhf.c (__catanhf): Likewise.
7738 * math/s_catanhl.c (__catanhl): Likewise.
7739 * math/s_catanl.c (__catanl): Likewise.
7740 * math/s_ccosh.c (__ccosh): Likewise.
7741 * math/s_ccoshf.c (__ccoshf): Likewise.
7742 * math/s_ccoshl.c (__ccoshl): Likewise.
7743 * math/s_cexp.c (__cexp): Likewise.
7744 * math/s_cexpf.c (__cexpf): Likewise.
7745 * math/s_cexpl.c (__cexpl): Likewise.
7746 * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
7747 * math/s_clog10.c (__clog10): Likewise.
7748 * math/s_clog10f.c (__clog10f): Likewise.
7749 * math/s_clog10l.c (__clog10l): Likewise.
7750 * math/s_clogf.c (__clogf): Likewise.
7751 * math/s_clogl.c (__clogl): Likewise.
7752 * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
7753 * math/s_csinf.c (__csinf): Likewise.
7754 * math/s_csinh.c (__csinh): Likewise.
7755 * math/s_csinhf.c (__csinhf): Likewise.
7756 * math/s_csinhl.c (__csinhl): Likewise.
7757 * math/s_csinl.c (__csinl): Likewise.
7758 * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
7759 * math/s_csqrtf.c (__csqrtf): Likewise.
7760 * math/s_csqrtl.c (__csqrtl): Likewise.
7761 * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
7762 * math/s_ctanf.c (__ctanf): Likewise.
7763 * math/s_ctanh.c (__ctanh): Likewise.
7764 * math/s_ctanhf.c (__ctanhf): Likewise.
7765 * math/s_ctanhl.c (__ctanhl): Likewise.
7766 * math/s_ctanl.c (__ctanl): Likewise.
7767 * stdlib/strtod_l.c (round_and_return): Use math_force_eval
7768 instead of volatile.
7769 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
7770 math_check_force_underflow.
7771 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
7772 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
7773 volatile when forcing underflow.
7774 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
7775 math_check_force_underflow_nonneg.
7776 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
7778 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
7779 math_check_force_underflow.
7780 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
7781 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
7782 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
7783 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
7784 math_check_force_underflow_nonneg.
7785 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
7786 math_check_force_underflow.
7787 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
7788 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
7789 instead of volatile.
7790 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
7791 math_check_force_underflow.
7792 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
7793 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
7794 math_check_force_underflow_nonneg.
7795 * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
7796 math_check_force_underflow.
7797 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
7798 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
7799 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
7800 math_check_force_underflow_nonneg.
7801 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
7803 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
7804 math_check_force_underflow.
7805 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
7806 * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
7807 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
7808 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
7809 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
7810 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
7811 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
7812 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
7813 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
7814 * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
7815 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
7816 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
7818 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
7819 math_check_force_underflow_nonneg.
7820 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
7822 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
7823 math_check_force_underflow.
7824 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
7825 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
7826 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
7828 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
7829 * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
7830 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
7831 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
7832 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
7833 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
7834 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
7835 instead of volatile.
7836 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
7837 math_check_force_underflow.
7838 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
7839 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
7840 math_check_force_underflow.
7841 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
7843 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
7844 Use math_check_force_underflow_nonneg.
7845 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
7846 math_check_force_underflow.
7847 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
7849 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
7851 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
7852 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
7853 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
7854 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
7855 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
7856 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
7857 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
7858 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
7859 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
7860 math_check_force_underflow_nonneg.
7861 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
7862 math_check_force_underflow.
7863 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
7864 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
7865 * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
7866 * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
7867 math_check_force_underflow_nonneg.
7868 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
7869 math_check_force_underflow.
7870 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
7871 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
7872 instead of volatile.
7873 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
7874 math_check_force_underflow.
7876 * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
7877 * stdlib/strtod_l.c: Include <math_private.h>.
7878 (overflow_value): Use math_narrow_eval.
7879 (underflow_value): Likewise.
7880 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
7881 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
7882 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
7883 (__ieee754_gamma_r): Likewise.
7884 * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
7886 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
7888 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
7889 * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
7890 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
7891 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
7892 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
7893 (__ieee754_gammaf_r): Likewise.
7894 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
7896 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
7897 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
7898 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
7899 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
7900 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
7902 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
7903 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
7905 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
7907 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
7909 * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
7911 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
7913 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
7914 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
7916 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
7918 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
7921 2015-09-22 H.J. Lu <hongjiu.lu@intel.com>
7923 * nptl/Versions: Remove ignored symbols.
7925 2015-09-22 Florian Weimer <fweimer@redhat.com>
7927 * nss/bug17079.c: Renamed from nss/bug18287.c. Add description.
7928 * nss/Makefile (tests): Update.
7930 2015-09-22 Florian Weimer <fweimer@redhat.com>
7932 * nss/bug18287.c: New file.
7933 * nss/Makefile (tests): Add bug18287.
7935 2015-09-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
7937 * mach/Versions (__mach_host_self_): Add symbol.
7939 2015-09-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
7941 * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
7944 2015-09-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
7946 Really fix sysdeps/i386/fpu/s_scalbn.S build
7948 * math/Versions (libc: GLIBC_2_20): New (empty) version set.
7949 (libc: GLIBC_2_22): Remove unused version set.
7951 2015-09-18 Mike Frysinger <vapier@gentoo.org>
7953 * config.make.in (enable-timezone-tools): New variable.
7954 * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
7955 (enable_timezone_tools): Export to generated files.
7956 * configure: Regenerate.
7957 * INSTALL: Regenerate.
7958 * manual/install.texi (--disable-timezone-tools): Document new flag.
7959 * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
7960 ifeq ($(enable-timezone-tools),yes) check.
7962 2015-09-18 Joseph Myers <joseph@codesourcery.com>
7964 * timezone/Makefile: Revert previous change.
7967 * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
7968 (DEFINE_DBL_MIN): Likewise.
7969 (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
7970 (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
7971 (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
7972 (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
7973 * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
7974 (dbl_min): Replace with use of DEFINE_DBL_MIN.
7975 (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
7976 (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
7977 * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
7978 (dbl_min): Replace with use of DEFINE_DBL_MIN.
7979 (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
7980 * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
7981 (flt_min): Replace with use of DEFINE_FLT_MIN.
7982 (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
7983 * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
7984 (dbl_min): Replace with use of DEFINE_DBL_MIN.
7985 (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
7986 * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
7987 (flt_min): Replace with use of DEFINE_FLT_MIN.
7988 (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
7989 * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
7990 (flt_min): Replace with use of DEFINE_FLT_MIN.
7991 (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
7992 (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
7993 * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
7994 (__ieee754_hypot): Use DBL_NARROW_EVAL.
7995 * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
7996 (__ieee754_hypotf): Use FLT_NARROW_EVAL.
7997 * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
7998 (__ieee754_pow): Use DBL_NARROW_EVAL.
7999 * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
8000 (__ieee754_powf): Use FLT_NARROW_EVAL.
8001 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
8002 (__ieee754_expf_sse2): Convert double-precision result to single
8004 * sysdeps/i386/fpu/libm-test-ulps: Update.
8006 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
8008 * timezone/Makefile: Ignore unused variable errors due to private.h
8009 (time_t_min) and (time_t_max).
8010 * timezone/private.h (time_t_min): Revert removal. (time_t_max):
8013 2015-09-18 Joseph Myers <joseph@codesourcery.com>
8016 * sysdeps/i386/fpu/i386-math-asm.h: New file.
8017 * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
8018 (__ieee754_scalb): Use DBL_NARROW_EVAL.
8019 * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
8020 (__ieee754_scalbf): Use FLT_NARROW_EVAL.
8021 * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
8022 (__scalbn): Use DBL_NARROW_EVAL.
8023 * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
8024 (__scalbnf): Use FLT_NARROW_EVAL.
8026 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
8028 * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
8029 * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
8030 * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
8031 * stdio-common/printf_fp.c (___printf_fp):
8032 Use signbit to get the sign. Use isinf macro to allow inlining.
8033 * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
8034 * stdio-common/printf_size.c (__printf_size): Likewise.
8036 2015-09-18 Mike Frysinger <vapier@gentoo.org>
8038 * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
8040 2015-09-18 Joseph Myers <joseph@codesourcery.com>
8043 * sysdeps/generic/math_private.h: Include <float.h>.
8044 (math_narrow_eval): New macro.
8045 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
8046 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
8047 math_narrow_eval on overflowing return value.
8048 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
8050 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
8051 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
8052 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
8054 * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
8056 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
8058 * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
8059 * math/Makefile: Remove isinf_ns.c.
8060 * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
8061 * math/multc3.c (__multc3): Likewise.
8062 * math/s_casin.c (__casin): Likewise.
8063 * math/s_casinf.c (__casinf): Likewise.
8064 * math/s_casinl.c (__casinl): Likewise.
8065 * math/s_cproj.c (__cproj): Likewise.
8066 * math/s_cprojf.c (__cprojf): Likewise.
8067 * math/s_cprojl.c (__cprofl): Likewise.
8068 * math/s_ctan.c (__ctan): Likewise.
8069 * math/s_ctanf.c (__ctanf): Likewise.
8070 * math/s_ctanh.c (__ctanh): Likewise.
8071 * math/s_ctanhf.c (__ctanhf): Likewise.
8072 * math/s_ctanhl.c (__ctanhl): Likewise.
8073 * math/s_ctanl.c (__ctanl): Likewise.
8074 * math/w_fmod.c (__fmod): Likewise.
8075 * math/w_fmodf.c (__fmodf): Likewise.
8076 * math/w_fmodl.c (_fmodl): Likewise.
8077 * math/w_remainder.c (__remainder): Likewise.
8078 * math/w_remainderf.c (__remainderf): Likewise.
8079 * math/w_remainderl.c (__remainderl): Likewise.
8080 * math/w_scalb.c (__scalb): Likewise.
8081 * math/w_scalbf.c (__scalbf): Likewise.
8082 * math/w_scalbl.c (__scalbl): Likewise.
8083 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
8084 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
8086 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
8087 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
8088 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
8089 __isinf_nsf with isinf.
8090 * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
8091 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
8092 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
8093 * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
8095 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
8096 __isinf_nsl with isinf.
8097 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
8099 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
8100 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
8101 __isinf_nsl with isinf.
8102 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
8103 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
8106 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
8108 * resolv/base64.c (rcsid): Remove unused static.
8109 * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
8110 static. (tqpi1): Likewise.
8111 * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
8112 * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
8113 * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
8114 * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
8115 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
8116 * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
8117 * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
8118 * timezone/private.h (time_t_min): Likewise. (time_t_max):
8121 2015-09-18 H.J. Lu <hongjiu.lu@intel.com>
8123 * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
8125 (_longjmp_unwind): Use __libc_ptf_call.
8126 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
8128 2015-09-18 David Lamparter <equinox-gentoo@diac24.net>
8130 * sysdeps/arm/setjmp.S: Change PIC to SHARED.
8131 * sysdeps/arm/__longjmp.S: Likewise.
8133 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
8135 * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
8136 Use __builtin_signbit.
8137 * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
8138 Use __builtin_signbitf.
8139 * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
8140 Use __builtin_signbitl.
8141 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
8142 * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
8144 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
8149 * math/Makefile: Build test-snan.c with -fsignaling-nans.
8150 * math/math.h (fpclassify): Use __builtin_fpclassify when
8151 available. (signbit): Use __builtin_signbit(f/l).
8152 (isfinite): Use__builtin_isfinite. (isnormal): Use
8153 __builtin_isnormal. (isnan): Use __builtin_isnan.
8154 (isinf): Use __builtin_isinf_sign.
8156 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
8158 * benchtests/Makefile: Add bench-math-inlines, link with libm.
8159 * benchtests/bench-math-inlines.c: New benchmark.
8160 * benchtests/bench-util.h: New file.
8161 * benchtests/bench-util.c: New file.
8162 * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
8164 2015-09-18 Carlos O'Donell <carlos@redhat.com>
8166 * elf/tst-dlmopen1.c: Define TEST_SO.
8167 (do_test): Use TEST_SO.
8169 * elf/dl-load.c: Include libc-internal.h.
8170 (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
8172 2015-09-18 Vincent Bernat <vincent@bernat.im>
8175 * time/strptime_l.c (__strptime_internal): Make %z accept
8176 [+-]HH:MM time zones.
8178 2015-09-18 Vincent Bernat <vincent@bernat.im>
8181 * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
8184 2015-09-17 Mike Frysinger <vapier@gentoo.org>
8186 * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
8187 * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
8188 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8189 (__ASSUME_FDATASYNC): Delete.
8191 2015-09-17 Joseph Myers <joseph@codesourcery.com>
8193 * conform/linknamespace.pl: Require weak undefined symbols to be
8194 in the standard namespace.
8195 (%strong_syms): Rename to %seen_syms.
8196 (%strong_seen): Rename to %seen_where.
8198 2015-09-17 H.J. Lu <hongjiu.lu@intel.com>
8201 * misc/error.c (error): Replace pthread_setcancelstate with
8202 __pthread_setcancelstate.
8203 (error_at_line): Likewise.
8204 * posix/wordexp.c (parse_comm): Likewise.
8205 * stdlib/fmtmsg.c (fmtmsg): Likewise.
8206 * nptl/forward.c (pthread_setcancelstate): Renamed to ...
8207 (__pthread_setcancelstate): This.
8208 (pthread_setcancelstate): Add an alias.
8209 * nptl/nptl-init.c (pthread_functions): Replace
8210 ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
8211 * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
8212 * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
8214 * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
8216 * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
8217 (pthread_setcancelstate): Renamed to ...
8218 (__pthread_setcancelstate): This.
8219 * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
8220 __libc_ptf_call with __pthread_setcancelstate.
8222 2015-09-17 Joseph Myers <joseph@codesourcery.com>
8223 Andreas Schwab <schwab@suse.de>
8226 * math/s_ctan.c (__ctan): Determine sign of zero real part of
8227 result when imaginary part of argument is infinite using sine and
8229 * math/s_ctanf.c (__ctanf): Likewise.
8230 * math/s_ctanl.c (__ctanl): Likewise.
8231 * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
8232 of result when real part of argument is infinite using sine and
8234 * math/s_ctanhf.c (__ctanhf): Likewise.
8235 * math/s_ctanhl.c (__ctanhl): Likewise.
8236 * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
8237 (ctanh_test_data): Add more tests of ctanh.
8239 2015-09-17 Joseph Myers <joseph@codesourcery.com>
8242 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
8243 bit-mask as in subtraction.
8244 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
8246 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
8247 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
8248 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
8251 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
8252 underflow exception for small results.
8253 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
8255 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
8257 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
8259 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
8261 * math/auto-libm-test-in: Add more tests of tgamma.
8262 * math/auto-libm-test-out: Regenerated.
8264 2015-09-17 Andreas Schwab <schwab@suse.de>
8266 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
8268 2015-09-16 Joseph Myers <joseph@codesourcery.com>
8271 * math/bits/mathcalls.h
8272 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
8274 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
8276 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
8278 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
8280 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
8282 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
8284 * conform/data/math.h-data
8285 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
8287 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
8288 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
8289 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
8290 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
8291 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
8292 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
8293 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
8294 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
8295 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
8296 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
8297 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
8300 * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
8301 [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
8302 * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
8303 * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
8304 * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
8305 * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
8306 * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
8307 * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
8308 [NO_LONG_DOUBLE] (scalbnl): Likewise.
8309 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
8311 [NO_LONG_DOUBLE] (scalbnl): Likewise.
8312 * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
8313 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
8314 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
8315 long_double_symbol calls.
8316 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
8317 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
8318 strong alias of __ldexpl.
8319 (scalbnl): Define using long_double_symbol.
8320 * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
8322 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
8323 * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
8324 * math/libm-test.inc (scalbn_test_data): Add errno expectations.
8325 (scalbln_test_data): Add more errno expectations.
8327 2015-09-16 Justus Winter <4winter@informatik.uni-hamburg.de>
8329 Cache the host port like we cache the task port. This way we do not
8330 need to call the kernel just to get the port. Furthermore, we no
8331 longer increase the reference count on every invocation of
8334 * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
8335 Protect declarations against the macro expansion.
8336 * mach/mach_init.c (__mach_host_self_): New variable.
8337 (mach_init): Initialize `__mach_host_self_'.
8338 * mach/mach_init.h (__mach_host_self_): New declaration.
8339 (__mach_host_self, mach_host_self): New macros.
8340 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
8343 2015-09-16 Joseph Myers <joseph@codesourcery.com>
8346 * po/de.po: Update from Translation Project.
8349 * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
8350 (__expm1l): Remove code to handle positive infinity and overflow.
8351 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
8353 (__expm1l): Remove code to handle positive infinity and overflow.
8355 2015-09-16 Paul Eggert <eggert@cs.ucla.edu>
8356 Paul Pluzhnikov <ppluzhnikov@google.com>
8359 * stdio-common/Makefile (tst-printf-bz18872): New test.
8360 (tst-printf-bz18872-mem.out): Likewise.
8361 * stdio-common/tst-printf-bz18872.sh: Generate new test.
8362 * stdio-common/vfprintf.c: Fix memory leaks.
8364 2015-09-16 Andreas Schwab <schwab@suse.de>
8367 * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
8368 Remove extra va_start/va_end calls.
8371 * posix/execl.c (execl): Add missing va_end.
8372 * posix/execle.c (execle): Likewise.
8373 * posix/execlp.c (execlp): Likewise.
8375 2015-09-15 Roland McGrath <roland@hack.frob.com>
8377 * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
8378 (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
8380 2015-09-15 Joseph Myers <joseph@codesourcery.com>
8383 * math/math.h (__MATH_DECLARING_DOUBLE): New macro. Define and
8384 undefine around includes of <bits/mathcalls.h>.
8385 * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
8386 not declare function.
8387 [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
8388 [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
8390 * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
8392 * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
8394 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
8395 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
8396 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
8399 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
8400 return non-finite argument without doing ordered comparisons on
8404 * math/fenv.h (fegetround): Use __attribute_pure__.
8405 * include/fenv.h (__fegetround): Likewise.
8408 * math/s_ctan.c (__ctan): Force underflow exception for results
8409 whose real or imaginary part has small absolute value.
8410 * math/s_ctanf.c (__ctanf): Likewise.
8411 * math/s_ctanh.c (__ctanh): Likewise.
8412 * math/s_ctanhf.c (__ctanhf): Likewise.
8413 * math/s_ctanhl.c (__ctanhl): Likewise.
8414 * math/s_ctanl.c (__ctanl): Likewise.
8415 * math/auto-libm-test-in: Do not allow missing underflow for ctan
8416 and ctanh. Add more tests of ctan and ctanh.
8419 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
8420 handling of cases where one argument is an infinity.
8424 * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
8426 (__ieee754_exp10): For small results, force underflow exception
8427 and remove excess range and precision from return value.
8428 * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
8430 (__ieee754_exp10f): For small results, force underflow exception
8431 and remove excess range and precision from return value.
8432 * math/auto-libm-test-in: Add more tests of exp10.
8433 * math/auto-libm-test-out: Regenerated.
8435 2015-09-14 Joseph Myers <joseph@codesourcery.com>
8439 * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
8441 (__ieee754_exp): For small results, force underflow exception and
8442 remove excess range and precision from return value.
8443 (__exp_finite): Likewise.
8444 * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
8446 (__ieee754_expf): For small results, force underflow exception and
8447 remove excess range and precision from return value.
8448 (__expf_finite): Likewise.
8449 * math/auto-libm-test-in: Add more tests of exp.
8450 * math/auto-libm-test-out: Regenerated.
8454 * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
8456 * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
8458 (__ieee754_exp2): For small results, force underflow exception and
8459 remove excess range and precision from return value.
8460 * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
8462 (__ieee754_exp2f): For small results, force underflow exception
8463 and remove excess range and precision from return value.
8464 * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
8466 (__ieee754_exp2l): Force underflow exception for small results.
8467 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
8468 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
8469 * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
8471 (__ieee754_exp2l): Force underflow exception for small results.
8472 * math/auto-libm-test-in: Add more tests or exp2.
8473 * math/auto-libm-test-out: Regenerated.
8475 2015-09-14 Carlos O'Donell <carlos@redhat.com>
8477 * malloc/malloc.c (systrim): Use ALIGN_DOWN.
8479 * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
8482 2015-09-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
8484 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
8485 io fs process)): Drop spurious backslash.
8487 2015-09-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
8489 * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
8490 Use sysinfo system call instead of parsing /proc/meminfo.
8491 * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
8494 2015-09-11 Mike Frysinger <vapier@gentoo.org>
8497 * programs/localedef.c (main): Display argv[remaining] when
8498 output_path is NULL.
8500 2015-09-11 Joseph Myers <joseph@codesourcery.com>
8502 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
8503 asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
8504 exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
8506 * math/auto-libm-test-out: Regenerated.
8507 * sysdeps/i386/fpu/libm-test-ulps: Update.
8508 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
8509 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8510 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8512 2015-09-11 Roland McGrath <roland@hack.frob.com>
8514 * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
8515 Use 'override' keyword to freeze the value here, preventing
8516 the addition of sys/mtio.h by sysdeps/gnu/Makefile.
8518 2015-09-11 Joseph Myers <joseph@codesourcery.com>
8521 * sysdeps/aarch64/bits/atomic.h: Move to ...
8522 * sysdeps/aarch64/atomic-machine.h: ...here.
8523 (_AARCH64_BITS_ATOMIC_H): Rename macro to
8524 _AARCH64_ATOMIC_MACHINE_H.
8525 * sysdeps/alpha/bits/atomic.h: Move to ...
8526 * sysdeps/alpha/atomic-machine.h: ...here.
8527 * sysdeps/arm/bits/atomic.h: Move to ...
8528 * sysdeps/arm/atomic-machine.h: ...here. Update comments.
8529 * bits/atomic.h: Move to ...
8530 * sysdeps/generic/atomic-machine.h: ...here.
8531 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
8532 * sysdeps/i386/bits/atomic.h: Move to ...
8533 * sysdeps/i386/atomic-machine.h: ...here.
8534 * sysdeps/ia64/bits/atomic.h: Move to ...
8535 * sysdeps/ia64/atomic-machine.h: ...here.
8536 * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
8537 * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
8538 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
8539 * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
8540 * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
8541 * sysdeps/microblaze/bits/atomic.h: Move to ...
8542 * sysdeps/microblaze/atomic-machine.h: ...here.
8543 * sysdeps/mips/bits/atomic.h: Move to ...
8544 * sysdeps/mips/atomic-machine.h: ...here.
8545 (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
8546 * sysdeps/powerpc/bits/atomic.h: Move to ...
8547 * sysdeps/powerpc/atomic-machine.h: ...here. Update comments.
8548 * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
8549 * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here. Update
8550 comments. Include <atomic-machine.h> instead of <bits/atomic.h>.
8551 * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
8552 * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here. Include
8553 <atomic-machine.h> instead of <bits/atomic.h>.
8554 * sysdeps/s390/bits/atomic.h: Move to ...
8555 * sysdeps/s390/atomic-machine.h: ...here.
8556 * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
8557 * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
8558 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
8559 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
8560 * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
8561 * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
8562 * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
8563 * sysdeps/tile/bits/atomic.h: Move to ...
8564 * sysdeps/tile/atomic-machine.h: ...here.
8565 * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
8566 * sysdeps/tile/tilegx/atomic-machine.h: ...here. Include
8567 <sysdeps/tile/atomic-machine.h> instead of
8568 <sysdeps/tile/bits/atomic.h>.
8569 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
8570 * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
8571 * sysdeps/tile/tilepro/atomic-machine.h: ...here. Include
8572 <sysdeps/tile/atomic-machine.h> instead of
8573 <sysdeps/tile/bits/atomic.h>.
8574 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
8575 * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
8576 * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here. Include
8577 <sysdeps/arm/atomic-machine.h> instead of
8578 <sysdeps/arm/bits/atomic.h>.
8579 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
8580 * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
8581 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
8582 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
8583 * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
8584 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
8585 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
8586 * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
8587 (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
8588 * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
8589 * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
8590 * sysdeps/x86_64/bits/atomic.h: Move to ...
8591 * sysdeps/x86_64/atomic-machine.h: ...here.
8592 * include/atomic.h: Include <atomic-machine.h> instead of
8595 * sysdeps/mips/mips32/libm-test-ulps: Update.
8596 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8599 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
8600 not convert non-integer negative arguments to int to determine the
8602 * math/auto-libm-test-in: Add more tests of lgamma.
8603 * math/auto-libm-test-out: Regenerated.
8605 * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
8606 cosh, csqrt, erfc, expm1 and lgamma.
8607 * math/auto-libm-test-out: Regenerated.
8608 * sysdeps/i386/fpu/libm-test-ulps: Update.
8609 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8611 2015-09-10 Joseph Myers <joseph@codesourcery.com>
8616 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
8617 __lgamma_neg for arguments from -28.0 to -2.0.
8618 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
8619 __lgamma_negf for arguments from -15.0 to -2.0.
8620 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
8621 Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
8622 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
8623 Call __lgamma_negl for arguments from -33.0 to -2.0.
8624 * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
8625 * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
8626 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
8627 * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
8628 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
8629 * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
8630 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
8631 * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
8632 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
8633 * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
8634 * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
8635 * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
8636 (__lgamma_neg): Likewise.
8637 (__lgamma_negl): Likewise.
8638 (__lgamma_product): Likewise.
8639 (__lgamma_productl): Likewise.
8640 * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
8641 * math/auto-libm-test-in: Add more tests of lgamma.
8642 * math/auto-libm-test-out: Regenerated.
8643 * sysdeps/i386/fpu/libm-test-ulps: Update.
8644 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8646 2015-09-09 Justin Maggard <jmaggard@netgear.com>
8649 * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
8651 2015-09-08 Joseph Myers <joseph@codesourcery.com>
8654 * bits/libc-lock.h: Move to ...
8655 * sysdeps/generic/libc-lock.h: ...here.
8656 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
8657 * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
8658 * sysdeps/mach/hurd/libc-lock.h: ...here.
8659 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
8660 [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
8661 * sysdeps/mach/bits/libc-lock.h: Move to ...
8662 * sysdeps/mach/libc-lock.h: ...here.
8663 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
8664 * sysdeps/nptl/bits/libc-lock.h: Move to ...
8665 * sysdeps/nptl/libc-lock.h: ...here.
8666 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
8667 * sysdeps/nptl/bits/libc-lockP.h: Move to ...
8668 * sysdeps/nptl/libc-lockP.h: ...here.
8669 (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
8670 * crypt/crypt_util.c: Include <libc-lock.h> instead of
8672 * dirent/scandir-tail.c: Likewise.
8673 * dlfcn/dlerror.c: Likewise.
8674 * elf/dl-close.c: Likewise.
8675 * elf/dl-iteratephdr.c: Likewise.
8676 * elf/dl-lookup.c: Likewise.
8677 * elf/dl-open.c: Likewise.
8678 * elf/dl-support.c: Likewise.
8679 * elf/dl-writev.h: Likewise.
8680 * elf/rtld.c: Likewise.
8681 * grp/fgetgrent.c: Likewise.
8682 * gshadow/fgetsgent.c: Likewise.
8683 * gshadow/sgetsgent.c: Likewise.
8684 * iconv/gconv_conf.c: Likewise.
8685 * iconv/gconv_db.c: Likewise.
8686 * iconv/gconv_dl.c: Likewise.
8687 * iconv/gconv_int.h: Likewise.
8688 * iconv/gconv_trans.c: Likewise.
8689 * include/link.h: Likewise.
8690 * inet/getnameinfo.c: Likewise.
8691 * inet/getnetgrent.c: Likewise.
8692 * inet/getnetgrent_r.c: Likewise.
8693 * intl/bindtextdom.c: Likewise.
8694 * intl/dcigettext.c: Likewise.
8695 * intl/finddomain.c: Likewise.
8696 * intl/gettextP.h: Likewise.
8697 * intl/loadmsgcat.c: Likewise.
8698 * intl/localealias.c: Likewise.
8699 * intl/textdomain.c: Likewise.
8700 * libidn/idn-stub.c: Likewise.
8701 * libio/libioP.h: Likewise.
8702 * locale/duplocale.c: Likewise.
8703 * locale/freelocale.c: Likewise.
8704 * locale/newlocale.c: Likewise.
8705 * locale/setlocale.c: Likewise.
8706 * login/getutent_r.c: Likewise.
8707 * login/getutid_r.c: Likewise.
8708 * login/getutline_r.c: Likewise.
8709 * login/utmp-private.h: Likewise.
8710 * login/utmpname.c: Likewise.
8711 * malloc/mtrace.c: Likewise.
8712 * misc/efgcvt.c: Likewise.
8713 * misc/error.c: Likewise.
8714 * misc/fstab.c: Likewise.
8715 * misc/getpass.c: Likewise.
8716 * misc/mntent.c: Likewise.
8717 * misc/syslog.c: Likewise.
8718 * nis/nis_call.c: Likewise.
8719 * nis/nis_callback.c: Likewise.
8720 * nis/nss-default.c: Likewise.
8721 * nis/nss_compat/compat-grp.c: Likewise.
8722 * nis/nss_compat/compat-initgroups.c: Likewise.
8723 * nis/nss_compat/compat-pwd.c: Likewise.
8724 * nis/nss_compat/compat-spwd.c: Likewise.
8725 * nis/nss_nis/nis-alias.c: Likewise.
8726 * nis/nss_nis/nis-ethers.c: Likewise.
8727 * nis/nss_nis/nis-grp.c: Likewise.
8728 * nis/nss_nis/nis-hosts.c: Likewise.
8729 * nis/nss_nis/nis-network.c: Likewise.
8730 * nis/nss_nis/nis-proto.c: Likewise.
8731 * nis/nss_nis/nis-pwd.c: Likewise.
8732 * nis/nss_nis/nis-rpc.c: Likewise.
8733 * nis/nss_nis/nis-service.c: Likewise.
8734 * nis/nss_nis/nis-spwd.c: Likewise.
8735 * nis/nss_nisplus/nisplus-alias.c: Likewise.
8736 * nis/nss_nisplus/nisplus-ethers.c: Likewise.
8737 * nis/nss_nisplus/nisplus-grp.c: Likewise.
8738 * nis/nss_nisplus/nisplus-hosts.c: Likewise.
8739 * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
8740 * nis/nss_nisplus/nisplus-network.c: Likewise.
8741 * nis/nss_nisplus/nisplus-proto.c: Likewise.
8742 * nis/nss_nisplus/nisplus-pwd.c: Likewise.
8743 * nis/nss_nisplus/nisplus-rpc.c: Likewise.
8744 * nis/nss_nisplus/nisplus-service.c: Likewise.
8745 * nis/nss_nisplus/nisplus-spwd.c: Likewise.
8746 * nis/ypclnt.c: Likewise.
8747 * nptl/libc_pthread_init.c: Likewise.
8748 * nss/getXXbyYY.c: Likewise.
8749 * nss/getXXent.c: Likewise.
8750 * nss/getXXent_r.c: Likewise.
8751 * nss/nss_db/db-XXX.c: Likewise.
8752 * nss/nss_db/db-netgrp.c: Likewise.
8753 * nss/nss_db/nss_db.h: Likewise.
8754 * nss/nss_files/files-XXX.c: Likewise.
8755 * nss/nss_files/files-alias.c: Likewise.
8756 * nss/nsswitch.c: Likewise.
8757 * posix/regex_internal.h: Likewise.
8758 * posix/wordexp.c: Likewise.
8759 * pwd/fgetpwent.c: Likewise.
8760 * resolv/res_hconf.c: Likewise.
8761 * resolv/res_libc.c: Likewise.
8762 * shadow/fgetspent.c: Likewise.
8763 * shadow/lckpwdf.c: Likewise.
8764 * shadow/sgetspent.c: Likewise.
8765 * socket/opensock.c: Likewise.
8766 * stdio-common/reg-modifier.c: Likewise.
8767 * stdio-common/reg-printf.c: Likewise.
8768 * stdio-common/reg-type.c: Likewise.
8769 * stdio-common/vfprintf.c: Likewise.
8770 * stdio-common/vfscanf.c: Likewise.
8771 * stdlib/abort.c: Likewise.
8772 * stdlib/cxa_atexit.c: Likewise.
8773 * stdlib/fmtmsg.c: Likewise.
8774 * stdlib/random.c: Likewise.
8775 * stdlib/setenv.c: Likewise.
8776 * string/strsignal.c: Likewise.
8777 * sunrpc/auth_none.c: Likewise.
8778 * sunrpc/bindrsvprt.c: Likewise.
8779 * sunrpc/create_xid.c: Likewise.
8780 * sunrpc/key_call.c: Likewise.
8781 * sunrpc/rpc_thread.c: Likewise.
8782 * sysdeps/arm/backtrace.c: Likewise.
8783 * sysdeps/generic/ldsodefs.h: Likewise.
8784 * sysdeps/generic/stdio-lock.h: Likewise.
8785 * sysdeps/generic/unwind-dw2-fde.c: Likewise.
8786 * sysdeps/i386/backtrace.c: Likewise.
8787 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
8788 * sysdeps/m68k/backtrace.c: Likewise.
8789 * sysdeps/mach/hurd/cthreads.c: Likewise.
8790 * sysdeps/mach/hurd/dirstream.h: Likewise.
8791 * sysdeps/mach/hurd/malloc-machine.h: Likewise.
8792 * sysdeps/nptl/malloc-machine.h: Likewise.
8793 * sysdeps/nptl/stdio-lock.h: Likewise.
8794 * sysdeps/posix/dirstream.h: Likewise.
8795 * sysdeps/posix/getaddrinfo.c: Likewise.
8796 * sysdeps/posix/system.c: Likewise.
8797 * sysdeps/pthread/aio_suspend.c: Likewise.
8798 * sysdeps/s390/s390-32/backtrace.c: Likewise.
8799 * sysdeps/s390/s390-64/backtrace.c: Likewise.
8800 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
8801 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
8802 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
8803 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
8804 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
8805 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
8806 * sysdeps/unix/sysv/linux/system.c: Likewise.
8807 * sysdeps/x86_64/backtrace.c: Likewise.
8808 * time/alt_digit.c: Likewise.
8809 * time/era.c: Likewise.
8810 * time/tzset.c: Likewise.
8811 * wcsmbs/wcsmbsload.c: Likewise.
8812 * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
8813 instead of <bits/libc-lock.h> in comment.
8815 2015-09-08 Andrew Bennett <andrew.bennett@imgtec.com>
8817 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
8818 Only use .set mips2 if the current ISA is below mips2.
8819 * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
8821 * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
8822 mips32r2 if the current ISA is below mips32r2.
8823 * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
8824 (TLS_IE): Updated to use the TLD_RDHWR macro.
8826 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
8827 __ASSEMBLER__ condition.
8829 2015-09-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
8831 Fix parallel build of before-compile targets.
8833 * sysdeps/mach/Makefile ($(patsubst
8834 mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
8835 mach-before-compile target.
8836 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
8837 io fs process)): Move rule to dedicated hurd-before-compile target.
8839 2015-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
8841 Fix rules generating headers in hurd/ and mach/ when initial make call
8842 has subdir= explicitly set.
8844 * sysdeps/mach/Makefile ($(patsubst
8845 mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
8847 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
8848 io fs process)): Force subdir to hurd when calling $(MAKE).
8849 ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
8850 subdir to mach when calling $(MAKE).
8852 2015-09-06 Manolis Ragkousis <manolis837@gmail.com>
8854 Check sysheaders when looking for Mach and Hurd headers
8856 * sysdeps/mach/configure.ac: Add sysheaders check.
8857 * sysdeps/mach/configure: Regenerate.
8858 * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
8859 * sysdeps/mach/hurd/configure: Regenerate.
8861 2015-09-04 Roland McGrath <roland@hack.frob.com>
8864 * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
8865 Fix inverted sense of test of 'o_directory_works' value.
8866 Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
8867 Bernhard Voelker <mail@bernhard-voelker.de>.
8869 2015-09-04 Joseph Myers <joseph@codesourcery.com>
8872 * bits/linkmap.h: Move to ...
8873 * sysdeps/generic/linkmap.h: ...here.
8874 * sysdeps/aarch64/bits/linkmap.h: Move to ...
8875 * sysdeps/aarch64/linkmap.h: ...here.
8876 * sysdeps/arm/bits/linkmap.h: Move to ...
8877 * sysdeps/arm/linkmap.h: ...here.
8878 * sysdeps/hppa/bits/linkmap.h: Move to ...
8879 * sysdeps/hppa/linkmap.h: ...here.
8880 * sysdeps/ia64/bits/linkmap.h: Move to ...
8881 * sysdeps/ia64/linkmap.h: ...here.
8882 * sysdeps/mips/bits/linkmap.h: Move to ...
8883 * sysdeps/mips/linkmap.h: ...here.
8884 * sysdeps/s390/bits/linkmap.h: Move to ...
8885 * sysdeps/s390/linkmap.h: ...here.
8886 * sysdeps/sh/bits/linkmap.h: Move to ...
8887 * sysdeps/sh/linkmap.h: ...here.
8888 * sysdeps/x86/bits/linkmap.h: Move to ...
8889 * sysdeps/x86/linkmap.h: ...here.
8890 * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
8892 2015-09-04 Andreas Schwab <schwab@suse.de>
8895 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
8896 (__makecontext): Terminate FDE before return label.
8897 (__novec_makecontext): Likewise.
8899 2015-09-04 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
8901 * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
8902 first member of struct sv in syscall macro.
8904 2015-09-04 Joseph Myers <joseph@codesourcery.com>
8907 * bits/stdio-lock.h: Move to ...
8908 * sysdeps/generic/stdio-lock.h: ...here.
8909 (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
8910 * sysdeps/nptl/bits/stdio-lock.h: Move to ...
8911 * sysdeps/nptl/stdio-lock.h: ...here.
8912 (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
8913 * include/libio.h: Include <stdio-lock.h> instead of
8914 <bits/stdio-lock.h>.
8915 * sysdeps/nptl/fork.c: Likewise.
8916 * sysdeps/pthread/flockfile.c: Likewise.
8917 * sysdeps/pthread/ftrylockfile.c: Likewise.
8918 * sysdeps/pthread/funlockfile.c: Likewise.
8921 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
8922 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
8923 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
8924 <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
8925 * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
8926 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
8927 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
8929 2015-09-03 Roland McGrath <roland@hack.frob.com>
8931 * elf/Makefile (test-xfail-tst-protected1a): New variable.
8932 (test-xfail-tst-protected1b): New variable.
8934 2015-09-03 Joseph Myers <joseph@codesourcery.com>
8937 * bits/libc-tsd.h: Move to ...
8938 * sysdeps/generic/libc-tsd.h: ...here.
8939 (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
8940 * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
8941 * sysdeps/mach/hurd/libc-tsd.h: ...here.
8942 (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
8943 * include/ctype.h: Include <libc-tsd.h> instead of
8945 * include/rpc/rpc.h: Likewise.
8946 * locale/localeinfo.h: Likewise.
8947 * sunrpc/rpc_thread.c: Likewise.
8948 * sysdeps/mach/hurd/malloc-machine.h: Likewise.
8949 * sysdeps/nptl/malloc-machine.h: Likewise.
8951 * Makefile (headers): Remove bits/libc-lock.h.
8952 * libio/Makefile (headers): Remove bits/stdio-lock.h.
8954 * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
8955 <bits/stdio-lock.h> and commented-out include of <comthread.h>.
8956 * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
8957 <bits/stdio-lock.h>.
8958 * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
8959 * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
8961 2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
8964 * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
8965 * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
8968 2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
8970 * malloc/mtrace.pl: Filter out NULL entries.
8972 2015-09-01 Joseph Myers <joseph@codesourcery.com>
8974 * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
8975 * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
8978 * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
8979 (TCP_CC_INFO): Likewise.
8980 (TCP_SAVE_SYN): Likewise.
8981 (TCP_SAVED_SYN): Likewise.
8983 2015-08-31 Brett Neumeier <brett@neumeier.us>
8986 * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
8988 2015-08-31 Paul Eggert <eggert@cs.ucla.edu>
8991 Fix broken overflow check in posix_fallocate
8992 * sysdeps/posix/posix_fallocate.c (posix_fallocate):
8993 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
8994 Fix parenthesization typo.
8996 2015-08-28 Mike Frysinger <vapier@gentoo.org>
8999 * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
9000 tst-mntent-blank-passno.
9001 * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
9002 * misc/tst-mntent-blank-corrupt.c: New test.
9003 * misc/tst-mntent-blank-passno.c: New test ripped from ...
9004 * misc/tst-mntent.c (do_test): ... here.
9006 2015-08-29 Mike Frysinger <vapier@gentoo.org>
9009 * po/de.po: Fix SIGALRM typo.
9011 2015-08-28 James Perkins <james@loowit.net>
9013 * time/tst-strptime2.c (tests): Replace short list of test
9014 strings for strptime %z specifier with code which exhaustively
9015 tests every combination of sign and 0 to 5 digits. Tests for
9016 rejection of invalid strings.
9018 2015-08-28 James Perkins <james@loowit.net>
9021 * time/strptime_l.c (__strptime_internal): Fix %z minutes
9022 calculation, removing incorrect decimal time rounding, so that
9023 all minute values result in a valid seconds value.
9024 * time/strptime_l.c (__strptime_internal): Extend %z time zone
9025 offset range limits to UTC-99:59 through UTC+99:59 to parse
9026 current and historical use cases.
9027 * time/tst-strptime2.c (tests): Modify and add tests for the
9028 strptime %z input field descriptor, specifically conversion of
9029 minutes to seconds and validating an offset range of -9959 to
9032 2015-08-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9033 Dmitry V. Levin <ldv@altlinux.org>
9036 * posix/Makefile (tests): Add tst-mmap-offset.
9037 * posix/tst-mmap.c: New file.
9038 * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
9039 offset calculation for negative values.
9041 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
9043 * sysdeps/i386/init-arch.h: New file.
9044 * sysdeps/i386/i586/init-arch.h: Likewise.
9045 * sysdeps/i386/i686/init-arch.h: Likewise.
9046 * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
9047 bit if CX8 is available. Set bit_I686 bit if CMOV is available.
9048 * sysdeps/x86/cpu-features.h (bit_I586): New.
9049 (bit_I686): Likewise.
9050 (bit_CX8): Likewise.
9051 (bit_CMOV): Likewise.
9052 (index_CX8): Likewise.
9053 (index_CMOV): Likewise.
9054 (index_I586): Likewise.
9055 (index_I686): Likewise.
9056 (reg_CX8): Likewise.
9057 (reg_CMOV): Likewise.
9058 (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
9059 available at compile-time.
9060 (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
9061 available at compile-time.
9062 * sysdeps/x86/init-arch.h (USE_I586): New macro.
9063 (USE_I686): Likewise.
9065 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
9067 * sysdeps/i386/bcopy.S: New file.
9068 * sysdeps/i386/bzero.S: Likewise.
9069 * sysdeps/i386/memcpy.S: Likewise.
9070 * sysdeps/i386/memmove.S: Likewise.
9071 * sysdeps/i386/mempcpy.S: Likewise.
9072 * sysdeps/i386/memset.S: Likewise.
9073 * sysdeps/i386/bzero.c: Removed.
9074 * sysdeps/i386/memset.c: Likewise.
9075 * sysdeps/i386/i586/memcpy_chk.S: Likewise.
9076 * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
9077 * sysdeps/i386/i586/memset_chk.S: Likewise.
9078 * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
9079 * sysdeps/i386/memcpy_chk.S: Here.
9080 * sysdeps/i386/i686/memmove_chk.S: Moved to ...
9081 * sysdeps/i386/memmove_chk.S: Here.
9082 * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
9083 * sysdeps/i386/mempcpy_chk.S: Likewise.
9084 * sysdeps/i386/i686/memset_chk.S: Moved to ...
9085 * sysdeps/i386/memset_chk.S: Likewise.
9087 2015-08-27 Steve Ellcey <sellcey@imgtec.com>
9089 * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
9090 Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
9091 file, move DIAG_POP_NEEDS_COMMENT to end of file.
9092 * soft-fp/fmadf4.c: Ditto.
9093 * soft-fp/fmatf4.c: Ditto.
9095 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
9097 * sysdeps/i386/i586/Implies: Removed.
9098 * sysdeps/i386/i686/Implies: Likewise.
9100 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
9102 * sysdeps/i386/i486/strlen.S: Moved to ...
9103 * sysdeps/i386/strlen.S: Here.
9105 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
9107 * sysdeps/i386/i486/strcat.S: Moved to ...
9108 * sysdeps/i386/strcat.S: Here.
9110 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
9112 * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
9113 * sysdeps/i386/pthread_spin_trylock.S: Here.
9114 * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
9115 * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
9117 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
9119 * sysdeps/i386/i486/string-inlines.c: Moved to ...
9120 * sysdeps/i386/string-inlines.c: Here.
9122 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
9124 * sysdeps/i386/i486/htonl.S: Moved ...
9125 * sysdeps/i386/htonl.S: here.
9127 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
9129 * sysdeps/i386/i486/bits/atomic.h: Moved to ...
9130 * sysdeps/i386/bits/atomic.h: Here.
9132 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
9134 * sysdeps/i386/i486/Versions: Removed.
9136 2015-08-27 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
9139 * misc/mktemp.c: Add mkdtemp to the link_warning message.
9140 Based on patch by Aurelien Jarno.
9142 2015-08-26 Stan Shebs <stanshebs@google.com>
9144 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
9145 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
9147 2015-08-26 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
9149 * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
9150 * sysdeps/powerpc/dl-procinfo.c:
9151 (_dl_powerpc_cap_flags): Added descriptor for this hwcap
9152 feature so it shows when LD_SHOW_AUXV=1.
9154 2015-08-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
9156 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
9157 (__arch_compare_and_exchange_val_32_acq): Remove and use common
9158 definition. ISA 2.07B no longer requires full sync.
9160 2015-08-26 Mike Frysinger <vapier@gentoo.org>
9163 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
9164 (si_call_addr): Define.
9165 (si_syscall): Define.
9168 2015-08-26 H.J. Lu <hongjiu.lu@intel.com>
9170 * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
9171 * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
9172 * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
9173 Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
9174 (__memset_zero_constant_len_parameter): New.
9175 * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
9176 Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
9177 (__memset_zero_constant_len_parameter): Don't define if
9178 __memset_chk or USE_AS_BZERO are defined.
9180 * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
9181 Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
9182 * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
9184 * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
9185 tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
9186 * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
9187 tests-special, $(objpfx)tst-ld-sse-use.out): Here. Update
9189 * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
9190 -mno-mmx for $(all-rtld-routines).
9191 * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
9192 * sysdeps/i386/tst-ld-sse-use.sh: Here. Replace x86-64 with
9195 2015-08-26 Stefan Liebler <stli@linux.vnet.ibm.com>
9197 * sysdeps/generic/unwind.h
9198 (_Unwind_Word): Use __mode__(__unwind_word__)
9199 instead of __mode__(__word__).
9200 (_Unwind_Sword): Likewise.
9202 * sysdeps/s390/s390-64/utf8-utf16-z9.c
9203 (MAX_NEEDED_INPUT): New define.
9204 (MAX_NEEDED_OUTPUT): New define.
9206 * NEWS: New item for IBM z13 string optimizations.
9208 * sysdeps/s390/multiarch/memrchr-c.c: New File.
9209 * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
9210 * sysdeps/s390/multiarch/memrchr.c: Likewise.
9211 * sysdeps/s390/multiarch/Makefile
9212 (sysdep_routines): Add memrchr functions.
9213 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
9214 (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
9216 * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
9217 * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
9218 * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
9219 * sysdeps/s390/multiarch/Makefile
9220 (sysdep_routines): Add wmemcmp functions.
9221 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
9222 (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
9223 * benchtests/bench-wmemcmp.c: New File.
9224 * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
9226 * sysdeps/s390/multiarch/wmemset-c.c: New File.
9227 * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
9228 * sysdeps/s390/multiarch/wmemset.c: Likewise.
9229 * sysdeps/s390/multiarch/Makefile
9230 (sysdep_routines): Add wmemset functions.
9231 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
9232 (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
9233 * wcsmbs/wmemset.c: Use WMEMSET if defined.
9234 * string/test-memset.c: Add wmemset support.
9235 * wcsmbs/test-wmemset.c: New File.
9236 * wcsmbs/Makefile (strop-tests): Add wmemset.
9237 * benchtests/bench-memset.c: Add wmemset support.
9238 * benchtests/bench-wmemset.c: New File.
9239 * benchtests/Makefile (wcsmbs-bench): Add wmemset.
9241 * sysdeps/s390/multiarch/memccpy-c.c: New File.
9242 * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
9243 * sysdeps/s390/multiarch/memccpy.c: Likewise.
9244 * sysdeps/s390/multiarch/Makefile
9245 (sysdep_routines): Add memccpy functions.
9246 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
9247 (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
9248 * string/memccpy.c: Use MEMCCPY if defined.
9250 * sysdeps/s390/multiarch/memchr-vx.S: New File.
9251 * sysdeps/s390/multiarch/memchr.c: Likewise.
9252 * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
9253 * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
9254 * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
9255 * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
9256 * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
9257 * sysdeps/s390/multiarch/wmemchr.c: Likewise.
9258 * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
9259 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
9260 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
9261 and rawmemchr functions.
9262 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
9263 (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
9265 * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
9266 * string/test-memchr.c: Add wmemchr support.
9267 * wcsmbs/test-wmemchr.c: New File.
9268 * wcsmbs/Makefile (strop-tests): Add wmemchr.
9269 * benchtests/bench-memchr.c: Add wmemchr support.
9270 * benchtests/bench-wmemchr.c: New File.
9271 * benchtests/Makefile (wcsmbs-bench): wmemchr.
9273 * sysdeps/s390/multiarch/strcspn-c.c: New File.
9274 * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
9275 * sysdeps/s390/multiarch/strcspn.c: Likewise.
9276 * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
9277 * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
9278 * sysdeps/s390/multiarch/wcscspn.c: Likewise.
9279 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
9281 * sysdeps/s390/multiarch/ifunc-impl-list.c
9282 (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
9283 * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
9284 * string/test-strcspn.c: Add wcscspn support.
9285 * wcsmbs/test-wcscspn.c: New File.
9286 * wcsmbs/Makefile (strop-tests): Add wcscspn.
9287 * benchtests/bench-strcspn.c: Add wcscspn support.
9288 * benchtests/bench-wcscspn.c: New File.
9289 * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
9291 * sysdeps/s390/multiarch/strpbrk-c.c: New File.
9292 * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
9293 * sysdeps/s390/multiarch/strpbrk.c: Likewise.
9294 * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
9295 * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
9296 * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
9297 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
9299 * sysdeps/s390/multiarch/ifunc-impl-list.c
9300 (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
9301 * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
9302 * string/test-strpbrk.c: Add wcspbrk support.
9303 * wcsmbs/test-wcspbrk.c: New File.
9304 * wcsmbs/Makefile (strop-tests): Add wcspbrk.
9305 * benchtests/bench-strpbrk.c: Add wcspbrk support.
9306 * benchtests/bench-wcspbrk.c: New File.
9307 * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
9309 * sysdeps/s390/multiarch/strspn-c.c: New File.
9310 * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
9311 * sysdeps/s390/multiarch/strspn.c: Likewise.
9312 * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
9313 * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
9314 * sysdeps/s390/multiarch/wcsspn.c: Likewise.
9315 * wcsmbs/wcsspn.c: Use WCSSPN if defined.
9316 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
9318 * sysdeps/s390/multiarch/ifunc-impl-list.c
9319 (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
9320 * string/test-strspn.c: Add wcsspn support.
9321 * wcsmbs/test-wcsspn.c: New File.
9322 * wcsmbs/Makefile (strop-tests): Add wcsspn.
9323 * benchtests/bench-strspn.c: Add wcsspn support.
9324 * benchtests/bench-wcsspn.c: New File.
9325 * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
9327 * sysdeps/s390/multiarch/strrchr-c.c: New File.
9328 * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
9329 * sysdeps/s390/multiarch/strrchr.c: Likewise.
9330 * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
9331 * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
9332 * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
9333 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
9335 * sysdeps/s390/multiarch/ifunc-impl-list.c
9336 (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
9337 * benchtests/bench-wcsrchr.c: New File.
9338 * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
9340 * sysdeps/s390/multiarch/strchrnul-c.c: New File.
9341 * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
9342 * sysdeps/s390/multiarch/strchrnul.c: Likewise.
9343 * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
9344 * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
9345 * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
9346 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
9347 wcschrnul functions.
9348 * sysdeps/s390/multiarch/ifunc-impl-list.c
9349 (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
9350 * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
9351 * string/test-strchr.c: Add wcschrnul support.
9352 * wcsmbs/test-wcschrnul.c: New File.
9353 * wcsmbs/Makefile (strop-tests): Add wcschrnul.
9354 * benchtests/bench-strchr.c: Add wcschrnul support.
9355 * benchtests/bench-wcschrnul.c: New File.
9356 * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
9358 * sysdeps/s390/multiarch/strchr-c.c: New File.
9359 * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
9360 * sysdeps/s390/multiarch/strchr.c: Likewise.
9361 * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
9362 * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
9363 * sysdeps/s390/multiarch/wcschr.c: Likewise.
9364 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
9366 * sysdeps/s390/multiarch/ifunc-impl-list.c
9367 (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
9368 * string/strchr.c (STRCHR): Define and use macro.
9369 * benchtests/bench-wcschr.c: New File.
9370 * benchtests/Makefile (wcsmbs-bench): Add wcschr.
9372 * sysdeps/s390/multiarch/strncmp-c.c: New File.
9373 * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
9374 * sysdeps/s390/multiarch/strncmp.c: Likewise.
9375 * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
9376 * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
9377 * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
9378 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
9380 * sysdeps/s390/multiarch/ifunc-impl-list.c
9381 (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
9382 * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
9383 * benchtests/bench-strncmp.c: Add wcsncmp support.
9384 * benchtests/bench-wcsncmp.c: New File.
9385 * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
9387 * sysdeps/s390/multiarch/strcmp-vx.S: New File.
9388 * sysdeps/s390/multiarch/strcmp.c: Likewise.
9389 * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
9390 * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
9391 * sysdeps/s390/multiarch/wcscmp.c: Likewise.
9392 * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
9393 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
9394 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
9396 * sysdeps/s390/multiarch/ifunc-impl-list.c
9397 (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
9398 * string/strcmp.c (STRCMP): Define and use macro.
9399 * benchtests/bench-wcscmp.c: New File.
9400 * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
9401 * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
9402 instead of _HAVE_STRING_ARCH_memchr.
9404 * sysdeps/s390/multiarch/strncat-c.c: New File.
9405 * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
9406 * sysdeps/s390/multiarch/strncat.c: Likewise.
9407 * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
9408 * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
9409 * sysdeps/s390/multiarch/wcsncat.c: Likewise.
9410 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
9412 * sysdeps/s390/multiarch/ifunc-impl-list.c
9413 (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
9414 * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
9415 * string/test-strncat.c: Add wcsncat support.
9416 * wcsmbs/test-wcsncat.c: New File.
9417 * wcsmbs/Makefile (strop-tests): Add wcsncat.
9418 * benchtests/bench-strncat.c: Add wcsncat support.
9419 * benchtests/bench-wcsncat.c: New File.
9420 * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
9422 * sysdeps/s390/multiarch/strcat-c.c: New File.
9423 * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
9424 * sysdeps/s390/multiarch/strcat.c: Likewise.
9425 * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
9426 * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
9427 * sysdeps/s390/multiarch/wcscat.c: Likewise.
9428 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
9430 * sysdeps/s390/multiarch/ifunc-impl-list.c
9431 (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
9432 * string/strcat.c (STRCAT): Define and use macro.
9433 * wcsmbs/wcscat.c: Use WCSCAT if defined.
9434 * string/test-strcat.c: Add wcscat support.
9435 * wcsmbs/test-wcscat.c: New File.
9436 * wcsmbs/Makefile (strop-tests): Add wcscat.
9437 * benchtests/bench-strcat.c: Add wcscat support.
9438 * benchtests/bench-wcscat.c: New File.
9439 * benchtests/Makefile (wcsmbs-bench): Add wcscat.
9441 * sysdeps/s390/multiarch/stpncpy-c.c: New File.
9442 * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
9443 * sysdeps/s390/multiarch/stpncpy.c: Likewise.
9444 * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
9445 * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
9446 * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
9447 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
9449 * sysdeps/s390/multiarch/ifunc-impl-list.c
9450 (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
9451 * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
9452 * string/test-stpncpy.c: Add wcpncpy support.
9453 * wcsmbs/test-wcpncpy.c: New File.
9454 * wcsmbs/Makefile (strop-tests): Add wcpncpy.
9455 * benchtests/bench-stpncpy.c: Add wcpncpy support.
9456 * benchtests/bench-wcpncpy.c: New File.
9457 * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
9459 * sysdeps/s390/multiarch/strncpy-vx.S: New File.
9460 * sysdeps/s390/multiarch/strncpy.c: Likewise.
9461 * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
9462 * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
9463 * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
9464 * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
9465 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
9466 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
9468 * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
9469 * sysdeps/s390/multiarch/ifunc-impl-list.c
9470 (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
9471 * string/test-strncpy.c: Add wcsncpy support.
9472 * wcsmbs/test-wcsncpy.c: New File.
9473 * wcsmbs/Makefile (strop-tests): Add wcsncpy.
9474 * benchtests/bench-strncpy.c: Add wcsncpy support.
9475 * benchtests/bench-wcsncpy.c: New File.
9476 * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
9478 * sysdeps/s390/multiarch/stpcpy-c.c: New File.
9479 * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
9480 * sysdeps/s390/multiarch/stpcpy.c: Likewise.
9481 * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
9482 * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
9483 * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
9484 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
9486 * string/stpcpy.c: Use STPCPY if defined.
9487 * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
9488 * sysdeps/s390/multiarch/ifunc-impl-list.c
9489 (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
9490 * string/test-stpcpy.c: Add wcpcpy support.
9491 * wcsmbs/test-wcpcpy.c: New File.
9492 * wcsmbs/Makefile (strop-tests): Add wcpcpy.
9493 * benchtests/bench-stpcpy.c: Add wcpcpy support.
9494 * benchtests/bench-wcpcpy.c: New File.
9495 * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
9497 * sysdeps/s390/multiarch/strcpy-vx.S: New File.
9498 * sysdeps/s390/multiarch/strcpy.c: Likewise.
9499 * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
9500 * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
9501 * sysdeps/s390/multiarch/wcscpy.c: Likewise.
9502 * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
9503 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
9504 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
9506 * sysdeps/s390/multiarch/ifunc-impl-list.c
9507 (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
9508 * benchtests/bench-wcscpy.c: New File.
9509 * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
9511 * sysdeps/s390/multiarch/strnlen-c.c: New File.
9512 * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
9513 * sysdeps/s390/multiarch/strnlen.c: Likewise.
9514 * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
9515 * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
9516 * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
9517 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
9519 * sysdeps/s390/multiarch/ifunc-impl-list.c
9520 (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
9521 * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
9522 * string/test-strnlen.c: Add wcsnlen support.
9523 * wcsmbs/test-wcsnlen.c: New File.
9524 * wcsmbs/Makefile (strop-tests): Add wcsnlen.
9525 * benchtests/bench-strnlen.c: Add wcsnlen support.
9526 * benchtests/bench-wcsnlen.c: New File.
9527 * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
9529 * sysdeps/s390/multiarch/Makefile: New File.
9530 * sysdeps/s390/multiarch/strlen-c.c: Likewise.
9531 * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
9532 * sysdeps/s390/multiarch/strlen.c: Likewise.
9533 * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
9534 * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
9535 * sysdeps/s390/multiarch/wcslen.c: Likewise.
9536 * string/strlen.c (STRLEN): Define and use macro.
9537 * sysdeps/s390/multiarch/ifunc-impl-list.c
9538 (IFUNC_VX_IMPL): New macro function.
9539 (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
9540 * benchtests/Makefile (wcsmbs-bench): New variable.
9541 (string-bench-all): Added wcsmbs-bench.
9542 * benchtests/bench-wcslen.c: New File.
9544 * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
9545 s390_vx_libc_ifunc2): New macro function.
9547 * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
9548 * sysdeps/s390/configure.ac: Add test for S390 vector instruction
9550 * sysdeps/s390/configure: Regenerated.
9552 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
9553 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
9555 * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
9556 * sysdeps/s390/dl-procinfo.h: Add vector capability.
9557 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
9559 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
9560 Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
9561 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
9562 * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
9563 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
9564 (memcmp, bcmp): Use __memcmp_default as alias source.
9565 * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
9566 * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
9567 Rename to __memcmp_default.
9568 * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
9569 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
9570 (memcpy): Use __memcpy_default as alias source.
9571 * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
9572 * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
9573 Rename to __memcpy_default.
9574 * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
9575 * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
9576 (memset): Use __memset_default as alias source.
9577 * sysdeps/s390/s390-32/multiarch/memset.c: New File.
9578 * sysdeps/s390/s390-32/memset.S (__memset_g5):
9579 Rename to __memset_default.
9580 * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
9581 Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
9582 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
9583 * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
9584 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
9585 (memcmp, bcmp): Use __memcmp_default as alias source.
9586 * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
9587 * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
9588 Rename to __memcmp_default.
9589 * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
9590 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
9591 (memcpy): Use __memcpy_default as alias source.
9592 * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
9593 * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
9594 Rename to __memcpy_default.
9595 * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
9596 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
9597 (memset): Use __memset_default as alias source.
9598 * sysdeps/s390/s390-64/multiarch/memset.c: New File.
9599 * sysdeps/s390/s390-64/memset.S (__memset_z900):
9600 Rename to __memset_default.
9601 * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
9602 * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
9605 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
9606 __ieee_instruction_pointer to __unused.
9607 * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
9608 __ieee_instruction_pointer.
9609 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
9610 * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
9611 * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
9612 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
9613 * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
9614 Mark dxc-field as reserved.
9616 2015-08-25 Roland McGrath <roland@hack.frob.com>
9618 * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
9619 if the weak reference is not null.
9621 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
9623 * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
9626 * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
9628 2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9630 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
9631 * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
9632 * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
9633 * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
9634 * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
9635 * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
9636 * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
9637 * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
9638 * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
9639 * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
9640 * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
9641 * sysdeps/unix/sysv/linux/send.c: Call direct system call.
9642 * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
9643 * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
9644 * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
9645 * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
9646 * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
9647 * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
9649 2015-08-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
9651 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
9652 register other than r0 for tabort, it has special meaning.
9653 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
9654 * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
9655 transaction before starting syscall.
9657 2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9659 * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
9661 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
9663 * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
9665 * sysdeps/x86_64/rtld-memcmp.c: Removed.
9666 * sysdeps/x86_64/rtld-memset.S: Likewise.
9667 * sysdeps/x86_64/rtld-strchr.S: Likewise.
9668 * sysdeps/x86_64/rtld-strlen.S: Likewise.
9669 * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
9670 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
9672 * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
9674 2015-08-25 Ondřej Bílka <neleai@seznam.cz>
9676 * debug/strcpy_chk.c: Improve performance.
9677 * debug/stpcpy_chk.c: Likewise.
9678 * sysdeps/x86_64/strcpy_chk.S: Remove.
9679 * sysdeps/x86_64/stpcpy_chk.S: Remove.
9682 * misc/hsearch_r.c (__hcreate_r): Handle overflow.
9684 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
9687 * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
9689 (modules-names): Add ifuncmod8.
9690 ($(objpfx)ifuncmain8): New rule.
9691 * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
9693 (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
9694 _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
9695 _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
9696 _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
9697 * sysdeps/x86_64/dl-trampoline.S: Rewrite.
9698 * sysdeps/x86_64/dl-trampoline.h: Likewise.
9699 * sysdeps/x86_64/ifuncmain8.c: New file.
9700 * sysdeps/x86_64/ifuncmod8.c: Likewise.
9701 * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
9703 * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
9704 (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
9705 Change rtld_savespace_sse to __glibc_unused2.
9706 (RTLD_CHECK_FOREIGN_CALL): Removed.
9707 (RTLD_ENABLE_FOREIGN_CALL): Likewise.
9708 (RTLD_PREPARE_FOREIGN_CALL): Likewise.
9709 (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
9711 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
9713 * sysdeps/aarch64/bzero.S (__bzero): Remove.
9715 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
9717 * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
9718 Unconditionally set __fpcr to avoid uninialized warning.
9719 (libc_feholdsetround_noex_aarch64_ctx): Likewise.
9721 2015-08-24 Siddhesh Poyarekar <siddhesh@redhat.com>
9723 * malloc/arena.c (arena_get_retry): Don't use main_arena if it
9726 * malloc/arena.c (arena_get2): Drop unused argument.
9727 (arena_lock): Adjust.
9728 (arena_get_retry): Likewise.
9730 2015-08-24 Andreas Schwab <schwab@suse.de>
9732 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
9734 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
9735 (__ASSUME_IPC64): Don't undef.
9736 * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
9737 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
9738 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
9739 * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
9740 * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
9741 * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
9742 * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
9743 * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
9744 * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
9745 * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
9746 * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
9747 * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
9748 * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
9749 * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
9750 * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
9751 * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
9752 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
9753 * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
9754 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
9755 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
9756 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
9758 2015-08-21 Mike Frysinger <vapier@gentoo.org>
9760 * manual/Makefile (install): Only build manual when perl is available.
9762 2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
9764 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
9765 '#undef memcpy' by '#undef memchr'.
9767 2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
9769 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
9770 memchr not point to the internal __GI_memchr implementation.
9772 2015-08-20 Joseph Myers <joseph@codesourcery.com>
9774 * timezone/Makefile (CFLAGS-zdump.c): Remove
9775 -Wno-strict-prototypes.
9776 (CFLAGS-zic.c): Likewise.
9777 (CFLAGS-ialloc.c): Likewise.
9778 (CFLAGS-scheck.c): Likewise.
9780 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
9783 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
9785 * i386/i686/multiarch/strcasestr-c.c: Removed.
9786 * x86_64/multiarch/strcasestr.c: Likewise.
9787 * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
9790 2015-08-20 Joseph Myers <joseph@codesourcery.com>
9792 * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
9794 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
9795 variables for high and low parts before possibly modifying them.
9797 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
9799 * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
9800 * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
9801 * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
9802 of "multiarch/init-arch.h".
9803 * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
9804 * sysdeps/x86/init-arch.h: This.
9806 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
9808 * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
9809 * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
9811 2015-08-20 Ondřej Bílka <neleai@seznam.cz>
9814 * manual/macros.texi: Add twoexp macro.
9815 * manual/filesys.texi: Fix exponents.
9816 * manual/llio.texi: Likewise.
9817 * manual/stdio.texi: Likewise.
9819 2015-08-20 Florian Weimer <fweimer@redhat.com>
9821 * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
9824 2015-08-19 Joseph Myers <joseph@codesourcery.com>
9827 * math/s_csqrt.c (__csqrt): Force underflow exception for results
9828 whose real or imaginary part has small absolute value.
9829 * math/s_csqrtf.c (__csqrtf): Likewise.
9830 * math/s_csqrtl.c (__csqrtl): Likewise.
9831 * math/auto-libm-test-in: Add more tests of csqrt.
9832 * math/auto-libm-test-out: Regenerated.
9833 * sysdeps/i386/fpu/libm-test-ulps: Update.
9835 2015-08-19 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
9837 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
9838 __ppc_set_ppr_very_low): New functions.
9839 * manual/platform.texi: Add documentation about
9840 __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
9842 2015-08-19 Wilco Dijkstra <wdijkstr@arm.com>
9844 * string/stpncpy.c (stpncpy): Improve performance using
9845 __strnlen/memcpy/memset.
9847 2015-08-19 Andrew Senkevich <andrew.senkevich@intel.com>
9850 * scripts/test-installation.pl: Don't add -lmvec to build options if
9851 libmvec wasn't built.
9853 2015-08-19 Petar Jovanovic <petar.jovanovic@rt-rk.com>
9856 * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
9857 case when there is a gap between DT_REL and DT_JMPREL sections.
9858 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
9859 (LDFLAGS-tst-split-dynreloc): New.
9860 (tst-split-dynreloc-ENV): Likewise.
9861 * sysdeps/x86_64/tst-split-dynreloc.c: New file.
9862 * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
9864 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
9867 * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
9869 (__xstat64_conv): Likewise.
9870 (__xstat32_conv): Likewise.
9872 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
9875 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
9876 Don't load %ebx when calling __setcontext. Call __setcontext
9877 with HIDDEN_JUMPTARGET.
9878 * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
9881 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
9883 * sysdeps/i386/i686/Makefile
9884 [$(subdir) == string] (sysdep_routines): Moved to ...
9885 * sysdeps/i386/Makefile: Here.
9886 * sysdeps/i386/i686/cacheinfo.c: Moved to ...
9887 * sysdeps/i386/cacheinfo.c: Here.
9888 * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
9889 * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
9890 * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
9891 * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
9893 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
9895 * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
9896 __i586__ is defined.
9897 (HAS_I686): Defined to 1 if __i686__ is defined.
9899 2015-08-19 Joseph Myers <joseph@codesourcery.com>
9901 * elf/Makefile [$(have-z-execstack) = yes]
9902 (CPPFLAGS-tst-execstack.c): New variable.
9904 * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
9905 conditional to [defined UTMPX || _HAVE_UT_TYPE].
9906 [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
9907 UTMPX || _HAVE_UT_TV].
9908 [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
9909 UTMPX || _HAVE_UT_TV - 0].
9911 2015-08-18 Joseph Myers <joseph@codesourcery.com>
9913 * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
9914 conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
9915 * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
9917 2015-08-18 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
9919 * sysdeps/powerpc/dl-procinfo.c:
9920 (_dl_powerpc_cap_flags): Added missing strings for some
9922 * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
9924 2015-08-18 Paul Eggert <eggert@cs.ucla.edu>
9926 Port the 0x7efe...feff pattern to GCC 6.
9927 See Steve Ellcey's bug report in:
9928 https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
9929 * string/memrchr.c (MEMRCHR):
9930 * string/rawmemchr.c (RAWMEMCHR):
9931 * string/strchr.c (strchr):
9932 * string/strchrnul.c (STRCHRNUL):
9933 Rewrite code to avoid issues with signed shift overflow.
9935 2015-08-18 H.J. Lu <hongjiu.lu@intel.com>
9937 * sysdeps/x86/cpu-features.c (init_cpu_features): Check
9938 whether cpuid is available only if HAS_CPUID is 0.
9939 * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
9940 (HAS_I586): Likewise.
9941 (HAS_I686): Likewise.
9943 2015-08-18 Zack Weinberg <zackw@panix.com>
9945 * misc/Versions (libc): Add GLIBC_2.23.
9947 2015-08-18 Alan Modra <amodra@gmail.com>
9950 * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
9952 (_start): Load %dp via .Lp__global.
9953 [!SHARED]: Use .section .rodata.
9955 2015-08-18 Mike Frysinger <vapier@gentoo.org>
9957 * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
9958 * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
9960 2015-08-18 Mike Frysinger <vapier@gentoo.org>
9962 * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
9963 * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
9965 2015-08-18 Mike Frysinger <vapier@gentoo.org>
9967 * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
9968 * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
9970 2015-08-18 Mike Frysinger <vapier@gentoo.org>
9972 * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
9973 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
9975 2015-08-18 Mike Frysinger <vapier@gentoo.org>
9977 * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
9978 * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
9980 2015-08-18 Mike Frysinger <vapier@gentoo.org>
9982 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
9983 SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
9985 2015-08-18 Mike Frysinger <vapier@gentoo.org>
9987 * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
9989 2015-08-18 Mike Frysinger <vapier@gentoo.org>
9991 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
9992 kernel-features.h include. Delete __ASSUME_LWS_CAS checks.
9993 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
9994 (__ASSUME_LWS_CAS): Delete.
9996 2015-08-18 Mike Frysinger <vapier@gentoo.org>
9998 * sysdeps/hppa/configure.ac: Delete binutils tls checks.
9999 * sysdeps/hppa/configure: Regenerated.
10000 * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
10001 * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
10002 * sysdeps/hppa/nptl/tls.h: Likewise.
10004 2015-08-17 Joseph Myers <joseph@codesourcery.com>
10007 * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
10008 for scaling up small arguments.
10009 * math/s_csqrtf.c (__csqrtf): Likewise.
10010 * math/s_csqrtl.c (__csqrtl): Likewise.
10011 * math/auto-libm-test-in: Add more tests of csqrt.
10012 * math/auto-libm-test-out: Regenerated.
10014 2015-08-17 Andreas Schwab <schwab@suse.de>
10016 * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
10017 version set GLIBC_2.19.
10019 2015-08-16 Zack Weinberg <zackw@panix.com>
10022 * misc/regexp.h: This interface is no longer supported.
10023 Remove all contents, leaving only an #error directive.
10024 * misc/regexp.c (loc1, loc2, locs, step, advance):
10025 Demote to compatibility symbols.
10027 2015-08-15 Paul Pluzhnikov <ppluzhnikov@google.com>
10030 * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
10031 * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
10032 * sysdeps/i386/backtrace.c (__backtrace): Likewise.
10033 * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
10034 * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
10035 * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
10036 * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
10037 * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
10038 * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
10040 2015-08-15 Zack Weinberg <zackw@panix.com>
10043 * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
10044 buffer length is known to be too large, not if it's known to be
10046 * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
10047 overflow at runtime, involving a length parameter, twice: once
10048 with a compile-time constant length parameter, once without.
10050 2015-08-14 Joseph Myers <joseph@codesourcery.com>
10053 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
10054 scaling x * y up instead of down.
10055 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10056 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10057 * math/auto-libm-test-in: Add more tests of fma.
10058 * math/auto-libm-test-out: Regenerated.
10060 2015-08-14 Paul Pluzhnikov <ppluzhnikov@google.com>
10062 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
10064 2015-08-14 Siddhesh Poyarekar <siddhesh@redhat.com>
10066 * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
10068 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
10071 2015-08-13 Joseph Myers <joseph@codesourcery.com>
10073 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
10074 asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
10075 exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
10077 * math/auto-libm-test-out: Regenerated.
10078 * sysdeps/i386/fpu/libm-test-ulps: Update.
10079 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10082 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
10083 (__tanh): Force underflow exception for arguments with small
10085 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
10086 (__tanhf): Force underflow exception for arguments with small
10088 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
10089 (__tanhl): Force underflow exception for arguments with small
10091 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
10092 (__tanhl): Force underflow exception for arguments with small
10094 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
10095 (__tanhl): Force underflow exception for arguments with small
10097 * math/auto-libm-test-in: Add more tests of tanh.
10098 * math/auto-libm-test-out: Regenerated.
10099 * sysdeps/i386/fpu/libm-test-ulps: Update.
10101 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
10103 * sysdeps/x86/cpu-features.c (init_cpu_features): Call
10104 __get_cpuid_max if not compiling for i586, i686 nor x86-64.
10106 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
10108 * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
10111 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
10113 * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
10114 Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
10116 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
10118 * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
10119 Remove $(objpfx)init-arch.o.
10120 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
10122 * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
10123 (INIT_ARCH_EXT): Defined as empty.
10124 (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
10125 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
10126 __init_cpu_features call. Replace HAS_XXX with
10127 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
10128 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
10129 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
10130 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
10131 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
10132 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
10133 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
10134 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
10135 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
10136 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
10137 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
10138 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
10139 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
10140 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
10141 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
10142 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
10143 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
10144 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
10145 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
10146 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
10147 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
10148 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
10149 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
10150 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
10151 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
10152 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
10153 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
10154 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
10155 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
10156 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
10157 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
10158 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
10159 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
10160 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
10161 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
10162 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
10164 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
10166 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
10167 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
10168 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
10169 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
10170 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
10171 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
10172 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
10173 * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
10174 * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
10175 * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
10176 call. Merge SHARED and !SHARED. Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
10177 Use LOAD_FUNC_GOT_EAX to load function address. Replace HAS_XXX
10178 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
10179 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
10180 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
10181 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
10182 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
10183 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
10184 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
10185 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
10186 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
10187 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
10188 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
10189 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
10190 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
10191 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
10192 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
10193 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
10194 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
10195 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
10196 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
10197 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
10198 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
10199 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10200 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
10201 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
10202 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
10203 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
10204 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
10205 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
10206 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
10207 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
10208 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
10210 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
10212 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
10213 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
10214 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
10215 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
10216 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
10217 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
10218 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
10219 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
10220 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
10221 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
10222 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
10223 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
10224 LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
10225 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
10226 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
10227 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
10228 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
10229 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
10230 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
10231 * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
10232 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
10233 * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
10234 * sysdeps/x86_64/multiarch/strstr.c: Likewise.
10235 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
10236 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
10237 * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
10238 * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
10239 call. Add LOAD_RTLD_GLOBAL_RO_RDX. Replace HAS_XXX with
10240 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
10241 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
10242 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
10243 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
10244 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
10245 * sysdeps/x86_64/multiarch/memset.S: Likewise.
10246 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10247 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
10248 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
10249 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
10250 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
10251 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
10252 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
10253 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
10254 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
10256 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
10258 * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
10259 (dl_platform_init): Call init_cpu_features.
10260 * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
10261 * sysdeps/i386/i686/cacheinfo.c
10262 (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
10263 * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
10264 * sysdeps/i386/i686/multiarch/Versions: Removed.
10265 * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
10267 * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
10268 * sysdeps/unix/sysv/linux/x86/Makefile
10269 (libpthread-sysdep_routines): Remove init-arch.
10270 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
10271 <sysdeps/x86_64/dl-procinfo.c> instead of
10272 sysdeps/generic/dl-procinfo.c>.
10273 * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
10274 Add cpu-features-offsets.sym and rtld-global-offsets.sym.
10275 [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
10276 [$(subdir) == elf] (tests): Add tst-get-cpu-features.
10277 [$(subdir) == elf] (tests-static): Add
10278 tst-get-cpu-features-static.
10279 * sysdeps/x86/Versions: New file.
10280 * sysdeps/x86/cpu-features-offsets.sym: Likewise.
10281 * sysdeps/x86/cpu-features.c: Likewise.
10282 * sysdeps/x86/cpu-features.h: Likewise.
10283 * sysdeps/x86/dl-get-cpu-features.c: Likewise.
10284 * sysdeps/x86/libc-start.c: Likewise.
10285 * sysdeps/x86/rtld-global-offsets.sym: Likewise.
10286 * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
10287 * sysdeps/x86/tst-get-cpu-features.c: Likewise.
10288 * sysdeps/x86_64/dl-procinfo.c: Likewise.
10289 * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
10290 Assume USE_MULTIARCH is defined and don't check it.
10291 (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
10292 (is_amd): Likewise.
10293 (max_cpuid): Likewise.
10294 (intel_check_word): Likewise.
10295 (__cache_sysconf): Don't call __init_cpu_features.
10296 (__x86_preferred_memory_instruction): Removed.
10297 (init_cacheinfo): Don't call __init_cpu_features. Replace
10298 __cpu_features with GLRO(dl_x86_cpu_features).
10299 * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
10300 (dl_platform_init): Call init_cpu_features.
10301 * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
10302 * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
10303 * sysdeps/x86_64/multiarch/Versions: Removed.
10304 * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
10305 * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
10306 * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
10308 * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
10310 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
10313 * libio/Makefile (test-fmemopen-mem): New test.
10314 * libio/test-fmemopen.c (do_bz18820): New test.
10315 * libio/fmemopen.c (__fmemopen): Fix memory leak.
10316 * libio/oldfmemopen.c (__old_fmemopen): Likewise.
10318 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
10321 * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
10322 (FREE_BUF): Delete.
10323 * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
10324 * libio/genops.c (_IO_setb): Use malloc and free directly.
10325 (_IO_default_doallocate, _IO_default_finish): Likewise.
10326 ( _IO_unbuffer_all): Likewise.
10327 ( libc_freeres_fn): Likewise.
10328 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
10329 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
10330 * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
10331 (_IO_wdefault_doallocate): Likewise.
10333 2015-08-11 Paul Pluzhnikov <ppluzhnikov@google.com>
10336 * sysdeps/posix/nice.c (nice): Restore old errno.
10337 * posix/tst-nice.c (do_test): Add test for BZ #18086.
10339 2015-08-10 Ondrej Bilka <neleai@seznam.cz>
10341 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
10343 2015-08-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10345 * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
10346 __bcopy and add a weak_alias to bcopy.
10347 * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
10350 * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
10351 cleanup macro usage.
10352 * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
10353 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
10354 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
10355 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
10356 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
10357 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
10358 * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
10359 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
10360 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
10361 * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
10362 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
10363 [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
10364 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
10365 [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
10366 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
10367 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
10368 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
10369 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
10370 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
10372 * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
10374 (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
10376 * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
10377 (sysdep_routines): Add strstr-ppc64.
10378 * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
10380 2015-08-10 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
10383 * elf/Makefile (tests): Add Add tst-nodelete2.
10384 (modules-names): Add tst-nodelete2mod.
10385 (tst-nodelete2mod.so-no-z-defs): New.
10386 ($(objpfx)tst-nodelete2): Likewise.
10387 ($(objpfx)tst-nodelete2.out): Likewise.
10388 (LDFLAGS-tst-nodelete2): Likewise.
10389 * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
10390 out of loop through all loaded libraries.
10391 * elf/tst-nodelete2.c: New file.
10392 * elf/tst-nodelete2mod.c: Likewise.
10393 * elf/tst-znodelete-zlib.cc: Delete.
10395 2015-08-11 Andreas Schwab <schwab@suse.de>
10397 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
10398 * sysdeps/unix/sysv/linux/wordsize-64/openat.c
10399 (__openat64_nocancel): Likewise.
10401 2015-08-11 Joseph Myers <joseph@codesourcery.com>
10403 * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
10404 atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
10405 expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
10406 * math/auto-libm-test-out: Regenerated.
10407 * sysdeps/i386/fpu/libm-test-ulps: Update.
10408 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10410 2015-08-10 Joseph Myers <joseph@codesourcery.com>
10413 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
10414 threshold for returning +/- 1.
10415 * math/auto-libm-test-in: Add more tests of tanh.
10416 * math/auto-libm-test-out: Regenerated.
10417 * sysdeps/i386/fpu/libm-test-ulps: Update.
10419 2015-08-10 Andreas Schwab <schwab@suse.de>
10422 * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
10423 MORE_OFLAGS to oflag.
10424 * io/test-lfs.c (do_test): Test openat64.
10426 2015-08-10 Joseph Myers <joseph@codesourcery.com>
10429 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
10430 smaller threshold for returning the argument.
10431 * math/auto-libm-test-in: Add more tests of sinh.
10432 * math/auto-libm-test-out: Regenerated.
10433 * sysdeps/i386/fpu/libm-test-ulps: Update.
10435 2015-08-09 H.J. Lu <hongjiu.lu@intel.com>
10438 * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
10441 2015-08-09 Andreas Schwab <schwab@linux-m68k.org>
10443 * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
10444 (generated): Don't add $(addprefix z.,$(tzfiles)).
10446 2015-08-09 Mike Frysinger <vapier@gentoo.org>
10448 * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
10449 * scripts/sysd-rules.awk: Likewise.
10451 2015-08-09 Mike Frysinger <vapier@gentoo.org>
10453 * iconvdata/tst-tables.sh: Change echo -n to printf.
10454 * nss/db-Makefile: Likewise.
10455 * posix/tst-getconf.sh: Likewise.
10456 * stdio-common/tst-unbputc.sh: Likewise.
10458 2015-08-09 Mike Frysinger <vapier@gentoo.org>
10460 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
10461 MADV_*_PAGES defines behind this feature check.
10463 2015-08-09 John David Anglin <danglin@gcc.gnu.org>
10466 * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
10467 LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
10469 (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
10470 LOAD_REGS_5, LOAD_REGS_6): Update.
10471 (INTERNAL_SYSCALL): Update using new LOAD defines.
10472 (INTERNAL_SYSCALL_NCS): Likewise.
10473 * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
10475 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
10478 * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
10480 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
10483 * catgets/Makefile (tst-catgets-mem): New test.
10484 * catgets/catgets.c (catopen): Don't use unbounded alloca.
10485 * catgets/open_catalog.c (__open_catalog): Likewise.
10486 * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
10488 2015-08-08 John David Anglin <danglin@gcc.gnu.org>
10491 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
10493 (atomic_compare_and_exchange_val_acq): Use register asms to assign
10494 operand registers. Use register %r20 for EAGAIN and EDEADLOCK checks.
10495 Cast return to __typeof (oldval).
10497 2015-08-08 Mike Frysinger <vapier@gentoo.org>
10499 * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
10500 in _LINUX_MICROBLAZE_SYSDEP_H defines. Include sysdeps/unix/sysdep.h
10501 and delete sys/syscall.h include.
10503 2015-08-07 Joseph Myers <joseph@codesourcery.com>
10506 * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
10507 (tan): Force underflow exception for arguments with small absolute
10509 * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
10510 (__kernel_tanf): Force underflow exception for arguments with
10511 small absolute value.
10512 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
10513 (__kernel_tanl): Force underflow exception for arguments with
10514 small absolute value.
10515 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
10516 (__kernel_tanl): Force underflow exception for arguments with
10517 small absolute value.
10518 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
10519 (__kernel_tanl): Force underflow exception for arguments with
10520 small absolute value.
10521 * math/auto-libm-test-in: Add more tests of tan.
10522 * math/auto-libm-test-out: Regenerated.
10524 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
10526 Fix sysdeps/i386/fpu/s_scalbn.S build
10528 * math/Versions (libc: GLIBC_2_22): New (empty) version set.
10530 2015-08-07 Mike Frysinger <vapier@gentoo.org>
10532 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
10534 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
10536 Fix gcrt0.o compilation
10538 When static-start-installed-name is different from
10539 start-installed-name, we must not use the shared objects.
10542 (extra-objs): Add gmon-start.o when building shared library and
10543 $(static-start-installed-name) is different from
10544 $(start-installed-name).
10545 $(objpfx)g$(static-start-installed-name): When building shared
10546 library and $(static-start-installed-name) is different from
10547 $(static-start-installed-name), revert to non-shared rule,
10548 i.e. using $(objpfx)% and gmon-start.o.
10550 2015-08-06 Joseph Myers <joseph@codesourcery.com>
10553 * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
10554 (__ieee754_sinh): Force underflow exception for arguments with
10555 small absolute value.
10556 * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
10557 (__ieee754_sinhf): Force underflow exception for arguments with
10558 small absolute value.
10559 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
10560 (__ieee754_sinhl): Force underflow exception for arguments with
10561 small absolute value.
10562 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
10563 (__ieee754_sinhl): Force underflow exception for arguments with
10564 small absolute value.
10565 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
10566 (__ieee754_sinhl): Force underflow exception for arguments with
10567 small absolute value.
10568 * math/auto-libm-test-in: Add more tests of sinh.
10569 * math/auto-libm-test-out: Regenerated.
10570 * sysdeps/i386/fpu/libm-test-ulps: Update.
10572 2015-08-06 Paul Pluzhnikov <ppluzhnikov@google.com>
10574 * libio/oldfileops.c: Include unistd.h.
10576 2015-08-06 Mike Frysinger <vapier@gentoo.org>
10578 * stdlib/isomac.c: Include ctype.h.
10580 2015-08-06 Arjun Shankar <arjun.is@lostca.se>
10582 * dirent/tst-seekdir.c (main): Converted to ...
10583 (do_test): ... this.
10584 (TEST_FUNCTION): New macro.
10585 Include test-skeleton.c.
10586 * elf/tst-dlmodcount.c (main): Converted to ...
10587 (do_test): ... this.
10588 (TEST_FUNCTION): New macro.
10589 Include test-skeleton.c.
10590 * elf/tst-order-main.c (main): Converted to ...
10591 (do_test): ... this.
10592 (TEST_FUNCTION): New macro.
10593 Include test-skeleton.c.
10594 * elf/tst-pie2.c (main): Converted to ...
10595 (do_test): ... this.
10596 (TEST_FUNCTION): New macro.
10597 Include test-skeleton.c.
10598 * inet/tst-ether_aton.c (main): Converted to ...
10599 (do_test): ... this.
10600 (TEST_FUNCTION): New macro.
10601 Include test-skeleton.c.
10602 * misc/tst-mntent.c (main): Converted to ...
10603 (do_test): ... this.
10604 (TEST_FUNCTION): New macro.
10605 Include test-skeleton.c.
10606 * misc/tst-tsearch.c (main): Converted to ...
10607 (do_test): ... this.
10608 (TEST_FUNCTION): New macro.
10609 Include test-skeleton.c.
10610 * posix/tst-regexloc.c (main): Converted to ...
10611 (do_test): ... this.
10612 (TEST_FUNCTION): New macro.
10613 Include test-skeleton.c.
10614 * resolv/tst-aton.c (main): Converted to ...
10615 (do_test): ... this.
10616 (TEST_FUNCTION): New macro.
10617 Include test-skeleton.c.
10618 * stdio-common/test-fwrite.c (main): Converted to ...
10619 (do_test): ... this.
10620 (TEST_FUNCTION): New macro.
10621 Include test-skeleton.c.
10622 * stdio-common/tst-ferror.c (main): Converted to ...
10623 (do_test): ... this.
10624 (TEST_FUNCTION): New macro.
10625 Include test-skeleton.c.
10626 * stdio-common/tst-printf.c (main): Converted to ...
10627 (do_test): ... this.
10628 (TEST_FUNCTION): New macro.
10629 Include test-skeleton.c.
10630 * stdio-common/tst-printfsz.c (main): Converted to ...
10631 (do_test): ... this.
10632 (TEST_FUNCTION): New macro.
10633 Include test-skeleton.c.
10634 * stdlib/tst-strtod.c (main): Converted to ...
10635 (do_test): ... this.
10636 (TEST_FUNCTION): New macro.
10637 Include test-skeleton.c.
10638 * string/tst-strlen.c (main): Converted to ...
10639 (do_test): ... this.
10640 (TEST_FUNCTION): New macro.
10641 Include test-skeleton.c.
10642 * string/tst-svc.c (main): Converted to ...
10643 (do_test): ... this.
10644 (TEST_FUNCTION): New macro.
10645 Include test-skeleton.c.
10646 * time/tst-strptime.c (main): Converted to ...
10647 (do_test): ... this.
10648 (TEST_FUNCTION): New macro.
10649 Include test-skeleton.c.
10650 * timezone/tst-timezone.c (main): Converted to ...
10651 (do_test): ... this.
10652 (TEST_FUNCTION): New macro.
10653 Include test-skeleton.c.
10655 2015-08-05 Zack Weinberg <zackw@panix.com>
10657 * misc/regexp.h: Update comments.
10659 2015-08-05 Andreas Schwab <schwab@linux-m68k.org>
10662 * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
10663 before return label.
10665 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
10668 * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
10669 when calling __errno_location.
10670 * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
10671 * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
10673 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
10676 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
10677 (__lll_timedwait_tid): Align stack to 16 bytes when calling
10680 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
10683 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
10684 (__start_context): Don't use pop to restore %rdi so that stack
10685 is aligned to 16 bytes when calling __setcontext.
10687 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
10689 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
10691 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
10693 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
10695 * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
10696 (__mempcpy): Likewise. (__mempcpy_inline): New inline function.
10697 * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
10699 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
10701 * string/memccpy.c (memccpy):
10702 Improve performance by using memchr/memcpy/__mempcpy.
10704 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
10706 * string/strncpy.c (strncpy):
10707 Improve performance by using __strnlen/memcpy.
10709 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
10711 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
10712 Optimize to avoid an unnecessary FPCR read.
10714 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
10716 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
10717 Optimize to reduce FPCR/FPSR accesses.
10719 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
10721 * locale/loadarchive.c (_nl_archive_subfreeres): Also check
10722 dead->data[category] != NULL.
10724 2015-08-05 Joseph Myers <joseph@codesourcery.com>
10727 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
10728 and |x| close to 1, use absolute value of x when computing log.
10729 * math/auto-libm-test-in: Add more tests of pow.
10730 * math/auto-libm-test-out: Regenerated.
10732 2015-08-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10734 * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
10735 * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
10736 * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
10738 2015-08-05 Marko Myllynen <myllynen@redhat.com>
10741 * locales/km_KH: Remove timezone definition.
10742 * locales/lo_LA: Likewise.
10743 * locales/my_MM: Likewise.
10744 * locales/nan_TW@latin: Likewise.
10745 * locales/th_TH: Likewise.
10746 * locales/uk_UA: Likewise.
10748 2015-08-05 Daniel Marjamäki <daniel.marjamaki@evidente.se>
10751 * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
10752 (wcsncat): Likewise.
10753 (wcscmp): Likewise.
10754 (wcsncmp): Likewise.
10756 2015-08-05 Mike Frysinger <vapier@gentoo.org>
10758 * test-skeleton.c (usage): New function.
10759 (main): Call usage when opt is '?'.
10761 2015-08-05 Mike Frysinger <vapier@gentoo.org>
10763 * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
10766 2015-08-05 Mike Frysinger <vapier@gentoo.org>
10768 * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
10769 bottom and under _STACK_GROWS_DOWN. Move the stacktop assignment
10772 2015-08-05 Carlos O'Donell <carlos@systemhalted.org>
10774 * version.h (RELEASE): Set to "development".
10775 (VERSION): Set to "2.22.90"
10777 * version.h (RELEASE): Set to "stable".
10778 (VERSION): Set to "2.22"
10779 * include/features.h (__GLIBC_MINOR__): Set to 22.
10781 2015-08-04 Chris Metcalf <cmetcalf@ezchip.com>
10783 * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
10784 Restructure macro to avoid "value computed is not used" warning.
10785 (atomic_compare_and_exchange_val_acq): Likewise.
10787 2015-08-04 Andreas Schwab <schwab@suse.de>
10790 * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
10792 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
10794 2015-08-01 Carlos O'Donell <carlos@redhat.com>
10796 * po/pl.po: Updated translation.
10797 * po/uk.po: Likewise.
10798 * po/fi.po: Likewise.
10799 * po/ko.po: Likewise.
10800 * po/ru.po: Likewise.
10801 * po/vi.po: Likewise.
10803 2015-07-31 Zack Weinberg <zackw@panix.com>
10806 * regexp.h: Add unconditional #warning stating that this header
10807 will be removed soon. Revise banner comment to match.
10808 (compile): Consistently use ERROR instead of RETURN to report
10809 errors (partial fix for bz#18681).
10810 * regexp.c: Don't include regexp.h. Remove some unnecessary
10813 2015-07-31 Carlos O'Donell <carlos@redhat.com>
10815 * po/libc.pot: Regenerated.
10817 2015-07-30 Andrew Senkevich <andrew.senkevich@intel.com>
10820 * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
10821 float-vlen4-arch-ext-cflags): Removed.
10822 * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
10823 CFLAGS-test-float-vlen4-wrappers.c): Likewise.
10825 2015-07-30 Mike Frysinger <vapier@gentoo.org>
10828 * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
10829 aligned to __aligned__.
10830 (pthread_cond_t, pthread_rwlock_t): Likewise.
10832 2015-07-30 Torvald Riegel <triegel@redhat.com>
10834 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
10836 2015-07-30 Mike Frysinger <vapier@gentoo.org>
10838 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
10839 (struct sigaction): Change sa_flags from a long to an int, and add
10840 __glibc_reserved0 before it for padding when __WORDSIZE is 64.
10842 2015-07-30 Mike Frysinger <vapier@gentoo.org>
10844 * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
10845 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
10846 sysdeps/generic/sysdep.h include.
10847 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
10848 _LINUX_HPPA_SYSDEP_H defines. Include sysdeps/unix/sysdep.h and
10849 sysdeps/hppa/sysdep.h.
10850 (ENTRY, PSEUDO): Undefine before defining.
10852 2015-07-30 Mike Frysinger <vapier@gentoo.org>
10854 * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
10855 from scratch to use INTERNAL_SYSCALL.
10857 2015-07-29 H.J. Lu <hongjiu.lu@intel.com>
10860 * scripts/check-localplt.awk: Support alternate relocations.
10861 * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
10863 * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
10864 malloc entries with + REL R_386_GLOB_DAT.
10865 * sysdeps/x86_64/localplt.data: New file.
10867 2015-07-29 Andrew Senkevich <andrew.senkevich@intel.com>
10870 * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
10871 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
10872 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
10874 2015-07-27 Mike Frysinger <vapier@gentoo.org>
10876 * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
10878 2015-07-27 Mike Frysinger <vapier@gentoo.org>
10880 * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
10881 directly in terms of __sync_fetch_and_add and delete (int) cast.
10883 2015-07-27 Mike Frysinger <vapier@gentoo.org>
10885 * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
10886 the -D_ASM_IA64_CURRENT_H flag.
10888 2015-07-27 Mike Frysinger <vapier@gentoo.org>
10891 * pwd/pwd.h (putpwent): Delete __nonnull markings.
10893 2015-07-27 Andreas Schwab <schwab@suse.de>
10895 * conform/conformtest.pl (checknamespace): Filter out string
10896 literals while tokenizing.
10898 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
10900 * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
10901 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
10902 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
10904 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
10906 * nptl/tst-join7mod.c: Add #include <string.h>.
10908 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
10910 * sysdeps/nios2/libm-test-ulps: Update.
10912 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
10914 * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
10915 Fix order of arguments to the rt_sigprocmask syscall.
10916 * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
10919 2015-07-24 Roland McGrath <roland@hack.frob.com>
10921 * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
10923 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10926 * nptl/Makefile (tests): New test case tst-join7.
10927 (modules-names): New test case module tst-join7mod.
10928 * nptl/tst-join7.c: New file.
10929 * nptl/tst-join7mod.c: New file.
10930 * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
10931 all translation units in libc.so, libpthread.so and rtld.
10933 2015-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10935 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10937 2015-07-24 Andrew Senkevich <andrew.senkevich@intel.com>
10939 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
10940 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
10941 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
10942 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
10943 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
10944 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
10945 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
10946 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
10947 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
10948 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
10949 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
10950 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
10951 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
10952 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
10953 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
10956 2015-07-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
10959 * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
10960 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
10961 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
10962 * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
10963 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
10964 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
10966 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10968 * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
10969 instead of just saying load lock in the comments.
10971 2015-07-23 Roland McGrath <roland@hack.frob.com>
10973 * sysdeps/unix/Subdirs: Moved ...
10974 * sysdeps/posix/Subdirs: ... here.
10975 * login/pty.h (struct termios, struct winsize): Add forward decls.
10976 * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
10977 * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
10978 * sysdeps/arm/nacl/libc.abilist: Updated.
10979 * sysdeps/nacl/libutil.abilist: New file.
10981 * bits/signum.h: Update comments to mention 1003.1-2013 too.
10982 (SIGWINCH): New macro.
10984 * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
10985 * sysdeps/arm/nacl/libc.abilist: Add it.
10987 2015-07-23 Mike Frysinger <vapier@gentoo.org>
10989 * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
10991 2015-07-23 Mike Frysinger <vapier@gentoo.org>
10993 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
10994 Swap __glibc_reserved0 and sa_flags order.
10996 2015-07-23 Siddhesh Poyarekar <siddhesh@redhat.com>
10999 * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
11000 are pending TLS destructor calls.
11001 * include/link.h (struct link_map): Add concurrency note for
11003 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
11004 Don't touch the link map flag. Atomically increment
11006 (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
11007 Avoid taking the load lock and don't touch the link map flag.
11008 * stdlib/tst-tls-atexit-nodelete.c: New test case.
11009 * stdlib/Makefile (tests): Use it.
11010 * stdlib/tst-tls-atexit.c (do_test): dlopen
11011 tst-tls-atexit-lib.so again before dlclose. Add conditionals
11012 to allow tst-tls-atexit-nodelete test case to use it.
11014 2015-07-22 Mike Frysinger <vapier@gentoo.org>
11016 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
11018 (msgqnum_t): New typedef.
11019 (msglen_t): Likewise.
11020 (struct msqid_ds): Update comment. Change msg_qnum type to msgqnum_t
11021 and msg_qbytes type to msglen_t.
11023 2015-07-22 Mike Frysinger <vapier@gentoo.org>
11025 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
11026 pad0 to __glibc_reserved0.
11027 (struct stat64): Likewise.
11029 2015-07-22 Mike Frysinger <vapier@gentoo.org>
11031 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
11032 Change sa_flags from a long to an int and add __glibc_reserved0 before
11035 2015-07-22 Mike Frysinger <vapier@gentoo.org>
11037 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
11038 anonymous by deleting "siginfo" name.
11040 2015-07-21 Roland McGrath <roland@hack.frob.com>
11042 * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
11043 * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
11044 rather than __nacl_irt_filename.
11045 * sysdeps/nacl/xstat.c (__xstat): Likewise.
11047 * NEWS: New item for arm-nacl port.
11048 * sysdeps/arm/nacl/libc.abilist: New file.
11049 * sysdeps/nacl/ld.abilist: New file.
11050 * sysdeps/nacl/libBrokenLocale.abilist: New file.
11051 * sysdeps/nacl/libanl.abilist: New file.
11052 * sysdeps/nacl/libcrypt.abilist: New file.
11053 * sysdeps/nacl/libdl.abilist: New file.
11054 * sysdeps/nacl/libm.abilist: New file.
11055 * sysdeps/nacl/libpthread.abilist: New file.
11056 * sysdeps/nacl/libresolv.abilist: New file.
11057 * sysdeps/nacl/librt.abilist: New file.
11059 2015-07-21 Chris Metcalf <cmetcalf@ezchip.com>
11061 * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
11062 __startcontext to initialize the new context.
11063 * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
11064 up CFI directive to forbid further backtracing.
11066 2015-07-21 Marko Myllynen <myllynen@redhat.com>
11068 * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
11070 * charmaps/ANSI_X3.4-1968: Likewise.
11071 * charmaps/BS_4730: Likewise.
11072 * charmaps/BS_VIEWDATA: Likewise.
11073 * charmaps/CP1250: Likewise.
11074 * charmaps/CP1251: Likewise.
11075 * charmaps/CP1252: Likewise.
11076 * charmaps/CP1253: Likewise.
11077 * charmaps/CP1254: Likewise.
11078 * charmaps/CP1255: Likewise.
11079 * charmaps/CP1256: Likewise.
11080 * charmaps/CSN_369103: Likewise.
11081 * charmaps/EBCDIC-DK-NO: Likewise.
11082 * charmaps/GB_1988-80: Likewise.
11083 * charmaps/GREEK-CCITT: Likewise.
11084 * charmaps/GREEK7: Likewise.
11085 * charmaps/INIS-8: Likewise.
11086 * charmaps/ISIRI-3342: Likewise.
11087 * charmaps/ISO_2033-1983: Likewise.
11088 * charmaps/ISO_5427-EXT: Likewise.
11089 * locales/POSIX: Likewise.
11090 * locales/ar_SA: Likewise.
11091 * locales/be_BY: Likewise.
11092 * locales/be_BY@latin: Likewise.
11093 * locales/ca_ES: Likewise.
11094 * locales/cs_CZ: Likewise.
11095 * locales/da_DK: Likewise.
11096 * locales/de_BE: Likewise.
11097 * locales/de_CH: Likewise.
11098 * locales/de_LU: Likewise.
11099 * locales/en_AU: Likewise.
11100 * locales/en_BW: Likewise.
11101 * locales/en_CA: Likewise.
11102 * locales/en_DK: Likewise.
11103 * locales/en_GB: Likewise.
11104 * locales/en_IE: Likewise.
11105 * locales/en_NZ: Likewise.
11106 * locales/en_ZA: Likewise.
11107 * locales/en_ZW: Likewise.
11108 * locales/es_AR: Likewise.
11109 * locales/es_BO: Likewise.
11110 * locales/es_CL: Likewise.
11111 * locales/es_CO: Likewise.
11112 * locales/es_DO: Likewise.
11113 * locales/es_EC: Likewise.
11114 * locales/es_ES: Likewise.
11115 * locales/es_HN: Likewise.
11116 * locales/es_MX: Likewise.
11117 * locales/es_PA: Likewise.
11118 * locales/es_PE: Likewise.
11119 * locales/es_PY: Likewise.
11120 * locales/es_SV: Likewise.
11121 * locales/es_US: Likewise.
11122 * locales/es_UY: Likewise.
11123 * locales/es_VE: Likewise.
11124 * locales/et_EE: Likewise.
11125 * locales/fa_IR: Likewise.
11126 * locales/fo_FO: Likewise.
11127 * locales/fr_CA: Likewise.
11128 * locales/fr_CH: Likewise.
11129 * locales/gv_GB: Likewise.
11130 * locales/he_IL: Likewise.
11131 * locales/hr_HR: Likewise.
11132 * locales/id_ID: Likewise.
11133 * locales/is_IS: Likewise.
11134 * locales/it_CH: Likewise.
11135 * locales/iw_IL: Likewise.
11136 * locales/kl_GL: Likewise.
11137 * locales/ko_KR: Likewise.
11138 * locales/kw_GB: Likewise.
11139 * locales/lg_UG: Likewise.
11140 * locales/lt_LT: Likewise.
11141 * locales/lv_LV: Likewise.
11142 * locales/mi_NZ: Likewise.
11143 * locales/nhn_MX: Likewise.
11144 * locales/nl_BE: Likewise.
11145 * locales/pl_PL: Likewise.
11146 * locales/sk_SK: Likewise.
11147 * locales/sl_SI: Likewise.
11148 * locales/sv_FI: Likewise.
11149 * locales/tl_PH: Likewise.
11150 * locales/tr_TR: Likewise.
11151 * locales/vi_VN: Likewise.
11153 2015-07-21 Khem Raj <raj.khem@gmail.com>
11156 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
11157 of tu_IN and bh_IN.
11159 2015-07-21 Mike Frysinger <vapier@gentoo.org>
11162 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
11164 (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
11166 2015-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11168 * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
11169 * stdlib/tst-tls-atexit.c: (is_loaded): New function.
11170 (spawn_thread): New function.
11171 (load): Rename to reg_dtor_and_close. Move dlopen to...
11172 (do_test): ... here. Use IS_LOADED to test for its
11175 2015-07-21 Andreas Schwab <schwab@linux-m68k.org>
11177 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
11179 2015-07-20 H.J. Lu <hongjiu.lu@intel.com>
11182 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
11185 (si_upper): Likewise.
11187 2015-07-16 David S. Miller <davem@davemloft.net>
11189 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
11191 2015-07-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11193 * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
11195 * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
11196 fail output information.
11198 2015-07-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11200 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
11202 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
11203 * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
11204 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
11205 * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
11206 * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
11208 2015-07-16 Mike Frysinger <vapier@gentoo.org>
11210 * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
11211 * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
11212 * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
11213 * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
11215 2015-07-16 Mike Frysinger <vapier@gentoo.org>
11217 * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
11218 * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
11220 * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
11222 2015-07-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11224 * tst-nodelete-opened.c (do_test): Add comment to clarify how
11227 * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
11230 * elf/tst-nodelete-opened.c: New test case.
11231 * elf/tst-nodelete-opened-lib.c: New test case module.
11232 * elf/Makefile (tests, modules-names): Use them.
11233 * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
11236 2015-07-15 David S. Miller <davem@davemloft.net>
11238 * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
11240 * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
11241 * sysdeps/sparc/sparc64/Makefile: Likewise.
11242 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
11243 Remove space from macro define.
11244 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
11246 2015-07-15 Pravin Satpute <psatpute@redhat.com>
11249 * locale/iso-639.def: Update Bhili and Tulu language codes as
11252 2015-07-15 Arjun Shankar <arjun.is@lostca.se>
11254 * elf/tst-leaks1.c (main): Converted to ...
11255 (do_test): ... this.
11256 (TEST_FUNCTION): New macro.
11257 Include test-skeleton.c.
11258 * localedata/tst-langinfo.c (main): Converted to ...
11259 (do_test): ... this.
11260 (TEST_FUNCTION): New macro.
11261 Include test-skeleton.c.
11262 * math/test-fpucw.c (main): Converted to ...
11263 (do_test): ... this.
11264 (TEST_FUNCTION): New macro.
11265 Include test-skeleton.c.
11266 * math/test-tgmath.c (main): Converted to ...
11267 (do_test): ... this.
11268 (TEST_FUNCTION): New macro.
11269 Include test-skeleton.c.
11270 * math/test-tgmath2.c (main): Converted to ...
11271 (do_test): ... this.
11272 (TEST_FUNCTION): New macro.
11273 Include test-skeleton.c.
11274 * setjmp/tst-setjmp.c (main): Converted to ...
11275 (do_test): ... this.
11276 (TEST_FUNCTION): New macro.
11277 Include test-skeleton.c.
11278 * stdio-common/tst-sscanf.c (main): Converted to ...
11279 (do_test): ... this.
11280 (TEST_FUNCTION): New macro.
11281 Include test-skeleton.c.
11282 * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
11283 (do_test): ... this.
11284 (TEST_FUNCTION): New macro.
11285 Include test-skeleton.c.
11287 * elf/tst-audit9.c (main): Converted to ...
11288 (do_test): ... this.
11289 (TEST_FUNCTION): New macro.
11290 Include test-skeleton.c.
11292 2015-07-15 Mike Frysinger <vapier@gentoo.org>
11294 * timezone/tst-tzset.c (TIMEOUT): Define to 5.
11296 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
11298 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
11301 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
11303 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
11305 2015-07-14 Roland McGrath <roland@hack.frob.com>
11307 * sysdeps/generic/dl-fileid.h: New file.
11308 * sysdeps/posix/dl-fileid.h: New file.
11309 * sysdeps/nacl/dl-fileid.h: New file.
11310 * include/link.h: Include <dl-fileid.h>.
11311 (struct link_map): Replace l_dev and l_ino with l_file_id.
11312 * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
11313 than __fxstat64. Use _dl_file_id_match_p rather than comparing l_dev
11314 and l_ino directly. Initialize l_file_id rather than l_dev and l_ino.
11316 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
11318 * stdlib/tst-tls-atexit.c (do_test): Fix typo.
11320 2015-07-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11322 * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
11323 Add iff $CXX is set.
11324 [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
11326 (tst-nodelete-zmodiff): Likewise.
11327 * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
11329 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
11331 * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
11333 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
11335 * sysdeps/aarch64/fpu/math_private.h
11336 (define math_opt_barrier): Add AArch64 version.
11337 (math_force_eval): Likewise.
11339 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
11341 * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
11343 2015-07-11 H.J. Lu <hongjiu.lu@intel.com>
11345 * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
11346 %ld with %jd and cast to intmax_t.
11347 (do_test_length_zero): Likewise.
11349 2015-07-10 Roland McGrath <roland@hack.frob.com>
11351 * sysdeps/nacl/pthread_condattr_setclock.c: New file.
11353 2015-07-10 Chris Metcalf <cmetcalf@ezchip.com>
11355 * sysdeps/tile/libm-test-ulps: Regenerated.
11357 * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
11358 Comment out the whole function, not just its body.
11360 2015-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11362 * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
11365 * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
11367 2015-07-10 Torvald Riegel <triegel@redhat.com>
11369 * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
11370 (sem_assume_only_signals_cause_futex_EINTR): Remove.
11372 2015-07-10 Torvald Riegel <triegel@redhat.com>
11374 * sysdeps/nptl/futex-internal.h: New file.
11375 * sysdeps/nacl/futex-internal.h: New file.
11376 * sysdeps/unix/sysv/linux/futex-internal.h: New file.
11377 * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
11379 (setxid_unmark_thread): Likewise.
11380 (__nptl_setxid): Likewise.
11381 (__wait_lookup_done): Likewise.
11382 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
11383 * nptl/nptl-init.c (sighandler_setxid): Likewise.
11384 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
11385 * nptl/pthread_once.c (clear_once_control): Likewise.
11386 (__pthread_once_slow): Likewise.
11387 * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
11388 * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
11389 * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
11390 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
11391 * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
11392 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
11394 (__pthread_rwlock_rdlock): Likewise.
11395 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
11397 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
11399 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
11401 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
11402 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
11404 * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
11405 __ASSUME_PRIVATE_FUTEX check.
11406 * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
11407 Check that shared futexes are supported.
11408 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
11409 wrappers with error checking.
11410 * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
11411 remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
11412 * nptl/pthread_barrierattr_setpshared.c
11413 (pthread_barrierattr_setpshared): Check that shared futexes are
11415 * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
11417 * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
11419 * nptl/sem_init.c (futex_private_if_supported): Remove.
11420 (__new_sem_init): Adapt and check that shared futexes are supported.
11421 * nptl/sem_open.c (sem_open): Likewise.
11422 * nptl/sem_post.c (futex_wake): Remove.
11423 * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
11424 (do_futex_wait): Use futex wrappers with error checking.
11425 * nptl/sem_wait.c: Include lowlevellock.h.
11426 * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
11427 Use futex_supports_pshared.
11428 * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
11429 Use futex wrappers with error checking.
11430 * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
11432 * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
11433 * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
11434 * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
11435 * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
11436 (futex_wake): Likewise.
11437 (sem_assume_only_signals_cause_futex_EINTR): Likewise.
11438 (do_futex_wait): Use futex wrappers with error checking.
11439 (__new_sem_wait_slow): Update EINTR handling.
11440 * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
11442 2015-07-09 Martin Sebor <msebor@redhat.com>
11445 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
11446 Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
11447 * nptl/Makefile (test-xfail-tst-once5): Define.
11449 2015-07-09 Roland McGrath <roland@hack.frob.com>
11451 * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
11452 * elf/dl-minimal.c: For readability, reorder some definitions and
11453 introduce more page breaks. Include <stdio.h>.
11454 (__libc_fatal): New function.
11456 * include/unistd.h: Add rtld_hidden_proto for _exit.
11457 * posix/_exit.c: Add rtld_hidden_def.
11458 * sysdeps/mach/hurd/_exit.c: Likewise.
11459 * sysdeps/nacl/_exit.c: Likewise.
11460 * sysdeps/unix/sysv/linux/_exit.c: Likewise.
11461 * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
11463 2015-07-09 H.J. Lu <hongjiu.lu@intel.com>
11465 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
11466 bndmov encoding with zero displacement.
11468 2015-07-09 Igor Zamyatin <igor.zamyatin@intel.com>
11469 H.J. Lu <hongjiu.lu@intel.com>
11472 * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
11473 * sysdeps/i386/configure: Regenerated.
11474 * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
11475 (_dl_runtime_profile): Save and restore Intel MPX return bound
11476 registers when calling _dl_call_pltexit. Add
11477 PRESERVE_BND_REGS_PREFIX before return.
11478 * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
11479 (LRV_BND1_OFFSET): Likewise.
11480 * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
11482 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
11483 typo in bndmov encoding.
11484 * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
11485 Intel MPX bound registers. Add PRESERVE_BND_REGS_PREFIX before
11486 branch instructions to preserve bounds.
11488 2015-07-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
11491 [GLIBC_2.22]: Add fmemopen.
11493 2015-07-09 Samuel Thibault <samuel.thibault@ens-lyon.org>
11495 * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
11496 returns an error, also try to use host port from __mach_host_self for
11497 the __vm_wire call.
11498 * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
11500 2015-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
11504 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
11505 Fix pr_uid and pr_gid members.
11506 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
11507 definition to elf_greg_t.
11509 2015-07-08 Roland McGrath <roland@hack.frob.com>
11512 * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
11513 Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
11514 * sysdeps/arm/configure: Regenerated.
11515 * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
11516 (test-xfail-tst-tlsalign-static): Variable removed.
11518 * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
11519 * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
11520 rather than explicit 'ln -s'.
11522 * resolv/rpc/netdb.h: New file.
11523 * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
11525 2015-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11527 * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
11529 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
11538 * include/stdio.h (fmemopen): Remove hidden prototype.
11539 (__fmemopen): Add new hidden prototype.
11540 * libio/Makefile: Add oldfmemopen object.
11541 * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
11542 * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
11544 * libio/oldfmemopen.c: New file: old fmemopen implementation for
11545 symbol compatibility.
11546 * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
11547 * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
11549 * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
11550 on append and read mode.
11551 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
11553 * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
11554 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
11555 * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
11556 * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
11558 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
11559 [GLIBC_2.22]: Likewise.
11560 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
11562 * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
11564 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
11565 [GLIBC_2.22]: Likewise.
11566 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
11567 [GLIBC_2.22]: Likewise.
11568 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
11569 [GLIBC_2.22]: Likewise.
11570 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
11571 [GLIBC_2.22]: Likewise.
11572 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
11573 [GLIBC_2.22]: Likewise.
11574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
11575 [GLIBC_2.22]: Likewise.
11576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
11577 [GLIBC_2.22]: Likewise.
11578 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
11580 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
11582 * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
11583 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
11584 [GLIBC_2.22]: Likewise.
11585 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
11586 [GLIBC_2.22]: Likewise.
11587 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
11588 [GLIBC_2.22]: Likewise.
11589 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
11590 [GLIBC_2.22]: Likewise.
11591 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
11593 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
11595 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
11597 * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
11598 * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
11600 2015-07-08 Carlos O'Donell <carlos@redhat.com>
11603 * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
11604 IPV6_PATHMTU, and IPV6_DONTFRAG.
11606 2015-07-08 Feng Gao <gfree.wind@gmail.com>
11608 * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
11609 and _IO_UNBUFFERED.
11610 * libio/oldfileops.c: Likewise.
11611 * libio/wfileops.c: Likewise.
11613 2015-07-08 Mike Frysinger <vapier@gentoo.org>
11615 * nscd/selinux.c: Delete selinux/flask.h include.
11617 2015-07-08 Mike Frysinger <vapier@gentoo.org>
11620 * pwd/pwd.h (fgetpwent): Add __nonnull markings.
11621 (putpwent): Likewise.
11622 (getpwnam): Likewise.
11623 (getpwent_r): Likewise.
11624 (getpwuid_r): Likewise.
11625 (getpwnam_r): Likewise.
11626 (fgetpwent_r): Likewise.
11628 2015-07-08 Carlos O'Donell <carlos@redhat.com>
11631 * inet/rcmd.c (__validuser2_sa): Check user first to
11632 short-circuit host check.
11634 2015-07-07 Pavel Kopyl <p.kopyl@samsung.com>
11635 Mikhail Ilin <m.ilin@samsung.com>
11638 * elf/Makefile (tests): Add tst-nodelete.
11639 (modules-names): Add tst-nodelete-uniquemod.
11640 (tst-nodelete-uniquemod.so-no-z-defs): New.
11641 (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
11642 (tst-nodelete-zmod.so-no-z-defs): Likewise.
11643 ($(objpfx)tst-nodelete): Likewise.
11644 ($(objpfx)tst-nodelete.out): Likewise.
11645 (LDFLAGS-tst-nodelete): Likewise.
11646 (LDFLAGS-tst-nodelete-zmod.so): Likewise.
11647 * elf/dl-close.c (_dl_close_worker): Add a parameter to
11648 implement forced object deletion.
11649 (_dl_close): Pass false to _dl_close_worker.
11650 * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
11651 * elf/tst-nodelete.cc: New file.
11652 * elf/tst-nodeletelib.cc: Likewise.
11653 * elf/tst-znodeletelib.cc: Likewise.
11654 * include/dlfcn.h (_dl_close_worker): Add a new parameter.
11656 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
11659 * stdlib/Makefile ($(objpfx)tst-makecontext3):
11660 Depend on $(libdl).
11661 * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
11662 is not called infinitely times.
11663 (backtrace_helper): New function.
11664 (trace_arg): New struct.
11665 (st1): Enlarge stack size.
11666 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
11667 (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
11668 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
11671 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
11673 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
11675 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
11677 * sysdeps/unix/sysv/linux/s390/bits/sem.h:
11678 Include sys/types.h instead of bits/types.h.
11679 Remove inclusion of bits/wordsize.h.
11681 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
11683 * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
11684 * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
11685 * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
11686 * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
11687 * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
11688 * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
11690 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
11692 * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
11694 * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
11695 (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
11696 LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
11698 * sysdeps/i386/link-defines.sym: New file.
11700 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
11702 * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
11703 (modules-names): Add tst-auditmod3a tst-auditmod3b.
11704 ($(objpfx)tst-audit3): New rule.
11705 ($(objpfx)tst-audit3.out): Likewise.
11706 * sysdeps/i386/tst-audit3.c: New file.
11707 * sysdeps/i386/tst-audit3.h: Likewise.
11708 * sysdeps/i386/tst-auditmod3a.c: Likewise.
11709 * sysdeps/i386/tst-auditmod3b.c: Likewise.
11711 2015-07-07 Torvald Riegel <triegel@redhat.com>
11714 * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
11716 (__strcat_c): Likewise.
11717 (__strcat_g): Likewise.
11719 2015-07-07 Cyril Hrubis <chrubis@suse.cz>
11722 * misc/sbrk.c: Set errno to ENOMEM on overflow.
11724 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
11726 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
11727 New function. (__ieee754_sqrtf): New function.
11728 * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
11730 * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
11733 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
11735 * sysdeps/ieee754/support.c: Remove unused file.
11737 2015-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
11739 * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
11740 registers instead of d ones so the layout is kernel abi compatible.
11741 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
11742 * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
11745 2015-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
11747 * sysdeps/aarch64/libm-test-ulps: Regenerated.
11749 2015-07-01 Joseph Myers <joseph@codesourcery.com>
11752 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
11753 and return argument in case of subnormal argument.
11755 2015-07-01 Martin Sebor <msebor@redhat.com>
11758 * nptl/Makefile: Add tst-once5.cc.
11759 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
11760 Remove macro redefinitions.
11761 * nptl/tst-once5.cc: New test.
11763 2015-07-01 Joseph Myers <joseph@codesourcery.com>
11765 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
11767 * sysdeps/arm/libm-test-ulps: Regenerated.
11769 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
11770 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
11772 2015-06-30 Torvald Riegel <triegel@redhat.com>
11774 * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
11775 lll_lock_wait_private and lll_futex_wake probes.
11777 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
11778 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
11780 * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
11782 * sysdeps/x86_64/bits/atomic.h: Likewise.
11783 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
11784 to atomic_spin_nop and move ...
11785 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
11787 * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
11788 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
11789 atomic_spin_nop instead of BUSY_WAIT_NOP.
11790 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
11792 * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
11793 * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
11794 (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
11795 * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
11796 instead of atomic_delay.
11798 2015-06-29 Joseph Myers <joseph@codesourcery.com>
11801 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
11802 X_ADJ not X when adjusting exponent.
11803 (__ieee754_gamma_r): Do intermediate computations in
11804 round-to-nearest then adjust overflowing and underflowing results
11806 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
11807 of X_ADJ not X when adjusting exponent.
11808 (__ieee754_gammaf_r): Do intermediate computations in
11809 round-to-nearest then adjust overflowing and underflowing results
11811 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
11812 log of X_ADJ not X when adjusting exponent.
11813 (__ieee754_gammal_r): Do intermediate computations in
11814 round-to-nearest then adjust overflowing and underflowing results
11815 as needed. Use 1.0L not 1.0f as numerator of division.
11816 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
11817 log of X_ADJ not X when adjusting exponent.
11818 (__ieee754_gammal_r): Do intermediate computations in
11819 round-to-nearest then adjust overflowing and underflowing results
11820 as needed. Use 1.0L not 1.0f as numerator of division.
11821 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
11822 of X_ADJ not X when adjusting exponent.
11823 (__ieee754_gammal_r): Do intermediate computations in
11824 round-to-nearest then adjust overflowing and underflowing results
11825 as needed. Use 1.0L not 1.0f as numerator of division.
11826 * math/libm-test.inc (tgamma_test_data): Remove one test. Moved
11827 to auto-libm-test-in.
11828 (tgamma_test): Use ALL_RM_TEST.
11829 * math/auto-libm-test-in: Add one test of tgamma. Mark some other
11830 tests of tgamma with spurious-overflow.
11831 * math/auto-libm-test-out: Regenerated.
11832 * math/gen-libm-have-vector-test.sh: Do not check for START.
11833 * sysdeps/i386/fpu/libm-test-ulps: Update.
11834 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11837 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
11838 arguments, just return 0.5 times the argument, with underflow
11840 * math/auto-libm-test-in: Add more tests of j1.
11841 * math/auto-libm-test-out: Regenerated.
11844 * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
11845 (__ieee754_j1): Force underflow exception for small results.
11846 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
11847 * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
11848 (__ieee754_j1f): Force underflow exception for small results.
11849 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
11850 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
11851 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
11852 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
11853 (__ieee754_j1l): Force underflow exception for small results.
11854 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
11855 * math/auto-libm-test-in: Add more tests of j1 and jn.
11856 * math/auto-libm-test-out: Regenerated.
11858 * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
11859 * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
11860 (PF_MPLS): Likewise.
11862 (AF_MPLS): Likewise.
11863 * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
11865 (MS_RMT_MASK): Include MS_LAZYTIME.
11867 2015-06-26 Mel Gorman <mgorman@suse.de>
11870 * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
11873 2015-06-26 Matthew Fortune <matthew.fortune@imgtec.com>
11875 * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
11876 (DT_MIPS_NUM): Update.
11877 * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
11878 DT_MIPS_RLD_MAP_REL.
11880 2015-06-25 Joseph Myers <joseph@codesourcery.com>
11884 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
11885 round-to-nearest internally then recompute results that
11886 underflowed to zero in the original rounding mode.
11887 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
11888 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
11889 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
11890 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
11891 * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
11892 * sysdeps/i386/fpu/libm-test-ulps: Update.
11893 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11895 2015-06-25 Andrew Senkevich <andrew.senkevich@intel.com>
11897 * NEWS: Fixed description of link with vector math library.
11899 2015-06-25 Andreas Schwab <schwab@suse.de>
11902 * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
11903 * libio/test-fmemopen.c (do_test): Add test for it.
11905 2015-06-25 H.J. Lu <hongjiu.lu@intel.com>
11908 * Makeconfig (no-pie-ldflag): New.
11909 (+link): Set to $(+link-pie) if default to PIE.
11910 (+link-tests): Set to $(+link-pie-tests) if default to PIE.
11911 * config.make.in (build-pie-default): New.
11912 * configure.ac (libc_cv_pie_default): New. Set to yes if -fPIE
11913 is default. AC_SUBST.
11914 * configure: Regenerated.
11915 * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
11917 2015-06-24 Roland McGrath <roland@hack.frob.com>
11919 * nptl/descr.h (struct pthread): Change type of field setxid_futex
11922 * resolv/gai_misc.h (struct waitlist): Change type of field
11923 counterp to 'volatile unsigned int *'.
11924 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
11925 FUTEXADDR and OLDVAL.
11926 * resolv/getaddrinfo_a.c (getaddrinfo_a):
11927 Give local variable TOTAL type 'volatile unsigned int'.
11928 (struct async_waitlist): Change type of field counter to 'unsigned int'.
11929 * resolv/gai_suspend.c (gai_suspend):
11930 Give local variable CNTR type 'unsigned int'.
11932 * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
11933 counterp to 'volatile unsigned int *'.
11934 * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
11935 (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
11936 (aio_suspend): Give local variable CNTR type 'unsigned int'.
11937 * sysdeps/pthread/lio_listio.c (lio_listio_internal):
11938 Give local variable TOTAL type 'volatile unsigned int'.
11939 (struct async_waitlist): Change type of field counter to 'unsigned int'.
11941 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
11944 * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
11945 TCB_OFFSET to MAX_ALIGN, not just TCBALIGN. Add comment.
11946 * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
11947 comment for i386/x86-64.
11948 (test-xfail-tst-tlsalign-extern-static): Removed.
11950 2015-06-24 Joseph Myers <joseph@codesourcery.com>
11952 * math/test-double.h: New file.
11953 * math/test-float.h: Likewise.
11954 * math/test-ldouble.h: Likewise.
11955 * math/test-math-inline.h: Likewise.
11956 * math/test-math-no-inline.h: Likewise.
11957 * math/test-math-scalar.h: Likewise.
11958 * math/test-math-vector.h: Likewise.
11959 * math/test-vec-loop.h: Remove file. Contents moved into
11960 test-math-vector.h.
11961 * math/libm-test.inc (MATHCONST): Do not document macro.
11962 * math/test-double.c: Include test-double.h, test-math-no-inline.h
11963 and test-math-scalar.h.
11964 (FUNC): Remove macro.
11965 (FUNC_TEST): Likewise.
11967 (MATHCONST): Likewise.
11968 (PRINTF_EXPR): Likewise.
11969 (PRINTF_XEXPR): Likewise.
11970 (PRINTF_NEXPR): Likewise.
11971 (TEST_DOUBLE): Likewise.
11972 (TEST_MATHVEC): Likewise.
11973 (__NO_MATH_INLINES): Likewise.
11974 * math/test-float.c: Include test-float.h, test-math-no-inline.h
11975 and test-math-scalar.h.
11976 (FUNC): Remove macro.
11977 (FUNC_TEST): Likewise.
11979 (MATHCONST): Likewise.
11980 (PRINTF_EXPR): Likewise.
11981 (PRINTF_XEXPR): Likewise.
11982 (PRINTF_NEXPR): Likewise.
11983 (TEST_FLOAT): Likewise.
11984 (TEST_MATHVEC): Likewise.
11985 (__NO_MATH_INLINES): Likewise.
11986 * math/test-idouble.c: Include test-double.h, test-math-inline.h
11987 and test-math-scalar.h.
11988 (FUNC): Remove macro.
11989 (FUNC_TEST): Likewise.
11991 (MATHCONST): Likewise.
11992 (PRINTF_EXPR): Likewise.
11993 (PRINTF_XEXPR): Likewise.
11994 (PRINTF_NEXPR): Likewise.
11995 (TEST_DOUBLE): Likewise.
11996 (TEST_MATHVEC): Likewise.
11997 (TEST_INLINE): Likewise.
11998 (__NO_MATH_INLINES): Likewise.
11999 * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
12000 test-math-scalar.h.
12001 (FUNC): Remove macro.
12002 (FUNC_TEST): Likewise.
12004 (MATHCONST): Likewise.
12005 (PRINTF_EXPR): Likewise.
12006 (PRINTF_XEXPR): Likewise.
12007 (PRINTF_NEXPR): Likewise.
12008 (TEST_FLOAT): Likewise.
12009 (TEST_MATHVEC): Likewise.
12010 (TEST_INLINE): Likewise.
12011 (__NO_MATH_INLINES): Likewise.
12012 * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
12013 and test-math-scalar.h.
12014 (FUNC): Remove macro.
12015 (FUNC_TEST): Likewise.
12017 (MATHCONST): Likewise.
12018 (PRINTF_EXPR): Likewise.
12019 (PRINTF_XEXPR): Likewise.
12020 (PRINTF_NEXPR): Likewise.
12021 (TEST_LDOUBLE): Likewise.
12022 (TEST_MATHVEC): Likewise.
12023 (TEST_INLINE): Likewise.
12024 (__NO_MATH_INLINES): Likewise.
12025 * math/test-ldouble.c: Include test-ldouble.h,
12026 test-math-no-inline.h and test-math-scalar.h.
12027 (FUNC): Remove macro.
12028 (FUNC_TEST): Likewise.
12030 (MATHCONST): Likewise.
12031 (PRINTF_EXPR): Likewise.
12032 (PRINTF_XEXPR): Likewise.
12033 (PRINTF_NEXPR): Likewise.
12034 (TEST_LDOUBLE): Likewise.
12035 (TEST_MATHVEC): Likewise.
12036 (__NO_MATH_INLINES): Likewise.
12037 * math/test-double-vlen2.h: Include test-double.h,
12038 test-math-no-inline.h and test-math-vector.h.
12039 (FLOAT): Remove macro.
12041 (MATHCONST): Likewise.
12042 (PRINTF_EXPR): Likewise.
12043 (PRINTF_XEXPR): Likewise.
12044 (PRINTF_NEXPR): Likewise.
12045 (TEST_DOUBLE): Likewise.
12046 (TEST_MATHVEC): Likewise.
12047 (__NO_MATH_INLINES): Likewise.
12049 (CONCAT): Likewise.
12050 (WRAPPER_NAME): Likewise.
12051 (WRAPPER_DECL): Likewise.
12052 (WRAPPER_DECL_ff): Likewise.
12053 (WRAPPER_DECL_fFF): Likewise.
12054 (VECTOR_WRAPPER): Likewise.
12055 (VECTOR_WRAPPER_ff): Likewise.
12056 (VECTOR_WRAPPER_fFF): Likewise.
12057 (VEC_LEN): New macro.
12058 * math/test-double-vlen4.h: Include test-double.h,
12059 test-math-no-inline.h and test-math-vector.h.
12060 (FLOAT): Remove macro.
12062 (MATHCONST): Likewise.
12063 (PRINTF_EXPR): Likewise.
12064 (PRINTF_XEXPR): Likewise.
12065 (PRINTF_NEXPR): Likewise.
12066 (TEST_DOUBLE): Likewise.
12067 (TEST_MATHVEC): Likewise.
12068 (__NO_MATH_INLINES): Likewise.
12070 (CONCAT): Likewise.
12071 (WRAPPER_NAME): Likewise.
12072 (WRAPPER_DECL): Likewise.
12073 (WRAPPER_DECL_ff): Likewise.
12074 (WRAPPER_DECL_fFF): Likewise.
12075 (VECTOR_WRAPPER): Likewise.
12076 (VECTOR_WRAPPER_ff): Likewise.
12077 (VECTOR_WRAPPER_fFF): Likewise.
12078 (VEC_LEN): New macro.
12079 * math/test-double-vlen8.h: Include test-double.h,
12080 test-math-no-inline.h and test-math-vector.h.
12081 (FLOAT): Remove macro.
12083 (MATHCONST): Likewise.
12084 (PRINTF_EXPR): Likewise.
12085 (PRINTF_XEXPR): Likewise.
12086 (PRINTF_NEXPR): Likewise.
12087 (TEST_DOUBLE): Likewise.
12088 (TEST_MATHVEC): Likewise.
12089 (__NO_MATH_INLINES): Likewise.
12091 (CONCAT): Likewise.
12092 (WRAPPER_NAME): Likewise.
12093 (WRAPPER_DECL): Likewise.
12094 (WRAPPER_DECL_ff): Likewise.
12095 (WRAPPER_DECL_fFF): Likewise.
12096 (VECTOR_WRAPPER): Likewise.
12097 (VECTOR_WRAPPER_ff): Likewise.
12098 (VECTOR_WRAPPER_fFF): Likewise.
12099 (VEC_LEN): New macro.
12100 * math/test-float-vlen4.h: Include test-float.h,
12101 test-math-no-inline.h and test-math-vector.h.
12102 (FLOAT): Remove macro.
12104 (MATHCONST): Likewise.
12105 (PRINTF_EXPR): Likewise.
12106 (PRINTF_XEXPR): Likewise.
12107 (PRINTF_NEXPR): Likewise.
12108 (TEST_FLOAT): Likewise.
12109 (TEST_MATHVEC): Likewise.
12110 (__NO_MATH_INLINES): Likewise.
12112 (CONCAT): Likewise.
12113 (WRAPPER_NAME): Likewise.
12114 (WRAPPER_DECL): Likewise.
12115 (WRAPPER_DECL_ff): Likewise.
12116 (WRAPPER_DECL_fFF): Likewise.
12117 (VECTOR_WRAPPER): Likewise.
12118 (VECTOR_WRAPPER_ff): Likewise.
12119 (VECTOR_WRAPPER_fFF): Likewise.
12120 (VEC_LEN): New macro.
12121 * math/test-float-vlen8.h: Include test-float.h,
12122 test-math-no-inline.h and test-math-vector.h.
12123 (FLOAT): Remove macro.
12125 (MATHCONST): Likewise.
12126 (PRINTF_EXPR): Likewise.
12127 (PRINTF_XEXPR): Likewise.
12128 (PRINTF_NEXPR): Likewise.
12129 (TEST_FLOAT): Likewise.
12130 (TEST_MATHVEC): Likewise.
12131 (__NO_MATH_INLINES): Likewise.
12133 (CONCAT): Likewise.
12134 (WRAPPER_NAME): Likewise.
12135 (WRAPPER_DECL): Likewise.
12136 (WRAPPER_DECL_ff): Likewise.
12137 (WRAPPER_DECL_fFF): Likewise.
12138 (VECTOR_WRAPPER): Likewise.
12139 (VECTOR_WRAPPER_ff): Likewise.
12140 (VECTOR_WRAPPER_fFF): Likewise.
12141 (VEC_LEN): New macro.
12142 * math/test-float-vlen16.h: Include test-float.h,
12143 test-math-no-inline.h and test-math-vector.h.
12144 (FLOAT): Remove macro.
12146 (MATHCONST): Likewise.
12147 (PRINTF_EXPR): Likewise.
12148 (PRINTF_XEXPR): Likewise.
12149 (PRINTF_NEXPR): Likewise.
12150 (TEST_FLOAT): Likewise.
12151 (TEST_MATHVEC): Likewise.
12152 (__NO_MATH_INLINES): Likewise.
12154 (CONCAT): Likewise.
12155 (WRAPPER_NAME): Likewise.
12156 (WRAPPER_DECL): Likewise.
12157 (WRAPPER_DECL_ff): Likewise.
12158 (WRAPPER_DECL_fFF): Likewise.
12159 (VECTOR_WRAPPER): Likewise.
12160 (VECTOR_WRAPPER_ff): Likewise.
12161 (VECTOR_WRAPPER_fFF): Likewise.
12162 (VEC_LEN): New macro.
12163 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
12165 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
12166 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
12167 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
12168 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
12169 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
12170 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
12171 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
12173 2015-06-24 Roland McGrath <roland@hack.frob.com>
12175 * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
12176 (__getlogin_r): ... this.
12178 2015-06-24 Joseph Myers <joseph@codesourcery.com>
12181 * math/s_ccosh.c (__ccosh): Compare with least normal value
12182 instead of comparing class with FP_SUBNORMAL.
12183 * math/s_ccoshf.c (__ccoshf): Likewise.
12184 * math/s_ccoshl.c (__ccoshl): Likewise.
12185 * math/s_cexp.c (__cexp): Likewise.
12186 * math/s_cexpf.c (__cexpf): Likewise.
12187 * math/s_cexpl.c (__cexpl): Likewise.
12188 * math/s_csin.c (__csin): Likewise.
12189 * math/s_csinf.c (__csinf): Likewise.
12190 * math/s_csinh.c (__csinh): Likewise.
12191 * math/s_csinhf.c (__csinhf): Likewise.
12192 * math/s_csinhl.c (__csinhl): Likewise.
12193 * math/s_csinl.c (__csinl): Likewise.
12194 * math/s_ctan.c (__ctan): Likewise.
12195 * math/s_ctanf.c (__ctanf): Likewise.
12196 * math/s_ctanh.c (__ctanh): Likewise.
12197 * math/s_ctanhf.c (__ctanhf): Likewise.
12198 * math/s_ctanhl.c (__ctanhl): Likewise.
12199 * math/s_ctanl.c (__ctanl): Likewise.
12200 * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
12201 csin, csinh, ctan and ctanh.
12202 * math/auto-libm-test-out: Regenerated.
12203 * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
12204 * sysdeps/i386/fpu/libm-test-ulps: Update.
12205 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12207 2015-06-24 Roland McGrath <roland@hack.frob.com>
12209 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
12210 return value is wrong, print the expected value too.
12212 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
12215 * elf/readlib.c (is_gdb_python_file): New.
12216 (process_file): Don't issue errors on filenames with -gdb.py
12219 2015-06-24 Joseph Myers <joseph@codesourcery.com>
12221 * math/auto-libm-test-in: Add more tests of csin and csinh.
12222 * math/auto-libm-test-out: Regenerated.
12223 * math/libm-test.inc (csin_test_data): Remove tests moved to
12225 (csinh_test_data): Likewise.
12228 * math/s_csin.c (__csin): Negate before rather than after possibly
12229 overflowing multiplication.
12230 * math/s_csinf.c (__csinf): Likewise.
12231 * math/s_csinh.c (__csinh): Likewise.
12232 * math/s_csinhf.c (__csinhf): Likewise.
12233 * math/s_csinhl.c (__csinhl): Likewise.
12234 * math/s_csinl.c (__csinl): Likewise.
12235 * math/auto-libm-test-in: Add some tests of csin and csinh.
12236 * math/auto-libm-test-out: Regenerated.
12237 * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
12238 (csinh_test_data): Likewise.
12239 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12242 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
12243 underflow exception for small results.
12245 2015-06-24 Andrew Senkevich <andrew.senkevich@intel.com>
12247 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
12248 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
12249 variable and included header.
12250 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
12251 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
12252 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
12253 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
12254 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
12255 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
12256 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
12257 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
12258 * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
12259 * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
12260 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
12261 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
12262 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
12263 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
12264 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
12265 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
12267 2015-06-23 Joseph Myers <joseph@codesourcery.com>
12271 * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
12272 (__sin): Force underflow exception for arguments with small
12274 * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
12275 (__kernel_sinf): Force underflow exception for arguments with
12276 small absolute value.
12277 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
12278 (__kernel_sincosl): Force underflow exception for arguments with
12279 small absolute value.
12280 * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
12281 (__kernel_sinl): Force underflow exception for arguments with
12282 small absolute value.
12283 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
12284 (__kernel_sincosl): Force underflow exception for arguments with
12285 small absolute value.
12286 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
12287 (__kernel_sinl): Force underflow exception for arguments with
12288 small absolute value.
12289 * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
12290 (__kernel_sinl): Force underflow exception for arguments with
12291 small absolute value.
12292 * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
12293 (__kernel_sinf): Force underflow exception for arguments with
12294 small absolute value.
12295 * math/auto-libm-test-in: Add more tests of sin and sincos.
12296 * math/auto-libm-test-out: Regenerated.
12300 * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
12301 (__kernel_standard_l): Use feholdexcept and fesetenv around
12302 conversion to double instead of special-casing overflow and
12304 * math/libm-test.inc (fmod_test_data): Add more tests.
12305 (remainder_test_data): Likewise.
12306 (sqrt_test_data): Likewise.
12308 2015-06-23 Torvald Riegel <triegel@redhat.com>
12311 * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
12312 atomic_read_barrier, atomic_write_barrier): Define.
12313 * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
12314 atomic_read_barrier, atomic_write_barrier): Define.
12316 2015-06-23 Joseph Myers <joseph@codesourcery.com>
12318 * math/Makefile [$(PERL) != no]
12319 ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
12320 dependency on libm-test.stmp below the inclusion of Rules.
12322 2015-06-23 Andrew Senkevich <andrew.senkevich@intel.com>
12324 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
12325 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
12326 and included header.
12327 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
12328 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
12329 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
12330 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
12331 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
12332 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
12333 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
12334 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
12335 * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
12336 * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
12337 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
12338 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
12339 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
12340 * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
12341 * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
12342 * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
12343 * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
12344 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
12345 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
12347 2015-06-23 Joseph Myers <joseph@codesourcery.com>
12350 * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
12351 intermediate but not final result might underflow.
12352 * math/s_csqrtf.c (__csqrtf): Likewise.
12353 * math/s_csqrtl.c (__csqrtl): Likewise.
12354 * math/auto-libm-test-in: Add more tests of csqrt.
12355 * math/auto-libm-test-out: Regenerated.
12356 * sysdeps/i386/fpu/libm-test-ulps: Update.
12359 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
12360 threshold on absolute value of exponent for which scaling is used.
12361 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
12362 * math/auto-libm-test-in: Add more tests of exp2.
12363 * math/auto-libm-test-out: Regenerated.
12365 2015-06-23 Dmitry V. Levin <ldv@altlinux.org>
12368 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
12369 when initializing interface list, based on the bug analysis
12370 and the patch proposed by Eric Newton.
12371 * resolv/tst-res_hconf_reorder.c: New test.
12372 * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
12373 tst-res_hconf_reorder.
12374 ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
12375 and $(shared-thread-library).
12376 (tst-res_hconf_reorder-ENV): New variable.
12378 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
12381 2015-06-22 Joseph Myers <joseph@codesourcery.com>
12384 * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
12385 (__expm1): Force underflow exception for arguments with small
12387 * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
12388 (__expm1f): Force underflow exception for arguments with small
12390 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
12391 (__expm1): Force underflow exception for arguments with small
12393 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
12394 (__expm1f): Force underflow exception for arguments with small
12396 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
12397 Check for small arguments before calling __expm1.
12398 * math/auto-libm-test-in: Do not mark underflow exceptions as
12399 possibly missing for bug 16353.
12400 * math/auto-libm-test-out: Regenerated.
12402 2015-06-22 Andreas Schwab <schwab@suse.de>
12405 * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
12408 2015-06-22 Leonhard Holz <leonhard.holz@web.de>
12410 * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
12412 * string/strcoll_l.c: Remove unused struct element idxnow.
12414 2015-06-21 Joseph Myers <joseph@codesourcery.com>
12417 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
12418 underflow and return argument in case of subnormal argument.
12419 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
12421 * math/auto-libm-test-in: Add more tests of expm1.
12422 * math/auto-libm-test-out: Regenerated.
12425 * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
12426 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
12428 * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
12429 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
12431 * math/auto-libm-test-in: Add more tests of exp and exp10. Do not
12432 mark underflow exceptions as possibly missing for bug 16361.
12433 * math/auto-libm-test-out: Regenerated.
12435 2015-06-19 Joseph Myers <joseph@codesourcery.com>
12437 * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
12438 * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
12440 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
12441 (test-xfail-XOPEN2K8/utmpx.h/conform).
12443 * conform/conformtest.pl ($xerrors): New variable.
12444 (note_error): New function.
12445 (compiletest): New argument $xfail. Use not_error.
12446 (runtest): Likewise.
12447 (top level): Handle xfail- lines. Update calls to compiletest and
12448 runtest. Handle xfail- and optional- in headers listed with
12450 * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
12451 (O_EXEC): Likewise.
12452 (O_SEARCH): Likewise.
12453 * conform/data/stropts.h-data (ioctl): Likewise.
12454 * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
12455 * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
12456 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
12457 (msghdr.msg_controllen): Likewise.
12458 (cmsghdr.cmsg_len): Likewise.
12459 * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
12460 * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
12462 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
12463 (test-xfail-XPG4/stropts.h/conform): Likewise.
12464 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
12465 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
12466 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
12467 (test-xfail-UNIX98/stropts.h/conform): Likewise.
12468 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
12469 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
12470 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
12471 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
12472 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
12473 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
12474 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
12475 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
12476 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
12477 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
12478 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
12479 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
12480 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
12481 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
12482 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
12484 2015-06-19 Andrew Senkevich <andrew.senkevich@intel.com>
12486 * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
12487 __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
12488 definitions for proper unfolding of __MATHDECL_VEC.
12490 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
12492 * benchtests/bench-strcoll.c:
12494 (main): Remove unused variable res.
12496 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
12498 * timezone/Makefile (%/UTC %/Universal):
12499 Generate test-result files for UTC and Universal.
12501 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
12503 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
12505 2015-06-18 Joseph Myers <joseph@codesourcery.com>
12508 * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
12509 for arguments with small absolute value.
12510 * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
12511 * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
12512 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
12513 (__asinh): Force underflow exception for arguments with small
12515 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
12516 (__asinhf): Force underflow exception for arguments with small
12518 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
12519 (__asinhl): Force underflow exception for arguments with small
12521 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
12522 (__asinhl): Force underflow exception for arguments with small
12524 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
12525 (__asinhl): Force underflow exception for arguments with small
12527 * math/auto-libm-test-in: Do not mark underflow exceptions as
12528 possibly missing for bug 16350.
12529 * math/auto-libm-test-out: Regenerated.
12531 * include/bits/ipc.h: Remove file.
12532 * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
12534 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
12535 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
12536 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
12537 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
12538 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
12539 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
12540 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
12541 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
12542 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
12544 * math/auto-libm-test-in: Remove spurious underflow allowance for
12546 * math/auto-libm-test-out: Regenerated.
12549 * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
12550 unconditional definition.
12551 (MCAST_BLOCK_SOURCE): Likewise.
12552 (MCAST_UNBLOCK_SOURCE): Likewise.
12553 (MCAST_LEAVE_GROUP): Likewise.
12554 (MCAST_JOIN_SOURCE_GROUP): Likewise.
12555 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
12556 (MCAST_MSFILTER): Likewise.
12557 * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
12559 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
12560 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
12561 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
12562 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
12563 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
12565 2015-06-18 Andrew Senkevich <andrew.senkevich@intel.com>
12567 * NEWS: Mention addition of x86_64 vector sincosf.
12568 * math/test-float-vlen16.h: Added wrapper for sincosf tests.
12569 * math/test-float-vlen4.h: Likewise.
12570 * math/test-float-vlen8.h: Likewise.
12571 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
12572 * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
12573 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
12574 * sysdeps/x86_64/fpu/Versions: New versions added.
12575 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12576 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
12577 Added build of SSE, AVX2 and AVX512 IFUNC versions.
12578 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
12579 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
12580 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
12581 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
12582 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
12583 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
12584 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
12585 * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
12586 * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
12587 * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
12588 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
12589 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
12590 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
12591 * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
12592 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
12593 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
12594 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
12595 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
12596 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
12597 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
12598 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
12600 * NEWS: Mention addition of x86_64 vector sincos.
12601 * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
12602 * math/math.h (__MATHDECL_VEC): New macro.
12603 * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
12604 * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
12605 declaration under condition.
12606 * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
12607 * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
12608 TEST_VEC_LOOP change.
12609 * math/test-double-vlen4.h: Likewise.
12610 * math/test-double-vlen8.h: Likewise.
12611 * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
12612 * math/test-float-vlen4.h: Likewise.
12613 * math/test-float-vlen8.h: Likewise.
12614 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
12615 * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
12616 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
12617 * sysdeps/x86_64/fpu/Versions: New versions added.
12618 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12619 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
12620 Added build of SSE, AVX2 and AVX512 IFUNC versions.
12621 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
12622 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
12623 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
12624 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
12625 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
12626 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
12627 * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
12628 * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
12629 * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
12630 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
12631 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
12632 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
12633 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
12634 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
12635 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
12636 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
12637 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
12638 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
12639 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
12640 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
12641 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
12643 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
12644 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
12645 redirections for powf.
12646 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
12647 * sysdeps/x86_64/fpu/Versions: New versions added.
12648 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12649 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
12650 Added build of SSE, AVX2 and AVX512 IFUNC versions.
12651 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
12652 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
12653 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
12654 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
12655 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
12656 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
12657 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
12658 * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
12659 * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
12660 * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
12661 * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
12662 * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
12663 * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
12664 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
12665 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
12666 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
12667 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
12668 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
12669 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
12670 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
12671 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
12672 * math/test-float-vlen16.h: Fixed 2 argument macro.
12673 * math/test-float-vlen4.h: Likewise.
12674 * math/test-float-vlen8.h: Likewise.
12675 * NEWS: Mention addition of x86_64 vector powf.
12677 2015-06-17 Joseph Myers <joseph@codesourcery.com>
12679 * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
12681 * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
12683 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
12684 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
12685 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
12688 * resource/getpriority.c (getpriority): Rename to __getpriority
12689 and define as weak alias of __getpriority.
12690 * resource/setpriority.c (setpriority): Rename to __setpriority
12691 and define as weak alias of __setpriority.
12692 * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
12693 __getpriority and define as weak alias of __getpriority.
12694 * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
12695 __setpriority and define as weak alias of __setpriority.
12696 * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
12698 (setpriority): Use __setpriority as strong name.
12699 * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
12700 __getpriority and define as weak alias of __getpriority.
12701 * include/sys/resource.h (__getpriority): Declare. Use
12703 (__setpriority): Likewise.
12704 (getpriority): Don't use libc_hidden_proto.
12705 (setpriority): Likewise.
12706 * sysdeps/posix/nice.c (nice): Call __getpriority instead of
12707 getpriority. Call __setpriority instead of setpriority.
12708 * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
12712 * misc/getttyent.c (getttynam): Rename to __getttynam and define
12713 as weak alias of __getttynam. Use prototype function definition.
12714 Call __setttyent, __getttyent and __endttyent instead of
12715 setttyent, getttyent and endttyent.
12716 (getttyent): Rename to __getttyent and define as weak alias of
12717 __getttyent. Call __setttyent instead of setttyent. Call
12718 __fgets_unlocked instead of fgets_unlocked.
12719 (setttyent): Rename to __setttyent and define as weak alias of
12721 (endttyent): Rename to __endttyent and define as weak alias of
12723 * include/ttyent.h (__getttyent): Declare. Use libc_hidden_proto.
12724 (__setttyent): Likewise.
12725 (__endttyent): Likewise.
12726 (getttyent): Don't use libc_hidden_proto.
12727 (setttyent): Likewise.
12728 (endttyent): Likewise.
12729 * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
12730 __endttyent instead of setttyent, getttyent and endttyent.
12731 * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
12735 * socket/recv.c (__recv): Use libc_hidden_def.
12736 * socket/socket.c (__socket): Likewise.
12737 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
12738 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
12739 * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
12740 * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
12741 * sysdeps/unix/sysv/linux/socket.c (__socket): Use
12743 * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
12745 * include/sys/socket.h (__socket): Do not use attribute_hidden.
12746 Use libc_hidden_proto.
12747 (__recv): Likewise.
12748 * socket/Versions (libc): Export __recv and __socket at version
12750 * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
12752 (init_mq_netlink): Call __socket instead of socket.
12753 * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
12757 * rt/mq_timedreceive.c (mq_timedreceive): Rename to
12758 __mq_timedreceive and define as alias of __mq_timedreceive. Use
12760 * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
12761 define as alias of __mq_timedsend. Use hidden_weak.
12762 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
12763 __mq_timedsend as strong name.
12764 (mq_timedreceive): Use __mq_timedreceive as strong name.
12765 * include/mqueue.h (__mq_timedsend): Declare. Use hidden_proto.
12766 (__mq_timedreceive): Likewise.
12767 * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
12768 __mq_timedreceive instead of mq_timedreceive.
12769 * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
12770 instead of mq_timedsend.
12771 * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
12774 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
12775 hidden_def and hidden_weak instead of libc_hidden_def and
12777 (top level): Refer to hidden_def in comment.
12778 * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
12779 macro. Use it instead of libc_hidden_def.
12780 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
12781 specify __GI_* name explicitly.
12782 (mq_timedreceive): Likewise.
12783 (mq_setattr): Likewise.
12786 * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
12787 __pthread_barrier_init and define as weak alias of
12788 __pthread_barrier_init.
12789 * sysdeps/sparc/nptl/pthread_barrier_init.c
12790 (pthread_barrier_init): Likewise.
12791 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
12792 __pthread_barrier_wait and define as weak alias of
12793 __pthread_barrier_wait.
12794 * sysdeps/sparc/nptl/pthread_barrier_wait.c
12795 (pthread_barrier_wait): Likewise.
12796 * sysdeps/sparc/sparc32/pthread_barrier_wait.c
12797 (pthread_barrier_wait): Likewise.
12798 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
12799 (pthread_barrier_wait): Likewise.
12800 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
12801 (pthread_barrier_wait): Likewise.
12802 * nptl/Versions (libpthread): Export __pthread_barrier_init and
12803 __pthread_barrier_wait at version GLIBC_PRIVATE.
12804 * include/pthread.h (__pthread_barrier_init): Declare.
12805 (__pthread_barrier_wait): Likewise.
12806 * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
12807 Call __pthread_barrier_wait instead of pthread_barrier_wait.
12808 (helper_thread): Likewise.
12809 (init_mq_netlink): Call __pthread_barrier_init instead of
12810 pthread_barrier_init.
12813 * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
12814 (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
12815 * include/wchar.h (__vswscanf): Declare. Use libc_hidden_proto.
12816 * libio/swscanf.c (__swscanf): Call __vswscanf instead of
12818 * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
12822 * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
12823 strong alias of _IO_fflush. Use libc_hidden_def.
12824 * libio/iofflush_u.c (fflush_unlocked): Rename to
12825 __fflush_unlocked and define as weak alias of __fflush_unlocked.
12826 Use libc_hidden_weak.
12827 * include/stdio.h (__fflush_unlocked): Declare. Use
12829 * misc/getpass.c (getpass): Call __fflush_unlocked instead of
12831 * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
12835 * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
12836 define as weak alias of __addseverity.
12837 * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
12839 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
12840 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
12841 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
12844 * misc/tsearch.c (__tsearch): Use libc_hidden_def.
12845 (__tfind): Likewise.
12846 (__tdelete): Likewise.
12847 (__twalk): Likewise.
12848 * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
12849 __twalk to GLIBC_PRIVATE.
12850 * include/search.h (__tsearch): Use libc_hidden_proto.
12851 (__tfind): Likewise.
12852 (__tdelete): Likewise.
12853 (__twalk): Likewise.
12854 * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
12855 Call __tdelete instead of tdelete.
12856 * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
12857 tfind. Call __tsearch instead of tsearch.
12858 * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
12859 * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
12861 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
12864 * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
12865 (dprintf): Define as a weak alias of __dprintf, not a strong
12867 * include/stdio.h (__dprintf): Declare. Use libc_hidden_proto.
12868 * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
12870 * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
12872 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
12873 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
12876 * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
12877 not a strong alias.
12878 * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
12882 * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
12883 define as weak alias of __in6addr_any. Use libc_hidden_data_weak.
12884 (in6addr_loopback): Rename to __in6addr_loopback and define as
12885 weak alias of __in6addr_loopback. Use libc_hidden_data_weak.
12886 * include/netinet/in.h (__in6addr_loopback): Declare. Use
12888 (__in6addr_any): Likewise.
12889 * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
12891 * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
12893 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
12895 2015-06-17 Andrew Senkevich <andrew.senkevich@intel.com>
12897 * bits/libm-simd-decl-stubs.h: Added stubs for pow.
12898 * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
12899 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
12900 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
12901 redirections for pow.
12902 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
12903 * sysdeps/x86_64/fpu/Versions: New versions added.
12904 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12905 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
12906 build of SSE, AVX2 and AVX512 IFUNC versions.
12907 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
12908 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
12909 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
12910 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
12911 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
12912 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
12913 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
12914 * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
12915 * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
12916 * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
12917 * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
12918 * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
12919 * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
12920 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
12921 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
12922 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
12923 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
12924 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
12925 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
12926 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
12927 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
12928 * NEWS: Mention addition of x86_64 vector pow.
12930 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
12931 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
12932 redirections for expf.
12933 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
12934 * sysdeps/x86_64/fpu/Versions: New versions added.
12935 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12936 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
12937 build of SSE, AVX2 and AVX512 IFUNC versions.
12938 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
12939 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
12940 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
12941 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
12942 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
12943 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
12944 * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
12945 * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
12946 * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
12947 * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
12948 * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
12949 * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
12950 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
12951 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
12952 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
12953 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
12954 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
12955 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
12956 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
12957 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
12958 * NEWS: Mention addition of x86_64 vector expf.
12960 * bits/libm-simd-decl-stubs.h: Added stubs for exp.
12961 * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
12962 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
12963 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
12964 redirections for exp.
12965 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
12966 * sysdeps/x86_64/fpu/Versions: New versions added.
12967 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12968 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
12969 build of SSE, AVX2 and AVX512 IFUNC versions.
12970 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
12971 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
12972 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
12973 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
12974 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
12975 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
12976 * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
12977 * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
12978 * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
12979 * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
12980 * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
12981 * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
12982 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
12983 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
12984 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
12985 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
12986 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
12987 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
12988 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
12989 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
12990 * NEWS: Mention addition of x86_64 vector exp.
12992 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
12993 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
12994 redirections for logf.
12995 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
12996 * sysdeps/x86_64/fpu/Versions: New versions added.
12997 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12998 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
12999 build of SSE, AVX2 and AVX512 IFUNC versions.
13000 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
13001 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
13002 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
13003 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
13004 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
13005 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
13006 * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
13007 * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
13008 * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
13009 * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
13010 * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
13011 * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
13012 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
13013 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
13014 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
13015 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
13016 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
13017 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
13018 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
13019 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
13020 * NEWS: Mention addition of x86_64 vector logf.
13022 * bits/libm-simd-decl-stubs.h: Added stubs for log.
13023 * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
13024 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
13025 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
13026 redirections for log.
13027 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
13028 * sysdeps/x86_64/fpu/Versions: New versions added.
13029 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
13030 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
13031 build of SSE, AVX2 and AVX512 IFUNC versions.
13032 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
13033 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
13034 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
13035 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
13036 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
13037 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
13038 * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
13039 * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
13040 * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
13041 * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
13042 * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
13043 * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
13044 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
13046 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
13047 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
13048 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
13049 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
13050 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
13051 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
13052 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
13053 * NEWS: Mention addition of x86_64 vector log.
13055 2015-06-17 Szabolcs Nagy <szabolcs.nagy@arm.com>
13057 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
13058 cfi_adjust_cfa_offset argument.
13059 (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
13060 (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
13063 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
13064 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
13065 (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
13066 ordering using ldar.
13067 (_dl_tlsdesc_dynamic): Likewise.
13068 (_dl_tlsdesc_return_lazy): Likewise.
13069 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
13070 relaxed atomics instead of volatile and synchronize with release store.
13071 (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
13073 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
13075 2015-06-15 Andrew Senkevich <andrew.senkevich@intel.com>
13077 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
13078 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
13079 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
13080 * sysdeps/x86_64/fpu/Versions: New versions added.
13081 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
13082 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
13083 build of SSE, AVX2 and AVX512 IFUNC versions.
13084 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
13085 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
13086 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
13087 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
13088 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
13089 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
13090 * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
13091 * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
13092 * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
13093 * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
13094 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
13095 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
13096 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
13097 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
13098 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
13099 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
13100 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
13101 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
13102 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
13103 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
13104 * NEWS: Mention addition of x86_64 vector sinf.
13106 2015-06-14 Joseph Myers <joseph@codesourcery.com>
13108 * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
13109 and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
13110 * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
13112 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
13113 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
13115 2015-06-12 Joseph Myers <joseph@codesourcery.com>
13118 * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
13119 strong alias of _IO_fputs. Use libc_hidden_def.
13120 * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
13121 and define as weak alias of __fputs_unlocked. Use
13123 * include/stdio.h (__fputs_unlocked): Declare. Use
13125 * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
13129 * resolv/netdb.h [__USE_POSIX]: Change condition to
13131 * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
13133 [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
13134 [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
13135 [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
13136 [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
13137 [XPG4 || UNIX98] (AI_ALL): Likewise.
13138 [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
13139 [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
13140 [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
13141 [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
13142 [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
13143 [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
13144 [XPG4 || UNIX98] (NI_DGRAM): Likewise.
13145 [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
13146 [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
13147 [XPG4 || UNIX98] (EAI_FAIL): Likewise.
13148 [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
13149 [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
13150 [XPG4 || UNIX98] (EAI_NONAME): Likewise.
13151 [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
13152 [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
13153 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
13154 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
13155 [XPG4 || UNIX98] (freeaddrinfo): Likewise.
13156 [XPG4 || UNIX98] (gai_strerror): Likewise.
13157 [XPG4 || UNIX98] (getaddrinfo): Likewise.
13158 [XPG4 || UNIX98] (getnameinfo): Likewise.
13161 * grp/grp.h (endgrent): Condition on [__USE_MISC ||
13162 __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
13164 (getgrent): Likewise.
13165 * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
13167 [XPG3 || POSIX2008] (endgrent): Likewise.
13168 [XPG3] (setgrent): Likewise.
13169 * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
13171 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
13174 * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
13175 define as weak alias of __getlogin_r. Use libc_hidden_weak.
13176 * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
13177 * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
13178 * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
13179 * include/unistd.h (__getlogin_r): Declare. Use
13181 * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
13182 * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
13184 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
13185 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
13186 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
13188 2015-06-12 Martin Sebor <msebor@redhat.com>
13191 * Makerules (check-install-supported): New target.
13192 (install): Add check-install-supported as a dependency.
13193 * manual/install.texi (Installing the C Library): Document
13194 that overriding prefix and exec_prefix is not supported.
13196 * INSTALL: Regenerate from the above.
13198 2015-06-12 Joseph Myers <joseph@codesourcery.com>
13201 * posix/Versions (libc): Export __libc_pread at version
13203 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
13205 * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
13210 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
13211 (cvt_symbol): Use weak_alias instead of strong_alias.
13212 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
13213 * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
13215 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
13216 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
13219 * inet/herrno.c (h_errno): Rename to __h_errno.
13220 (__libc_h_errno): Define as alias of __h_errno not h_errno.
13221 * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
13222 to __h_errno instead of h_errno.
13223 * nptl/herrno.c (h_errno): Rename to __h_errno.
13224 (__h_errno_location): Refer to __h_errno not h_errno.
13225 * resolv/Versions (h_errno): Rename to __h_errno.
13226 * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
13228 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
13230 2015-06-11 Andrew Senkevich <andrew.senkevich@intel.com>
13232 * configure.ac: More strict check for AVX512 assembler support.
13233 * configure: Regenerated.
13235 * bits/libm-simd-decl-stubs.h: Added stubs for sin.
13236 * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
13237 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
13238 * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
13239 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
13240 * sysdeps/x86_64/fpu/Versions: New versions added.
13241 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
13242 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
13243 Added build of SSE, AVX2 and AVX512 IFUNC versions.
13244 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
13245 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
13246 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
13247 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
13248 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
13249 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
13250 * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
13251 * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
13252 * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
13253 * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
13254 * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
13255 * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
13256 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
13258 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
13259 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
13260 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
13261 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
13262 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
13263 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
13264 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
13265 * NEWS: Mention addition of x86_64 vector sin.
13267 2015-06-11 Florian Weimer <fweimer@redhat.com>
13269 * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
13272 2015-06-10 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
13275 * nptl/pt-interp.c: New file.
13276 * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
13278 [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
13279 $(common-objpfx)runtime-linker.h.
13281 2015-06-10 Dmitry V. Levin <ldv@altlinux.org>
13283 * Makeconfig (+interp): Remove unused variable.
13284 * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
13285 only. Depend on $(common-objpfx)runtime-linker.h instead of
13286 $(elf-objpfx)runtime-linker.h.
13287 ($(elf-objpfx)runtime-linker.h): Rename to
13288 $(common-objpfx)runtime-linker.h and move ...
13289 * Makerules [$(build-shared) = yes]: ... here.
13290 * elf/interp.c: Include <runtime-linker.h> instead of
13291 <elf/runtime-linker.h>.
13293 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13295 * sysdeps/unix/sysv/linux/i386/gettimeofday.c
13296 (__gettimeofday_syscall): Remove vsyscall fallback.
13297 * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
13298 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
13299 Add syscall fallback function.
13300 (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
13301 if vDSO is not present.
13302 * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
13304 (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
13306 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
13307 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
13309 2015-06-09 Joseph Myers <joseph@codesourcery.com>
13312 * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
13314 (wcscmp): Define as weak alias of WCSCMP.
13315 * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
13317 (USE_HIDDEN_DEF): Define.
13318 [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
13319 __wcscoll. Don't use libc_hidden_weak.
13320 * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
13322 * sysdeps/i386/i686/multiarch/wcscmp-c.c
13323 [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
13325 (weak_alias): Undefine and redefine.
13326 * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
13327 __wcscmp and define as weak alias of __wcscmp.
13328 * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
13329 * include/wchar.h (__wcscmp): Declare. Use libc_hidden_proto.
13330 (__wcscoll): Likewise.
13331 (wcscmp): Don't use libc_hidden_proto.
13332 (wcscoll): Likewise.
13333 * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
13335 * posix/regexec.c (check_node_accept_bytes): Likewise.
13336 * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
13338 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
13339 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
13342 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
13343 __fstatvfs and define as weak alias of __fstatvfs. Use
13345 * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
13346 and define as weak alias of __statvfs. Use libc_hidden_weak.
13347 * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
13348 Define as alias of __fstatvfs, not fstatvfs.
13349 (fstatvfs64): Likewise.
13350 * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
13351 Define as alias of __statvfs, not statvfs.
13352 (statvfs64): Likewise.
13353 * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
13356 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
13359 (HAVE_GETCPU_VSYSCALL): Define.
13360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
13361 (HAVE_GETCPU_VSYSCALL): Likewise.
13362 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
13363 * sysdeps/unix/sysv/linux/sched_getcpu.c
13364 (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
13365 (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
13366 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
13368 * sysdeps/unix/sysv/linux/x86_64/init-first.c
13369 (__vdso_platform_setup): Remove vsyscall getcpu fallback.
13370 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
13371 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
13373 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
13374 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
13375 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
13376 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
13378 2015-06-09 Andrew Senkevich <andrew.senkevich@intel.com>
13380 * sysdeps/x86_64/fpu/Makefile: New file.
13381 * sysdeps/x86_64/fpu/Versions: New file.
13382 * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
13383 * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
13384 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
13385 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
13386 * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
13387 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
13388 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
13389 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
13390 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
13391 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
13392 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
13393 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
13394 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
13395 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
13396 Added build of SSE, AVX2 and AVX512 IFUNC versions.
13397 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
13398 * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
13399 * sysdeps/x86_64/configure.ac: Options for libmvec build.
13400 * sysdeps/x86_64/configure: Regenerated.
13401 * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
13402 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
13403 * manual/install.texi (Configuring and compiling): Document
13405 * INSTALL: Regenerated.
13406 * NEWS: Mention addition of libmvec and x86_64 vector cos.
13408 * math/Makefile: Added rules for vector tests.
13409 * math/gen-libm-have-vector-test.sh: Added generation of wrapper
13410 declaration under condition.
13411 * math/test-double-vlen2.h: New file.
13412 * math/test-double-vlen4.h: New file.
13413 * math/test-double-vlen8.h: New file.
13414 * math/test-vec-loop.h: Added initialization macro.
13415 * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
13416 * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
13417 * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
13418 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
13419 * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
13420 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
13421 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
13422 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
13423 * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
13424 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
13425 * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
13427 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
13428 * sysdeps/x86_64/fpu/Versions: New versions added.
13429 * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
13430 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
13431 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
13432 * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
13433 * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
13434 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
13435 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
13436 * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
13437 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
13438 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
13439 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
13440 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
13441 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
13442 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
13443 Added build of SSE, AVX2 and AVX512 IFUNC versions.
13444 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
13445 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
13446 * NEWS: Mention addition of x86_64 vector cosf.
13448 * math/Makefile: Added CFLAGS for new tests.
13449 * math/test-float-vlen16.h: New file.
13450 * math/test-float-vlen4.h: New file.
13451 * math/test-float-vlen8.h: New file.
13452 * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
13453 * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
13454 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
13455 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
13456 * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
13457 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
13458 * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
13459 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
13460 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
13461 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
13462 * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
13464 2015-06-09 Marko Myllynen <myllynen@redhat.com>
13466 * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
13467 * locale/programs/ld-ctype.c: Likewise.
13469 2015-06-08 Andrew Senkevich <andrew.senkevich@intel.com>
13471 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
13472 bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
13473 bit_ZMM16_31_state): New macro.
13474 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13475 Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
13477 2015-06-08 Joseph Myers <joseph@codesourcery.com>
13479 * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
13481 2015-06-06 Justus Winter <4winter@informatik.uni-hamburg.de>
13483 * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
13485 2015-06-05 Joseph Myers <joseph@codesourcery.com>
13488 * libio/memstream.c (open_memstream): Rename to __open_memstream
13489 and define as weak alias of __open_memstream.
13490 * include/stdio.h (__open_memstream): Declare. Use
13492 (open_memstream): Don't use libc_hidden_proto.
13493 * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
13495 * posix/getopt.c (_getopt_internal_r): Likewise.
13496 * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
13498 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
13499 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
13500 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
13503 * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
13504 instead of wcrtomb.
13507 * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
13508 [__USE_XOPEN2K8]. Remove redundant #endif.
13509 [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
13510 Remove redundant #if.
13511 * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
13513 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
13514 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
13517 * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
13518 (__iswlower): Likewise.
13519 * include/wctype.h (__iswalnum): Declare. Use libc_hidden_proto.
13520 (__iswlower): Likewise.
13521 * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
13522 instead of towlower.
13523 * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
13524 instead of iswlower. Call __towupper instead of towupper.
13525 * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
13526 instead of iswalnum.
13528 2015-06-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13530 * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
13533 2015-06-05 Florian Weimer <fweimer@redhat.com>
13537 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
13538 Check for overflow properly. Check for O_APPEND. Ignore large
13539 file system block sizes. Add comments about problems.
13540 * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
13541 * manual/filesys.texi (Storage Allocation): New node.
13543 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13545 * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
13546 cancellable syscalls.
13547 (SYS_ify): Add guard to no redefine it.
13548 (INLINE_SYSCALL): Likewise.
13549 * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
13550 LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
13551 SYSCALL_CANCEL instead.
13552 * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
13553 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
13554 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
13555 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
13556 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
13557 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
13558 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
13559 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
13560 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
13561 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
13562 * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
13563 * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
13564 * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
13565 * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
13566 * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
13567 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
13569 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
13570 (__libc_pread64): Likewise.
13571 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
13572 (__libc_preadv): Likewise.
13573 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
13574 (__libc_readv64): Likewise.
13575 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
13576 (__libc_pwrite): Likewise.
13577 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
13578 (__libc_pwrite64): Likewise.
13579 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
13580 (__libc_pwritev): Likewise.
13581 * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
13582 (__libc_pwritev64): Likewise.
13583 * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
13584 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
13585 (sync_file_range): Likewise.
13586 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
13588 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
13590 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
13591 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
13592 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
13593 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
13594 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
13595 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
13596 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
13597 * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
13598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
13600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
13601 (__libc_read64): Likewise.
13602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
13604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
13606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
13608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
13610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
13611 (__libc_pread64): Likewise.
13612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
13614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
13615 (__libc_pwrite64): Likewise.
13616 * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
13617 (sync_file_range): Likewise.
13618 * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
13619 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
13620 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
13621 * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
13622 * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
13623 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
13624 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
13625 * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
13626 * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
13627 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
13628 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
13629 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
13630 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
13631 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
13632 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
13633 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
13634 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
13635 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
13636 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
13638 * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
13640 * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
13641 * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
13643 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
13644 * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
13645 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
13646 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
13648 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
13649 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
13650 * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
13651 * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
13652 * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
13654 2015-06-04 Nathan Lynch <nathan_lynch@codesourcery.com>
13656 * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
13658 * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
13659 Use VDSO routines for gettimeofday, clock_gettime if
13661 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
13662 Declare VDSO symbols.
13663 * sysdeps/unix/sysv/linux/arm/sysdep.h:
13664 [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
13665 [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
13666 * sysdeps/unix/sysv/linux/arm/Versions: Add
13667 __vdso_clock_gettime.
13669 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13671 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
13672 be an inline implementation regardless of library is built within.
13673 (open_not_cancel_2): Likewise.
13674 (__read_nocancel): Likewise.
13675 (__write_nocancel): Likewise.
13676 (openat_not_cancel): Likewise.
13677 (openat_not_cancel_3): Likewise.
13678 (openat64_not_cancel): Likewise.
13679 (openat64_not_cancel_3): Likewise.
13680 (__close_nocancel): Likewise.
13681 (pause_not_cancel): Likewise.
13682 (nanosleep_not_cancel): Likewise.
13683 (sigsuspend_not_cancel): Likewise.
13685 2015-06-04 Torvald Riegel <triegel@redhat.com>
13688 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
13690 (__pthread_rwlock_rdlock_slow): Likewise.
13691 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
13693 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
13695 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
13696 * nptl/tst-rwlock16.c: New file.
13697 * nptl/Makefile (tests): Add new test.
13699 2015-06-04 Torvald Riegel <triegel@redhat.com>
13702 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
13703 missing wake-up of readers.
13704 * nptl/tst-rwlock15.c: New file.
13705 * nptl/Makefile (tests): Add new test.
13707 2015-06-03 Roland McGrath <roland@hack.frob.com>
13709 * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
13710 (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
13711 * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
13712 and __nacl_supply_interface_rtld.
13713 * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
13714 * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
13715 * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
13716 Add __nacl_supply_interface_rtld.
13717 (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
13719 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
13721 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
13723 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13724 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
13726 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
13728 * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
13729 __signbit* with standard C99 macros.
13730 * math/e_exp10l.c: Likewise.
13731 * math/e_exp2l.c: Likewise.
13732 * math/e_scalb.c: Likewise.
13733 * math/e_scalbf.c: Likewise.
13734 * math/e_scalbl.c: Likewise.
13735 * math/s_ldexp.c: Likewise.
13736 * math/s_ldexpf.c: Likewise.
13737 * math/s_ldexpl.c: Likewise.
13738 * math/w_atan2.c: Likewise.
13739 * math/w_atan2f.c: Likewise.
13740 * math/w_atan2l.c: Likewise.
13741 * math/w_cosh.c: Likewise.
13742 * math/w_coshf.c: Likewise.
13743 * math/w_coshl.c: Likewise.
13744 * math/w_exp10.c: Likewise.
13745 * math/w_exp10f.c: Likewise.
13746 * math/w_exp10l.c: Likewise.
13747 * math/w_exp2.c: Likewise.
13748 * math/w_exp2f.c: Likewise.
13749 * math/w_exp2l.c: Likewise.
13750 * math/w_fmod.c: Likewise.
13751 * math/w_fmodf.c: Likewise.
13752 * math/w_fmodl.c: Likewise.
13753 * math/w_hypot.c: Likewise.
13754 * math/w_hypotf.c: Likewise.
13755 * math/w_hypotl.c: Likewise.
13756 * math/w_jnl.c: Likewise.
13757 * math/w_lgamma.c: Likewise.
13758 * math/w_lgamma_r.c: Likewise.
13759 * math/w_lgammaf.c: Likewise.
13760 * math/w_lgammaf_r.c: Likewise.
13761 * math/w_lgammal.c: Likewise.
13762 * math/w_lgammal_r.c: Likewise.
13763 * math/w_pow.c: Likewise.
13764 * math/w_powf.c: Likewise.
13765 * math/w_powl.c: Likewise.
13766 * math/w_remainder.c: Likewise.
13767 * math/w_remainderf.c: Likewise.
13768 * math/w_remainderl.c: Likewise.
13769 * math/w_scalb.c: Likewise.
13770 * math/w_scalbf.c: Likewise.
13771 * math/w_scalbl.c: Likewise.
13772 * math/w_scalbln.c: Likewise.
13773 * math/w_scalblnf.c: Likewise.
13774 * math/w_scalblnl.c: Likewise.
13775 * math/w_sinh.c: Likewise.
13776 * math/w_sinhf.c: Likewise.
13777 * math/w_sinhl.c: Likewise.
13778 * math/w_tgamma.c: Likewise.
13779 * math/w_tgammaf.c: Likewise.
13780 * math/w_tgammal.c: Likewise.
13781 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13782 * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
13783 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13784 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13785 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13786 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13787 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
13788 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
13789 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13790 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13791 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
13792 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
13793 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13794 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
13795 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
13796 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13797 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
13798 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
13799 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
13800 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
13801 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13802 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
13803 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13804 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13805 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
13806 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
13807 * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
13808 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
13809 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13810 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
13811 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
13812 * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
13813 * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
13814 * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
13815 * stdio-common/printf_fp.c: Likewise.
13816 * stdio-common/printf_fphex.c: Likewise.
13817 * stdio-common/printf_size.c: Likewise.
13819 2015-06-03 Joseph Myers <joseph@codesourcery.com>
13822 * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
13824 * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
13826 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
13827 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
13828 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
13829 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
13830 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
13831 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
13832 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
13833 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
13834 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
13835 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
13838 * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
13839 weak alias of __wmemchr. Use libc_hidden_weak.
13840 * include/wchar.h (__wmemchr): Declare. Use libc_hidden_proto.
13841 * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
13842 instead of wmemchr.
13844 2015-06-02 Roland McGrath <roland@hack.frob.com>
13847 * elf/tst-tlsalign-extern.c: New file.
13848 * elf/tst-tlsalign-extern-static.c: New file.
13849 * elf/tst-tlsalign-vars.c: New file.
13850 * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
13851 [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
13852 ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
13853 ($(objpfx)tst-tlsalign-extern-static): Likewise.
13854 (test-xfail-tst-tlsalign-extern-static): New variable.
13856 2015-06-02 Joseph Myers <joseph@codesourcery.com>
13858 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
13859 Use variable name _sc_err instead of err.
13860 [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
13862 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
13863 (INLINE_SYSCALL): Use variable name _sc_err instead of err.
13864 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
13865 (INLINE_SYSCALL): Likewise.
13867 * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
13868 * include/string.h (__strnlen): Use libc_hidden_proto.
13869 * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
13870 * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
13871 (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
13872 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
13873 (libc_hidden_def): Undefine and redefine.
13874 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
13875 [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
13877 * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
13879 * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
13882 * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
13883 weak alias of __towlower. Use libc_hidden_weak.
13884 (towupper): Rename to __towupper and define as weak alias of
13885 __towupper. Use libc_hidden_weak.
13886 * include/wctype.h (__towlower): Declare. Use libc_hidden_proto.
13887 (__towupper): Likewise.
13888 * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
13889 __towlower instead of towlower.
13891 2015-06-02 Roland McGrath <roland@hack.frob.com>
13893 * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
13894 "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
13896 2015-06-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
13898 * sysdeps/aarch64/libm-test-ulps: Update.
13900 2015-06-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13902 * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
13904 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
13905 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
13906 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
13907 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
13908 * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
13909 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
13910 * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
13912 2015-06-01 Martin Sebor <msebor@redhat.com>
13915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
13916 (__setcontext): Use extended four-operand version of mtsf whenever
13918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
13919 (__novec_swapcontext): Likewise.
13921 2015-06-01 Siddhesh Poyarekar <siddhesh@redhat.com>
13923 * benchtests/scripts/compare_bench.py: New file.
13924 * benchtests/scripts/import_bench.py (mean): New function.
13925 (split_list): Likewise.
13926 (do_for_all_timings): Likewise.
13927 (compress_timings): Likewise.
13929 * benchtests/scripts/import_bench.py: New file.
13930 * benchtests/scripts/validate_benchout.py: Import import_bench
13931 instead of jsonschema.
13932 (validate_bench): Remove function.
13933 (main): Use import_bench.
13935 2015-06-01 Steve Ellcey <sellcey@imgtec.com>
13937 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
13938 copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
13940 2015-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13942 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13944 2015-05-28 Roland McGrath <roland@hack.frob.com>
13946 * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
13947 set THREAD_SELF->tid to a magic value and futex-wake it.
13948 Pass its address to the thread_exit system call.
13949 * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
13951 * sysdeps/nacl/lowlevellock.h: New file.
13952 * sysdeps/nacl/lll_timedwait_tid.c: New file.
13954 * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
13955 Add TIMEOUT to current time, don't subtract it.
13957 2015-05-28 H.J. Lu <hongjiu.lu@intel.com>
13961 * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
13962 ($(objpfx)tst-audit2.out): Also depend on
13963 $(objpfx)tst-auditmod9b.so.
13964 * elf/tst-audit2.c: Include <dlfcn.h>.
13965 (calloc_called): New.
13966 (calloc): Allow to be called more than once.
13967 (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
13969 2015-05-28 Wilco Dijkstra <wdijkstr@arm.com>
13971 * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
13972 * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
13974 2015-05-27 Marko Myllynen <myllynen@redhat.com>
13976 * stdlib/monetary.h: Fix comment.
13978 2015-05-26 Chris Metcalf <cmetcalf@ezchip.com>
13980 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
13981 Avoid using variables in #defines that might cause shadowing.
13982 (INTERNAL_VSYSCALL_CALL): Likewise.
13984 2015-05-26 Roland McGrath <roland@hack.frob.com>
13986 * sysdeps/nacl/lll_timedlock_wait.c: New file.
13988 * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
13989 * nptl/lll_timedlock_wait.c: ... to this new file.
13990 * nptl/Makefile (libpthread-routines): Add it.
13991 * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
13992 * nptl/lll_timedwait_tid.c: ... to this new file.
13993 * nptl/Makefile (libpthread-routines): Add it.
13994 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
13995 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
13996 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
13997 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
13998 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
13999 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
14000 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
14001 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
14002 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
14003 * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
14005 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14007 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
14008 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
14009 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
14010 * sysdeps/unix/sysv/linux/aarch64/sysdep.h
14011 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
14012 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
14013 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
14014 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
14015 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
14016 * sysdeps/unix/sysv/linux/tile/sysdep.h
14017 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
14018 * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
14019 using vDSO syscall macro.
14021 2015-05-26 Andriy Rysin <arysin@gmail.com>
14024 * uk_UA: Fix sorting order for Ukrainian locale
14026 2015-05-26 Marko Myllynen <myllynen@redhat.com>
14028 * stdlib/monetary.h: Fix comment.
14030 2015-05-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
14033 * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
14034 st_mtim and st_ctim members.
14035 * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
14036 st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
14037 * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
14038 (struct stat64): Likewise.
14039 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
14040 (struct stat64): Likewise.
14041 * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
14042 (struct stat64): Likewise.
14044 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14046 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
14047 Define and include sysdep-vdso.h.
14048 * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
14050 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
14052 * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
14053 Define with VDSO_SYMBOL and use PTR_MANGLE.
14054 (__vdso_clock_gettime): Likewise.
14055 (__vdso_clock_getres): Likewise.
14056 (_libc_vdso_platform_setup): Likewise.
14057 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
14059 (_libc_vdso_platform_setup): Likewise.
14060 * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
14062 (__vdso_clock_gettime): Likewise.
14063 (__vdso_clock_getres): Likewise.
14064 (__vdso_get_tbfreq): Likewise.
14065 (__vdso_getcpu): Likewise.
14066 (__vdso_time): Likewise.
14067 (__vdso_sigtramp_rt64): Likewise.
14068 (__vdso_signtramp32): Likewise.
14069 (__vdso_sigtramp_rt32): Likewise.
14070 (_libc_vdso_platform_setup): Likewise.
14071 * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
14073 (__vdso_clock_gettime): Likewise.
14074 (__vdso_clock_getres): Likewise.
14075 (_libc_vdso_platform_setup): Likewise.
14076 * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
14078 (__vdso_clock_gettime): Likewise.
14079 (_libc_vdso_platform_setup): Likewise.
14080 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
14082 (__vdso_getcpu): Likewise.
14083 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
14084 Use VDSO_SYMBOL macro to define.
14085 (__vdso_clock_gettime): Likewise.
14086 (__vdso_clock_getres): Likewise.
14087 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
14089 (__vdso_clock_gettime): Likewise.
14090 (__vdso_clock_getres): Likewise.
14091 (__vdso_get_tbfreq): Likewise.
14092 (__vdso_getcpu): Likewise.
14093 (__vdso_time): Likewise.
14094 (__vdso_sigtramp_rt64): Likewise.
14095 (__vdso_signtramp32): Likewise.
14096 (__vdso_sigtramp_rt32): Likewise.
14097 * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
14099 (__vdso_clock_gettime): Likewise.
14100 (__vdso_clock_getres): Likewise.
14101 * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
14103 (__vdso_clock_gettime): Likewise.
14104 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
14106 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL): Remove
14108 (INTERNAL_VSYSCALL): Likewise.
14109 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
14111 (INTERNAL_VSYSCALL): Likewise.
14112 (INTERNAL_VSYSCALL_NCS): Likewise.
14113 (INTERNAL_VSYSCALL_CALL): New macro.
14114 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
14115 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
14117 (INTERNAL_VSYSCALL): Likewise.
14118 (INTERNAL_VSYSCALL_NCS): Likewise.
14119 (INTERNAL_VSYSCALL_CALL): New macro.
14120 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
14121 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
14122 (INLINE_VSYSCALL): Remove macro.
14123 (INTERNAL_VSYSCALL): Remove macro.
14124 (INTERNAL_VSYSCALL_NCS): Remove macro.
14125 (INTERNAL_VSYSCALL_CALL): New macro.
14126 (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
14127 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
14128 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
14129 (HAVE_CLOCK_GETRES_VSYSCALL): New define.
14130 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
14131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
14132 (INLINE_VSYSCALL): Remove macro.
14133 (INTERNAL_VSYSCALL): Likewise.
14134 (INTERNAL_VSYSCALL_NCS): Likewise.
14135 (INTERNAL_VSYSCALL_CALL): New macro.
14136 (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
14137 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
14138 PTR_DEMANGLE on vDSO pointer.
14139 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
14140 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
14142 (INTERNAL_SYSCALL): Likewise.
14143 (INTERNAL_VSYSCALL_NCS): Remove macro.
14144 (INTERNAL_VSYSCALL_CALL): New macro.
14145 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
14147 (INTERNAL_VSYSCALL): Likewise.
14148 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
14149 sysdep-vdso.h instead of libc-vdso.h.
14150 * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
14152 (INLINE_VSYSCALL): Likewise.
14153 (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
14154 * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
14156 (INLINE_VSYSCALL): Likewise.
14157 (INTERNAL_VSYSCALL): Likewise.
14158 (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
14159 * sysdeps/unix/sysv/linux/timespec_get.c
14160 (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
14161 (timespec_get): Use ANSI prototype.
14162 * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
14163 and definition for Linux.
14165 2015-05-25 Andrew Senkevich <andrew.senkevich@intel.com>
14167 * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
14168 * include/libc-symbols.h: libmvec_hidden_* macro series added.
14170 2015-05-22 H.J. Lu <hongjiu.lu@intel.com>
14174 * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
14175 for missing DT_PLTRELSZ.
14177 2015-05-22 Paul Eggert <eggert@cs.ucla.edu>
14179 Remove obsolete aliases that broke 'locale -a'
14181 * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
14182 which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
14183 breaking some applications that use 'locale -a' output.
14184 Change the encoding of this file from Latin-1 to ASCII to avoid
14185 other potential problems with people grepping this file.
14187 2015-05-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14189 * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
14190 -fasynchronous-unwind-tables.
14191 (CFLAGS-sendto.c): Likewise.
14192 (CFLAGS-sendmsg.c): Likewise.
14193 (CFLAGS-connect.c): Likewise.
14194 (CFLAGS-recvmsg.c): Likewise.
14195 (CFLAGS-recvfrom.c): Likewise.
14196 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
14197 (SOCKETCALL): New macro: non-cancellable socketcall.
14198 (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
14199 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
14200 internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
14201 * sysdeps/unix/sysv/linux/accept.c: New file.
14202 * sysdeps/unix/sysv/linux/bind.c: Likewise.
14203 * sysdeps/unix/sysv/linux/connect.c: Likewise.
14204 * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
14205 * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
14206 * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
14207 * sysdeps/unix/sysv/linux/listen.c: Likewise.
14208 * sysdeps/unix/sysv/linux/recv.c: Likewise.
14209 * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
14210 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
14211 * sysdeps/unix/sysv/linux/send.c: Likewise.
14212 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
14213 * sysdeps/unix/sysv/linux/sendto.c: Likewise.
14214 * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
14215 * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
14216 * sysdeps/unix/sysv/linux/socket.c: Likewise.
14217 * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
14218 * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
14220 (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
14221 (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
14222 instead of __internal_xxx function.
14223 * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
14225 (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
14226 (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
14227 instead of __internal_xxx function.
14228 * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
14230 (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
14231 (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
14232 instead of __internal_xxx function.
14233 * sysdeps/unix/sysv/linux/accept.S: Remove file.
14234 * sysdeps/unix/sysv/linux/bind.S: Likewise.
14235 * sysdeps/unix/sysv/linux/connect.S: Likewise.
14236 * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
14237 * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
14238 * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
14239 * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
14240 * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
14241 * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
14242 * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
14243 * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
14244 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
14245 * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
14246 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
14247 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
14248 * sysdeps/unix/sysv/linux/listen.S: Likewise.
14249 * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
14250 * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
14251 * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
14252 * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
14253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
14254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
14255 * sysdeps/unix/sysv/linux/recv.S: Likewise.
14256 * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
14257 * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
14258 * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
14259 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
14260 * sysdeps/unix/sysv/linux/send.S: Likewise.
14261 * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
14262 * sysdeps/unix/sysv/linux/sendto.S: Likewise.
14263 * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
14264 * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
14265 * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
14266 * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
14267 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
14268 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
14269 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
14270 * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
14271 * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
14272 socketcall is implemented in GLIBC.
14274 2015-05-22 Joseph Myers <joseph@codesourcery.com>
14276 * soft-fp/fmadf4.c: Include <libc-internal.h>.
14277 (__fma): Ignore uninitialized warnings around packing.
14278 * soft-fp/fmasf4.c: Include <libc-internal.h>.
14279 (__fmaf): Ignore uninitialized warnings around packing.
14280 * soft-fp/fmatf4.c: Include <libc-internal.h>.
14281 (__fmal): Ignore uninitialized warnings around packing.
14283 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
14284 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
14285 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
14286 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
14288 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
14289 switch statement into default case.
14290 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
14292 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
14293 a conditional in forcing "inexact".
14294 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
14297 2015-05-22 Roland McGrath <roland@hack.frob.com>
14299 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
14300 Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
14301 for each INTERNAL_SYSCALL use.
14303 2015-05-22 Joseph Myers <joseph@codesourcery.com>
14306 * posix/unistd.h (_POSIX2_C_VERSION): New macro.
14307 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
14311 * string/basename.c (basename): Rename to __basename and define as
14312 weak alias of __basename. Use libc_hidden_weak.
14313 * include/string.h (__basename): Declare. Use libc_hidden_proto.
14314 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
14315 __basename instead of basename.
14316 * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
14318 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
14320 2015-05-18 Florian Weimer <fweimer@redhat.com>
14322 * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
14323 (_IO_JUMPS_FILE_plus): New.
14324 (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
14325 _IO_CAST_FIELD_ACCESS.
14326 * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
14327 mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
14328 * libio/freopen.c (freopen): Likewise.
14329 * libio/freopen64.c (freopen64): Likewise.
14330 * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
14331 * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
14332 * libio/iofwide.c (_IO_fwide): Likewise.
14333 * libio/memstream.c (open_memstream): Likewise.
14334 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
14335 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
14336 * libio/oldiopopen.c (_IO_old_popen): Likewise.
14338 2015-05-21 Joseph Myers <joseph@codesourcery.com>
14340 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
14341 (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
14343 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
14344 (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
14346 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
14347 (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
14350 * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
14353 * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
14354 * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
14356 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
14357 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
14358 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
14360 2015-05-21 Florian Weimer <fweimer@redhat.com>
14362 * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
14363 Adjust jump table label generation macros.
14365 2015-05-21 Florian Weimer <fweimer@redhat.com>
14367 * stdio-common/vfprintf.c (vfprintf): Move local variables
14368 args_malloced, specs, specs_malloced, and the code after
14369 do_positional to the printf_positional function.
14370 (printf_positional): New function.
14372 2015-05-21 Florian Weimer <fweimer@redhat.com>
14374 * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
14376 (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
14377 STEP4_TABLE, process_arg): Move macro definitions
14378 out of the vfprintf function. (Cosmetic change only.)
14380 2015-05-21 Carlos O'Donell <carlos@redhat.com>
14382 * benchtests/Makefile (stdio-common-bench): Define.
14383 (benchset): Add stdio-common-bench.
14384 * sprintf-inputs: New file.
14385 * sprintf-source.c: New file.
14387 2015-05-21 Andreas Schwab <schwab@suse.de>
14391 * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
14392 of struct __res_state.
14393 * resolv/res_send.c (__libc_res_nsend): Likewise.
14394 (get_nsaddr): New function.
14395 (res_ourserver_p, send_vc, reopen): Use it instead of accessing
14398 2015-05-20 Joseph Myers <joseph@codesourcery.com>
14400 * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
14401 -D_POSIX_C_SOURCE=199506L.
14403 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
14405 * conform/data/unistd.h-data (_POSIX_VERSION): Require.
14406 (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
14407 Do not mention otherwise.
14408 [POSIX] (_XOPEN_VERSION): Do not expect.
14409 [POSIX] (_XOPEN_XCU_VERSION): Likewise.
14410 [POSIX] (_POSIX2_C_BIND): Likewise.
14411 [POSIX] (_POSIX2_VERSION): Likewise.
14412 [POSIX] (_XOPEN_XPG2): Likewise.
14413 [POSIX] (_XOPEN_XPG3): Likewise.
14414 [POSIX] (_XOPEN_XPG4): Likewise.
14415 [POSIX] (_XOPEN_UNIX): Likewise.
14416 [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
14417 [POSIX] (_POSIX_BARRIERS): Likewise.
14418 [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
14419 [POSIX] (_POSIX_CPUTIME): Likewise.
14420 [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
14421 [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
14422 [POSIX] (_POSIX_SHELL): Likewise.
14423 [POSIX] (_POSIX_SPAWN): Likewise.
14424 [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
14425 [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
14426 [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
14427 [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
14428 [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
14429 [POSIX] (_XBS5_ILP32_OFF32): Likewise.
14430 [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
14431 [POSIX] (_XBS5_LP64_OFF64): Likewise.
14432 [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
14433 [POSIX] (_POSIX_TIMEOUTS): Likewise.
14434 [POSIX] (_POSIX2_PBS): Likewise.
14435 [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
14436 [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
14437 [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
14438 [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
14439 [POSIX] (_POSIX2_PBS_TRACK): Likewise.
14440 [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
14441 [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
14442 [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
14443 [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
14444 [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
14445 [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
14446 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
14447 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
14448 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
14449 [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
14450 [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
14451 [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
14452 [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
14453 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
14454 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
14455 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
14456 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
14457 [POSIX] (_SC_2_C_BIND): Likewise.
14458 [POSIX] (_SC_2_C_VERSION): Likewise.
14459 [POSIX] (_SC_2_PBS): Likewise.
14460 [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
14461 [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
14462 [POSIX] (_SC_2_PBS_LOCATE): Likewise.
14463 [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
14464 [POSIX] (_SC_2_PBS_TRACK): Likewise.
14465 [POSIX] (_SC_ATEXIT_MAX): Likewise.
14466 [POSIX] (_SC_BARRIERS): Likewise.
14467 [POSIX] (_SC_BASE): Likewise.
14468 [POSIX] (_SC_CLOCK_SELECTION): Likewise.
14469 [POSIX] (_SC_DEVICE_IO): Likewise.
14470 [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
14471 [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
14472 [POSIX] (_SC_FD_MGMT): Likewise.
14473 [POSIX] (_SC_FIFO): Likewise.
14474 [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
14475 [POSIX] (_SC_FILE_LOCKING): Likewise.
14476 [POSIX] (_SC_FILE_SYSTEM): Likewise.
14477 [POSIX] (_SC_IOV_MAX): Likewise.
14478 [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
14479 [POSIX] (_SC_NETWORKING): Likewise.
14480 [POSIX] (_SC_PAGE_SIZE): Likewise.
14481 [POSIX] (_SC_PASS_MAX): Likewise.
14482 [POSIX] (_SC_PIPE): Likewise.
14483 [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
14484 [POSIX] (_SC_REGEXP): Likewise.
14485 [POSIX] (_SC_SHELL): Likewise.
14486 [POSIX] (_SC_SIGNALS): Likewise.
14487 [POSIX] (_SC_SINGLE_PROCESS): Likewise.
14488 [POSIX] (_SC_SPIN_LOCKS): Likewise.
14489 [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
14490 [POSIX] (_SC_USER_GROUPS): Likewise.
14491 [POSIX] (_SC_USER_GROUPS_R): Likewise.
14492 [POSIX] (_SC_STREAMS): Likewise.
14493 [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
14494 [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
14495 [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
14496 [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
14497 [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
14498 [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
14499 [POSIX] (_PC_FILESIZEBITS): Likewise.
14500 [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
14501 [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
14502 [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
14503 [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
14504 [POSIX] (uid_t): Likewise.
14505 [POSIX] (gid_t): Likewise.
14506 [POSIX] (off_t): Likewise.
14507 [POSIX] (pid_t): Likewise.
14508 [POSIX] (cuserid): Allow.
14509 (_SC_2_CHAR_TERM): Require constant.
14510 (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
14511 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
14514 2015-05-20 Roland McGrath <roland@hack.frob.com>
14516 * sysdeps/nacl/pthread-pids.h: New file.
14517 * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
14518 (create_thread): Use __nacl_get_tid to initialize PD->tid.
14520 * nptl/pthread-pids.h: New file.
14521 * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
14522 * nptl/nptl-init.c: Include <pthread-pids.h>.
14523 (__pthread_initialize_minimal_internal):
14524 Call __pthread_initialize_pids instead of set_tid_address syscall.
14526 * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
14527 * sysdeps/posix/usleep.c: ... here.
14529 2015-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14531 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
14532 call_pselect6 object.
14533 [$(subdir) = io]: Remove call_sync_file_range object.
14534 * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
14535 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
14536 * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
14537 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
14539 2015-05-20 Wilco Dijkstra <wdijkstr@arm.com>
14541 * math/s_cproj.c: Add include "math_private.h".
14542 * math/s_cprojf.c: Likewise.
14543 * math/s_cprojl.c: Likewise.
14545 2015-05-19 Joseph Myers <joseph@codesourcery.com>
14548 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
14549 high mantissa bit when testing whether P is a NaN.
14550 * math/libm-test.inc (remainder_test_data): Add more tests.
14551 (remquo_test_data): Likewise.
14554 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
14555 below -32, return the argument, with underflow if subnormal.
14556 * math/auto-libm-test-in: Add more tests of atanh.
14557 * math/auto-libm-test-out: Regenerated.
14559 2015-05-19 Roland McGrath <roland@hack.frob.com>
14562 * nptl/tst-sem15.c: New file.
14563 * nptl/Makefile (tests): Add it.
14564 * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
14565 s/<</>>/ to fix typo in EOVERFLOW check.
14566 * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
14568 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
14570 * manual/strings.texi (envz_remove): Fix typo in safety
14573 2015-05-19 Paul Eggert <eggert@cs.ucla.edu>
14574 Steve Ellcey <sellcey@imgtec.com>
14576 * inet/rcmd.c (rresvport_af): Change ss to anonymous union
14577 in order to avoid strict alias warnings.
14578 (iruserok_af): Ditto for ra.
14580 2015-05-19 James Lemke <jwlemke@codesourcery.com>
14584 (magicbyte): Convert to a function and avoid returning 0x01.
14585 (mem2mem_check): Avoid using a length byte equal to the magic byte.
14586 (mem2chunk_check): Fix unsigned comparisons to zero.
14587 Hoist defs of sz and magic.
14589 2015-05-19 Richard Henderson <rth@redhat.com>
14591 * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
14593 * sysdeps/alpha/fpu/libm-test-ulps: Update.
14595 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
14598 * malloc/Makefile (tests): New test case tst-malloc-backtrace.
14599 * malloc/arena.c (arena_lock): Check if arena is corrupt.
14600 (reused_arena): Find a non-corrupt arena.
14601 (heap_trim): Pass arena to unlink.
14602 * malloc/hooks.c (malloc_check_get_size): Pass arena to
14604 (top_check): Likewise.
14605 (free_check): Likewise.
14606 (realloc_check): Likewise.
14607 * malloc/malloc.c (malloc_printerr): Add arena argument.
14608 (unlink): Likewise.
14609 (munmap_chunk): Adjust.
14610 (ARENA_CORRUPTION_BIT): New macro.
14611 (arena_is_corrupt): Likewise.
14612 (set_arena_corrupt): Likewise.
14613 (sysmalloc): Use mmap if there are no usable arenas.
14614 (_int_malloc): Likewise.
14615 (__libc_malloc): Don't fail if arena_get returns NULL.
14616 (_mid_memalign): Likewise.
14617 (__libc_calloc): Likewise.
14618 (__libc_realloc): Adjust for additional argument to
14620 (_int_free): Likewise.
14621 (malloc_consolidate): Likewise.
14622 (_int_realloc): Likewise.
14623 (_int_memalign): Don't touch corrupt arenas.
14624 * malloc/tst-malloc-backtrace.c: New test case.
14626 * Makefile (summarize-tests): Fix return value on success.
14628 * manual/string.texi (Envz Functions): Add envz_remove.
14630 2015-05-18 Roland McGrath <roland@hack.frob.com>
14632 * sysdeps/posix/opendir.c: Include <stdbool.h>.
14633 (invalid_name): New function, broken out of ...
14634 (__opendirat): ... here. Call it.
14635 (need_isdir_precheck): New function, broken out of ...
14636 (__opendirat): ... here. Call it.
14637 Use __fxstatat64, not __xstatat64.
14638 (opendir_oflags): New function, broken out of ...
14639 (__opendirat): ... here. Call it.
14640 (opendir_tail): New function, broken out of ...
14641 (__opendirat): ... here. Call it.
14642 (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
14643 opendir_tail, rather than punting to __opendirat.
14644 (__opendirat): Conditionalize function definition on [IS_IN (libc)].
14646 2015-05-18 Siddhesh Poyarekar <siddhesh@redhat.com>
14648 * .gitignore: Ignore generated *.pyc.
14650 2015-05-18 Arjun Shankar <arjun.is@lostca.se>
14652 * include/stdio.h: Define __need_wint_t.
14653 * test-skeleton.c: Avoid `for' loop initial declaration.
14654 * nptl/tst-initializers1.c: Use test-skeleton.c.
14656 2015-05-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14659 * stdlib/tst-setcontext3.sh: Remove non-portable array use.
14661 2015-05-15 Joseph Myers <joseph@codesourcery.com>
14664 * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
14665 (__ieee754_atanh): Force underflow exception for results with
14666 small absolute value.
14667 * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
14668 (__ieee754_atanhf): Force underflow exception for results with
14669 small absolute value.
14670 * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
14671 (__ieee754_atanh): Force underflow exception for results with
14672 small absolute value.
14673 * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
14674 (__ieee754_atanhf): Force underflow exception for results with
14675 small absolute value.
14676 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
14677 (__ieee754_atanhl): Force underflow exception for results with
14678 small absolute value.
14679 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
14680 (__ieee754_atanhl): Force underflow exception for results with
14681 small absolute value.
14682 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
14683 (__ieee754_atanhl): Force underflow exception for results with
14684 small absolute value.
14685 * math/auto-libm-test-in: Do not allow missing underflow
14686 exceptions from atanh.
14687 * math/auto-libm-test-out: Regenerated.
14690 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
14691 2**-28 as threshold for returning x or +/- 1/x.
14692 * math/auto-libm-test-in: Add more tests of tan.
14693 * math/auto-libm-test-out: Regenerated.
14696 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
14697 2**26 not 2**58 as threshold for returning x * (log (x) - 1).
14698 * math/auto-libm-test-in: Add another test of lgamma.
14699 * math/auto-libm-test-out: Regenerated.
14701 2015-05-15 Wilco Dijkstra <wdijkstr@arm.com>
14703 * stdio-common/printf_fp.c (___printf_fp): Use abs.
14704 * stdlib/gmp-impl.h (ABS): Remove define. (ABSIZ): Remove.
14705 * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
14706 * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
14707 (ESUB): Use fabs. (ADD2): Use fabs. (SUB2): Use fabs.
14708 (ADD2A): Use fabs. (SUB2A): Use fabs.
14709 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
14710 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
14711 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
14712 (log1): Use fabs. (my_log2): Use fabs.
14713 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
14714 * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
14715 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
14716 * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
14717 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
14718 (__cos): Use fabs. (slow): Use fabs. (slow2): Use fabs.
14719 (sloww): Use fabs. (sloww1): Use fabs. (sloww2): Use fabs.
14720 (bslow1): Use fabs. (bslow2): Use fabs. (cslow2): Use fabs.
14721 (csloww): Use fabs. (csloww1): Use fabs. (csloww2): Use fabs.
14722 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
14723 * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
14725 2015-05-15 Joseph Myers <joseph@codesourcery.com>
14728 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
14729 as threshold for returning 1 - x.
14730 * math/auto-libm-test-in: Add more tests of erfc.
14731 * math/auto-libm-test-out: Regenerated.
14733 2015-05-14 Joseph Myers <joseph@codesourcery.com>
14736 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
14737 threshold for large arguments.
14738 * math/auto-libm-test-in: Add another test of atan.
14739 * math/auto-libm-test-out: Regenerated.
14742 * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
14743 (__log1p): Force underflow exception for results with small
14745 * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
14746 (__log1pf): Force underflow exception for results with small
14748 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
14749 (__log1p): Force underflow exception for results with small
14751 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
14752 (__log1pf): Force underflow exception for results with small
14754 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
14755 (__log1pl): Force underflow exception for results with small
14757 * math/auto-libm-test-in: Do not allow missing underflow
14758 exceptions from log1p.
14759 * math/auto-libm-test-out: Regenerated.
14761 2015-05-14 Jakub Bogusz <qboosh@pld-linux.org>
14762 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14765 * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
14767 2015-05-14 Andrew Senkevich <andrew.senkevich@intel.com>
14769 * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
14770 (libmvec): New variable.
14771 * configure.ac: Added option for mathvec build.
14772 * configure: Regenerated.
14773 * mathvec/Depend: New file.
14774 * mathvec/Makefile: New file.
14775 * shlib-versions: Added libmvec.
14776 * math/Makefile: Added rule for libm.so installation.
14778 * bits/math-vector.h: New file.
14779 * bits/libm-simd-decl-stubs.h: New header.
14780 * math/Makefile (headers): Added new header
14781 libm-simd-decl-stubs.h.
14782 * math/math.h (__MATHCALL_VEC): New macro.
14784 * math/gen-libm-have-vector-test.sh: Script generates series of macros
14785 for conditions in testing functions.
14786 * math/Makefile: Added call of libm-have-vector-test.sh.
14787 * math/libm-test.inc (HAVE_VECTOR): New macros.
14789 * math/libm-test.inc: START refactored.
14790 * math/test-double.c (TEST_MATHVEC): Add define.
14791 * math/test-float.c: Likewise.
14792 * math/test-idouble.c: Likewise.
14793 * math/test-ifloat.c: Likewise.
14794 * math/test-ildoubl.c: Likewise.
14795 * math/test-ldouble.c: Likewise.
14796 * sysdeps/generic/math-tests-arch.h
14797 (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
14798 architecture check.
14800 * math/test-double.c (FUNC_TEST): New macro.
14801 * math/test-float.c: Likewise.
14802 * math/test-idouble.c: Likewise.
14803 * math/test-ifloat.c: Likewise.
14804 * math/test-ildoubl.c: Likewise.
14805 * math/test-ldouble.c: Likewise.
14806 * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
14808 2015-05-13 Roland McGrath <roland@hack.frob.com>
14810 * sysdeps/nacl/fdopendir.c: New file.
14812 * dirent/scandir-tail.c: New file.
14813 * dirent/scandir64-tail.c: New file.
14814 * dirent/Makefile (routines): Add them.
14815 (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
14816 * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
14817 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
14818 [!SCANDIR] (SCANDIR_TAIL): New macro.
14819 (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
14820 * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
14821 (SCANDIRAT): Macro removed.
14822 (SCANDIR_TAIL): New macro.
14823 * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
14824 [!SCANDIRAT] (SCANDIR_TAIL): New macro.
14825 (SCANDIRAT): Just call __opendirat and __scandir_tail.
14826 * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
14827 (READDIR): Macro removed.
14828 (SCANDIR_TAIL): New macro.
14829 * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
14830 (SCANDIR_TAIL): New macro.
14832 * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
14833 * dirent/scandir-cancel.c: ... to this new file.
14834 * dirent/Makefile (routines): Add it.
14835 * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
14836 * sysdeps/unix/sysv/linux/i386/scandir64.c
14837 (SKIP_SCANDIR_CANCEL): Macro removed.
14838 * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
14840 * dirent/tst-scandir.c: New file.
14841 * dirent/tst-scandir64.c: New file.
14842 * dirent/Makefile (tests): Add them.
14844 2015-05-13 H.J. Lu <hongjiu.lu@intel.com>
14847 * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
14849 2015-05-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
14851 * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
14854 2015-05-13 Leonhard Holz <leonhard.holz@web.de>
14856 * benchtests/bench-strcoll.c: New benchmark.
14857 * benchtests/Makefile: Generate locales and run benchmark.
14858 * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
14859 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
14860 * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
14861 * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
14862 * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
14863 * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
14864 * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
14865 * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
14866 * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
14867 * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
14868 * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
14869 * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
14870 * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
14871 * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
14872 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
14873 * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
14874 * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
14875 * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
14876 * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
14877 * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
14878 * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
14879 * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
14880 * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
14881 * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
14883 2015-05-12 Ondřej Bílka <neleai@seznam.cz>
14885 * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
14886 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
14888 2015-05-12 Roland McGrath <roland@hack.frob.com>
14890 * posix/uname-values.h: New file.
14891 * posix/uname.c: Include that instead of <config-name.h>.
14892 * sysdeps/nacl/uname-values.h: New file.
14893 * sysdeps/arm/nacl/uname-values.h: New file.
14895 2015-05-12 Joseph Myers <joseph@codesourcery.com>
14897 * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
14898 splitting into fields.
14900 2015-05-12 Leonhard Holz <leonhard.holz@web.de>
14902 * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
14903 * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
14904 * locale/localeinfo.h: Add enum collation_encoding_type.
14905 * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
14906 * programs/ld-collate.c (collate_output): Add encoding type info.
14907 * string/strcoll_l.c (STRDIFF): New function.
14908 * (STRCOLL): Use STRDIFF to skip over equal prefix.
14909 * wcsmbs/wcscoll_l.c: Define STRDIFF.
14911 2015-05-11 Joseph Myers <joseph@codesourcery.com>
14914 * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
14915 * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here. Include
14916 <fpu_control.h> instead of <math/fpu_control.c>.
14917 * sysdeps/mips/mips32/fpu/Makefile: New file.
14919 2015-05-11 Andreas Schwab <schwab@suse.de>
14922 * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
14924 (_nss_compat_endgrent): Call nss_endgrent.
14925 * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
14927 (_nss_compat_endpwent): Call nss_endpwent.
14928 * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
14929 needent, call nss_setspent only if non-zero.
14930 (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
14931 (internal_endspent): Don't call nss_endspent.
14932 (_nss_compat_endspent): Call nss_endspent.
14933 * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
14934 Remove. All uses removed.
14935 (internal_setent): Remove parameter stayopen, add parameter
14936 stream. Use it instead of global variable.
14937 (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
14938 (internal_endent, internal_getent): Add parameter stream. Use it
14939 instead of global variable.
14940 (CONCAT(_nss_files_end,ENTNAME))
14941 (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
14942 (_nss_files_get##name##_r): Pass local stream. Remove locking.
14943 * nss/nss_files/files-alias.c (position, last_use): Remove. All
14945 (internal_setent, internal_endent): Add parameter stream. Use it
14946 instead of global variable.
14947 (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
14949 (get_next_alias): Add parameter stream.
14950 (_nss_files_getaliasent_r): Pass global stream.
14951 (_nss_files_getaliasbyname_r): Pass local stream. Remove locking.
14952 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
14953 (_nss_files_gethostbyname4_r): Pass local stream to
14954 internal_setent, internal_getent and internal_endent. Remove
14957 2015-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
14959 * tst-strfmon1.c (tests): Update expected currency symbol.
14961 2015-05-08 Roland McGrath <roland@hack.frob.com>
14963 * sysdeps/nacl/gethostname.c: New file.
14965 2015-05-08 Joseph Myers <joseph@codesourcery.com>
14967 * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
14969 * math/auto-libm-test-out: Regenerated.
14970 * sysdeps/i386/fpu/libm-test-ulps: Update.
14971 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14973 2015-05-08 Carlos O'Donell <carlos@redhat.com>
14976 * stdlib/tst-setcontext3.c: New file.
14977 * stdlib/tst-setcontext3.sh: New file.
14978 * stdlib/Makefile (tests): Add tst-setcontext3.
14979 (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
14980 to verify test program created output file.
14981 * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
14982 * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
14983 * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
14984 * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
14986 2015-05-06 Roland McGrath <roland@hack.frob.com>
14989 * elf/tst-tlsalign.c: New file.
14990 * elf/tst-tlsalign-static.c: New file.
14991 * elf/tst-tlsalign-lib.c: New file.
14992 * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
14993 (tests-static): Add tst-tlsalign-static.
14994 (modules-names): Add tst-tlsalign-lib.
14995 (test-xfail-tst-tlsalign): New variable.
14996 (test-xfail-tst-tlsalign-static): New variable.
14998 * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
14999 Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
15001 2015-05-06 Joseph Myers <joseph@codesourcery.com>
15003 * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
15004 csqrt, erfc, sin and sincos.
15005 * math/auto-libm-test-out: Regenerated.
15006 * sysdeps/i386/fpu/libm-test-ulps: Update.
15007 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15009 2015-05-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
15011 * sysdeps/aarch64/libm-test-ulps: Update.
15013 2015-05-05 Joseph Myers <joseph@codesourcery.com>
15015 * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
15016 clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
15017 * math/auto-libm-test-out: Regenerated.
15018 * sysdeps/i386/fpu/libm-test-ulps: Update.
15019 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15021 2015-04-30 Daniel Marjamäki <daniel.marjamaki@evidente.se>
15024 * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
15025 (wcsncpy): Likewise.
15027 2015-05-05 Florian Weimer <fweimer@redhat.com>
15029 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
15030 Assume __ASSUME_FALLOCATE is always true.
15031 * sysdeps/unix/sysv/linux/posix_fallocate64.c
15032 (__posix_fallocate64_l64): Likweise.
15033 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
15034 (posix_fallocate): Likewise.
15035 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
15036 (__posix_fallocate64_l64): Likewise.
15037 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
15038 [!__ASSUME_FALLOCATE]: Add comment.
15040 2015-05-05 Florian Weimer <fweimer@redhat.com>
15042 * sysdeps/unix/sysv/linux/i386/Makefile
15043 (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
15044 (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
15045 * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
15046 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
15047 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
15048 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
15049 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
15051 2015-05-02 Joseph Myers <joseph@codesourcery.com>
15053 * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
15054 cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
15056 * math/auto-libm-test-out: Regenerated.
15057 * sysdeps/i386/fpu/libm-test-ulps: Update.
15058 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15060 2015-05-01 Joseph Myers <joseph@codesourcery.com>
15062 * math/auto-libm-test-in: Add more tests of tgamma.
15063 * math/auto-libm-test-out: Regenerated.
15064 * sysdeps/i386/fpu/libm-test-ulps: Update.
15065 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15067 * math/auto-libm-test-in: Add more tests of tanh.
15068 * math/auto-libm-test-out: Regenerated.
15069 * sysdeps/i386/fpu/libm-test-ulps: Update.
15070 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15072 * math/auto-libm-test-in: Add more tests of tan.
15073 * math/auto-libm-test-out: Regenerated.
15074 * sysdeps/i386/fpu/libm-test-ulps: Update.
15075 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15077 * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
15078 * math/auto-libm-test-out: Regenerated.
15079 * sysdeps/i386/fpu/libm-test-ulps: Update.
15080 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15082 * math/auto-libm-test-in: Add another test of pow.
15083 * math/auto-libm-test-out: Regenerated.
15084 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15086 * math/auto-libm-test-in: Add more tests of lgamma.
15087 * math/auto-libm-test-out: Regenerated.
15088 * sysdeps/i386/fpu/libm-test-ulps: Update.
15089 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15091 * math/auto-libm-test-in: Add more tests of log, log10, log2 and
15093 * math/auto-libm-test-out: Regenerated.
15094 * sysdeps/i386/fpu/libm-test-ulps: Update.
15095 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15097 2015-05-01 Mark Wielaard <mjw@redhat.com>
15099 * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
15100 Elf64_Chdr structs and ELFCOMPRESS constants.
15102 2015-05-01 Joseph Myers <joseph@codesourcery.com>
15104 * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
15106 * math/auto-libm-test-out: Regenerated.
15107 * sysdeps/i386/fpu/libm-test-ulps: Update.
15108 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15110 * math/auto-libm-test-in: Add more tests of erf and erfc.
15111 * math/auto-libm-test-out: Regenerated.
15112 * sysdeps/i386/fpu/libm-test-ulps: Update.
15113 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15115 2015-05-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
15117 * config.h.in (HAVE_AARCH64_BE): Add.
15119 2015-04-30 Joseph Myers <joseph@codesourcery.com>
15121 * math/auto-libm-test-in: Add more tests of csqrt.
15122 * math/auto-libm-test-out: Regenerated.
15123 * sysdeps/i386/fpu/libm-test-ulps: Update.
15124 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15126 * math/auto-libm-test-in: Add more tests of cosh and sinh.
15127 * math/auto-libm-test-out: Regenerated.
15128 * sysdeps/i386/fpu/libm-test-ulps: Update.
15129 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15131 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
15133 2015-04-29 Roland McGrath <roland@hack.frob.com>
15135 * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
15136 * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
15138 * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
15139 (euidaccess, eaccess): Define as weak aliases.
15141 * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
15142 __SLONGWORD_TYPE rather than __S32_TYPE. They are the same size,
15143 but __suseconds_t is often 'long int' so some sources assume that
15144 type is being used (e.g. they use %ld to print tv_usec).
15146 2015-04-29 Florian Weimer <fweimer@redhat.com>
15149 * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
15151 * nss/tst-nss-getpwent.c: New file.
15152 * nss/Makefile (tests): Add new test.
15154 2015-04-28 Joseph Myers <joseph@codesourcery.com>
15157 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
15158 exponents less than 48 as cases where high part of mantissa needs
15159 examining to determine whether argument is integral.
15160 * math/libm-test.inc (round_test_data): Add more tests.
15162 2015-04-28 Mark Wielaard <mjw@redhat.com>
15164 * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
15166 2015-04-27 David S. Miller <davem@davemloft.net>
15168 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
15170 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
15172 2015-04-27 H.J. Lu <hongjiu.lu@intel.com>
15175 * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
15177 2015-04-27 Florian Weimer <fweimer@redhat.com>
15180 * time/tzset.c (parse_tzname): Return error on memory allocation
15182 * test-skeleton.c (struct temp_name_list): Change type of name
15183 member to non-const.
15184 (add_temp_file): Create a copy of the file name.
15185 (delete_temp_files): Deallocate memory.
15186 (create_temp_file): Add comment.
15188 2015-04-24 Florian Weimer <fweimer@redhat.com>
15190 * io/posix_fallocate.c (posix_fallocate): Do not set errno.
15191 * io/posix_fallocate64.c (posix_fallocate64): Likewise.
15193 2015-04-24 Roland McGrath <roland@hack.frob.com>
15195 * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
15196 * sysdeps/arm/configure: Regenerated.
15198 2015-04-24 Florian Weimer <fweimer@redhat.com>
15201 * time/tzfile.c (__tzfile_read): Check for large values of
15202 tzh_ttisstdcnt and tzh_ttisgmtcnt. Use malloc instead of alloca.
15203 * time/tzset.c (__tzstring_len): New function, based on the old
15204 __tzstring function.
15205 (__tzstring): Call __tzstring_len.
15206 (parse_tzname): New helper function extracted from
15207 __tzset_parse_tz. Call __tzstring_len, without making a copy of
15209 (parse_offset): New helper function extracted from
15210 __tzset_parse_tz. Replace switch with fallthrough with
15211 initialization before sscanf.
15212 (parse_rule): Likewise.
15213 (__tzset_parse_tz): Rewrite using the new helper functions. Use
15214 new-style function definition.
15215 * timezone/Makefile (tests): Add tst-tzset.
15216 (tst-tzset.out): Dependencies on time zone files.
15217 (tst-tzset-ENV): Set TZDIR.
15218 (testdata/XT%): Copy crafted time zone files.
15219 * timezone/README: Mention crafted time zone files.
15220 * timezone/testdata/XT1, timezone/testdata/XT2,
15221 timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
15223 * timezone/tst-tzset.c: New test.
15225 2015-04-24 Florian Weimer <fweimer@redhat.com>
15227 * Makeconfig (+gccwarn): Remove -Winline.
15229 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
15231 * sysdeps/s390/fpu/libm-test-upls: Regenerate.
15233 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
15235 * NEWS: Mention sysconf() cache information support for s390.
15236 * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
15238 2015-04-22 Wilco Dijkstra <wdijkstr@arm.com>
15240 * math/k_casinh.c (__kernel_casinh): Use __copysign.
15241 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
15242 (__nearbyint): Likewise.
15243 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
15244 (copysignl): Likewise.
15246 2015-04-21 Arjun Shankar <arjun.is@lostca.se>
15249 * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
15250 based on padding. (CVE-2015-1781)
15252 2015-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15254 * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
15256 * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
15257 * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
15258 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
15259 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
15260 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
15261 * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
15262 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
15263 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
15264 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
15265 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
15266 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
15267 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
15268 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
15269 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
15270 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
15271 * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
15272 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
15273 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
15274 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
15275 * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
15276 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
15277 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
15278 * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
15280 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
15282 * stdlib/setenv.c (__add_to_environ):
15283 Dump core quickly if setenv (..., NULL, ...) is called.
15284 This time, do it the right way, and pacify GCC with a pragma.
15286 2015-04-17 Roland McGrath <roland@hack.frob.com>
15288 * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
15289 IMAP->l_prev cannot be null, and #if out the code for the contrary
15290 case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
15291 believe that NS (&_dl_ns[NSID]) could point outside the array.
15293 * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
15294 check. Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
15295 before using NSID as an index.
15297 2015-04-17 Il'ya Malakhov <ilmalakhov@yandex.ru>
15300 * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
15301 * sysdeps/sparc/sparc64/memcmp.S: Likewise.
15302 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
15304 2015-04-17 Roland McGrath <roland@hack.frob.com>
15306 Add preliminary port to Google Native Client on ARM.
15307 * abi-tags (.*-.*-nacl.*): New entry.
15308 * sysdeps/arm/nacl: New directory.
15309 * sysdeps/nacl: New directory.
15311 2015-04-16 David S. Miller <davem@davemloft.net>
15313 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
15314 lowlevellock-futex.h
15316 2015-04-16 Chris Metcalf <cmetcalf@ezchip.com>
15318 * sysdeps/tile/configure.ac: New file.
15319 * sysdeps/tile/configure: Regenerated.
15321 2015-04-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15323 * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr. Remove
15324 conditionals for weak_alias and libc_hidden_weak.
15325 * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
15326 libc_hidden_weak and weak_alias.
15327 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
15328 Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
15329 and weak_alias for static one.
15331 2015-04-15 David S. Miller <davem@davemloft.net>
15333 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
15335 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
15338 * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
15339 Use signed comparision instead of substraction to avoid
15341 * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
15342 Take the sign of ret.
15343 * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
15344 Do not expect precise return values. Only the sign matters.
15345 * wcsmbs/Makefile (strop-tests): Add wcsncmp.
15346 * wcsmbs/test-wcsncmp.c: New File.
15347 * string/test-strncmp.c: Add wcsncmp support.
15349 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
15352 * math/w_log1p.c: New file.
15353 * math/w_log1pf.c: Likewise.
15354 * math/w_log1pl.c: Likewise.
15355 * math/Makefile (libm-calls): Add w_log1p.
15356 * math/s_log1pl.c (log1pl): Remove weak_alias.
15357 * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
15358 * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
15359 * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
15360 * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
15361 * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
15362 [NO_LONG_DOUBLE] (log1pl): Likewise.
15363 * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
15364 * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
15365 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
15366 (log1p): Remove long_double_symbol.
15367 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
15368 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
15369 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
15370 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
15371 remove weak_alias for corresponding log1p function.
15372 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
15373 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
15374 * sysdeps/ia64/fpu/w_log1p.c: New file.
15375 * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
15376 * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
15377 * math/libm-test.inc (log1p_test_data): Add errno expectations.
15379 2015-04-10 Joseph Myers <joseph@codesourcery.com>
15382 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
15383 decimal exponent by 1.
15384 * stdlib/tst-strtod-round-data: Add more tests.
15385 * stdlib/tst-strtod-round.c (tests): Regenerated.
15387 2015-04-09 Joseph Myers <joseph@codesourcery.com>
15389 * math/auto-libm-test-in: Add more tests of clog and clog10.
15390 * math/auto-libm-test-out: Regenerated.
15391 * sysdeps/i386/fpu/libm-test-ulps: Update.
15392 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15394 2015-04-09 Roland McGrath <roland@hack.frob.com>
15396 * Makeconfig (module-cppflags): Exclude all .v.i files.
15397 (skip-module-cppflags): Variable removed.
15399 * configure.ac (libc_config_ok): Initialize before reading
15400 preconfigure scripts, not after.
15401 * configure: Regenerated.
15403 * test-skeleton.c (TIMEOUT): Move #define to top level.
15404 (main): Grok environment variable TEST_DIRECT. If set, print
15405 test expectation details into that file and then behave as if
15408 2015-04-09 Florian Weimer <fweimer@redhat.com>
15410 * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
15413 2015-04-08 David S. Miller <davem@davemloft.net>
15415 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15417 2015-04-08 Joseph Myers <joseph@codesourcery.com>
15419 * math/auto-libm-test-in: Add more tests of atanh.
15420 * math/auto-libm-test-out: Regenerated.
15421 * sysdeps/i386/fpu/libm-test-ulps: Update.
15422 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15424 * math/auto-libm-test-in: Add more tests of atan.
15425 * math/auto-libm-test-out: Regenerated.
15426 * sysdeps/i386/fpu/libm-test-ulps: Update.
15427 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15429 2015-04-08 Florian Weimer <fweimer@redhat.com>
15431 * elf/pldd.c (main): Rewrite to use struct
15432 scratch_buffer instead of extend_alloca.
15433 * elf/pldd-xx.c (find_maps): Likewise.
15434 * grp/initgroups.c: Include <scratch_buffer.h> instead of
15436 * grp/compat-initgroups.c (compat_call): Rewrite to use struct
15437 scratch_buffer instead of extend_alloca.
15438 * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
15439 grp/compat-initgroups.c.
15440 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
15441 Rewrite to use struct scratch_buffer instead of extend_alloca.
15442 * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
15443 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
15445 2015-04-08 Joseph Myers <joseph@codesourcery.com>
15447 * math/auto-libm-test-in: Add more tests of cbrt.
15448 * math/auto-libm-test-out: Regenerated.
15449 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15451 * math/auto-libm-test-in: Add more tests of cabs.
15452 * math/auto-libm-test-out: Regenerated.
15453 * sysdeps/i386/fpu/libm-test-ulps: Update.
15454 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15458 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
15459 (__ieee754_atan2): Set FE_TONEAREST mode for internal
15461 * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
15463 * math/auto-libm-test-out: Regenerated.
15464 * sysdeps/i386/fpu/libm-test-ulps: Update.
15465 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15468 * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
15469 (atan): Set FE_TONEAREST mode for internal computations.
15470 * math/auto-libm-test-in: Add more tests of atan.
15471 * math/auto-libm-test-out: Regenerated.
15473 2015-04-07 James Cowgill <james410@cowgill.org.uk>
15476 * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
15478 2015-04-07 Florian Weimer <fweimer@redhat.com>
15480 * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
15482 2015-04-07 Florian Weimer <fweimer@redhat.com>
15484 * include/scratch_buffer.h: New file.
15485 * malloc/scratch_buffer_grow.c: Likewise.
15486 * malloc/scratch_buffer_grow_preserve.c: Likewise.
15487 * malloc/scratch_buffer_set_array_size.c: Likewise.
15488 * malloc/tst-scratch_buffer.c: Likewise.
15489 * malloc/Makefile (routines): Add scratch_buffer_grow.
15490 (tests): Add test case.
15491 * malloc/Versions (GLIBC_PRIVATE): Export
15492 __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
15493 __libc_scratch_buffer_set_array_size.
15495 2015-04-06 Richard Henderson <rth@redhat.com>
15497 * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
15498 * sysdeps/alpha/fpu/libm-test-ulps: Update.
15500 * math/test-fenvinline.c (feenable_test): Cast fe_exc to
15501 unsigned int before printing.
15503 2015-04-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15506 * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
15507 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
15509 2015-04-02 Florian Weimer <fweimer@redhat.com>
15511 * include/libc-internal.h (libc_max_align_t): Define.
15513 2015-04-02 Andreas Schwab <schwab@suse.de>
15516 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
15518 2015-04-02 Mel Gorman <mgorman@suse.de>
15521 * malloc/arena.c (free): Apply trim threshold to per-thread heaps
15522 as well as the main arena.
15524 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
15527 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
15528 sharing L2 cache to 2 for Silvermont/Knights Landing.
15530 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
15533 * config.make.in (have-protected-data): New.
15534 * configure.ac: Check linker support for protected data symbol.
15535 * configure: Regenerated.
15536 * elf/Makefile (modules-names): Add tst-protected1moda and
15537 tst-protected1modb if $(have-protected-data) is yes.
15538 (tests): Add tst-protected1a and tst-protected1b if
15539 $(have-protected-data) is yes.
15540 ($(objpfx)tst-protected1a): New.
15541 ($(objpfx)tst-protected1b): Likewise.
15542 (tst-protected1modb.so-no-z-defs): Likewise.
15543 * elf/tst-protected1a.c: New file.
15544 * elf/tst-protected1b.c: Likewise.
15545 * elf/tst-protected1mod.h: Likewise.
15546 * elf/tst-protected1moda.c: Likewise.
15547 * elf/tst-protected1modb.c: Likewise.
15549 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
15552 * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
15553 indicates it is called from do_lookup_x on relocation against
15554 protected data, skip the data definion in the executable from
15556 (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
15557 instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
15558 EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
15559 * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
15560 New. Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
15562 * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
15563 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
15564 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
15565 * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
15566 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
15567 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
15569 2015-03-28 Martin Galvan <martin.galvan@tallertechnologies.com>
15571 * sysdeps/nptl/pthread.h: Remove duplicate definition of
15572 PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
15574 2015-03-27 Martin Galvan <martin.galvan@tallertechnologies.com>
15576 * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
15578 * sysdeps/x86_64/nptl/tls.h: Ditto.
15580 2015-03-27 Roland McGrath <roland@hack.frob.com>
15582 * dlfcn/tststatic.c (main): Converted to ...
15583 (do_test): ... this.
15584 (TEST_FUNCTION): New macro.
15585 Include test-skeleton.c.
15587 2015-03-26 Alan Modra <amodra@gmail.com>
15589 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
15590 Don't segfault if ifunc resolver returns a NULL. Do set plt to
15591 zero for undefined weak.
15592 (elf_machine_plt_conflict): Similarly.
15594 2015-03-25 Joseph Myers <joseph@codesourcery.com>
15596 * math/auto-libm-test-in: Add more tests of acosh, asinh and
15598 * math/auto-libm-test-out: Regenerated.
15599 * sysdeps/i386/fpu/libm-test-ulps: Update.
15600 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15602 * math/auto-libm-test-in: Add another test of asin.
15603 * math/auto-libm-test-out: Regenerated.
15604 * sysdeps/i386/fpu/libm-test-ulps: Update.
15605 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15607 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
15609 (LLL_EBX_REG): Likewise.
15610 (LLL_ENTER_KERNEL): Likewise.
15612 * math/auto-libm-test-in: Add more tests of asin.
15613 * math/auto-libm-test-out: Regenerated.
15614 * sysdeps/i386/fpu/libm-test-ulps: Update.
15615 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15618 * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
15619 libc_do_syscall_args): New structure.
15620 (INTERNAL_SYSCALL_MAIN_0): New macro.
15621 (INTERNAL_SYSCALL_MAIN_1): Likewise.
15622 (INTERNAL_SYSCALL_MAIN_2): Likewise.
15623 (INTERNAL_SYSCALL_MAIN_3): Likewise.
15624 (INTERNAL_SYSCALL_MAIN_4): Likewise.
15625 (INTERNAL_SYSCALL_MAIN_5): Likewise.
15626 (INTERNAL_SYSCALL_MAIN_6): Likewise. Call __libc_do_syscall.
15627 (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
15628 Replace conditional definitions by conditional definitions of ....
15629 (INTERNAL_SYSCALL_MAIN_INLINE): ... this. New macro.
15630 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
15631 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
15632 (libpthread-sysdep_routines): Add libc-do-syscall.
15633 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
15634 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
15635 to __NR_futex not 240.
15637 2015-03-25 Alan Modra <amodra@gmail.com>
15639 * NEWS: Advertise TLS optimization.
15640 * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
15641 (DT_PPC_NUM): Increment.
15642 * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
15643 (CHECK_STATIC_TLS): Use here.
15644 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
15646 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
15647 * sysdeps/powerpc/dl-tls.c: New file.
15648 * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
15649 * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
15650 * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
15651 Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
15652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
15653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
15654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
15656 2015-03-25 Alan Modra <amodra@gmail.com>
15658 * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
15659 for overlapping .opd entries" to "support...".
15660 * sysdeps/powerpc/powerpc64/configure: Regenerate
15662 2015-03-25 Joseph Myers <joseph@codesourcery.com>
15664 * math/auto-libm-test-in: Add more tests of acos.
15665 * math/auto-libm-test-out: Regenerated.
15666 * sysdeps/i386/fpu/libm-test-ulps: Update.
15667 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15669 * math/auto-libm-test-in: Add more tests of expm1.
15670 * math/auto-libm-test-out: Regenerated.
15671 * sysdeps/i386/fpu/libm-test-ulps: Update.
15672 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15674 2015-03-24 Joseph Myers <joseph@codesourcery.com>
15676 * math/auto-libm-test-in: Add more tests of cosh and sinh.
15677 * math/auto-libm-test-out: Regenerated.
15678 * sysdeps/i386/fpu/libm-test-ulps: Update.
15679 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15681 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
15682 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15684 * math/auto-libm-test-in: Add more tests of log2.
15685 * math/auto-libm-test-out: Regenerated.
15686 * sysdeps/i386/fpu/libm-test-ulps: Update.
15687 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15689 2015-03-23 Roland McGrath <roland@hack.frob.com>
15691 * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
15692 inside [F_GETFL]. Remove POSIX_MODE local variable, just test the
15693 _IO_IS_APPENDING bit in READ_WRITE instead.
15695 2015-03-23 Florian Weimer <fweimer@redhat.com>
15697 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
15698 (__determine_cpumask_size): Replace extend_alloca with a
15699 variable-length array. Do not treat res == 0 as an error.
15701 2015-03-23 Florian Weimer <fweimer@redhat.com>
15704 * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
15705 and integer overflow.
15706 * posix/wordexp-test.c (test_case): Add divide-by-zero test.
15707 (main): Add integer overflow tests.
15708 * manual/pattern.texi (Calling Wordexp): Document additional use
15711 2015-03-23 Alan Modra <amodra@gmail.com>
15713 * config.h.in: Remove HAVE_ASM_PPC_REL16.
15714 * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
15715 and false branch of conditional.
15716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
15719 2015-03-21 Samuel Thibault <samuel.thibault@ens-lyon.org
15721 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
15723 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
15724 unused declaration of _hurd_intr_rpc_msg_in_trap.
15725 * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
15726 defined instead of whether it is non-zero.
15727 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
15728 input constraint instead of both input and output constraint. Use ecx
15729 clobber instead of %ecx.
15730 * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
15731 mutex_unlock): Use a statement expression instead of an expression list.
15732 * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
15733 type to vm_size_t instead of vm_address_t.
15734 * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
15735 defined instead of whether it is non-zero.
15736 * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
15737 * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
15738 * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
15739 comparisons with mapaddr.
15740 * nscd/nscd-client.h: Include <time.h>.
15741 * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
15742 9th parameter to __vm_region instead of int.
15743 * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
15744 * scripts/check-local-headers.sh (exclude): Add device/,
15745 hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
15748 2015-03-19 Roland McGrath <roland@hack.frob.com>
15750 * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
15751 to account for alignment padding.
15752 * sysdeps/arm/memmove.S: Likewise.
15754 2015-03-19 Chris Metcalf <cmetcalf@ezchip.com>
15756 * sysdeps/unix/sysv/linux/generic/README: New file.
15758 2015-03-18 Joseph Myers <joseph@codesourcery.com>
15761 * nptl/sem_waitcommon.c: Include <kernel-features.h>.
15762 (futex_abstimed_wait)
15763 [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
15764 Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
15765 of lll_futex_timed_wait.
15767 2015-03-18 Brad Hubbard <bhubbard@redhat.com>
15770 * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
15772 2015-03-17 Alexandre Oliva <aoliva@redhat.com>
15779 * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
15780 entries with Static TLS too. Skip entries past the end of the
15781 allocated DTV, from Alan Modra.
15782 (tls_get_addr_tail): Update to glibc_likely/unlikely. Move
15783 Static TLS DTV entry set up from...
15784 (_dl_allocate_tls_init): ... here (fix modid assertion), ...
15785 * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
15786 * nptl/allocatestack.c (init_one_static_tls): ... and here...
15787 * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
15789 * elf/tlsdeschtab.h (map_generation): Return size_t. Check
15790 that the slot we find is associated with the given map before
15791 using its generation count.
15792 * nptl_db/db_info.c: Include ldsodefs.h.
15793 (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
15794 * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
15795 (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
15796 (link_map::l_tls_offset): New struct field.
15797 (dtv_t::counter): Likewise.
15798 (rtld_global): New struct.
15799 (_rtld_global): New rtld variable.
15800 (dl_tls_dtv_slotinfo_list): New rtld global field.
15801 (dtv_slotinfo_list): New struct.
15802 (dtv_slotinfo): Likewise.
15803 * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
15804 (td_lookup): Rename to...
15805 (td_mod_lookup): ... this. Use new mod parameter instead of
15807 * nptl_db/td_thr_tlsbase.c: Include link.h.
15808 (dtv_slotinfo_list, dtv_slotinfo): New functions.
15809 (td_thr_tlsbase): Check DTV generation. Compute Static TLS
15810 addresses even if the DTV is out of date or missing them.
15811 * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
15812 index zero-length arrays.
15813 * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
15814 (td_lookup): Make it a macro implemented in terms of...
15815 (td_mod_lookup): ... this declaration.
15816 * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
15817 (DB_MAIN_VARIABLE): Likewise.
15819 2015-03-16 H.J. Lu <hongjiu.lu@intel.com>
15822 * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
15824 2015-03-15 Paul Eggert <eggert@cs.ucla.edu>
15826 * stdlib/setenv.c (__add_to_environ): Revert previous change.
15828 2015-03-14 Andreas Schwab <schwab@linux-m68k.org>
15831 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
15832 (atomic_add, atomic_increment_and_test)
15833 (atomic_decrement_and_test): Fix 64-bit arithmetic.
15835 2015-03-13 Paul Eggert <eggert@cs.ucla.edu>
15837 * stdlib/setenv.c (__add_to_environ):
15838 Dump core quickly if setenv (..., NULL, ...) is called.
15840 2015-03-13 Roland McGrath <roland@hack.frob.com>
15842 * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
15843 (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
15844 all the necessary asm magic in one place.
15845 (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
15848 2015-03-13 Carlos O'Donell <carlos@redhat.com>
15851 * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
15852 traced file mtime. Use consistent log message.
15853 * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
15854 (register_traced_file): Call install_watches. Always set mtime.
15855 (invalidate_cache): Iterate over all trace files. Call install_watches.
15856 (inotify_check_files): Don't inline. Handle watching parent
15857 directories and configuration file movement in and out.
15858 (handle_inotify_events): New function.
15859 (main_loop_poll): Call handle_inotify_events.
15860 (main_loop_epoll): Likewise.
15861 * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
15862 (struct traced_file): Use array of inotify fds. Add parent directory,
15864 (struct database_dyn): Remove unused file_mtime.
15865 (init_traced_file): New inline function.
15866 (define_traced_file): New macro.
15867 * nss/nss_db/db-init.c: Use define_traced_file.
15868 (_nss_db_init): Use init_traced_file.
15869 * nss/nss_files/files-init.c: Use define_traced_file.
15870 (_nss_files_init): Use init_traced_file.
15872 2015-03-12 Joseph Myers <joseph@codesourcery.com>
15874 * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
15875 [_LIBC]: Do not include <stdlib.h>.
15876 [!_LIBC] (abort): Remove declaration.
15877 * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
15878 _FP_STATIC_ASSERT instead of conditionally calling abort.
15879 * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
15880 (_FP_EXTEND_CNAN): Likewise.
15881 (FP_TRUNC): Likewise.
15882 (__FP_CLZ): Likewise.
15883 * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
15885 2015-03-12 Yaakov Selkowitz <yselkowi@redhat.com>
15887 * manual/string.texi (XPG basename): Fix prototype.
15889 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
15892 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
15893 (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
15894 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
15895 (__setcontext): Likewise.
15896 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
15897 (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
15898 Call rt_sigprocmask syscall one time to set new signal mask
15899 and retrieve the current signal mask instead of two calls.
15900 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
15901 (__swapcontext): Likewise.
15902 * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
15903 * stdlib/tst-setcontext2.c: New file.
15905 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
15907 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
15909 2015-03-11 Aurelien Jarno <aurelien@aurel32.net>
15912 * elf/cache.c (load_aux_cache): Regenerate the cache if it has
15915 2015-03-11 Paul Pluzhnikov <ppluzhnikov@google.com>
15918 * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
15920 2015-03-11 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
15922 * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
15923 * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
15925 [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
15926 [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
15927 [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
15928 [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
15929 [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
15930 * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
15932 * nptl_db/td_symbol_list.c (td_lookup): Remove
15933 HAVE_ASM_GLOBAL_DOT_NAME code.
15934 * sysdeps/powerpc/powerpc64/configure.ac: Remove
15935 HAVE_ASM_GLOBAL_DOT_NAME check.
15936 * sysdeps/powerpc/powerpc64/configure: Regenerate.
15937 * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
15938 (DOT_LABEL): Remove define.
15939 [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
15940 [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
15941 [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
15942 * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
15943 (__TLS_GET_ADDR): Likewise.
15944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
15945 [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
15947 2015-03-11 Carlos O'Donell <carlos@redhat.com>
15950 * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
15951 (_FPU_SETCW): Initialize cw from fpsr before storing.
15952 * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
15953 (fesetexceptflag): Rewrite using fpu_control.h.
15954 * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
15956 2015-03-11 John David Anglin <danglin@gcc.gnu.org>
15959 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
15961 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
15963 2015-03-11 Joseph Myers <joseph@codesourcery.com>
15965 * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
15966 * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
15968 (_FP_FMA): Likewise.
15969 (_FP_DIV): Likewise.
15971 2015-03-10 Roland McGrath <roland@hack.frob.com>
15973 * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
15974 with 0 in that case.
15975 * Makefile (summarize-tests): New canned sequence, factored out of
15976 commands for targets tests and xtests. Display summary lines that
15977 don't start with PASS: or XFAIL: rather than ones that do start with
15978 ERROR: or FAIL:. Make the commands fail if any summary lines fail
15979 to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
15980 do start with ERROR: or FAIL:.
15981 * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
15982 (except for [$(build-shared) = yes]).
15983 (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
15984 (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
15985 ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
15986 * nptl/Makefile: Revert 2015-03-04 changes.
15987 [$(CXX) empty] (tests-unsupported): New variable.
15988 * debug/Makefile: Likewise.
15990 * posix/regcomp.c: Fix comment typos and formatting to harmonize with
15991 gnulib file. Replace __attribute with __attribute__ throughout.
15993 2015-03-10 Carlos O'Donell <carlos@redhat.com>
15995 * sysdeps/hppa/fpu/libm-test-ulps: Update.
15997 2015-03-10 Joseph Myers <joseph@codesourcery.com>
16000 * math/auto-libm-test-in: Add another test of pow.
16001 * math/auto-libm-test-out: Regenerated.
16003 2015-03-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16005 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
16006 $(config-cflags-nofma).
16008 2015-03-10 Joseph Myers <joseph@codesourcery.com>
16010 * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
16011 * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
16012 * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
16013 * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
16014 * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
16015 * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
16016 * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
16017 * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
16018 * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
16019 * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
16020 Add comment on closing #endif.
16022 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
16024 * posix/wordexp.c (CHAR_IN_SET): New macro.
16025 (parse_param): Use it.
16027 2015-03-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16029 * sysdeps/powerpc/fpu/libm-test-ulps: update.
16031 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
16034 * posix/wordexp.c (parse_param): Fix buffer overflow.
16035 * posix/wordexp-test.c (test_case): Add test case.
16037 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
16040 * posix/wordexp.c (parse_backtick): Fix off-by-one.
16041 * posix/wordexp-test.c (test_case): Add test for BZ #18042.
16043 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
16046 * posix/wordexp-test.c (test_case): Add test for BZ #18043
16047 (do_bz18043): Delete.
16048 (at_page_end): New.
16049 (testit): Refactor to have words at the edge of unreadable page.
16051 2015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
16054 * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
16055 Cleanup read-only streams as well.
16056 (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
16058 2015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
16060 * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
16061 <bits/libc-lockP.h>
16063 2015-03-07 Joseph Myers <joseph@codesourcery.com>
16065 * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
16067 * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
16068 * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
16069 * soft-fp/op-common.h (_FP_DECL): Likewise.
16071 2015-03-06 H.J. Lu <hongjiu.lu@intel.com>
16073 * elf/ifuncdep2.c (global): Replace
16074 __attribute__((visibility("protected"))) with
16075 asm (".protected global").
16076 * elf/ifuncmod1.c (global): Likewise.
16077 * elf/ifuncmod5.c (global): Likewise.
16079 2015-03-06 Joseph Myers <joseph@codesourcery.com>
16081 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
16082 <asm/sfp-machine.h> instead of <sfp-machine.h>.
16084 2015-03-06 Roland McGrath <roland@hack.frob.com>
16086 * manual/install.texi (Configuring and compiling):
16087 Document test-wrapper-env-only.
16088 * INSTALL: Regenerated.
16090 2015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
16093 * posix/wordexp.c (parse_param): Fix buffer overflow.
16094 * posix/wordexp-test.c (do_bz18043): Add test case.
16096 2015-03-06 Vincent Bernat <vincent@bernat.im>
16098 * time/tst-strptime2.c (do_test): Ensure failing tests are
16099 reported correctly.
16100 * time/tst-strptime3.c (do_test): Likewise.
16102 2015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
16104 Fix aio_error thread-safety.
16105 * sysdeps/pthread/aio_error.c: New file
16106 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
16109 2015-03-06 Florian Weimer <fweimer@redhat.com>
16111 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
16112 (group_number, vfprintf): Use it.
16113 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
16114 (JUMP, REF): Use it.
16115 (WORK_BUFFER_SIZE): New enum constant.
16116 (process_arg, vfprintf): Use it.
16118 2015-03-06 Rical Jasan <ricaljasan@pacific.net>
16120 * manual/errno.texi (Error Messages): Complete example function
16121 by adding missing #define.
16122 (program_invocation_name): Add statement indicating GNU
16123 extension and reference which header file declares the variable.
16124 (program_invocation_short_name): Likewise.
16126 2015-03-06 Mike Frysinger <vapier@gentoo.org>
16128 * manual/errno.texi (Error Messages): Delete strerror ISO C89
16129 compatibility note.
16131 2015-03-05 Roland McGrath <roland@hack.frob.com>
16133 * Makeconfig (test-wrapper-env-only): New variable.
16134 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
16135 then use that with $(test-wrapper-env-only) rather than using
16136 $(test-wrapper-env) $(run-program-env) $($*-ENV).
16138 2015-03-05 H.J. Lu <hongjiu.lu@intel.com>
16141 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
16142 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
16143 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
16144 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
16145 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
16146 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
16147 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
16148 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
16150 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
16151 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
16153 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
16155 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
16157 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
16159 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
16160 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
16162 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
16164 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
16165 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
16167 2015-03-04 Roland McGrath <roland@hack.frob.com>
16169 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
16170 (ETH_ALEN): New macro.
16171 (struct ether_addr): Use it for length of ether_addr_octet.
16173 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
16174 (setdb): Don't call __nss_configure_lookup for "rpc".
16175 (do_test): Don't call test_rpc.
16176 (output_rpcent, test_rpc): Functions moved ...
16177 * sunrpc/test-rpcent.c: ... to this new file.
16178 * sunrpc/Makefile (tests): Add it.
16180 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
16182 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
16183 * nptl/tst-signal6.c: Likewise.
16184 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
16185 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
16187 * configure.ac (libc_cv_cxx_link_ok): New check.
16188 Reset CXX to empty if it fails to link.
16189 * configure: Regenerated.
16190 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
16191 bug-atexit3-lib only if $(CXX) is nonempty.
16192 * nptl/Makefile (tests): Likewise for tst-cancel24.
16193 (tests, tests-static): Likewise for tst-cancel24-static.
16194 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
16195 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
16196 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
16197 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
16199 2015-03-04 Andreas Schwab <schwab@suse.de>
16202 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
16203 for non-GCC compilers.
16204 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
16207 2015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
16210 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
16211 integer before bitwise and assembly operations.
16212 (feclearexcept): Likewise.
16213 * math/test-fenvinline.c: New file.
16214 * math/Makefile: Add test-fenvinline test.
16216 2015-03-03 Alan Modra <amodra@gmail.com>
16219 * scripts/localplt.awk: Strip off symbol version.
16220 * NEWS: Mention bug fix.
16222 2015-03-02 Roland McGrath <roland@hack.frob.com>
16224 * sysdeps/pthread/timer_routines.c
16225 (timer_free_list, thread_free_list, thread_active_list): Make static.
16227 2015-03-02 Joseph Myers <joseph@codesourcery.com>
16230 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
16231 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
16233 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16234 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
16236 * sysdeps/unix/sysv/linux/sh/kernel-features.h
16237 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
16240 2015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
16243 * posix/fnmatch_loop.c (END): Detect invalid pattern.
16244 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
16246 2015-03-02 Andreas Schwab <schwab@suse.de>
16248 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
16251 2015-03-02 Florian Weimer <fweimer@redhat.com>
16253 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
16254 Return error status.
16256 2015-02-27 Alexandre Oliva <aoliva@redhat.com>
16259 * locale/findlocale.c (_nl_find_locale): Introduce const
16260 version of loc_name and drop unsafe type casts.
16262 2015-02-27 Roland McGrath <roland@hack.frob.com>
16264 * dlfcn/tststatic2.c (main): Converted to ...
16265 (do_test): ... this.
16266 (TEST_FUNCTION): New macro.
16267 Include test-skeleton.c.
16269 2015-02-27 H.J. Lu <hongjiu.lu@intel.com>
16272 * elf/Makefile (tests): Add vismain only if PIE is enabled.
16273 (tests-pie): Add vismain.
16274 (CFLAGS-vismain.c): New.
16275 * elf/vismain.c: Add comments for PIE requirement.
16277 2015-02-27 Joseph Myers <joseph@codesourcery.com>
16281 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
16282 0x1p-56L as threshold for just returning the argument.
16283 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
16284 0x1p-32L as threshold for just returning the argument.
16285 * math/auto-libm-test-in: Add more tests of atanh.
16286 * math/auto-libm-test-out: Regenerated.
16287 * sysdeps/i386/fpu/libm-test-ulps: Update.
16288 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
16290 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
16292 * string/bcopy.c (bcopy): Call memmove for performance.
16294 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
16296 * string/bzero.c (__bzero): Call memset for performance.
16298 2015-02-27 John David Anglin <dave.anglin@bell.net>
16301 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
16304 2015-02-27 Joseph Myers <joseph@codesourcery.com>
16306 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
16308 2015-02-26 Joseph Myers <joseph@codesourcery.com>
16310 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
16311 (__kernel_standard): Use CSTR macro when setting exc.name.
16312 * sysdeps/ieee754/Makefile [$(subdir) = math]
16313 (CFLAGS-k_standard.c): Remove variable.
16315 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
16316 setting p and q from "else if" to "else".
16318 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
16320 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
16321 (qzerof): Likewise.
16322 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
16324 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
16326 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
16331 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
16332 return pi/2 for arguments below 0x1p-113L.
16333 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
16334 return pi/2 for arguments below 0x1p-106L.
16335 * math/auto-libm-test-in: Add more tests of acos.
16336 * math/auto-libm-test-out: Regenerated.
16339 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
16341 (__ieee754_asin): Force underflow exception for results with small
16343 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
16345 (__ieee754_asinf): Force underflow exception for results with
16346 small absolute value.
16347 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
16348 (__ieee754_asin): Force underflow exception for results with small
16350 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
16351 (__ieee754_asinf): Force underflow exception for results with
16352 small absolute value.
16353 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
16354 (__ieee754_asinl): Force underflow exception for results with
16355 small absolute value.
16356 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
16357 (__ieee754_asinl): Force underflow exception for results with
16358 small absolute value.
16359 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
16360 (__ieee754_asinl): Force underflow exception for results with
16361 small absolute value.
16362 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
16364 * math/auto-libm-test-in: Do not mark underflow exceptions as
16365 possibly missing for bug 16351.
16366 * math/auto-libm-test-out: Regenerated.
16369 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
16370 of power of 2 down when low part has opposite sign.
16371 * math/libm-test.inc (logb_test_data): Add more tests.
16373 2015-02-26 Andreas Schwab <schwab@suse.de>
16376 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
16377 over collating symbol inside a bracket expression. Minor cleanup.
16378 * posix/tst-fnmatch3.c (do_test): Add test case.
16380 2015-02-26 Joseph Myers <joseph@codesourcery.com>
16383 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
16384 Adjust exponent of power of 2 down when low part has opposite
16386 * math/libm-test.inc (ilogb_test_data): Add more tests.
16388 2015-02-26 Alexandre Oliva <aoliva@redhat.com>
16391 * locale/findlocale.c (_nl_find_locale): Fix constness error in
16392 the previous change.
16395 * locale/findlocale.c (_nl_find_locale): Retry archive search
16396 after alias expansion.
16398 2015-02-25 Roland McGrath <roland@hack.frob.com>
16400 * iconv/tst-iconv3.c (main): Converted to ...
16401 (do_test): ... this.
16402 (TEST_FUNCTION): New macro.
16403 Include test-skeleton.c.
16405 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
16406 (convert): Make function static.
16407 (test_unalign): Likewise. Add const to argument pointee types.
16408 (main): Replace with static function do_test.
16409 Print "Succeeded." only if RET is zero.
16410 (TEST_FUNCTION): New macro.
16411 Include test-skeleton.c.
16413 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
16414 returns a null pointer.
16416 2015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16418 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
16419 to __memcpy_ppc only for static builds.
16421 2015-02-25 Joseph Myers <joseph@codesourcery.com>
16424 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
16425 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
16426 * math/auto-libm-test-in: Add more tests of asinh.
16427 * math/auto-libm-test-out: Regenerated.
16428 * sysdeps/i386/fpu/libm-test-ulps: Update.
16429 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16431 2015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
16434 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
16435 and ip6_mtuinfo definitions here.
16436 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
16437 in this define too. Update comment.
16439 2015-02-24 Benno Schulenberg <bensberg@justemail.net>
16441 * elf/sprof.c (load_shobj): Tweak error message to match others.
16443 2015-02-24 Kevin Easton <kevin@guarana.org>
16445 [BZ #16145] (partial fix)
16446 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
16447 to reduce lock contention.
16449 2015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
16451 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
16452 (struct timex): Update time comment.
16453 (ADJ_SETOFFSET): Define.
16455 2015-02-24 Joseph Myers <joseph@codesourcery.com>
16458 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
16459 2**56 not 2**28 as threshold for log (2x) formula.
16460 * math/auto-libm-test-in: Add more tests of acosh.
16461 * math/auto-libm-test-out: Regenerated.
16462 * sysdeps/i386/fpu/libm-test-ulps: Update.
16463 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16465 2015-02-24 Mike Frysinger <vapier@gentoo.org>
16467 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
16468 parenthesis around the buf assignment.
16469 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
16471 2015-02-24 Joseph Myers <joseph@codesourcery.com>
16474 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
16475 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
16476 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
16477 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
16478 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
16479 * math/libm-test.inc (scalb_test_data): Add more tests.
16481 2015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
16484 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
16485 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
16487 2015-02-24 Eric Rannaud <e@nanocritical.com>
16490 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
16491 * io/bits/fcntl2.h (open): Use it.
16492 (openat): Likewise.
16493 * io/open.c (__libc_open): Likewise.
16494 * io/open64.c (__libc_open64): Likewise.
16495 * io/open64_2.c (__open64_2): Likewise.
16496 * io/open_2.c (__open_2): Likewise.
16497 * io/openat.c (__openat): Likewise.
16498 * io/openat64.c (__openat64): Likewise.
16499 * io/openat64_2.c (__openat64_2): Likewise.
16500 * io/openat_2.c (__openat_2): Likewise.
16501 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
16502 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
16503 * sysdeps/posix/open64.c (__libc_open64): Likewise.
16504 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
16505 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
16506 (__open_nocancel): Likewise.
16507 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
16508 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
16509 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
16511 2015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
16514 * resolv/gethnamaddr.c (getanswer): Skip logging if
16515 RES_USE_DNSSEC is set.
16516 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
16518 2015-02-24 Mike Frysinger <vapier@gentoo.org>
16520 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
16522 2015-02-23 Alexandre Oliva <aoliva@redhat.com>
16524 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
16525 201304L, for Unicode 7.
16527 2015-02-23 H.J. Lu <hongjiu.lu@intel.com>
16530 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
16531 shared library. Add gmon-start.os otherwise.
16532 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
16533 $(objpfx)gmon-start.os if builing shared library.
16534 ($(objpfx)g$(static-start-installed-name)): Likewise.
16536 2015-02-23 Andreas Schwab <schwab@suse.de>
16538 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
16540 2015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
16543 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
16544 (enlarge_userbuf): Likewise.
16546 2015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
16548 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
16549 * math/atest-exp.c (TIMEOUT): Adjust to 200.
16550 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
16551 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
16553 2015-02-20 Joseph Myers <joseph@codesourcery.com>
16555 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
16556 expression inside statement expression.
16558 2015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
16560 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
16561 <sysdeps/nptl/lowlevellock.h> and remove macros and
16562 functions that are now defined there.
16563 (SYS_futex): Remove.
16564 (lll_compare_and_swap): Remove.
16565 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
16567 2015-02-19 Joseph Myers <joseph@codesourcery.com>
16570 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
16571 instead of scandirat.
16572 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
16573 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
16574 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
16576 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
16577 (__scandirat): Declare. Use libc_hidden_proto.
16578 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
16580 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
16582 2015-02-18 Joseph Myers <joseph@codesourcery.com>
16585 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
16587 (__ieee754_atan2): For results with small absolute value, force
16588 underflow exception and remove excess range and precision from
16590 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
16592 (__ieee754_atan2f): For results with small absolute value, force
16593 underflow exception and remove excess range and precision from
16595 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
16597 (__atan): For results with small absolute value, force underflow
16598 exception and remove excess range and precision from return value.
16599 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
16601 (__atanf): For results with small absolute value, force underflow
16602 exception and remove excess range and precision from return value.
16603 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
16605 (__ieee754_atan2): Force underflow exception for results with
16606 small absolute value.
16607 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
16609 (atan): Force underflow exception for results with small absolute
16611 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
16612 (__atanf): Force underflow exception for results with small
16614 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
16616 (__atanl): Force underflow exception for results with small
16618 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
16619 (__atanl): Force underflow exception for results with small
16621 * sysdeps/x86/fpu/bits/mathinline.h
16622 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
16623 (__ieee754_atan2): Only define inline for long double.
16624 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
16625 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
16626 * math/auto-libm-test-in: Do not mark underflow exceptions as
16627 possibly missing for bug 15319. Add more tests of atan2.
16628 * math/auto-libm-test-out: Regenerated.
16629 * math/libm-test.inc (casin_test_data): Do not mark underflow
16630 exceptions as possibly missing for bug 15319.
16631 (casinh_test_data): Likewise.
16632 * sysdeps/i386/fpu/libm-test-ulps: Update.
16634 2015-02-18 Steve Ellcey <sellcey@imgtec.com>
16636 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
16637 * sysdeps/mips/bits/endian.h: Fix comments.
16639 2015-02-18 Joseph Myers <joseph@codesourcery.com>
16642 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
16643 (hdestroy_r): Likewise.
16644 (hsearch_r): Likewise.
16645 (__hcreate_r): Declare and use libc_hidden_proto.
16646 (__hdestroy_r): Likewise.
16647 (__hsearch_r): Likewise.
16648 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
16649 (hcreate): Call __hcreate_r instead of hcreate_r.
16650 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
16651 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
16652 as weak alias of __hcreate_r.
16653 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
16655 (hsearch_r): Rename to __hsearch_r and define as weak alias of
16657 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
16659 (test-xfail-XPG4/search.h/linknamespace): Likewise.
16660 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
16661 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
16662 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
16664 2015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
16666 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
16667 arena_lock into a single arena_get.
16669 2015-02-17 Carlos O'Donell <carlos@redhat.com>
16671 * dl-reloc.c: Inlucde libc-internal.h.
16672 (_dl_try_allocate_static_tls): Call ALIGN_UP.
16673 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
16674 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
16675 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
16676 (grow_heap): Likewise.
16677 * malloc/malloc.c: Include libc-internal.h.
16678 (do_check_malloc): Call powerof2.
16679 (sysmalloc): Use pagesize. Call ALIGN_UP.
16680 (systrim): Use pagesize.
16681 (mremap_chunk): Use pagesize. Call ALIGN_UP.
16682 (__libc_valloc): Use pagesize.
16683 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
16685 2015-02-17 Joseph Myers <joseph@codesourcery.com>
16688 * include/sys/resource.h (__getrlimit64): Declare. Use
16690 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
16691 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
16692 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
16694 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
16696 [!getrlimit64] (getrlimit64): Define as weak alias of
16697 __getrlimit64. Use libc_hidden_weak.
16698 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
16699 using __getrlimit64 not __new_getrlimit64.
16700 (__GI_getrlimit64): Likewise.
16701 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
16703 (__GI_getrlimit64): Likewise.
16704 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
16705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
16706 (getrlimit): Add __getrlimit64 alias.
16707 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
16709 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
16711 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
16712 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
16714 2015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
16716 * libio/fileops.c: Add missing sys/mman.h
16717 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
16719 2015-02-17 Joseph Myers <joseph@codesourcery.com>
16721 * manual/math.texi (Errors in Math Functions): Clarify goals
16722 regarding inexact and underflow exceptions.
16724 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
16726 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
16727 * sysdeps/mips/memset.S: Ditto.
16729 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
16731 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
16733 2015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
16735 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
16736 (__v1longjmp): Remove versioned symbol.
16737 (__v1siglongjmp): Remove alias and versioned symbol.
16738 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
16739 (__v2siglongjmp): Likewise.
16741 2015-02-16 Torvald Riegel <triegel@redhat.com>
16743 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
16745 2015-02-16 Mike Frysinger <vapier@gentoo.org>
16747 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
16749 2015-02-16 Joseph Myers <joseph@codesourcery.com>
16752 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
16753 zero result does not depend on the sign resulting from
16755 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
16757 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
16758 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
16759 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
16760 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
16761 * math/libm-test.inc (remquo_test_data): Add more tests.
16763 2015-02-16 Paul Eggert <eggert@cs.ucla.edu>
16765 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
16766 Problem reported by J William Piggott.
16768 2015-02-16 Joseph Myers <joseph@codesourcery.com>
16771 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
16772 products 4 * y and 2 * y where those would overflow.
16773 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
16775 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
16776 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
16777 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
16778 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
16779 * math/libm-test.inc (remquo_test_data): Add more tests.
16781 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
16783 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
16784 [defined _COMPILING_NEWLIB].
16785 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
16786 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
16788 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
16789 [!defined __mips_isa_rev || __mips_isa_rev < 6].
16791 2015-02-16 Torvald Riegel <triegel@redhat.com>
16793 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
16796 2015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
16799 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
16800 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
16801 HOST_STACK_END_ADDR): Likewise.
16803 2015-02-13 Steve Ellcey <sellcey@imgtec.com>
16805 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
16806 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
16807 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
16809 2015-02-13 Roland McGrath <roland@hack.frob.com>
16811 * sysdeps/generic/c++-types.data: New file.
16812 * sysdeps/generic/ld.abilist: New file.
16813 * sysdeps/generic/libBrokenLocale.abilist: New file.
16814 * sysdeps/generic/libanl.abilist: New file.
16815 * sysdeps/generic/libc.abilist: New file.
16816 * sysdeps/generic/libcrypt.abilist: New file.
16817 * sysdeps/generic/libdl.abilist: New file.
16818 * sysdeps/generic/libm.abilist: New file.
16819 * sysdeps/generic/libpthread.abilist: New file.
16820 * sysdeps/generic/libresolv.abilist: New file.
16821 * sysdeps/generic/librt.abilist: New file.
16823 2015-02-13 Joseph Myers <joseph@codesourcery.com>
16826 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
16827 Compute absolute value of x as modified by fmod, not original
16829 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
16830 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
16831 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
16832 RUN_TEST_ffI_f1_mod8.
16833 (remquo_test_data): Add more tests.
16835 2015-02-13 Roland McGrath <roland@hack.frob.com>
16837 * sysdeps/init_array/pt-crti.S: New file.
16839 2015-02-13 Joseph Myers <joseph@codesourcery.com>
16842 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
16843 __builtin_fmaf instead of relying on contraction of a * b + c.
16845 2015-02-12 J William Piggott <elseifthen@gmx.com>
16848 * manual/time.texi: correct the zoneinfo path in the TZ Variable
16851 2015-02-12 Joseph Myers <joseph@codesourcery.com>
16854 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
16855 __builtin_fma instead of relying on contraction of a * b + c.
16857 2015-02-12 Roland McGrath <roland@hack.frob.com>
16859 * Makeconfig (ASFLAGS): Add -Werror=undef.
16860 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
16861 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
16862 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
16864 * Makeconfig (after-link): New variable.
16865 (+link-pie, +link-pie-tests): Use it.
16866 (+link-static, +link-static-tests): Likewise.
16867 (+link, +link-tests): Likewise.
16868 * Makerules (build-module, build-module-asneeded): Likewise.
16869 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
16871 * elf/Makefile ($(objpfx)ld.so): Likewise.
16873 2015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
16876 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
16877 both struct timeval and struct timespec.
16879 2015-02-12 Joseph Myers <joseph@codesourcery.com>
16882 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
16884 (__ieee754_exp2l): Do not multiply small fractional parts by
16886 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
16888 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
16889 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
16890 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
16891 * math/auto-libm-test-in: Add more tests of exp2.
16892 * math/auto-libm-test-out: Regenerated.
16894 2015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16896 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
16899 2015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16901 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
16904 2015-02-12 Andreas Schwab <schwab@suse.de>
16907 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
16908 Filter out elision flags from value returned in kind.
16909 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
16910 * nptl/tst-pthread-mutexattr.c: New file.
16912 2015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
16914 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
16915 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
16916 into gnu-gnu, and update comment to refer to abi-tags.
16918 2015-02-11 Joseph Myers <joseph@codesourcery.com>
16921 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
16922 (__sincos): Set errno to EDOM for infinite argument.
16923 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
16924 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
16925 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
16926 (__sincosl): Set errno to EDOM for infinite argument.
16927 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
16928 (__sincosl): Set errno to EDOM for infinite argument.
16929 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
16930 (__sincosl): Set errno to EDOM for infinite argument.
16931 * math/libm-test.inc (sincos_test_data): Test errno setting.
16933 2015-02-11 Leonhard Holz <leonhard.holz@web.de>
16935 * string/strxfrm_l.c: Remove #define STRCMP.
16936 * string/strcoll_l.c: Remove #define STRLEN.
16937 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
16938 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
16940 2015-02-10 Joseph Myers <joseph@codesourcery.com>
16942 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
16943 * sysdeps/mips/mips32/sfp-machine.h: ... here.
16944 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
16945 * sysdeps/mips/mips64/Makefile: ... here.
16946 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
16947 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
16948 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
16949 * sysdeps/mips/mips64/sfp-machine.h: ... here.
16950 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
16951 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
16952 * sysdeps/mips/mips64/n64/Implies: Likewise.
16954 2015-02-10 Roland McGrath <roland@hack.frob.com>
16956 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
16957 <sys/time.h>, <string.h>, and <errno.h>.
16958 (dest_offset, dest_address, value, zero): Remove unused variables.
16959 (ldouble): Remove typedef.
16960 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
16961 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
16962 1). Fix code style.
16963 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
16964 (check): Function removed.
16965 (CHECK): New macro.
16966 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
16967 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
16968 Don't call set_sigaction_FP and remove_sigaction_FP here.
16969 (ldouble_test): Just use 'long double' as macro argument, no need for
16970 the 'ldouble' typedef.
16971 (do_test): Set up SIGFPE handler at start, using plain signal rather
16972 than sigaction. Fix code style.
16974 2015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
16977 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
16980 2015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
16982 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
16983 * sysdeps/powerpc/powerpc32/configure: Regenerated.
16985 * sysdeps/powerpc/configure.ac: Remove file.
16986 * sysdeps/powerpc/configure: Likewise.
16988 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
16989 [sysdep_routines]: Remove wordcopy-power6 object.
16990 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
16991 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
16992 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
16993 (__memmove_ppc32): Likewise.
16994 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
16996 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
16997 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
16998 Remove preprocessor.
17000 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
17001 [sysdep_routines]: Remove wide chars objects.
17002 [wcsmbs]: New rule for wide char objects.
17004 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
17005 Remove wordcopy-power6 obejct.
17006 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
17007 Use local call for wordcopy and memcpy symbols.
17008 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
17009 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
17010 implementation for loader.
17011 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
17013 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
17014 Remove wordcopy-power7 object.
17015 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
17016 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
17017 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
17018 (_wordcopy_fwd_dest_aligned): Likewise.
17019 (_wordcopy_bwd_aligned): Likewise.
17020 (_wordcopy_bwd_dest_aligned): Likewise.
17022 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
17023 Rewrite to call __memmove_ppc instead of include default
17026 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
17027 Remove wide chars objects.
17028 [wcsmbs]: New rule for wide char objects.
17030 2015-02-09 Andreas Schwab <schwab@suse.de>
17033 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
17034 in terms of __O_DIRECTORY.
17036 2015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
17038 * time/getdate.c: Include <stdbool.h>.
17039 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
17041 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
17044 2015-02-07 Paul Eggert <eggert@cs.ucla.edu>
17046 Add ersatz _Static_assert on older C hosts
17047 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
17048 pre-C11 C platform that is not known to support _Static_assert.
17050 2015-02-07 Richard Braun <rbraun@sceen.net>
17052 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
17054 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
17056 2015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
17058 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
17059 priority against unexistent AIO_PRIO_DELTA_MAX.
17060 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
17062 * misc/fchflags.c (fchflags): Likewise.
17063 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
17064 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
17065 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
17066 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
17067 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
17069 [__USE_MISC] (chflags, fchflags): Declare functions.
17070 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
17071 EINVAL when nfds is greater than FD_SETSIZE.
17072 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
17073 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
17075 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
17076 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
17077 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
17078 MACH_RCV_TIMED_OUT.
17079 * hurd/hurd/signal.h (_hurd_self_sigstate,
17080 _hurd_critical_section_lock, _hurd_critical_section_unlock):
17081 Explicit casts from void *.
17082 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
17083 * abi-tags: Rename gnu-gnu os into gnu.
17086 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
17087 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
17088 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
17089 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
17090 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
17091 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
17094 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
17095 duplicates ADDR->sun_path with sockaddr LEN limitation.
17096 * sysdeps/mach/hurd/connect.c: Include <string.h>
17097 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
17098 * sysdeps/mach/hurd/sendmsg.c: Likewise.
17099 * sysdeps/mach/hurd/sendto.c: Likewise.
17100 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
17101 implementing it by hand.
17103 2015-02-06 Roland McGrath <roland@hack.frob.com>
17105 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
17106 Use sfi_breg on ldr.
17107 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
17110 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
17112 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
17113 Test SIGSETXID only if it's defined.
17115 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
17117 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
17118 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
17120 * nptl/tst-align2.c: Moved ...
17121 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
17122 * nptl/Makefile (tests): Remove tst-align2.
17123 * sysdeps/unix/sysv/linux/Makefile
17124 [$(subdir) = nptl] (tests): Add tst-align-clone.
17125 * nptl/tst-getpid1.c: Moved ...
17126 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
17127 * nptl/tst-getpid2.c: Moved ...
17128 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
17129 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
17130 * sysdeps/unix/sysv/linux/Makefile
17131 [$(subdir) = nptl] (tests): ... here.
17132 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
17133 * sysdeps/unix/sysv/linux/Makefile
17134 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
17136 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
17137 Drop trailing \n from perror argument. Use return rather than exit.
17139 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
17141 * nptl/tst-cancel21.c (do_test): Likewise.
17142 * debug/tst-backtrace6.c: Include <signal.h> first thing.
17143 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
17144 [!SA_SIGINFO]: Make it a stub test.
17146 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
17147 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
17149 * posix/tst-getlogin.c: Move to ...
17150 * login/tst-getlogin.c: ... here.
17151 * posix/Makefile (tests): Move tst-getlogin to ...
17152 * login/Makefile (tests): ... here.
17154 * libio/tst-atime.c (do_test): Move local variables SV and E
17155 inside [ST_NOATIME] conditional.
17157 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
17159 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
17161 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
17162 (wait_code): New function replaces macro.
17163 Call nanosleep rather than syscall.
17165 * nptl/pt-system.c: Rewritten. Put everything under
17166 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
17167 Use IFUNC to redirect when possible.
17169 * nptl/pt-longjmp.c: Rewritten. Put everything under
17170 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
17171 Use IFUNC to redirect when possible.
17173 * nptl/pt-fork.c: Rewritten. Put everything under
17174 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
17175 Use IFUNC to redirect when possible.
17176 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
17178 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
17179 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
17180 unconditionally nowadays. This included the only reference to
17181 __vdso_clock_gettime that appears outside libc proper.
17182 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
17183 Remove version set (containing only __vdso_clock_gettime).
17184 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
17185 Add attribute_hidden.
17186 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
17187 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
17188 libc_hidden_data_def.
17189 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
17190 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
17192 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
17193 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
17194 setrpcent, and getrpcport to ...
17195 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
17196 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
17197 getrpcbynumber_r, and getrpcent_r to ...
17198 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
17199 * inet/getrpcbyname.c: Moved ...
17200 * sunrpc/getrpcbyname.c: ... here.
17201 * inet/getrpcbyname_r.c: Moved ...
17202 * sunrpc/getrpcbyname_r.c: ... here.
17203 * inet/getrpcbynumber.c: Moved ...
17204 * sunrpc/getrpcbynumber.c: ... here.
17205 * inet/getrpcbynumber_r.c: Moved ...
17206 * sunrpc/getrpcbynumber_r.c: ... here.
17207 * inet/getrpcent.c: Moved ...
17208 * sunrpc/getrpcent.c: ... here.
17209 * inet/getrpcent_r.c: Moved ...
17210 * sunrpc/getrpcent_r.c: ... here.
17211 * inet/Makefile (routines): Move those to ...
17212 * sunrpc/Makefile (routines): ... here.
17213 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
17214 the $(subdirs) list.
17215 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
17216 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
17217 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
17218 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
17220 * elf/Makefile (routines): Include $(all-dl-routines), not just
17222 (rtld-routines): Likewise. Use = rather than :=.
17223 * sysdeps/aarch64/Makefile [$(subdir) = elf]
17224 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
17225 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
17226 * sysdeps/arm/Makefile: Likewise.
17227 * sysdeps/i386/Makefile: Likewise.
17228 * sysdeps/x86_64/Makefile: Likewise.
17229 * sysdeps/hppa/Makefile [$(subdir) = elf]
17230 (sysdep_routines, sysdep-rtld-routines): Don't add
17231 $(sysdep-dl-routines) to these.
17232 * sysdeps/ia64/Makefile: Likewise.
17233 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
17234 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
17235 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
17236 Don't add dl-static to these; sysdep-dl-routines alone is enough.
17237 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
17238 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
17239 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
17240 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
17241 * sysdeps/powerpc/Makefile [$(subdir) = elf]
17242 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
17243 these; sysdep-dl-routines alone is enough.
17245 2015-02-06 Joseph Myers <joseph@codesourcery.com>
17248 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
17249 where multiplication results in zero and third argument is finite
17251 * math/auto-libm-test-in: Add more tests of fma.
17252 * math/auto-libm-test-out: Regenerated.
17254 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
17255 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
17256 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
17257 (_FP_CMP_EQ): Likewise.
17258 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
17260 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
17261 extra argument CHECK_NAN. Redefine as wrapper around
17264 2015-02-06 Carlos O'Donell <carlos@systemhalted.org>
17266 * version.h (RELEASE): Set to "stable".
17267 (VERSION): Set to "2.21"
17268 * include/features.h (__GLIBC_MINOR__): Set to 21.
17270 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
17272 2015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
17273 Paul Eggert <eggert@cs.ucla.edu>
17276 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
17277 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
17278 size in bytes. Store needed elements in wpmax. Use needed size
17279 in bytes for extend_alloca.
17281 2015-02-05 Carlos O'Donell <carlos@systemhalted.org>
17283 * manual/install.texi: Latest tested versions are GCC 4.9.2,
17284 binutls 2.25, and texinfo 5.2.
17285 * INSTALL: Regenerate.
17286 * sysdeps/nios2/configure: Regenerate.
17287 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
17288 * manual/contrib.texi: Update.
17289 * po/be.po: Update.
17290 * po/bg.po: Update.
17291 * po/ca.po: Update.
17292 * po/cs.po: Update.
17293 * po/da.po: Update.
17294 * po/de.po: Update.
17295 * po/el.po: Update.
17296 * po/eo.po: Update.
17297 * po/es.po: Update.
17298 * po/fi.po: Update.
17299 * po/fr.po: Update.
17300 * po/gl.po: Update.
17301 * po/hr.po: Update.
17302 * po/hu.po: Update.
17303 * po/ia.po: Update.
17304 * po/id.po: Update.
17305 * po/it.po: Update.
17306 * po/ja.po: Update.
17307 * po/ko.po: Update.
17308 * po/lt.po: Update.
17309 * po/nb.po: Update.
17310 * po/nl.po: Update.
17311 * po/pl.po: Update.
17312 * po/pt_BR.po: Update.
17313 * po/ru.po: Update.
17314 * po/rw.po: Update.
17315 * po/sk.po: Update.
17316 * po/sl.po: Update.
17317 * po/sv.po: Update.
17318 * po/tr.po: Update.
17319 * po/uk.po: Update.
17320 * po/vi.po: Update.
17321 * po/zh_CN.po: Update.
17322 * po/zh_TW.po: Update.
17324 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
17325 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
17326 * sysdeps/hppa/dl-irel.h: Remove #warning.
17327 * sysdeps/hppa/entry.h: Provide prototype for
17328 __canonicalize_funcptr_for_compare and cast argument.
17329 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
17330 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
17331 * sysdeps/hppa/sotruss-lib.c: New file.
17332 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
17333 (atomic_compare_and_exchange_val_acq): Use __typeof__.
17334 (atomic_compare_and_exchange_bool_acq): Likewise.
17335 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
17336 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
17338 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
17339 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
17340 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
17342 2015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
17344 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
17345 called function in non-PIC case.
17347 2015-01-31 David S. Miller <davem@davemloft.net>
17349 * sysdeps/sparc/sparc32/bits/atomic.h
17350 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
17351 unlock not after it.
17352 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
17353 volatile register usage warnings from the compiler.
17355 * sysdeps/sparc/nptl/sem_init.c: Delete.
17356 * sysdeps/sparc/nptl/sem_post.c: Delete.
17357 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
17358 * sysdeps/sparc/nptl/sem_wait.c: Delete.
17359 * sysdeps/sparc/sparc32/sem_init.c: New file.
17360 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
17361 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
17362 padding explicitly initialized.
17363 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
17364 padding for in-semaphore spinlock.
17365 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
17366 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
17367 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
17368 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
17369 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
17370 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
17371 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
17372 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
17374 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
17375 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
17377 2015-01-30 H.J. Lu <hongjiu.lu@intel.com>
17380 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17381 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
17382 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
17384 (index_AVX_Fast_Unaligned_Load): Likewise.
17385 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
17386 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
17387 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
17388 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
17389 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
17390 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
17391 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
17392 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
17393 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
17395 2015-01-29 Andreas Schwab <schwab@suse.de>
17397 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
17399 2015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
17402 * nscd/nscd_stat.c (send_stats): Initialize DATA.
17404 2015-01-28 Martin Sebor <msebor@redhat.com>
17406 * math/README.libm-test: Clarify. Add "How to read the test output."
17408 2015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
17410 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
17413 2015-01-28 Joseph Myers <joseph@codesourcery.com>
17415 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
17416 (__HAVE_64B_ATOMICS): Define to 0.
17418 2015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
17421 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
17422 value to set as new flag.
17425 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
17426 and use _ARCH_PPCSQ instead.
17427 (__ieee754_sqrt): Likewise.
17428 (__ieee754_sqrtf): Likewise.
17429 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
17430 _ARCH_PPCSQ is defined.
17431 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
17433 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
17434 _ARCH_PPCSQ is defined.
17435 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
17436 fsqrts instruction.
17437 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
17439 2015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17441 * iconv/loop.c: Suppress array out of bound warning caused by GCC
17442 bug (GCC BZ #64739).
17444 2015-01-25 Andreas Schwab <schwab@linux-m68k.org>
17446 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
17447 Mark _retval as used.
17448 (lll_futex_wake_unlock): Likewise.
17449 (lll_futex_timed_wait_requeue_pi): Likewise.
17451 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
17452 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
17453 register variables.
17455 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
17458 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
17459 (__bswap_64): Mark as __always_inline.
17461 2015-01-25 Bram <bug_rh@spam.wizbit.be>
17464 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
17465 when none of the search directories exist.
17467 2015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
17470 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
17471 power8 in .machine directive.
17474 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
17475 set dependency from opd value.
17477 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
17479 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17480 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
17483 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
17486 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
17488 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
17490 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
17491 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
17492 Replace 1UL with (uint64_t) 1.
17493 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
17496 2015-01-23 Roland McGrath <roland@hack.frob.com>
17498 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
17499 (if_freenameindex): Likewise.
17501 * resource/getrlimit64.c: Add missing libc_hidden_def.
17503 2015-01-22 Joseph Myers <joseph@codesourcery.com>
17505 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
17507 (_FP_FMA): Likewise.
17508 (_FP_TO_INT_ROUND): Likewise.
17509 (_FP_FROM_INT): Likewise.
17511 2015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17514 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
17515 Make code racy and cancel safe.
17517 2015-01-21 Carlos O'Donell <carlos@redhat.com>
17519 * sysdeps/arm/unwind-resume.h: Fix copyright year.
17520 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
17523 * pwd/tst-getpw.c: Rewrite.
17526 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
17527 (modules-names): Add moddummy1 and moddummy2.
17528 ($(objpfx)tst-rec-dlopen): Define.
17529 * dlfcn/moddummy1.c: New file.
17530 * dlfcn/moddummy2.c: New file.
17531 * dlfcn/tst-rec-dlopen.c: New file.
17532 * elf/dl-cache.c (_dl_load_cache_lookup):
17533 Return char*. Copy result with alloca/strcpy/strdup.
17534 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
17535 returns char*. Free cached. If not saving realname
17537 * elf/dl-open.c (dl_open_worker): Do not assert that
17538 _r_debug->r_state is RT_CONSISTENT.
17539 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
17542 2015-01-21 Torvald Riegel <triegel@redhat.com>
17543 Carlos O'Donell <carlos@redhat.com>
17546 * nptl/sem_waitcommon.c: New file.
17547 * nptl/sem_wait.c: Include sem_waitcommon.c.
17548 (__sem_wait_cleanup, do_futex_wait): Remove.
17549 (__new_sem_wait): Adapt.
17550 (__new_sem_trywait): New function.
17551 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
17552 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
17553 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
17554 (sem_timedwait): Adapt.
17555 * nptl/sem_post.c (__new_sem_post): Adapt.
17556 (futex_wake): New function.
17557 (__old_sem_post): Add release MO fence.
17558 * nptl/sem_open.c (sem_open): Adapt.
17559 * nptl/sem_init.c (__new_sem_init): Adapt.
17560 (futex_private_if_supported): New function.
17561 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
17562 (__old_sem_getvalue): Add using previous code.
17563 * sysdeps/nptl/internaltypes.h: Adapt.
17564 * nptl/tst-sem13.c (do_test): Adapt.
17565 * nptl/tst-sem11.c (main): Adapt.
17566 * nptl/sem_trywait.c: Remove.
17567 * nptl/DESIGN-sem.txt: Remove.
17568 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
17569 (gen-as-const-headers): Remove structsem.sym.
17570 * nptl/structsem.sym: Remove.
17571 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
17572 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
17573 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
17574 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
17575 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
17576 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
17577 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
17578 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
17579 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
17580 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
17581 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
17582 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
17583 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
17584 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
17585 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
17586 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
17587 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
17588 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
17589 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
17590 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
17591 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
17592 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
17594 2015-01-20 Carlos O'Donell <carlos@redhat.com>
17596 * INSTALL: Regenerated.
17598 * po/libc.pot: Regenerated.
17600 2015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
17601 Sandra Loosemore <sandra@codesourcery.com>
17602 Andrew Jenner <andrew@codesourcery.com>
17603 Joseph Myers <joseph@codesourcery.com>
17604 Nathan Sidwell <nathan@codesourcery.com>
17606 * NEWS: Mention new Nios II port.
17607 * sysdeps/nios2/Implies: New file.
17608 * sysdeps/nios2/Makefile: New file.
17609 * sysdeps/nios2/Subdirs: New file.
17610 * sysdeps/nios2/Versions: New file.
17611 * sysdeps/nios2/__longjmp.S: New file.
17612 * sysdeps/nios2/abort-instr.h: New file.
17613 * sysdeps/nios2/backtrace.c: New file.
17614 * sysdeps/nios2/bits/endian.h: New file.
17615 * sysdeps/nios2/bits/fenv.h: New file.
17616 * sysdeps/nios2/bits/link.h: New file.
17617 * sysdeps/nios2/bits/setjmp.h: New file.
17618 * sysdeps/nios2/bsd-_setjmp.S: New file.
17619 * sysdeps/nios2/bsd-setjmp.S: New file.
17620 * sysdeps/nios2/configure: New generated file.
17621 * sysdeps/nios2/configure.ac: New file.
17622 * sysdeps/nios2/crti.S: New file.
17623 * sysdeps/nios2/crtn.S: New file.
17624 * sysdeps/nios2/dl-init.c: New file.
17625 * sysdeps/nios2/dl-machine.h: New file.
17626 * sysdeps/nios2/dl-sysdep.h: New file.
17627 * sysdeps/nios2/dl-tls.h: New file.
17628 * sysdeps/nios2/dl-trampoline.S: New file.
17629 * sysdeps/nios2/gccframe.h: New file.
17630 * sysdeps/nios2/gmp-mparam.h: New file.
17631 * sysdeps/nios2/jmpbuf-offsets.h: New file.
17632 * sysdeps/nios2/jmpbuf-unwind.h: New file.
17633 * sysdeps/nios2/ldsodefs.h: New file.
17634 * sysdeps/nios2/libc-tls.c: New file.
17635 * sysdeps/nios2/libm-test-ulps: New file.
17636 * sysdeps/nios2/machine-gmon.h: New file.
17637 * sysdeps/nios2/math-tests.h: New file.
17638 * sysdeps/nios2/math_private.h: New file.
17639 * sysdeps/nios2/memusage.h: New file.
17640 * sysdeps/nios2/nptl/Makefile: New file.
17641 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
17642 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
17643 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
17644 * sysdeps/nios2/nptl/pthreaddef.h: New file.
17645 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
17646 * sysdeps/nios2/nptl/tls.h: New file.
17647 * sysdeps/nios2/preconfigure: New file.
17648 * sysdeps/nios2/s_fma.c: New file.
17649 * sysdeps/nios2/s_fmaf.c: New file.
17650 * sysdeps/nios2/setjmp.S: New file.
17651 * sysdeps/nios2/sfp-machine.h: New file.
17652 * sysdeps/nios2/sotruss-lib.c: New file.
17653 * sysdeps/nios2/stackguard-macros.h: New file.
17654 * sysdeps/nios2/stackinfo.h: New file.
17655 * sysdeps/nios2/start.S: New file.
17656 * sysdeps/nios2/sysdep.h: New file.
17657 * sysdeps/nios2/tls-macros.h: New file.
17658 * sysdeps/nios2/tst-audit.h: New file.
17659 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
17660 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
17661 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
17662 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
17663 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
17664 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
17665 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
17666 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
17667 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
17668 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
17669 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
17670 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
17671 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
17672 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
17673 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
17674 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
17675 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
17676 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
17677 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
17678 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
17679 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
17680 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
17681 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
17682 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
17683 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
17684 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
17685 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
17686 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
17687 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
17688 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
17689 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
17690 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
17691 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
17692 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
17693 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
17694 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
17695 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
17696 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
17697 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
17698 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
17699 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
17700 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
17701 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
17702 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
17704 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
17707 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
17708 (getutent): Use weak_alias in non SHARED case
17709 and default_symbol_version in SHARED case.
17710 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
17711 (getutent_r, pututline): Likewise.
17712 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
17713 (getutid): Likewise.
17714 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
17715 (getutid_r): Likewise.
17716 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
17717 (getutline): Likewise.
17718 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
17719 (getutline_r): Likewise.
17720 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
17721 (updwtmp): Likewise.
17723 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
17726 * sysdeps/s390/s390-32/memcmp.S
17727 (memcmp_g5): Rename to __memcmp_g5.
17728 * sysdeps/s390/s390-32/memcpy.S
17729 (memcpy_g5): Rename to __memcpy_g5.
17730 Jump to __memcpy_mvcle instead of memcpy_mvcle.
17731 (memcpy_mvcle) Rename to __memcpy_mvcle.
17732 * sysdeps/s390/s390-32/memset.S
17733 (memset_g5): Rename to __memset_g5.
17734 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
17735 (IFUNC_RESOLVE): Prefix ifunc-resolve function
17736 and use prefixed functions.
17737 * sysdeps/s390/s390-32/multiarch/memcmp.S
17738 (memcmp_z196): Rename to __memcmp_z196.
17739 (memcmp_z10): Rename to __memcmp_z10.
17740 (memcmp): Set alias to __memcmp_g5.
17741 (bcmp): Set alias to __memcmp_g5.
17742 * sysdeps/s390/s390-32/multiarch/memcpy.S
17743 (memcpy_z196): Rename to __memcpy_z196.
17744 Jump to __memcpy_mvcle instead of memcpy_mvcle.
17745 (memcpy_z10): Rename to __memcpy_z10.
17746 Jump to __memcpy_mvcle instead of memcpy_mvcle.
17747 (memcpy): Set alias to __memcpy_g5.
17748 * sysdeps/s390/s390-32/multiarch/memset.S
17749 (memset_z196): Rename to __memset_z196.
17750 Jump to __memset_mvcle instead of memset_mvcle.
17751 (memset_z10): Rename to __memset_z10.
17752 Jump to __memset_mvcle instead of memset_mvcle.
17753 (memset_mvcle) Rename to __memset_mvcle.
17754 (memset): Set alias to __memset_g5.
17755 * sysdeps/s390/s390-64/memcmp.S
17756 (memcmp_z900): Rename to __memcmp_z900.
17757 * sysdeps/s390/s390-64/memcpy.S
17758 (memcpy_z900): Rename to __memcpy_z900.
17759 Jump to __memcpy_mvcle instead of memcpy_mvcle.
17760 (memcpy_mvcle) Rename to __memcpy_mvcle.
17761 * sysdeps/s390/s390-64/memset.S
17762 (memset_z900): Rename to __memset_z900.
17763 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
17764 (IFUNC_RESOLVE): Prefix ifunc-resolve function
17765 and use prefixed functions.
17766 * sysdeps/s390/s390-64/multiarch/memcmp.S
17767 (memcmp_z196): Rename to __memcmp_z196.
17768 (memcmp_z10): Rename to __memcmp_z10.
17769 (memcmp): Set alias to __memcmp_z900.
17770 (bcmp): Set alias to __memcmp_z900.
17771 * sysdeps/s390/s390-64/multiarch/memcpy.S
17772 (memcpy_z196): Rename to __memcpy_z196.
17773 Jump to __memcpy_mvcle instead of memcpy_mvcle.
17774 (memcpy_z10): Rename to __memcpy_z10.
17775 Jump to __memcpy_mvcle instead of memcpy_mvcle.
17776 (memcpy): Set alias to __memcpy_z900.
17777 * sysdeps/s390/s390-64/multiarch/memset.S
17778 (memset_z196): Rename to __memset_z196.
17779 Jump to __memset_mvcle instead of memset_mvcle.
17780 (memset_z10): Rename to __memset_z10.
17781 Jump to __memset_mvcle instead of memset_mvcle.
17782 (memset_mvcle) Rename to __memset_mvcle.
17783 (memset): Set alias to __memset_z900.
17785 2015-01-14 Joseph Myers <joseph@codesourcery.com>
17788 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
17789 __fesetenv instead of fesetenv.
17791 2015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
17793 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
17796 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17798 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
17801 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
17802 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
17803 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
17804 strncmp-power8 object.
17805 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17806 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
17807 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
17810 2015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17811 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17813 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
17814 trailing byte check.
17816 2015-01-13 David S. Miller <davem@davemloft.net>
17818 * include/signal.h (__sigreturn): Guard with __USE_MISC.
17820 2015-01-13 Roland McGrath <roland@hack.frob.com>
17822 * login/logout.c (logout): Use memset rather than bzero.
17823 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
17824 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
17825 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
17826 (_gethtbyaddr): Likewise.
17827 * locale/programs/simple-hash.c (bcopy): Macro removed.
17829 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17831 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
17832 Add strcmp-power8 object.
17833 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17834 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
17835 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
17836 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
17837 __strcmp_power8 implementation.
17838 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
17841 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
17842 Add strncpy-power8 and stpncpy-power8 objects.
17843 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17844 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
17846 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
17847 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
17848 __stpncpy_power8 implementation.
17849 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
17850 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
17851 __strncpy_power8 implementation.
17852 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
17853 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
17856 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
17857 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
17858 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
17860 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
17861 strncat-power8 object.
17862 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
17863 __strcat_power8 implementation.
17864 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17865 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
17866 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
17867 optimized strcat for power8.
17869 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
17870 strcpy-power8 and stpcpy-power8 objects.
17871 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17872 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
17874 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
17875 multiarch stpcpy implementation for POWER8.
17876 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
17877 multiarch strcpy implementation for POWER8.
17878 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
17879 __strcpy_power8 function.
17880 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
17882 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
17886 2015-01-13 Leonhard Holz <leonhard.holz@web.de>
17889 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
17890 weights and rules. Use do_xfrm_cached if data fits in cache,
17891 do_xfrm otherwise. Moved former main loop to...
17892 * (do_xfrm_cached): New function.
17893 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
17894 find_idx, find_position and stack_push.
17895 * (find_idx): New function.
17896 * (find_position): Likewise.
17897 * localedata/sort-test.sh: Added test run for do_xfrm.
17898 * localedata/xfrm-test.c (main): Added command line option
17899 -nocache to run the test with strings that are too large for
17902 2015-01-13 Torvald Riegel <triegel@redhat.com>
17904 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
17905 variable to lll_futex_wake call, not the value itself.
17907 2015-01-12 Joseph Myers <joseph@codesourcery.com>
17910 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
17911 twom64. Adjust value to 0x1p-64L.
17912 (__scalblnl): Only return standard underflowing result for K <=
17913 -64 not K <= -63; adjust exponent for underflowing result by 64
17915 * math/libm-test.inc (scalbn_test_data): Add more tests.
17916 (scalbln_test_data): Likewise.
17919 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
17921 (__scalblnl): Get new exponent of adjusted subnormal value from ES
17923 * math/libm-test.inc (scalbn_test_data): Add more tests.
17924 (scalbln_test_data): Likewise.
17926 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17927 Stefani Seibold <stefani@seibold.net>
17929 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
17930 (sysdep_routines): Add dl-vdso here, ...
17931 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
17932 (sysdep_routines): ... not here.
17933 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
17934 fallback when vDSO is not presented.
17935 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
17936 Define with libc_hidden_proto/libc_hidden_data_def definitions.
17937 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
17938 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
17939 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
17940 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
17941 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
17942 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
17943 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
17944 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
17945 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
17946 fallback configurable symbol when vDSO is not available.
17947 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
17948 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
17949 be able to redefine fallback symbol when vDSO is not available.
17950 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
17951 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
17953 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17955 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
17956 (TLS_INIT_TP): Add tm_capable initialization.
17957 (TLS_DEFINE_INIT_TP): Likewise.
17958 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
17960 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
17961 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
17963 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
17964 transactoion is lock elision is built and TCB tm_capable is set.
17965 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
17966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
17967 (INTERNAL_SYSCALL_NCS): Likewise.
17968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
17969 (INTERNAL_SYSCALL_NCS): Likewise.
17970 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
17972 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
17974 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
17975 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
17976 and remove it for 32 bits case.
17977 [pthread_rwlock_t] (__rwelision): New field for lock elision.
17978 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
17980 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
17981 Disable lock elision with rdlocks if elision is not available.
17983 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
17984 (sysdep_routines): Add lock elision objects.
17985 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
17986 [pthread_mutex_t] (__spins): Rework to add lock elision field.
17987 [pthread_mutex_t] (__elision): Add field.
17988 [__PTHREAD_SPINS]: Adjust to init lock elision field.
17989 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
17990 elision definitions for powerpc.
17991 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
17992 implementation of lock elision for powerpc.
17993 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
17994 implementation of timed lock elision for powerpc.
17995 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
17996 implementation of trylock with lock elision for powerpc.
17997 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
17998 implementaion of unlock for lock elision for powerpc.
17999 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
18000 automatic enable lock elision for mutexes.
18001 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
18002 transaction execution definitions for powerpc.
18003 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
18005 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
18006 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
18007 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
18008 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
18011 2015-01-09 Roland McGrath <roland@hack.frob.com>
18013 * sysdeps/posix/shm-directory.c: Use <> rather than ""
18014 for #include of <shm-directory.h>.
18016 2015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
18018 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
18019 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
18021 2015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
18024 * NEWS: Mention bug fix.
18025 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
18026 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
18027 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
18029 2015-01-09 Torvald Riegel <triegel@redhat.com>
18031 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
18033 2015-01-09 Torvald Riegel <triegel@redhat.com>
18035 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
18037 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
18039 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
18040 pointer and cast to uintptr_t.
18042 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
18044 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
18046 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
18048 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
18050 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
18053 2015-01-08 Roland McGrath <roland@hack.frob.com>
18055 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
18056 <nptl/pthreadP.h> instead.
18057 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
18059 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
18061 [__SIGRTMIN] (init): Function removed.
18062 [__SIGRTMIN] (initialized): Variable removed.
18063 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
18064 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
18065 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
18066 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
18067 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
18068 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
18069 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
18070 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
18071 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
18072 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
18073 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
18074 * sysdeps/nptl/allocrtsig.c: New file.
18075 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
18076 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
18077 * sysdeps/generic/testrtsig.h: File removed.
18079 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
18080 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
18082 * nptl/nptl-init.c (pthread_functions): Conditionalize
18083 .ptr__nptl_setxid initialization on [SIGSETXID].
18085 * sysdeps/nptl/sys/procfs.h: New file.
18086 * nptl_db/Makefile (headers): Add it.
18087 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
18089 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
18090 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
18091 * nptl/pthread_attr_setaffinity.c: Include it.
18092 * nptl/pthread_setattr_default_np.c: Likewise.
18093 * nptl/check-cpuset.h: New file.
18095 2015-01-08 Richard Henderson <rth@redhat.com>
18097 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
18098 (CFLAGS-tst-execstack-prog.c): Likewise.
18099 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
18101 2015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
18102 Sandra Loosemore <sandra@codesourcery.com>
18103 Andrew Jenner <andrew@codesourcery.com>
18104 Joseph Myers <joseph@codesourcery.com>
18105 Nathan Sidwell <nathan@codesourcery.com>
18107 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
18108 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
18109 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
18110 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
18111 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
18112 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
18113 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
18114 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
18115 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
18116 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
18117 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
18118 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
18119 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
18120 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
18121 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
18122 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
18123 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
18125 2015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18127 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
18128 timespec struct member in syscall macro.
18129 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
18130 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
18131 first timeval struct member in syscall macro.
18132 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
18134 2015-01-07 Joseph Myers <joseph@codesourcery.com>
18137 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
18138 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
18139 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
18140 __feupdateenv and define as weak alias of __feupdateenv. Use
18142 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
18144 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
18145 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
18146 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
18147 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
18149 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
18150 __feupdateenv and define as weak alias of __feupdateenv. Use
18152 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
18154 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
18155 __feupdateenv and define as weak alias of __feupdateenv. Use
18157 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
18159 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
18160 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
18161 (__feupdateenv): Likewise.
18162 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
18163 __feupdateenv and define as weak alias of __feupdateenv. Use
18165 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
18166 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
18168 * sysdeps/tile/math_private.h (__feupdateenv): New inline
18170 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
18172 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
18173 __feupdateenv instead of feupdateenv.
18174 (default_libc_feupdateenv_test): Likewise.
18175 (libc_feresetround_ctx): Likewise.
18177 2015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18179 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
18182 2015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
18184 * posix/regcomp.c (parse_bracket_exp): Initialize type to
18185 COLL_SYM in a couple of places to avoid uninitialized variable
18186 wanings on tilegx gcc 4.8.2.
18188 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
18190 * sysdeps/aarch64/strcpy.S: New file.
18191 * sysdeps/aarch64/stpcpy.S: New file.
18194 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
18196 * sysdeps/aarch64/strrchr.S: New file.
18199 2015-01-07 Eric Biggers <ebiggers3@gmail.com>
18202 * stdlib/setenv.c: Fix memory leak when setting large,
18205 2015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
18208 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
18209 and tabs from buffer before parsing fstab entry.
18210 * misc/tst-mntent.c (main): Add test for mount entry with
18211 trailing spaces and tabs.
18213 2015-01-06 Joseph Myers <joseph@codesourcery.com>
18216 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
18217 * math/fesetround.c (fesetround): Rename to __fesetround and
18218 define as weak alias of __fesetround. Use libm_hidden_weak.
18219 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
18220 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
18221 * sysdeps/arm/fesetround.c (fesetround): Likewise.
18222 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
18223 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
18224 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
18225 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
18226 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
18227 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
18228 __fesetround_inline.
18229 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
18230 __fesetround_inline instead of __fesetround.
18231 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
18232 __fesetround and define as weak alias of __fesetround. Use
18233 libm_hidden_weak. Call __fesetround_inline instead of
18235 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
18236 __fesetround and define as weak alias of __fesetround. Use
18238 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
18240 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
18241 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
18242 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
18243 * sysdeps/tile/math_private.h (__fesetround): New inline function.
18244 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
18245 __fesetround and define as weak alias of __fesetround. Use
18247 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
18248 __fesetround instead of fesetround.
18249 (default_libc_feholdexcept_setround): Likewise.
18250 (libc_feholdsetround_ctx): Likewise.
18251 (libc_feholdsetround_noex_ctx): Likewise.
18254 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
18255 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
18256 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
18257 and define as weak alias of __fesetenv. Use libm_hidden_weak.
18258 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
18259 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
18260 define as weak alias of __fesetenv. Use libm_hidden_weak.
18261 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
18262 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
18263 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
18264 define as weak alias of __fesetenv. Use libm_hidden_weak.
18265 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
18266 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
18267 define as weak alias of __fesetenv. Use libm_hidden_weak.
18268 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
18270 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
18271 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
18273 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
18274 define as weak alias of __fesetenv. Use libm_hidden_weak.
18275 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
18276 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
18277 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
18278 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
18279 and define as weak alias of __fesetenv. Use libm_hidden_weak.
18280 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
18281 __fesetenv instead of fesetenv.
18282 (libc_feresetround_noex_ctx): Likewise.
18283 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
18284 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
18285 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
18286 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
18287 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
18288 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
18289 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
18290 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
18291 (__feupdateenv): Likewise.
18292 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
18293 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
18294 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
18295 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
18297 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
18300 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
18301 addresses have been freed.
18303 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
18305 * resolv/res_init.c (__res_vinit): Improve comments about nserv
18308 2015-01-06 Ondřej Bílka <neleai@seznam.cz>
18310 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
18311 Clean up check_pf allocation pattern. addresses
18313 2015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18315 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
18316 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
18317 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
18318 * nptl/pthread_exit.c (__pthread_exit): Likewise.
18319 * nptl/pthread_join.c (pthread_join): Likewise.
18320 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
18321 * sysdeps/posix/waitid.c (__waitid): Likewise.
18322 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
18323 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
18324 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
18325 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
18326 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
18328 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
18329 (__libc_pread64): Likewise.
18330 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
18331 (__libc_pwrite): Likewise.
18332 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
18333 (__libc_pwrite64): Likewsie.
18334 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
18335 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
18336 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
18337 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
18338 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
18339 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
18340 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
18341 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
18343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
18344 (__libc_pread64): Likewise.
18345 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
18347 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
18348 (__libc_pwrite64): Likewise.
18349 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
18350 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
18351 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
18352 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
18353 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
18354 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
18355 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
18356 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
18357 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
18358 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
18359 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
18360 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
18361 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
18362 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
18363 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
18364 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
18367 2015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
18369 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
18370 (CFLAGS-test-double.c): Likewise.
18371 (CFLAGS-test-ldouble.c): Likewise.
18372 (CPPFLAGS-test-ifloat.c): Likewise.
18373 (CPPFLAGS-test-idouble.c): Likewise.
18374 (CPPFLAGS-test-ildoubl.c): Likewise.
18375 (CFLAGS-test-test-fenv.c): Remove variable.
18376 (CFLAGS-test-misc.c): Likewise.
18378 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
18381 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
18382 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
18383 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
18384 CLOCKS_PER_SEC == 1000000.
18385 * time/clocktest.c (main): Replace %ld with %jd and cast to
18388 2015-01-05 Roland McGrath <roland@hack.frob.com>
18390 * sysdeps/generic/unwind-resume.h: New file.
18391 * sysdeps/gnu/unwind-resume.c: Include it.
18392 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
18393 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
18395 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
18396 global rather than static.
18397 (_Unwind_Resume): Update user.
18398 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
18399 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
18400 rather than static. Add __attribute__ ((cold)).
18401 (_Unwind_Resume, __gcc_personality_v0): Update callers.
18402 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
18403 * sysdeps/arm/arm-unwind-resume.S: New file.
18404 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
18405 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
18406 * sysdeps/arm/Makefile [$(subdir) = csu]
18407 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
18408 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
18409 Add rt-arm-unwind-resume.
18411 (libpthread-sysdep_routines, libpthread-shared-only-routines):
18412 Add pt-arm-unwind-resume.
18413 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
18414 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
18416 2015-01-05 Joseph Myers <joseph@codesourcery.com>
18419 * include/fenv.h (__feholdexcept): Declare. Use
18421 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
18422 define as weak alias of __feholdexcept. Use libm_hidden_weak.
18423 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
18424 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
18425 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
18426 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
18427 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
18428 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
18429 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
18430 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
18431 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
18432 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
18433 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
18434 (feholdexcept): Likewise.
18435 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
18436 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
18437 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
18438 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
18439 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
18440 __feholdexcept instead of feholdexcept.
18441 (default_libc_feholdexcept_setround): Likewise.
18443 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
18445 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
18446 to avoid using stl/str to align destination.
18448 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
18450 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
18452 2015-01-05 Joseph Myers <joseph@codesourcery.com>
18455 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
18456 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
18457 Define as weak alias not strong alias.
18459 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
18461 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
18462 bltzal with addiupc.
18463 (RTLD_START): Ditto.
18465 2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
18467 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
18468 for __vdso_* functions in declarations.
18469 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
18471 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
18472 INTERNAL_VSYSCALL): Use struct return types to check for error.
18474 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
18475 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
18476 function with cast from llround().
18477 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
18478 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
18481 2015-01-05 Joseph Myers <joseph@codesourcery.com>
18484 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
18485 Define as weak alias not strong alias.
18488 * ctype/ctype-c99.c: New file. isblank implementation moved from
18490 * ctype/ctype-extn.c: ... here.
18491 (__isblank_l): Move to ...
18492 * ctype/ctype-c99_l.c: ... here. New file.
18493 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
18494 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
18496 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
18497 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
18498 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
18499 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
18500 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
18503 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
18504 (posix_fadvise64): Define as weak alias not strong alias.
18505 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
18506 (posix_fallocate64): Likewise.
18507 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
18509 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
18510 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
18511 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
18512 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
18513 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
18515 2015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
18518 * NEWS: Mention bug fix.
18519 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
18520 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
18521 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
18522 (HOST_STACK_END_ADDR): Likewise.
18524 2015-01-02 Joseph Myers <joseph@codesourcery.com>
18527 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
18528 * math/fegetround.c (fegetround): Rename to __fegetround and
18529 define as weak alias of __fegetround. Use libm_hidden_weak.
18530 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
18531 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
18532 * sysdeps/arm/fegetround.c (fegetround): Likewise.
18533 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
18534 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
18535 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
18536 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
18537 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
18538 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
18539 Undefine after rather than before function definition; use
18540 parentheses around function name in definition.
18541 (__fegetround): Also undefine macro after function definition.
18542 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
18543 __fegetround and define as weak alias of __fegetround. Use
18544 libm_hidden_weak. Do not undefine as macro.
18545 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
18547 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
18548 __fegetround and define as weak alias of __fegetround. Use
18550 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
18551 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
18552 * sysdeps/tile/math_private.h (__fegetround): New inline function.
18553 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
18554 __fegetround and define as weak alias of __fegetround. Use
18556 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
18557 __fegetround instead of fegetround.
18560 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
18561 Condition macro definition on [__USE_MISC].
18564 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
18565 (struct sigaction): Change type of sa_flags field to int.
18568 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
18569 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
18572 * nptl/version.c (banner): Use single year in copyright notice.
18574 * NEWS: Update copyright dates.
18575 * catgets/gencat.c (print_version): Likewise.
18576 * csu/version.c (banner): Likewise.
18577 * debug/catchsegv.sh: Likewise.
18578 * debug/pcprofiledump.c (print_version): Likewise.
18579 * debug/xtrace.sh (do_version): Likewise.
18580 * elf/ldconfig.c (print_version): Likewise.
18581 * elf/ldd.bash.in: Likewise.
18582 * elf/pldd.c (print_version): Likewise.
18583 * elf/sotruss.sh: Likewise.
18584 * elf/sprof.c (print_version): Likewise.
18585 * iconv/iconv_prog.c (print_version): Likewise.
18586 * iconv/iconvconfig.c (print_version): Likewise.
18587 * locale/programs/locale.c (print_version): Likewise.
18588 * locale/programs/localedef.c (print_version): Likewise.
18589 * login/programs/pt_chown.c (print_version): Likewise.
18590 * malloc/memusage.sh (do_version): Likewise.
18591 * malloc/memusagestat.c (print_version): Likewise.
18592 * malloc/mtrace.pl: Likewise.
18593 * manual/libc.texinfo: Likewise.
18594 * nptl/version.c (banner): Likewise.
18595 * nscd/nscd.c (print_version): Likewise.
18596 * nss/getent.c (print_version): Likewise.
18597 * nss/makedb.c (print_version): Likewise.
18598 * posix/getconf.c (main): Likewise.
18599 * scripts/test-installation.pl: Likewise.
18600 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
18602 2015-01-02 Will Newton <will.newton@linaro.org>
18604 * sysdeps/arm/armv7/configure: Removed.
18605 * sysdeps/arm/armv7/configure.ac: Likewise.
18607 2015-01-02 Joseph Myers <joseph@codesourcery.com>
18609 * All files with FSF copyright notices: Update copyright dates
18610 using scripts/update-copyrights.
18611 * intl/plural.c: Regenerated.
18612 * locale/programs/charmap-kw.h: Likewise.
18613 * locale/programs/locfile-kw.h: Likewise.
18615 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
18617 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
18619 2014-12-31 Joseph Myers <joseph@codesourcery.com>
18622 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
18623 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
18624 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
18625 and define as weak alias of __fegetenv. Use libm_hidden_weak.
18626 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
18627 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
18628 define as weak alias of __fegetenv. Use libm_hidden_weak.
18629 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
18630 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
18631 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
18632 define as weak alias of __fegetenv. Use libm_hidden_weak.
18633 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
18634 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
18635 define as weak alias of __fegetenv. Use libm_hidden_weak.
18636 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
18638 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
18639 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
18641 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
18642 define as weak alias of __fegetenv. Use libm_hidden_weak.
18643 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
18644 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
18645 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
18646 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
18647 and define as weak alias of __fegetenv. Use libm_hidden_weak.
18648 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
18649 __fegetenv instead of fegetenv.
18650 (libc_feholdsetround_noex_ctx): Likewise.
18652 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
18654 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
18655 (Elf_MIPS_ABIFlags_v0): New structure.
18656 (EF_MIPS_FP64): Define.
18657 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
18658 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
18659 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
18660 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
18661 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
18662 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
18663 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
18664 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
18665 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
18666 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
18667 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
18668 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
18669 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
18670 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
18671 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
18672 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
18673 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
18674 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
18675 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
18676 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
18677 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
18678 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
18680 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
18682 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
18683 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
18684 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
18685 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
18686 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
18687 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
18688 * sysdeps/mips/tst-abi-interlink.c: Likewise.
18689 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
18690 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
18691 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
18692 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
18693 record the current FP ABI extension.
18694 (mips-mode-switch): Define to show if kernel headers support mode
18696 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
18697 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
18698 supported SYSV ABI version to 3.
18699 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
18702 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18703 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18705 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
18707 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
18709 2014-12-31 Joseph Myers <joseph@codesourcery.com>
18711 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
18712 __fegetround and redefine to call __fegetround. Remove condition
18713 on [!__NO_MATH_INLINES].
18714 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
18716 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
18717 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
18719 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
18720 instead of <fenv_libc.h>.
18721 (__llrintl): Call fegetround instead of __fegetround.
18722 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
18723 instead of <fenv_libc.h>.
18724 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
18725 (__lrintl): Call fegetround instead of __fegetround.
18726 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
18727 instead of <fenv_libc.h>.
18728 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
18729 (__rintl): Call fegetround instead of __fegetround.
18731 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
18733 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
18736 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
18739 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
18740 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
18741 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
18743 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
18745 * sysdeps/i386/tls-macros.h: Include <features.h>.
18746 (TLS_LE): Use non-PIC version for GCC >= 5.0.
18747 (TLS_IE): Likewise.
18748 (TLS_LD): Likewise.
18749 (TLS_GD): Likewise.
18750 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
18751 define for GCC >= 5.0.
18753 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
18755 * math/test-fenv.c (test_single_exception, set_single_exc,
18756 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
18757 feexcp_mask_test, feenable_test, fe_single_test): Add
18758 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
18759 case where they are not used.
18760 * math/libm-test.inc: Likewise.
18761 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
18762 unused in the absence of FP rounding/exception support.
18763 * stdio-common/tst-printf-round.c: Likewise.
18764 * stdlib/tst-strtod-round.c: Likewise.
18765 * stdlib/tst-strtod-underflow.c: Likewise.
18767 2014-12-30 Joseph Myers <joseph@codesourcery.com>
18770 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
18771 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
18772 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
18773 __feraiseexcept and define as weak alias of __feraiseexcept. Use
18775 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
18776 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
18777 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
18779 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
18780 __feraiseexcept and define as weak alias of __feraiseexcept. Use
18782 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
18784 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
18785 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
18786 __feraiseexcept and define as weak alias of __feraiseexcept. Use
18788 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
18790 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
18791 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
18792 (__feraiseexcept): Likewise.
18793 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
18794 __feraiseexcept and define as weak alias of __feraiseexcept. Use
18796 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
18797 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
18799 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
18800 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
18801 Use libm_hidden_def.
18802 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
18804 (feraiseexcept): Define as weak not strong alias. Use
18806 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
18807 New inline function. Factored out of ...
18808 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
18809 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
18810 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
18812 * math/w_acos.c (__acos): Likewise.
18813 * math/w_asin.c (__asin): Likewise.
18814 * math/w_ilogb.c (__ilogb): Likewise.
18815 * math/w_j0.c (y0): Likewise.
18816 * math/w_j1.c (y1): Likewise.
18817 * math/w_jn.c (yn): Likewise.
18818 * math/w_log.c (__log): Likewise.
18819 * math/w_log10.c (__log10): Likewise.
18820 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
18821 * sysdeps/aarch64/fpu/math_private.h
18822 (libc_feupdateenv_test_aarch64): Likewise.
18823 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
18824 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
18825 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
18826 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
18827 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
18828 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
18829 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
18830 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
18831 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
18832 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
18834 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
18837 * io/test-utime.c (main): Replace %ld with %jd and cast to
18839 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
18840 * nptl/tst-mutex5.c: Include <stdint.h>.
18841 (do_test): Replace %ld with %jd and cast to intmax_t.
18842 * posix/tst-regex.c (run_test): Likewise.
18843 (run_test_backwards): Likewise.
18844 * rt/tst-clock.c: Include <stdint.h>.
18845 (clock_test): Replace %ld with %jd and cast to intmax_t.
18846 * rt/tst-cpuclock1.c: Include <stdint.h>.
18847 (do_test): Replace %lu with %ju and cast to uintmax_t.
18848 * rt/tst-cpuclock2.c: Include <stdint.h>.
18849 (do_test): Replace %lu with %ju and cast to uintmax_t.
18850 * rt/tst-mqueue1.c: Include <stdint.h>.
18851 (check_attrs): Replace %ld with %jd and cast to intmax_t.
18852 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
18854 * rt/tst-mqueue4.c (do_test): Likewise.
18855 * rt/tst-timer4.c: Include <stdint.h>.
18856 (check_ts): Replace %ld with %jd and cast to intmax_t.
18857 (do_test): Likewise.
18858 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
18859 and cast to intmax_t.
18860 * sysdeps/pthread/tst-timer.c (main): Likewise.
18861 * time/clocktest.c (main): Likewise.
18862 * time/tst-posixtz.c (do_test): Likewise.
18863 * timezone/tst-timezone.c (main): Likewise.
18865 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
18866 H.J. Lu <hongjiu.lu@intel.com>
18868 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
18869 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
18870 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
18871 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
18872 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
18873 version if bit_Fast_Unaligned_Load is set.
18874 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
18875 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
18876 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
18877 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
18878 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
18879 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
18880 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18881 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
18882 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
18883 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
18885 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
18886 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
18887 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
18888 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
18890 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
18892 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
18893 instead of #if to avoid a Wundef warning.
18894 * stdlib/tst-limits.c (do_test): Likewise.
18896 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
18897 parallel other exception macros.
18898 (fegetenv): Convert from macro to extern inline so that it applies
18899 retroactively to inline functions already seen by the compiler.
18900 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
18902 * posix/Makefile (before-compile): Use $(objpfx) for
18903 posix-conf-vars-def.h.
18905 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
18907 * posix/getconf.c (main): Use size_t for type of I.
18908 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
18911 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
18912 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
18913 * posix/posix-envs.def: Likewise.
18914 * sysdeps/posix/sysconf.c: Likewise.
18915 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
18916 (specs): Remove array.
18917 * scripts/gen-posix-conf-vars.awk: Support generation of specs
18920 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
18921 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
18922 (__sysconf): Use CONF_IS_* macros.
18924 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
18925 ($(objpfx)posix-conf-vars-def.h): New target.
18926 * posix/posix-conf-vars.list: New file.
18927 * posix/posix-conf-vars.h: New file.
18928 * posix/confstr.c: Include posix-conf-vars.h.
18929 (confstr): Use CONF_IS_* macros.
18930 * posix/posix-envs.def: Include posix-conf-vars.h. Use
18932 * scripts/gen-posix-conf-vars.awk: New file.
18934 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
18936 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
18937 fegetround): Add no-op macros to avoid linknamespace issues.
18939 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
18940 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
18942 * sysdeps/unix/sysv/linux/tile/sysdep.h
18943 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
18944 assembly-specific section to avoid a redefinition warning.
18946 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
18947 long before casting to pointer to avoid a cast warning.
18949 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
18951 * sysdeps/tile/tilegx/Implies: New file.
18953 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
18955 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
18957 2014-12-23 Florian Weimer <fweimer@redhat.com>
18959 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
18961 2014-12-22 Joseph Myers <joseph@codesourcery.com>
18963 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
18965 * sysdeps/unix/sysv/linux/utimes.c: Do not include
18966 <kernel-features.h>.
18967 (__utimes) [__NR_utimes]: Make code unconditional.
18968 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
18969 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
18970 (__ASSUME_UTIMES): Do not undefine.
18971 * sysdeps/unix/sysv/linux/tile/kernel-features.h
18972 (__ASSUME_UTIMES): Likewise.
18973 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
18974 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
18975 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
18976 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
18978 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
18980 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
18982 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
18985 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
18986 alias to weak alias for j0l, y0l.
18987 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
18988 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
18991 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
18994 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
18996 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
18997 to zero if not already defined.
18999 2014-12-22 Joseph Myers <joseph@codesourcery.com>
19002 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
19003 (__kernel_standard_f): Remove. Moved to k_standardf.c.
19004 (__kernel_standard_l): Remove. Moved to k_standardl.c with
19005 (char *) casts added.
19006 * sysdeps/ieee754/k_standardf.c: New file.
19007 * sysdeps/ieee754/k_standardl.c: Likewise.
19008 * math/Makefile (libm-support): Remove k_standard.
19009 (libm-calls): Add k_standard.
19011 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
19013 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
19014 Optimize to avoid an unnecessary FPCR read.
19016 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
19018 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
19019 Optimize to reduce FPCR/FPSR accesses.
19021 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
19023 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
19024 Call libc_fetestexcept_aarch64.
19026 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
19028 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
19029 Call libc_fesetround_aarch64.
19031 2014-12-22 Joseph Myers <joseph@codesourcery.com>
19034 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
19035 (__bind): Do not define as weak alias.
19036 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
19038 (__getsockname): Do not define as weak alias.
19040 2014-12-22 Will Newton <will.newton@linaro.org>
19042 * manual/install.texi: Document that we require bison 2.7
19044 * INSTALL: Regenerate.
19045 * configure.ac: Use AC_CHECK_PROG_VER instead of
19046 AC_PATH_PROG when checking for bison and check for
19047 version 2.7 or above.
19048 * configure: Regenerate.
19050 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
19053 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
19054 * sysdeps/tile/ffsll.c (ffsll): To here.
19056 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
19058 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
19060 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
19062 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
19064 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
19065 hidden ___tls_get_addr.
19066 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
19067 hidden __tls_get_addr.
19068 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
19069 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
19072 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
19074 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
19077 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
19079 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
19080 from "call _dl_init@PLT".
19081 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
19083 2014-12-21 Anders Kaseorg <andersk@mit.edu>
19085 * manual/search.texi: (Array Sort Function): Clarify stable sorting
19088 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
19090 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
19092 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
19095 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
19098 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
19100 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
19101 of multu on MIPSr6.
19102 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
19103 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
19104 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
19105 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
19106 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
19108 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
19110 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
19111 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
19112 (PTR_SUBU): Use subu for mips32r6/mips64r6.
19113 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
19114 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
19116 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
19118 2014-12-19 Ondřej Bílka <neleai@seznam.cz>
19120 * string/strncat.c (STRNCAT): Simplify implementation.
19122 2014-12-19 David S. Miller <davem@davemloft.net>
19124 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
19125 access the quad as both a long double and as a series of 4 words.
19127 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
19128 link_map->l_info array access.
19130 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
19132 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
19134 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
19135 * math/atest-exp2.c (TIMEOUT): Likewise.
19136 * math/atest-sincos.c (TIMEOUT): Likewise.
19138 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
19140 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
19141 -Wno-error with -fno-builtin-lround.
19143 2014-12-19 Torvald Riegel <triegel@redhat.com>
19145 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
19146 Contains futex constants and functions moved over from ...
19147 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
19148 <lowlevellock-futex.h>.
19149 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
19150 (lll_timedwait_tid): Add comments and parentheses around macro
19153 2014-12-19 Torvald Riegel <triegel@redhat.com>
19155 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
19156 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
19157 (__lll_private_flag): Remove.
19158 (lll_futex_wait): Likewise.
19159 (lll_futex_timed_wait): Likewise.
19160 (lll_futex_wake): Likewise.
19161 (lll_futex_requeue): Likewise.
19162 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
19163 (__lll_timedwait_tid): Spell out argument names.
19164 (lll_timedwait_tid): Add comments and parentheses around macro
19166 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
19167 LLL_SHARED and LLL_PRIVATE usable from assembly code.
19169 2014-12-19 Torvald Riegel <triegel@redhat.com>
19171 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
19172 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
19173 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
19174 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
19175 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
19176 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
19177 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
19178 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
19179 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
19180 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
19181 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
19182 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
19183 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
19184 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
19185 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
19186 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
19187 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
19188 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
19189 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
19191 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
19193 * sysdeps/x86_64/x32/Makefile: New file.
19195 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
19197 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
19198 1L with (mp_limb_t) 1.
19200 2014-12-17 Roland McGrath <roland@hack.frob.com>
19202 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
19203 * nptl/libc_pthread_init.c: ... here.
19204 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
19205 * nptl/register-atfork.c: ... here.
19207 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
19208 Use pthread_sigmask rather than INTERNAL_SYSCALL.
19209 Use assert_perror to check its return value.
19210 (__gai_create_helper_thread): Likewise.
19212 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
19214 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
19216 2014-12-17 Joseph Myers <joseph@codesourcery.com>
19219 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
19221 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
19223 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
19225 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
19227 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
19228 (profil_counter): Likewise.
19229 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
19230 (profil_counter): Likewise.
19231 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
19233 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
19235 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
19236 (profil_counter): Likewise.
19237 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
19239 [!__profil_counter] (profil_counter): Define as weak alias of
19241 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
19242 (profil_counter): Rename to __profil_counter.
19243 [!__profil_counter] (profil_counter): Define as weak alias of
19245 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
19246 (profil_counter): Rename to __profil_counter.
19247 [!__profil_counter] (profil_counter): Define as weak alias of
19249 * sysdeps/posix/profil.c: Update comment referring to
19251 (__profil): Use __profil_counter instead of profil_counter.
19252 * sysdeps/posix/sprofil.c (profil_counter): Rename to
19253 __profil_counter. Use __profil_counter_ushort and
19254 __profil_counter_uint in definitions.
19255 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
19256 instead of profil_counter_uint and profil_counter_ushort.
19259 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
19260 define as weak alias of __inet_makeaddr.
19261 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
19262 as weak alias of __inet_addr.
19263 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
19264 as weak alias of __inet_pton. Use libc_hidden_weak.
19265 * include/arpa/inet.h (__inet_pton): Declare. Use
19267 (inet_makeaddr): Don't use libc_hidden_proto.
19268 (__inet_makeaddr): Declare. Use libc_hidden_proto.
19269 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
19270 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
19271 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
19273 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
19274 (test-xfail-POSIX/time.h/linknamespace): Likewise.
19276 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
19278 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
19280 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
19282 * stdio-common/bug-vfprintf-nargs.c (do_test):
19283 Cast value to intptr_t to avoid format warning
19284 for usage with PRIdPTR printing macro.
19286 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
19288 * libio/tst-widetext.c (do_test):
19289 Use format type %td instead of %Zd for ptrdiff_t
19290 in order to avoid format warning.
19292 2014-12-17 Andreas Schwab <schwab@suse.de>
19294 * nscd/mem.c (gc): Add size_t cast to match printf format.
19296 2014-12-16 Roland McGrath <roland@hack.frob.com>
19298 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
19299 (init): Apply PTR_MANGLE to pointers before storing them.
19300 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
19303 2014-12-16 Joseph Myers <joseph@codesourcery.com>
19306 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
19307 define as weak alias of __memrchr.
19308 (__memrchr): Do not define as strong alias of memrchr.
19309 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
19311 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
19312 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
19313 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
19316 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
19317 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
19318 (if_indextoname): Rename to __if_indextoname and define as weak
19319 alias of __if_indextoname. Use libc_hidden_weak.
19320 (if_freenameindex): Rename to __if_freenameindex and define as
19321 weak alias of __if_freenameindex.
19322 (if_nameindex): Rename to __if_nameindex and define as weak alias
19324 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
19325 __if_nametoindex and define as weak alias of __if_nametoindex.
19326 Use libc_hidden_weak.
19327 (if_freenameindex): Rename to __if_freenameindex and define as
19328 weak alias of __if_freenameindex.
19329 (if_nameindex): Rename to __if_nameindex and define as weak alias
19331 (if_indextoname): Rename to __if_indextoname and define as weak
19332 alias of __if_indextoname. Use libc_hidden_weak.
19333 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
19334 __if_nametoindex and define as weak alias of __if_nametoindex.
19335 Use libc_hidden_weak.
19336 (if_freenameindex): Rename to __if_freenameindex and define as
19337 weak alias of __if_freenameindex. Use libc_hidden_weak.
19338 (if_nameindex_netlink): Use __if_freenameindex instead of
19340 (if_nameindex): Rename to __if_nameindex and define as weak alias
19341 of __if_nameindex. Use libc_hidden_weak.
19342 (if_indextoname): Rename to __if_indextoname and define as weak
19343 alias of __if_indextoname. Use libc_hidden_weak.
19344 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
19346 [!_ISOMAC] (__if_freenameindex): Likewise.
19347 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
19349 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
19351 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
19352 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
19353 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
19354 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
19355 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
19356 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
19357 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
19359 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
19361 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
19362 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
19364 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
19366 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
19367 subscript above bounds'
19369 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
19372 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
19374 * libio/tst-fopenloc.c: Use test-skeleton.c.
19376 * stdlib/tst-bsearch.c: Use test-skeleton.c.
19377 (entry): Rename to ITEM.
19378 (do_test, comp): Adjust.
19380 * stdio-common/tst-fseek.c: Use test-skeleton.c.
19382 2014-12-16 Torvald Riegel <triegel@redhat.com>
19384 * string/tester.c: Include <libc-internal.h>.
19385 (test_memset): Ignore -Wmemset-transposed-args.
19387 2014-12-16 Torvald Riegel <triegel@redhat.com>
19389 * misc/tst-mntent2.c (do_test): Fix warning.
19391 2014-12-16 Torvald Riegel <triegel@redhat.com>
19393 * elf/tst-unique4lib.cc(a): Mark as used.
19395 2014-12-16 Florian Weimer <fweimer@redhat.com>
19398 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
19401 2014-12-16 Allan McRae <allan@archlinux.org>
19403 * stdio-common/Makefile (tests): Re-add bug26.
19405 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
19408 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
19411 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
19413 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
19414 (__lll_lock_wait): Likewise.
19415 (__lll_timedlock_wait): Likewise.
19416 (__lll_timedwait_tid): Likewise.
19417 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
19418 (__lll_robust_timedlock_wait): Likewise.
19419 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
19420 (lll_cond_trylock): Likewise.
19421 (__lll_lock): Likewise.
19422 (__lll_robust_lock): Likewise.
19423 (__lll_cond_lock): Likewise.
19424 (lll_robust_cond_lock): Likewise.
19425 (__lll_timedlock): Likewise.
19426 (__lll_robust_timedlock): Likewise.
19427 (__lll_unlock): Likewise.
19428 (__lll_robust_unlock): Likewise.
19429 (lll_wait_tid): Likewise.
19430 (lll_timedwait_tid): Likewise.
19432 2014-12-15 Torvald Riegel <triegel@redhat.com>
19434 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
19436 2014-12-15 Torvald Riegel <triegel@redhat.com>
19438 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
19440 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
19442 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
19443 * stdio-common/tst-sprintf.c: Likewise.
19445 2014-12-15 Torvald Riegel <triegel@redhat.com>
19447 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
19449 2014-12-15 Jeff Law <law@redhat.com>
19452 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
19453 on the heap. (CVE-2012-3406)
19454 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
19455 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
19456 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
19458 2014-12-15 Will Newton <will.newton@linaro.org>
19460 * manual/install.texi: Bump required version of texinfo
19462 * INSTALL: Regenerated.
19463 * configure.ac: Check for makeinfo version 4.7 and above.
19464 * configure: Regenerated.
19466 2014-12-12 Roland McGrath <roland@hack.frob.com>
19468 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
19469 PREFIX, string constant to insert between directory and name.
19470 * sysdeps/posix/shm_open.c: Update caller.
19471 * sysdeps/posix/shm_unlink.c: Likewise.
19472 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
19473 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
19474 (SEM_SHM_PREFIX): New macro.
19475 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
19476 [$(have-thread-library) = no].
19477 * nptl/Makefile (libpthread-routines): Add shm-directory.
19478 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
19479 * sysdeps/nptl/shm-directory.h: New file.
19480 * sysdeps/posix/shm-directory.c
19481 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
19482 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
19483 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
19485 (__where_is_shmfs): Function removed.
19486 (mountpoint, defaultmount, defaultdir, __namedsem_once):
19488 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
19490 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
19492 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
19493 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
19494 unconditional for use inside libpthread.
19495 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
19497 2014-12-12 Roland McGrath <roland@hack.frob.com>
19499 * nptl/pthread_getaffinity.c: New file.
19500 * nptl/pthread_setaffinity.c: New file.
19501 * nptl/pthread_getname.c: New file.
19502 * nptl/pthread_setname.c: New file.
19504 * nptl/pthread_create.c (START_THREAD_DEFN)
19505 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
19507 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
19508 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19510 * resolv/res_send.c (send_vc): Disable warning resplen may
19511 be used uninitialized.
19513 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
19515 * nptl/tst-mutex6.c
19516 (ATTR_NULL): New define checks ATTR against NULL.
19517 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
19518 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
19520 2014-12-11 James Lemke <jwlemke@codesourcery.com>
19524 (mem2mem_check): Revert my previous change.
19525 (malloc_check_get_size): Revert my previous change.
19526 (mem2chunk_check): Revert my previous change.
19528 2014-12-11 Roland McGrath <roland@hack.frob.com>
19530 * sysdeps/posix/shm-directory.c: New file.
19531 * sysdeps/posix/shm-directory.h: New file.
19532 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
19533 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
19534 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
19535 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
19536 Transmute EPERM to EACCES.
19537 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
19539 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
19540 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
19542 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19544 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
19545 pointer and cast to uintptr_t.
19546 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
19547 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
19548 Add cast to avoid warning.
19549 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
19551 2014-12-11 Joseph Myers <joseph@codesourcery.com>
19553 * nptl/semaphore.h: Move to ...
19554 * sysdeps/pthread/semaphore.h: ... here.
19555 * Makefile (installed-headers): Change nptl/semaphore.h to
19556 sysdeps/pthread/semaphore.h.
19558 2014-12-11 Roland McGrath <roland@hack.frob.com>
19560 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
19561 generated error format strings.
19563 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
19564 -Wformat-extra-args warnings for scanf formats.
19565 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
19566 test of zero-length format (duh).
19567 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
19568 corner-case scanf format test.
19569 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
19570 generated fprintf format string.
19571 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
19572 corner-case sprintf format tests.
19573 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
19574 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
19575 -Wformat-extra-args warnings throughout.
19576 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
19577 (CFLAGS-scanf4.c): Likewise.
19578 (CFLAGS-scanf7.c): Likewise.
19579 (CFLAGS-tst-sprintf.c): Likewise.
19580 (CFLAGS-tst-printf.c): Likewise.
19581 (CFLAGS-tst-printfsz.c): Likewise.
19583 2014-12-11 Joseph Myers <joseph@codesourcery.com>
19585 * include/cpio.h: New file.
19586 * include/fmtmsg.h: Likewise.
19588 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
19589 corresponding format argument to size_t.
19590 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
19592 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
19593 corresponding format argument to size_t.
19594 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
19596 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
19597 corresponding format argument to size_t.
19598 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
19599 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
19600 (CFLAGS-tst-mbswcs2.c): Likewise.
19601 (CFLAGS-tst-mbswcs3.c): Likewise.
19602 (CFLAGS-tst-mbswcs4.c): Likewise.
19603 (CFLAGS-tst-mbswcs5.c): Likewise.
19604 (CFLAGS-tst-trans.c): Likewise.
19606 2014-12-11 Roland McGrath <roland@hack.frob.com>
19608 * posix/regexbug1.c (main): Use "%s" format with regerror results,
19609 rather than assuming they won't contain any '%'s.
19611 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
19613 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
19614 inhibit_loop_to_libcall to avoid recursive calls.
19615 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
19616 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
19618 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
19620 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
19623 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
19625 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
19626 integer value instead of boolean.
19628 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
19630 * malloc/malloc.c: Fix powerof2 check.
19632 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
19634 * locale/programs/locfile.h (maybe_swap_uint32):
19635 Remove inline and add unused attribute.
19637 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
19639 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
19640 Truncating assembler expression to a .long expression.
19642 2014-12-11 Andreas Schwab <schwab@suse.de>
19644 * elf/rtld.c (struct map_args): Constify str member.
19645 (do_preload): Constify fname argument.
19647 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19649 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
19650 constants definition.
19652 2014-12-11 Andreas Schwab <schwab@suse.de>
19655 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
19656 FORCE_ELISION instead of DO_ELISION.
19657 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
19659 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
19662 * iconvdata/gconv-modules: Remove duplicate entry.
19664 2014-12-11 Will Newton <will.newton@linaro.org>
19666 Merge gettext 0.19.3 into intl/.
19668 This involves a number of cosmetic changes to comments
19669 and ANSI function definitions and prototypes throughout
19670 all the files. The gettext copyright header is used but
19671 with the date ranges taken from the glibc copy.
19673 * NEWS: Add gettext merge to 2.21.
19674 * intl/bindtextdom.c: Switch to gettext copyright.
19675 Use ANSI definitions and prototypes.
19676 Use gl_* locking primitives rather than __libc_* ones.
19677 Use __builtin_expect rather than __glibc_likely/unlikely.
19678 * intl/dcgettext.c: Switch to gettext copyright.
19679 Use ANSI definitions and prototypes.
19680 * intl/dcigettext.c: Switch to gettext copyright.
19681 Use ANSI definitions and prototypes.
19682 (INTDIV0_RAISES_SIGFPE): New define.
19683 Use gl_* locking primitives rather than __libc_* ones.
19684 Include eval-plural.h instead of plural-eval.c.
19685 Use __builtin_expect rather than __glibc_likely/unlikely.
19686 * intl/dcngettext.c: Switch to gettext copyright.
19687 Use ANSI definitions and prototypes.
19688 * intl/dgettext.c: Likewise.
19689 * intl/dngettext.c: Likewise.
19690 * intl/plural-eval.c: Renamed to...
19691 * intl/eval-plural.h: ...this.
19692 * intl/explodename.c: Switch to gettext copyright.
19693 Use ANSI definitions and prototypes.
19694 (_nl_explode_name): Use strchr instead of __rawmemchr.
19695 * intl/finddomain.c: Switch to gettext copyright.
19696 Use ANSI definitions and prototypes.
19697 Use gl_* locking primitives rather than __libc_* ones.
19698 (_nl_find_domain): Use malloc rather than alloca for
19699 allocation of temporary locale name.
19700 * intl/gettext.c: Switch to gettext copyright.
19701 Use ANSI definitions and prototypes.
19702 * intl/gettextP.h: Switch to gettext copyright.
19703 Use ANSI definitions and prototypes.
19704 Use gl_* locking primitives rather than __libc_* ones.
19705 * intl/gmo.h: Switch to gettext copyright.
19706 (struct sysdep_string): Move struct segment_pair outside of
19708 * intl/hash-string.c: Use ANSI definitions and prototypes.
19709 * intl/hash-string.h: Switch to gettext copyright.
19710 Use ANSI definitions and prototypes.
19711 * intl/l10nflist.c: Switch to gettext copyright.
19712 Use ANSI definitions and prototypes.
19713 (_nl_normalize_codeset): Avoid integer overflow.
19714 * intl/loadinfo.h: Switch to gettext copyright.
19715 Use ANSI definitions and prototypes.
19716 (LIBINTL_DLL_EXPORTED): New define.
19717 (PATH_SEPARATOR): New define.
19718 * intl/loadmsgcat.c: Switch to gettext copyright.
19719 * intl/localealias.c: Switch to gettext copyright.
19720 Use ANSI definitions and prototypes.
19721 (_nl_expand_alias): Use PATH_SEPARATOR.
19722 * intl/ngettext.c: Switch to gettext copyright.
19723 Use ANSI definitions and prototypes.
19724 * intl/plural-exp.c: Likewise.
19725 * intl/plural-exp.h: Switch to gettext copyright.
19726 Use ANSI definitions and prototypes.
19727 (struct expression): Move definition of enum operator outside
19728 of struct definition.
19729 * intl/plural.c: Regenerate.
19730 * intl/plural.y: Switch to gettext copyright.
19731 Use ANSI definitions and prototypes.
19733 * intl/textdomain.c: Switch to gettext copyright.
19734 Use ANSI definitions and prototypes.
19735 Use gl_* locking primitives rather than __libc_* ones.
19737 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
19739 * debug/warning-nop.c: Add used atrribute.
19741 2014-12-10 Joseph Myers <joseph@codesourcery.com>
19743 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
19745 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
19746 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
19747 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
19749 2014-12-10 Joseph Myers <joseph@codesourcery.com>
19750 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19753 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
19754 Undefine after defining function. Define as weak alias of
19755 __wcschr. Use libc_hidden_weak.
19756 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
19757 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
19758 (libc_hidden_def): Also define __GI___wcschr alias.
19759 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
19760 __wcschr and define as weak alias of __wcschr.
19761 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
19763 [!WCSCHR] (DEFAULT_WCSCHR): Define.
19764 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
19765 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
19766 libc_hidden_weak. Do not use libc_hidden_def.
19767 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
19768 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
19769 __GI___wcschr alias.
19770 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
19771 [IS_IN (libc)] (wcschr): Define as macro expanding to
19773 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
19774 [IS_IN (libc)] (__wcschr_power6): Likewise.
19775 [IS_IN (libc)] (__wcschr_power7): Likewise.
19776 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
19778 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
19780 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
19781 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
19782 __wcschr and define as weak alias of __wcschr. Use
19783 libc_hidden_builtin_def.
19784 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
19785 as weak alias of __wcschr. Use libc_hidden_weak.
19786 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
19788 * time/era.c (_nl_init_era_entries): Likewise.
19789 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
19791 (test-xfail-XPG3/time.h/linknamespace): Likewise.
19792 (test-xfail-XPG4/time.h/linknamespace): Likewise.
19794 2014-12-10 Joseph Myers <joseph@codesourcery.com>
19796 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
19797 format for long int variable.
19799 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
19802 * manual/search.texi: (Array Sort Function): Remove claim how to make
19805 2014-12-10 Andreas Schwab <schwab@suse.de>
19808 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
19809 user-controlled locks.
19811 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
19813 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
19816 2014-12-10 Joseph Myers <joseph@codesourcery.com>
19818 * configure.ac (--disable-werror): New configure option.
19819 (enable_werror): New AC_SUBST.
19820 * configure: Regenerated.
19821 * config.make.in (enable-werror): New variable.
19822 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
19824 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
19825 * manual/install.texi (Configuring and compiling): Document
19827 * INSTALL: Regenerated.
19828 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
19829 (CFLAGS-tst-chk2.c): Likewise.
19830 (CFLAGS-tst-chk3.c): Likewise.
19831 (CFLAGS-tst-chk4.cc): Likewise.
19832 (CFLAGS-tst-chk5.cc): Likewise.
19833 (CFLAGS-tst-chk6.cc): Likewise.
19834 (CFLAGS-tst-lfschk1.c): Likewise.
19835 (CFLAGS-tst-lfschk2.c): Likewise.
19836 (CFLAGS-tst-lfschk3.c): Likewise.
19837 (CFLAGS-tst-lfschk4.cc): Likewise.
19838 (CFLAGS-tst-lfschk5.cc): Likewise.
19839 (CFLAGS-tst-lfschk6.cc): Likewise.
19841 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
19842 (main): Disable -Wdeprecated-declarations around calls to
19843 register_printf_function.
19845 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
19846 (do_test): Disable -Wdiv-by-zero around some calls to
19847 fwrite_unlocked and fread_unlocked.
19849 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
19850 (DIAG_POP_NEEDS_COMMENT): Likewise.
19851 (_DIAG_STR1): Likewise.
19852 (_DIAG_STR): Likewise.
19853 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
19854 * stdio-common/bug21.c: Include <libc-internal.h>.
19855 (do_test): Disable -Wformat around call to sscanf.
19856 * stdio-common/scanf14.c: Include <libc-internal.h>.
19857 (main): Disable -Wformat around some calls to scanf functions.
19859 2014-12-09 Torvald Riegel <triegel@redhat.com>
19861 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
19863 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19865 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
19866 stack variable alignment.
19868 2014-12-06 Joseph Myers <joseph@codesourcery.com>
19871 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
19872 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
19873 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
19874 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
19875 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
19876 __getrlimit instead of getrlimit.
19877 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
19878 __gettimeofday instead of gettimeofday.
19879 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
19881 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
19883 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
19884 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
19886 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
19887 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
19889 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19891 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
19892 for wide-character tests.
19894 2014-12-04 Roland McGrath <roland@hack.frob.com>
19896 * io/openat64.c: #include <libc-internal.h>
19897 (__openat64): Prototypify. Use ignore_value on MODE.
19898 * io/openat.c: Likewise.
19899 * misc/reboot.c: #include <libc-internal.h>
19900 (reboot): Prototypify. Use ignore_value on HOWTO.
19901 * misc/ptrace.c: #include <libc-internal.h>
19902 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
19904 2014-12-04 Joseph Myers <joseph@codesourcery.com>
19906 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
19907 XPG4, UNIX98 and XOPEN2K.
19908 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
19910 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
19912 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19914 * libio/fileops.c: Use ISO C style for function definitions.
19915 * libio/iofopen.c: Likewise.
19916 * libio/wfileops.c: Likewise.
19919 * libio/fileops.c (_IO_new_file_underflow): Unset cached
19921 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
19922 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
19923 (fgets_func): Function pointer to fgets and fgetws.
19924 (do_ftell_test): Add test to verify ftell value after read
19926 (do_test): Set fgets_func.
19928 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
19929 O_TRUNC flag for w and w+ modes.
19930 (do_rewind_test): Likewise.
19931 (do_ftell_test): Likewise.
19932 (do_write_test): Likewise.
19935 * libio/fileops.c (do_ftell): Seek only when there are
19937 * libio/wfileops.c (do_ftell_wide): Likewise.
19938 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
19940 (do_one_test): Call it.
19942 2014-12-03 Joseph Myers <joseph@codesourcery.com>
19944 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
19945 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
19946 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
19948 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
19949 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
19950 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
19952 2014-12-02 Joseph Myers <joseph@codesourcery.com>
19954 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
19956 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
19959 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
19960 as weak alias of __getifaddrs. Use libc_hidden_weak.
19961 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
19962 __freeifaddrs. Use libc_hidden_weak.
19963 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
19964 define as weak alias of __getifaddrs. Use libc_hidden_weak.
19965 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
19966 __freeifaddrs. Use libc_hidden_weak.
19967 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
19968 __getifaddrs and define as weak alias of __getifaddrs. Use
19970 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
19971 __freeifaddrs. Use libc_hidden_weak.
19972 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
19974 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
19975 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
19977 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
19980 * sysdeps/mips/start.S (__start): Use indirect jump to call
19983 2014-12-02 Joseph Myers <joseph@codesourcery.com>
19985 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
19987 * nptl/tst-mutex1.c: Include <stdbool.h>.
19988 [!ATTR] (ATTR_NULL): New macro.
19989 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
19990 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
19991 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
19993 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
19997 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
19998 Change conditional to [__USE_MISC].
20001 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
20003 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
20005 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
20007 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
20009 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
20010 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
20011 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
20012 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
20013 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
20014 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
20015 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
20016 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
20017 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
20019 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
20021 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20023 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
20024 Remove strpbrk objects.
20025 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20026 (__libc_ifunc_impl_list): Remove strpbrk implementation.
20027 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
20028 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
20029 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
20030 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
20032 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
20033 Remove strcspn objects.
20034 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20035 (__libc_ifunc_impl_list): Remove strcspn implementation.
20036 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
20037 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
20038 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
20039 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
20041 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
20042 Remove strspn objetcs.
20043 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20044 (__libc_ifunc_impl_list): Remove strspn implementation.
20045 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
20046 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
20047 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
20048 * sysdeps/powerpc/powerpc64/strspn.S: New file.
20050 2014-12-01 James Lemke <jwlemke@codesourcery.com>
20054 (mem2mem_check): Add a terminator to the chain of checking blocks.
20055 (malloc_check_get_size): Use it here.
20056 (mem2chunk_check): Ditto.
20058 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20060 * sysdeps/powerpc/powerpc64/strtok.S: New file.
20061 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
20063 2014-11-29 Carlos O'Donell <carlos@redhat.com>
20065 * bits/ioctl-types.h: Indent preprocessor directives correctly.
20067 * nptl/nptl-init.c: Include libc-internal.h.
20068 (__pthread_initialize_minimal_internal): Use ROUND_UP.
20070 * elf/ldconfig.c (search_dir): Expand comment.
20072 2014-11-29 Joseph Myers <joseph@codesourcery.com>
20074 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
20076 (linknamespace-symlist-stdlibs-tests): Likewise.
20077 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
20078 instead of $(objpfx)symlist-stdlibs.
20079 (linknamespace-libs-isoc): New variable.
20080 (linknamespace-libs): Use $(linknamespace-libs-isoc).
20081 (linknamespace-libs-ISO): New variable.
20082 (linknamespace-libs-ISO99): Likewise.
20083 (linknamespace-libs-ISO11): Likewise.
20084 (linknamespace-libs-XPG3): Likewise.
20085 (linknamespace-libs-XPG4): Likewise.
20086 (linknamespace-libs-POSIX): Likewise.
20087 (linknamespace-libs-UNIX98): Likewise.
20088 (linknamespace-libs-XOPEN2K): Likewise.
20089 (linknamespace-libs-POSIX2008): Likewise.
20090 (linknamespace-libs-XOPEN2K8): Likewise.
20091 ($(objpfx)symlist-stdlibs): Replace by
20092 $(linknamespace-symlist-stdlibs-tests). Use
20093 $(linknamespace-libs-$*) as set of libraries.
20094 ($(linknamespace-header-tests)): Update dependencies. Use
20095 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
20096 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
20097 * conform/linknamespace.pl: Remove comment about considering
20098 definitions of symbols from irrelevant libraries.
20100 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
20103 * elf/dl-tls.c: Include <atomic.h>.
20104 (oom): Remove #ifdef SHARED/#endif.
20105 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
20106 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
20107 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
20109 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
20110 * nptl/Makefile (tests): Add tst-stack4.
20111 (modules-names): Add tst-stack4mod.
20112 ($(objpfx)tst-stack4): New.
20113 (tst-stack4mod.sos): Likewise.
20114 ($(objpfx)tst-stack4.out): Likewise.
20115 ($(tst-stack4mod.sos)): Likewise.
20117 * nptl/tst-stack4.c: New file.
20118 * nptl/tst-stack4mod.c: Likewise.
20120 2014-11-27 J. Brown <jb999@gmx.de>
20122 * sysdeps/x86/bits/string.h: Add recent CPUs.
20124 2014-11-27 Joseph Myers <joseph@codesourcery.com>
20126 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
20129 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
20132 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
20135 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
20137 * nscd/connections.c: Include libc-internal.h because of macro
20138 usage ignore_value.
20140 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20142 * string/bits/string3.h (__warn_memset_zero_len): Don't
20143 declare for gcc newer than 5.0.
20144 (memset): Don't test for zero-length __LEN for gcc newer than
20147 2014-11-27 Joseph Myers <joseph@codesourcery.com>
20149 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
20150 size_t for %zu format.
20152 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
20153 difference, not %ju.
20155 2014-11-26 Joseph Myers <joseph@codesourcery.com>
20157 * include/libc-internal.h (ignore_value): New macro.
20158 * nscd/connections.c (restart): Wrap calls to setuid and setgid
20161 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
20164 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
20165 pthread_cleanup_push to void *.
20167 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
20172 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
20173 instead of 1L << 52.
20175 * libio/bug-rewind.c (do_test): Check fwscanf return values.
20176 * libio/bug-rewind2.c (do_test): Likewise.
20178 * debug/test-stpcpy_chk-ifunc.c: Remove file.
20179 * debug/test-strcpy_chk-ifunc.c: Likewise.
20180 * wcsmbs/test-wcschr-ifunc.c: Likewise.
20181 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
20182 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
20183 * wcsmbs/test-wcslen-ifunc.c: Likewise.
20184 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
20185 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
20186 * Rules [$(multi-arch) = no] (tests): Do not filter out
20188 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
20189 * debug/Makefile (tests-ifunc): Remove variable.
20190 (tests): Do not add $(tests-ifunc).
20191 * wcsmbs/Makefile (tests-ifunc): Remove variable.
20192 (tests): Do not add $(tests-ifunc).
20193 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
20194 [TEST_IFUNC]: Remove conditionals.
20195 * string/test-string.h (TEST_IFUNC): Remove macro.
20196 [TEST_IFUNC]: Remove conditionals.
20198 * string/test-strchr.c [!WIDE] (L): New macro.
20199 [WIDE] (L): Likewise.
20200 (check1): Use CHAR instead of char. Use L on string and character
20203 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
20205 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
20207 * sysdeps/powerpc/bits/atomic.h
20208 (__arch_atomic_exchange_and_add_32_acq): Add definition.
20209 (__arch_atomic_exchange_and_add_32_rel): Likewise.
20210 (atomic_exchange_and_add_acq): Likewise.
20211 (atomic_exchange_and_add_rel): Likewise.
20212 * sysdeps/powerpc/powerpc32/bits/atomic.h
20213 (__arch_atomic_exchange_and_add_64_acq): Add definition.
20214 (__arch_atomic_exchange_and_add_64_rel): Likewise.
20215 * sysdeps/powerpc/powerpc64/bits/atomic.h
20216 (__arch_atomic_exchange_and_add_64_acq): Add definition.
20217 (__arch_atomic_exchange_and_add_64_rel): Likewise.
20219 2014-11-26 Torvald Riegel <triegel@redhat.com>
20221 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
20222 Change synchronization of __sched_fifo_min_prio and
20223 __sched_fifo_max_prio.
20224 * nptl/pthread_mutexattr_getprioceiling.c
20225 (pthread_mutexattr_getprioceiling): Likewise.
20226 * nptl/pthread_mutexattr_setprioceiling.c
20227 (pthread_mutexattr_setprioceiling): Likewise.
20228 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
20229 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
20232 2014-11-26 Joseph Myers <joseph@codesourcery.com>
20234 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
20237 2014-11-25 Joseph Myers <joseph@codesourcery.com>
20239 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
20240 third argument const.
20242 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
20244 fnmatch: work around GCC compiler warning bug with uninit var
20245 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
20246 This works around a bug with x86-64 GCC 4.9.2 and earlier
20247 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
20248 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
20249 used uninitialized in this function [-Wmaybe-uninitialized]".
20251 2014-11-25 Joseph Myers <joseph@codesourcery.com>
20253 * posix/bug-regex31.c (main): Return RES not 0.
20255 2014-11-25 Anton Blanchard <anton@samba.org>
20257 * sysdeps/powerpc/bits/atomic.h
20258 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
20260 2014-11-24 Sterling Augustine <saugustine@google.com>
20262 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
20264 2014-11-24 Ryan Cumming <etaoins@gmail.com>
20267 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
20269 2014-11-24 Joseph Myers <joseph@codesourcery.com>
20272 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
20273 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
20275 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
20276 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
20278 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
20280 * string/strncpy.c (strncpy): Improve performance by using memset.
20282 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
20284 * string/strcpy.c (strcpy):
20285 Improve performance by using strlen and memcpy.
20287 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
20289 * string/strcoll_l.c (get_next_seq): __always_inline.
20290 * string/strcoll_l.c (do_compare): __always_inline.
20292 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
20294 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
20296 * include/mqueue.h: Likewise.
20297 * include/stdlib.h: Likewise.
20299 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
20300 (get_null_defines): Adjust.
20301 * sunrpc/Makefile: Adjust comment.
20302 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
20303 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
20304 (CFLAGS-interp.c): Likewise.
20305 (CFLAGS-ldconfig.c): Likewise.
20306 (CPPFLAGS-.os): Likewise.
20307 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
20308 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
20309 * extra-modules.mk (extra-modules.mk): Likewise.
20310 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
20311 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
20312 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
20313 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
20314 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
20315 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
20316 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
20317 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
20318 * iconvdata/Makefile (CPPFLAGS): Likewise.
20319 (cpp-srcs-left): Add libof for all iconvdata routines.
20320 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
20321 * include/assert.h: Likewise.
20322 * include/ctype.h: Likewise.
20323 * include/errno.h: Likewise.
20324 * include/libc-symbols.h: Likewise.
20325 * include/math.h: Likewise.
20326 * include/netdb.h: Likewise.
20327 * include/resolv.h: Likewise.
20328 * include/stdio.h: Likewise.
20329 * include/stdlib.h: Likewise.
20330 * include/string.h: Likewise.
20331 * include/sys/stat.h: Likewise.
20332 * include/wctype.h: Likewise.
20333 * intl/l10nflist.c: Likewise.
20334 * libidn/idn-stub.c: Likewise.
20335 * libio/libioP.h: Likewise.
20336 * nptl/libc_multiple_threads.c: Likewise.
20337 * nptl/pthreadP.h: Likewise.
20338 * posix/regex_internal.h: Likewise.
20339 * resolv/res_hconf.c: Likewise.
20340 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
20341 * sysdeps/arm/memmove.S: Likewise.
20342 * sysdeps/arm/sysdep.h: Likewise.
20343 * sysdeps/generic/_itoa.h: Likewise.
20344 * sysdeps/generic/symbol-hacks.h: Likewise.
20345 * sysdeps/gnu/errlist.awk: Likewise.
20346 * sysdeps/gnu/errlist.c: Likewise.
20347 * sysdeps/i386/i586/memcpy.S: Likewise.
20348 * sysdeps/i386/i586/memset.S: Likewise.
20349 * sysdeps/i386/i686/memcpy.S: Likewise.
20350 * sysdeps/i386/i686/memmove.S: Likewise.
20351 * sysdeps/i386/i686/mempcpy.S: Likewise.
20352 * sysdeps/i386/i686/memset.S: Likewise.
20353 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
20354 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
20355 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
20356 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
20357 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
20358 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
20359 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
20360 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
20361 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
20362 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
20363 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
20364 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
20365 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
20366 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
20367 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
20368 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
20369 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
20370 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
20371 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
20372 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
20373 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
20374 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
20375 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
20376 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
20377 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
20378 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
20379 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
20380 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
20381 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
20382 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
20383 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
20384 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
20385 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
20386 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
20387 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
20388 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
20389 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
20390 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
20391 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
20392 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
20393 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
20394 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
20395 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
20396 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
20397 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
20398 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
20399 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
20400 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
20401 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
20402 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
20403 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
20404 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
20405 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
20406 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
20407 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
20408 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
20409 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
20410 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
20411 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
20412 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
20413 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
20414 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
20415 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
20416 * sysdeps/nptl/bits/libc-lock.h: Likewise.
20417 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
20418 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
20419 * sysdeps/posix/closedir.c: Likewise.
20420 * sysdeps/posix/opendir.c: Likewise.
20421 * sysdeps/posix/readdir.c: Likewise.
20422 * sysdeps/posix/rewinddir.c: Likewise.
20423 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
20424 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
20425 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
20426 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
20427 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
20428 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
20429 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
20430 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
20431 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
20432 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
20433 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
20434 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
20435 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
20436 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
20437 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
20438 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
20439 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
20440 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
20441 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
20442 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
20443 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
20444 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
20445 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
20446 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
20447 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
20448 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
20449 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
20450 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
20451 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
20452 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
20453 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
20454 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
20455 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
20456 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
20457 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
20458 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
20459 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
20460 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
20461 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
20462 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
20463 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
20464 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
20465 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
20466 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
20467 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
20468 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
20469 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
20470 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
20471 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
20472 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
20473 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
20474 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
20475 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
20476 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
20477 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
20478 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
20479 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
20480 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
20481 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
20482 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
20483 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
20484 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
20485 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
20486 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
20487 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
20488 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
20489 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
20490 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
20491 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
20492 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
20493 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
20494 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
20495 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
20496 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
20497 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
20498 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
20499 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
20500 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
20501 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
20502 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
20503 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
20504 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
20505 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
20506 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
20507 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
20508 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
20509 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
20510 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
20511 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
20512 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
20513 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
20514 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
20515 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
20516 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
20517 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
20518 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
20519 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
20520 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
20521 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
20522 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
20523 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
20524 * sysdeps/unix/alpha/sysdep.S: Likewise.
20525 * sysdeps/unix/alpha/sysdep.h: Likewise.
20526 * sysdeps/unix/make-syscalls.sh: Likewise.
20527 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
20528 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
20529 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
20530 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
20531 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
20532 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
20533 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
20534 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
20535 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
20536 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
20537 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
20538 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
20539 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
20540 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
20541 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
20542 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
20543 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
20544 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
20545 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
20546 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
20547 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
20548 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
20549 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
20550 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
20551 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
20552 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
20553 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
20554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
20555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
20556 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
20557 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
20558 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
20559 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
20560 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
20561 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
20562 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
20563 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
20564 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
20565 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
20566 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
20567 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
20568 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
20569 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
20570 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
20571 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
20572 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
20573 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
20574 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
20575 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
20576 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20577 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
20578 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
20579 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
20580 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
20581 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
20582 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
20583 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
20584 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
20585 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
20586 * sysdeps/x86_64/memcpy.S: Likewise.
20587 * sysdeps/x86_64/memmove.c: Likewise.
20588 * sysdeps/x86_64/memset.S: Likewise.
20589 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
20590 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
20591 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
20592 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
20593 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
20594 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
20595 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
20596 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
20597 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
20598 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
20599 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
20600 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
20601 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
20602 * sysdeps/x86_64/multiarch/memset.S: Likewise.
20603 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
20604 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
20605 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
20606 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
20607 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
20608 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
20609 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
20610 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
20611 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
20612 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
20613 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
20614 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
20615 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
20616 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
20617 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
20618 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
20619 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
20620 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
20621 * sysdeps/x86_64/strcmp.S: Likewise.
20623 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
20625 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
20626 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
20627 * elf/rtld-Rules: Likewise.
20628 * elf/setup-vdso.h: Likewise.
20629 * include/assert.h: Likewise.
20630 * include/bits/stdlib-float.h: Likewise.
20631 * include/errno.h: Likewise.
20632 * include/sys/stat.h: Likewise.
20633 * include/unistd.h: Likewise.
20634 * sysdeps/aarch64/setjmp.S: Likewise.
20635 * sysdeps/alpha/setjmp.S: Likewise.
20636 * sysdeps/arm/__longjmp.S: Likewise.
20637 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
20638 * sysdeps/arm/setjmp.S: Likewise.
20639 * sysdeps/arm/sysdep.h: Likewise.
20640 * sysdeps/generic/_itoa.h: Likewise.
20641 * sysdeps/generic/dl-sysdep.h: Likewise.
20642 * sysdeps/generic/ldsodefs.h: Likewise.
20643 * sysdeps/i386/dl-tls.h: Likewise.
20644 * sysdeps/i386/setjmp.S: Likewise.
20645 * sysdeps/m68k/setjmp.c: Likewise.
20646 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
20647 * sysdeps/mach/hurd/opendir.c: Likewise.
20648 * sysdeps/posix/getcwd.c: Likewise.
20649 * sysdeps/posix/opendir.c: Likewise.
20650 * sysdeps/posix/profil.c: Likewise.
20651 * sysdeps/powerpc/dl-procinfo.h: Likewise.
20652 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
20653 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
20654 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
20655 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
20656 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
20657 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
20658 * sysdeps/s390/dl-tls.h: Likewise.
20659 * sysdeps/s390/s390-32/setjmp.S: Likewise.
20660 * sysdeps/s390/s390-64/setjmp.S: Likewise.
20661 * sysdeps/sh/sh3/setjmp.S: Likewise.
20662 * sysdeps/sh/sh4/setjmp.S: Likewise.
20663 * sysdeps/unix/alpha/sysdep.h: Likewise.
20664 * sysdeps/unix/arm/sysdep.S: Likewise.
20665 * sysdeps/unix/i386/sysdep.S: Likewise.
20666 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
20667 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
20668 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
20669 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
20670 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
20671 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
20672 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
20673 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
20674 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
20675 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
20676 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
20677 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
20678 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
20679 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
20680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20681 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
20682 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
20683 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
20684 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
20685 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
20686 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
20687 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
20688 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20689 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
20690 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
20691 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
20692 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
20693 * sysdeps/unix/x86_64/sysdep.S: Likewise.
20694 * sysdeps/x86_64/setjmp.S: Likewise.
20696 * include/math.h: Use IS_IN instead of IS_IN_libm.
20697 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
20698 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
20699 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
20700 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
20701 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
20702 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
20703 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
20704 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
20705 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
20706 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
20707 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
20708 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
20709 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
20710 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
20711 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
20712 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
20713 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
20714 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
20715 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
20716 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
20717 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
20718 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
20719 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
20720 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
20721 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
20722 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
20723 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
20724 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
20725 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
20726 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
20727 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
20728 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
20729 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
20730 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
20732 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
20734 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
20736 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
20738 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
20740 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
20741 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
20742 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
20743 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
20744 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
20745 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
20746 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
20747 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
20748 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
20749 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
20750 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
20751 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
20752 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
20753 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
20754 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
20755 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
20756 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
20757 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
20758 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
20759 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
20760 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
20761 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
20762 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
20763 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
20764 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
20765 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
20766 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
20768 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
20769 * nptl/pthreadP.h: Likewise.
20770 * nptl_db/structs.def: Likewise.
20771 * sysdeps/arm/sysdep.h: Likewise.
20772 * sysdeps/nptl/bits/libc-lock.h: Likewise.
20773 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
20774 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
20775 * sysdeps/unix/alpha/sysdep.h: Likewise.
20776 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
20777 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
20778 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
20779 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
20780 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
20781 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
20782 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
20783 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
20784 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
20785 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
20786 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
20787 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
20788 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
20789 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
20790 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
20791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
20792 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
20793 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
20794 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
20795 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
20796 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
20797 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
20798 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
20799 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
20800 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
20801 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
20803 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
20804 * nptl/pthreadP.h: Likewise.
20805 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
20806 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
20807 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
20808 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
20809 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
20810 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
20811 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
20812 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
20813 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
20814 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
20815 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
20816 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
20817 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
20819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
20821 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
20822 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
20823 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
20824 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
20825 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
20826 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
20827 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
20828 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
20830 * dlfcn/dladdr.c: Use IS_IN.
20831 * dlfcn/dladdr1.c: Likewise.
20832 * dlfcn/dlclose.c: Likewise.
20833 * dlfcn/dlerror.c: Likewise.
20834 * dlfcn/dlinfo.c: Likewise.
20835 * dlfcn/dlmopen.c: Likewise.
20836 * dlfcn/dlopen.c: Likewise.
20837 * dlfcn/dlsym.c: Likewise.
20838 * dlfcn/dlvsym.c: Likewise.
20840 * include/ifaddrs.h: Use IS_IN.
20841 * inet/check_pf.c: Likewise.
20842 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
20843 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
20845 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
20847 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
20848 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
20850 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
20851 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
20854 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
20856 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
20857 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
20858 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
20859 * include/libc-symbols.h (IS_IN_LIB): New macro.
20860 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
20861 * include/netdb.h: Likewise.
20862 * include/stap-probe.h: Remove all uses of IN_LIB.
20864 * Makeconfig (module-cppflags-real): Define MODULE_NAME
20865 instead of IN_MODULE.
20866 * include/libc-symbols.h (IN_MODULE): Define using
20868 (PASTE_NAME, PASTE_NAME1): New macros.
20869 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
20871 (STAP_PROBE_ASM): Likewise.
20873 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
20875 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
20876 __mach_init in dlopened libc.
20878 2014-11-22 Mike Frysinger <vapier@gentoo.org>
20880 * sysdeps/arm/preconfigure.ac: Delete EABI check.
20881 * sysdeps/arm/preconfigure: Regenerate.
20883 2014-11-21 Roland McGrath <roland@hack.frob.com>
20885 * nptl/pthread_create.c (__pthread_create_2_1): Set
20886 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
20887 when copying values from IATTR into PD.
20889 2014-11-21 Will Newton <will.newton@linaro.org>
20890 Andrew Pinski <andrew.pinski@caviumnetworks.com>
20892 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
20893 Refactor inline-asm. Also add comment.
20895 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
20896 ElfW macro instead of hardcoded Elf64 types.
20897 (la_aarch64_gnu_pltenter): Likewise.
20898 * sysdeps/aarch64/dl-machine.h
20899 (elf_machine_runtime_setup): Use ElfW(Addr).
20901 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
20902 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
20903 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
20904 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
20905 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
20906 (R_AARCH64_TLS_DTPMOD64): Rename to ..
20907 (R_AARCH64_TLS_DTPMOD): This.
20908 (R_AARCH64_TLS_DTPREL64): Rename to ...
20909 (R_AARCH64_TLS_DTPREL): This.
20910 (R_AARCH64_TLS_TPREL64): Rename to ...
20911 (R_AARCH64_TLS_TPREL): This.
20912 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
20913 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
20914 R_AARCH64_TLS_TPREL64.
20915 (elf_machine_rela): Likewise.
20917 2014-11-21 Torvald Riegel <triegel@redhat.com>
20919 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
20920 by setting it to 0. 64b atomics are not supported currently.
20922 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
20925 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
20926 search domain names.
20928 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
20932 * resolv/res_query.c (__libc_res_nquerydomain): Retain
20934 * posix/tst-getaddrinfo5.c: New.
20935 * posix/Makefile (tests): Add it.
20937 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
20941 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
20942 after parsing line but before break_if_match.
20943 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
20944 if there is a protocol mismatch.
20946 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
20948 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
20949 because the potential race is on the user-supplied stream.
20951 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
20953 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
20954 string literal if not passed a buffer.
20955 * manual/job.texi (ctermid): Update reasoning, note deviation
20956 from posix, suggest mtasurace when not passed a buffer, for
20957 future non-preliminary safety notes.
20959 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
20961 * manual/users.texi (cuserid): Fix MT-Safety note for the case
20962 of not passing it a buffer.
20963 Reported by Peng Haitao.
20965 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
20967 * manual/Makefile ($(objpfx)stamp-summary): Require
20968 check-safety.sh to pass.
20969 * manual/check-safety.sh: Wish for verification that every
20970 @deftypefn and @deftypefun is followed by a @safety remark.
20972 2014-11-20 Roland McGrath <roland@hack.frob.com>
20974 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
20976 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
20977 PTHREAD_CANCEL_ASYNCHRONOUS.
20978 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
20981 * nptl/default-sched.h: New file.
20982 * sysdeps/unix/sysv/linux/default-sched.h: New file.
20983 * nptl/pthread_create.c: Include it.
20984 (__pthread_create_2_1): Use collect_default_sched instead of making
20985 Linux syscalls here directly.
20987 2014-11-20 Torvald Riegel <triegel@redhat.com>
20989 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
20990 __pthread_once): Use C11 atomics.
20992 2014-11-20 Torvald Riegel <triegel@redhat.com>
20994 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
20996 2014-11-20 Torvald Riegel <triegel@redhat.com>
20998 * include/atomic.h (__atomic_link_error, __atomic_check_size,
20999 atomic_thread_fence_acquire, atomic_thread_fence_release,
21000 atomic_thread_fence_seq_cst, atomic_load_relaxed,
21001 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
21002 atomic_compare_exchange_weak_relaxed,
21003 atomic_compare_exchange_weak_acquire,
21004 atomic_compare_exchange_weak_release,
21005 atomic_exchange_acquire, atomic_exchange_release,
21006 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
21007 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
21008 atomic_fetch_and_acquire,
21009 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
21011 2014-11-20 Torvald Riegel <triegel@redhat.com>
21013 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
21014 USE_ATOMIC_COMPILER_BUILTINS): Define.
21015 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
21016 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21017 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
21018 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21019 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
21020 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21021 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
21022 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21023 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
21024 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21025 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
21026 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21027 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
21028 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21029 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
21030 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21031 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
21032 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21033 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
21034 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21035 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
21036 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21037 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
21038 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21039 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
21040 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21041 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
21042 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21043 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
21044 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21045 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
21046 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21047 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
21048 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21049 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
21050 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21051 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
21052 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21053 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
21054 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21056 2014-11-19 Roland McGrath <roland@hack.frob.com>
21058 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
21059 the sched_priority value here. It was already checked when the user
21060 called pthread_attr_setschedparam.
21062 * nptl/tst-bad-schedattr.c: New file.
21063 * nptl/Makefile (tests): Add it.
21065 2014-11-19 Carlos O'Donell <carlos@redhat.com>
21066 Florian Weimer <fweimer@redhat.com>
21067 Joseph Myers <joseph@codesourcery.com>
21068 Adam Conrad <adconrad@0c3.net>
21069 Andreas Schwab <schwab@suse.de>
21070 Brooks <bmoses@google.com>
21073 * wordexp-test.c (__dso_handle): Add prototype.
21074 (__register_atfork): Likewise.
21075 (__app_register_atfork): New function.
21076 (registered_forks): New global.
21077 (register_fork): New function.
21078 (test_case): Add 3 new tests for WRDE_CMDSUB.
21079 (main): Call __app_register_atfork.
21080 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
21081 fork count is non-zero fail the test.
21082 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
21084 (parse_dollars): Remove check for WRDE_NOCMD.
21085 (parse_dquote): Likewise.
21087 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
21089 * Makeconfig (built-modules): List non-library modules to be
21091 (module-cppflags): Include libc-modules.h for
21092 everything except shlib-versions.v.i.
21093 (CPPFLAGS): Use it.
21094 (before-compile): Add libc-modules.h.
21095 ($(common-objpfx)libc-modules.h,
21096 $(common-objpfx)libc-modules.stmp): New targets.
21097 (common-generated): Add libc-modules.h and libc-modules.stmp.
21098 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
21099 * include/libc-symbols.h: Don't include libc-modules.h.
21100 * include/libc-modules.h: Remove file.
21101 * scripts/gen-libc-modules.awk: New script to generate
21103 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
21104 Depend on libc-modules.stmp.
21106 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
21108 * Makeconfig (in-module): Get value of libof set for the
21110 (CPPFLAGS): Use $(in-module).
21111 * Makerules: Don't suffix routine names for nonlib.
21112 * include/libc-modules.h: New file.
21113 * include/libc-symbols.h: Include libc-modules.h
21114 (IS_IN): New macro to replace IS_IN_* macros.
21115 * elf/Makefile: Set libof-* for each routine.
21116 * elf/rtld-Rules: Likewise.
21117 * extra-modules.mk: Likewise.
21118 * iconv/Makefile: Likewise.
21119 * iconvdata/Makefile: Likewise.
21120 * locale/Makefile: Likewise.
21121 * malloc/Makefile: Likewise.
21122 * nss/Makefile: Likewise.
21123 * sysdeps/gnu/Makefile: Likewise.
21124 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
21125 * sysdeps/unix/sysv/linux/Makefile: Likewise.
21126 * sysdeps/s390/s390-64/Makefile: Likewise.
21127 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
21128 CPPFLAGS for nscd instead of nonlib.
21130 2014-11-18 Roland McGrath <roland@hack.frob.com>
21132 * nptl/createthread.c: New file.
21134 * nptl/createthread.c: Moved ...
21135 * sysdeps/unix/sysv/linux/createthread.c: ... here.
21137 * nptl/createthread.c: Add proper top-line comment.
21138 (do_clone): Folded into ...
21139 (create_thread): ... here. Take new arguments STOPPED_START and
21140 THREAD_RAN. Always set PD->stopped_start to something here. Don't
21141 increment __nptl_threads, do event-reporting logic, do
21142 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
21143 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
21144 resource cleanup if sched_setaffinity or sched_setscheduler fails,
21145 just send SIGCANCEL.
21146 * nptl/pthread_create.c: Forward-declare create_thread before
21147 including createthread.c.
21148 (start_thread): Use new macro START_THREAD_DEFN to replace defining
21149 declaration, and new macro START_THREAD_SELF to replace argument.
21150 Remove return statement.
21151 (report_thread_creation): New function.
21152 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
21153 synchronization logic, and __nptl_nthreads increment here, around
21154 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
21155 PD->parent_cancelhandling here, before create_thread. When
21156 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
21157 __deallocate_stack, and ENOMEM translation here.
21159 2014-11-18 Joseph Myers <joseph@codesourcery.com>
21162 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
21163 (mptwo): Rename to __mptwo.
21164 (__inv): Use __mptwo instead of mptwo.
21165 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
21166 (mptwo): Rename to __mptwo.
21167 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
21168 of mpone and __mptwo instead of mptwo.
21169 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
21171 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
21172 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
21173 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
21174 of mpone and __mptwo instead of mptwo.
21175 (__mpranred): Use __mpone instead of mpone.
21176 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
21178 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
21179 (test-xfail-ISO99/math.h/linknamespace): Likewise.
21180 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
21181 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
21182 (test-xfail-ISO11/math.h/linknamespace): Likewise.
21183 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
21184 (test-xfail-XPG3/math.h/linknamespace): Likewise.
21185 (test-xfail-XPG4/math.h/linknamespace): Likewise.
21186 (test-xfail-POSIX/math.h/linknamespace): Likewise.
21187 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
21188 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
21189 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
21190 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
21191 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
21192 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
21193 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
21194 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
21195 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
21196 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
21198 2014-11-18 Tom de Vries <tom@codesoucery.com>
21200 * manual/signal.texi (Primitives Interrupted by Signals): In section,
21201 replace BSD Handler xref with BSD Signal Handling.
21203 2014-11-17 Richard Henderson <rth@redhat.com>
21205 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
21206 (_FP_PACK_RAW_2): Remove.
21207 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
21208 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
21209 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
21210 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
21211 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
21212 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
21213 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
21214 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
21215 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
21216 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
21217 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
21218 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
21219 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
21220 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
21221 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
21222 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
21224 2014-11-14 Roland McGrath <roland@hack.frob.com>
21226 * signal/signal.h [__USE_MISC]
21227 (struct sigvec): Remove type.
21228 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
21229 (sigvec): Remove declaration.
21230 * sysdeps/posix/sigvec.c: Moved ...
21231 * signal/sigvec.c: ... here, replacing old file.
21232 (struct sigvec): New type, copied from old signal.h definition.
21233 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
21234 (__sigvec): Convert definition to prototype.
21235 (sigvec): Replace weak_alias with compat_symbol.
21236 * signal/Versions (libc: GLIBC_2.21): New version set.
21237 * include/signal.h: Remove __sigvec declaration.
21238 * sysdeps/unix/bsd/sigvec.c: Remove file.
21239 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
21240 * manual/signal.texi (BSD Handler): Remove subsection.
21241 Move siginterrupt up to ...
21242 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
21243 (Blocking in BSD): Fold subsection into its parent.
21244 * NEWS: Mention sigvec removal.
21246 2014-11-14 Joseph Myers <joseph@codesourcery.com>
21248 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
21249 (DLA_FMS): Make definition conditional only on [__FMA4__].
21250 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
21253 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
21254 Make definition conditional only on [PROF].
21255 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
21257 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
21258 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
21260 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
21262 * include/signal.h (__sigpause): Move declaration above call to
21264 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
21266 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
21267 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
21269 2014-11-14 David S. Miller <davem@davemloft.net>
21271 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
21272 Define before including <string/memcpy.c> and <string/mempcpy.c>.
21274 2014-11-14 Joseph Myers <joseph@codesourcery.com>
21276 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
21277 * configure: Regenerated.
21278 * manual/install.texi (Tools for Compilation): Document a
21279 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
21280 compiler verified to work.
21281 * INSTALL: Regenerated.
21283 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
21284 redeclare with asm name.
21285 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
21286 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
21287 including <string.h>.
21288 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
21289 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
21290 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
21291 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
21292 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
21293 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
21294 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
21296 2014-11-13 Joseph Myers <joseph@codesourcery.com>
21298 * stdlib/strtol.c (__strtol): Use prototype definition.
21301 * stdlib/strtol.c (SYM__): New macro.
21302 (SYM__1): Likewise.
21303 (__strtol): Likewise.
21304 (strtol): Rename to __strtol and define as weak alias of
21305 __strtol. Use libc_hidden_weak.
21307 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
21309 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
21310 Use numbered labels in inline assembly.
21312 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
21314 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
21315 Add setjmp LIBC_PROBE.
21316 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
21318 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
21319 Add longjmp, longjmp_target LIBC_PROBE.
21320 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
21323 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
21325 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
21326 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
21327 to get rid of unused variable warning.
21329 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
21331 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
21332 Check for unwind_backtrace == NULL only in SHARED case.
21333 (__backchain_backtrace): Compile only in SHARED case.
21334 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
21336 (__backchain_backtrace): Declare as static.
21338 2014-11-12 Roland McGrath <roland@hack.frob.com>
21340 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
21341 (__libc_multiple_threads_ptr): Variable moved ...
21342 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
21344 2014-11-12 Joseph Myers <joseph@codesourcery.com>
21346 * conform/GlibcConform.pm: New file.
21347 * conform/conformtest.pl: Use GlibcConform module.
21348 * conform/linknamespace.pl: New file.
21349 * conform/list-header-symbols.pl: Likewise.
21350 * conform/Makefile (linknamespace-symlists-base): New variable.
21351 (linknamespace-symlists-tests): Likewise.
21352 (linknamespace-header-base): Likewise.
21353 (linknamespace-header-tests): Likewise.
21354 (tests-special): Add new tests.
21355 ($(linknamespace-symlists-tests)): New rule.
21356 (linknamespace-libs): New variable.
21357 ($(objpfx)symlist-stdlibs): New rule.
21358 ($(linknamespace-header-tests)): Likewise.
21359 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
21360 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
21361 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
21362 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
21363 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
21364 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
21365 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
21366 (test-xfail-ISO/math.h/linknamespace): Likewise.
21367 (test-xfail-ISO/signal.h/linknamespace): Likewise.
21368 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
21369 (test-xfail-ISO/time.h/linknamespace): Likewise.
21370 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
21371 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
21372 (test-xfail-ISO99/math.h/linknamespace): Likewise.
21373 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
21374 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
21375 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
21376 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
21377 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
21378 (test-xfail-ISO11/math.h/linknamespace): Likewise.
21379 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
21380 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
21381 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
21382 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
21383 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
21384 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
21385 (test-xfail-XPG3/math.h/linknamespace): Likewise.
21386 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
21387 (test-xfail-XPG3/search.h/linknamespace): Likewise.
21388 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
21389 (test-xfail-XPG3/time.h/linknamespace): Likewise.
21390 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
21391 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
21392 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
21393 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
21394 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
21395 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
21396 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
21397 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
21398 (test-xfail-XPG4/math.h/linknamespace): Likewise.
21399 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
21400 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
21401 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
21402 (test-xfail-XPG4/search.h/linknamespace): Likewise.
21403 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
21404 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
21405 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
21406 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
21407 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
21408 (test-xfail-XPG4/time.h/linknamespace): Likewise.
21409 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
21410 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
21411 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
21412 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
21413 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
21414 (test-xfail-POSIX/math.h/linknamespace): Likewise.
21415 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
21416 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
21417 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
21418 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
21419 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
21420 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
21421 (test-xfail-POSIX/time.h/linknamespace): Likewise.
21422 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
21423 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
21424 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
21425 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
21426 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
21427 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
21428 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
21429 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
21430 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
21431 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
21432 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
21433 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
21434 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
21435 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
21436 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
21437 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
21438 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
21439 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
21440 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
21441 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
21442 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
21443 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
21444 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
21445 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
21446 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
21447 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
21448 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
21449 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
21450 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
21451 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
21452 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
21453 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
21454 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
21455 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
21456 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
21457 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
21458 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
21459 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
21460 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
21461 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
21462 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
21463 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
21464 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
21465 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
21466 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
21467 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
21468 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
21469 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
21470 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
21471 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
21472 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
21473 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
21474 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
21475 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
21476 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
21477 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
21478 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
21479 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
21480 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
21481 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
21482 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
21483 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
21484 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
21485 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
21486 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
21487 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
21488 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
21489 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
21490 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
21491 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
21492 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
21493 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
21494 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
21495 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
21496 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
21497 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
21498 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
21499 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
21500 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
21501 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
21502 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
21503 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
21504 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
21505 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
21506 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
21507 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
21508 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
21509 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
21510 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
21511 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
21512 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
21513 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
21514 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
21515 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
21516 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
21517 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
21518 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
21519 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
21522 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
21526 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
21527 (memmem): Rename to __memmem and define as weak alias of
21528 __memmem. Use libc_hidden_weak.
21529 (__memmem): Use libc_hidden_def.
21530 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
21531 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
21535 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
21536 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
21537 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
21538 and define as weak alias of __fgets_unlocked. Use
21540 (__fgets_unlocked): Use libc_hidden_def.
21541 * include/stdio.h (__fgets_unlocked): Declare. Use
21543 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
21544 __fgets_unlocked instead of fgets_unlocked.
21545 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
21546 (GET_NPROCS_CONF_PARSER): Likewise.
21547 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
21548 (GET_NPROCS_CONF_PARSER): Likewise.
21551 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
21552 weak alias of __wmemset. Use libc_hidden_weak.
21553 (__wmemset): Use libc_hidden_def.
21554 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
21555 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
21559 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
21560 with asm name __mempcpy.
21561 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
21564 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
21565 and define as weak alias of __rawmemchr.
21566 (__rawmemchr): Do not define as strong alias of rawmemchr.
21569 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
21570 alias of __qsort_r.
21571 (qsort): Call __qsort_r instead of qsort_r.
21572 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
21573 (__qsort_r): Declare. Call libc_hidden_proto.
21574 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
21575 instead of qsort_r.
21576 * nscd/gai.c (__qsort_r): Define to qsort_r.
21577 * posix/tst-rfc3484.c (__qsort_r): Likewise.
21578 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
21579 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
21582 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
21583 define as weak alias of __malloc_info.
21586 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
21587 as weak alias of __rewinddir. Don't use libc_hidden_def.
21588 (__rewinddir): Use libc_hidden_def.
21589 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
21590 as weak alias of __rewinddir. Don't use libc_hidden_def.
21591 (__rewinddir): Use libc_hidden_def.
21592 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
21593 weak alias of __rewinddir. Don't use libc_hidden_def.
21594 (__rewinddir): Use libc_hidden_def.
21595 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
21596 (__rewinddir): Use libc_hidden_proto.
21597 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
21599 (__getcwd): Use __rewinddir instead of rewinddir.
21602 * libio/fileno.c (fileno): Rename to __fileno and define as weak
21603 alias of __fileno. Use libc_hidden_weak.
21604 (__fileno): Use libc_hidden_def.
21605 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
21606 * libio/ftello.c (ftello): Rename to __ftello and define as weak
21608 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
21610 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
21611 (__fread_unlocked): Define as strong alias of _IO_fread. Use
21613 (fread_unlocked): Don't use libc_hidden_ver.
21614 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
21615 and define as weak alias of __fread_unlocked. Don't use
21617 (__fread_unlocked): Use libc_hidden_def.
21618 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
21619 (ftello): Don't use libc_hidden_proto.
21620 (__ftello): Declare. Use libc_hidden_proto.
21621 (fread_unlocked): Don't use libc_hidden_proto.
21622 (__fread_unlocked): Declare. Use libc_hidden_proto.
21623 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
21624 and __ftello instead of fileno, fread_unlocked and ftello.
21626 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
21628 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
21630 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
21632 (_dl_start_user): Likewise.
21633 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
21635 2014-11-12 Carlos O'Donell <carlos@redhat.com>
21636 Siddhesh Poyarekar <siddhesh@redhat.com>
21638 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
21639 Move argv and envp down instead of moving argc up.
21640 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
21642 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
21645 * test-skeleton.c (main): Return successful if one of
21646 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
21647 * string/tst-strcoll-overflow.c: Define expected status.
21649 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
21652 * locale/iso-639.def: Define Bhili and Tulu language codes.
21654 2014-11-11 Alan Hayward <alan.hayward@arm.com>
21656 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
21658 2014-11-10 Renlin Li <Renlin.Li@arm.com>
21661 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
21663 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
21665 * configure.ac: Updated check of minimal required version to
21667 * manual/install.texi (Tools for Compilation): Updated version
21669 * configure: Regenerated.
21670 * INSTALL: Likewise.
21672 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
21674 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
21677 2014-11-07 Joseph Myers <joseph@codesourcery.com>
21679 * include/sys/wait.h (__libc_waitpid): Remove declaration.
21680 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
21681 (__waitpid): Don't define as alias. Use libc_hidden_def not
21683 (waitpid): Define as alias of __waitpid.
21684 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
21686 (__waitpid): Don't define as alias. Use libc_hidden_def not
21688 (waitpid): Define as alias of __waitpid.
21689 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
21690 __libc_waitpid alias.
21691 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
21692 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
21694 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
21695 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
21696 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
21698 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
21700 (__waitpid): Don't define as alias. Use libc_hidden_def not
21702 (waitpid): Define as alias of __waitpid.
21704 2014-11-06 Carlos O'Donell <carlos@redhat.com>
21706 * manual/llio.texi: Add comment that write safety has been
21709 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
21710 (localplt-build-dso): Add elf/ld.so.
21711 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
21712 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
21713 and free for ld.so.
21714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
21715 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
21716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
21718 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
21720 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
21721 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
21722 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
21723 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
21724 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
21725 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
21726 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
21727 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
21728 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
21729 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
21730 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
21732 2014-11-05 Joseph Myers <joseph@codesourcery.com>
21735 * include/libc-symbols.h (INTUSE): Remove macro.
21736 (INTDEF): Likewise.
21737 (INTVARDEF): Likewise.
21738 (_INTVARDEF): Likewise.
21739 (INTDEF2): Likewise.
21740 (INTVARDEF2): Likewise.
21741 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
21742 rtld_hidden_def instead of INTVARDEF.
21743 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
21744 (_dl_starting_up_internal): Remove declaration.
21745 (_dl_starting_up): Use rtld_hidden_proto.
21746 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
21748 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
21749 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
21751 * elf/dl-writev.h (_dl_writev): Likewise.
21752 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
21753 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
21754 _dl_starting_up_internal.
21756 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21758 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
21761 2014-11-05 Will Newton <will.newton@linaro.org>
21763 * benchtests/Makefile: (bench-malloc): Add malloc thread
21764 scalability benchmark.
21765 * benchtests/bench-malloc-threads.c: New file.
21767 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
21769 * sysdeps/aarch64/strchrnul.S: New file.
21771 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21773 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
21775 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
21777 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
21779 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
21781 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
21783 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
21786 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
21788 * catgets/test-gencat.c: Use test-skeleton.c.
21789 * catgets/tst-catgets.c: Likewise.
21790 * csu/tst-empty.c: Likewise.
21791 * elf/tst-audit2.c: Likewise.
21792 * elf/tst-global1.c: Likewise.
21793 * elf/tst-pathopt.c: Likewise.
21794 * elf/tst-piemod1.c: Likewise.
21795 * elf/tst-tls10.c: Likewise.
21796 * elf/tst-tls11.c: Likewise.
21797 * elf/tst-tls12.c: Likewise.
21798 * gnulib/tst-gcc.c: Likewise.
21799 * iconvdata/tst-e2big.c: Likewise.
21800 * iconvdata/tst-loading.c: Likewise.
21801 * iconv/tst-iconv1.c: Likewise.
21802 * iconv/tst-iconv2.c: Likewise.
21803 * inet/test-inet6_opt.c: Likewise.
21804 * inet/tst-gethnm.c: Likewise.
21805 * inet/tst-network.c: Likewise.
21806 * inet/tst-ntoa.c: Likewise.
21807 * intl/tst-codeset.c: Likewise.
21808 * intl/tst-gettext2.c: Likewise.
21809 * intl/tst-gettext3.c: Likewise.
21810 * intl/tst-ngettext.c: Likewise.
21811 * intl/tst-translit.c: Likewise.
21812 * io/test-stat.c: Likewise.
21813 * libio/test-fmemopen.c: Likewise.
21814 * libio/tst-freopen.c: Likewise.
21815 * libio/tst-sscanf.c: Likewise.
21816 * libio/tst-ungetwc1.c: Likewise.
21817 * libio/tst-ungetwc2.c: Likewise.
21818 * libio/tst-widetext.c: Likewise.
21819 * localedata/tst-ctype.c: Likewise.
21820 * localedata/tst-digits.c: Likewise.
21821 * localedata/tst-leaks.c: Likewise.
21822 * localedata/tst-mbswcs1.c: Likewise.
21823 * localedata/tst-mbswcs2.c: Likewise.
21824 * localedata/tst-mbswcs3.c: Likewise.
21825 * localedata/tst-mbswcs4.c: Likewise.
21826 * localedata/tst-mbswcs5.c: Likewise.
21827 * localedata/tst-setlocale.c: Likewise.
21828 * localedata/tst-trans.c: Likewise.
21829 * localedata/tst-wctype.c: Likewise.
21830 * localedata/tst-xlocale1.c: Likewise.
21831 * login/tst-grantpt.c: Likewise.
21832 * malloc/tst-calloc.c: Likewise.
21833 * malloc/tst-malloc.c: Likewise.
21834 * malloc/tst-mallocstate.c: Likewise.
21835 * malloc/tst-mcheck.c: Likewise.
21836 * malloc/tst-mtrace.c: Likewise.
21837 * malloc/tst-obstack.c: Likewise.
21838 * math/atest-exp2.c: Likewise.
21839 * math/atest-exp.c: Likewise.
21840 * math/atest-sincos.c: Likewise.
21841 * math/test-matherr.c: Likewise.
21842 * math/test-misc.c: Likewise.
21843 * math/test-powl.c: Likewise.
21844 * math/tst-definitions.c: Likewise.
21845 * misc/tst-dirname.c: Likewise.
21846 * misc/tst-efgcvt.c: Likewise.
21847 * misc/tst-fdset.c: Likewise.
21848 * misc/tst-hsearch.c: Likewise.
21849 * misc/tst-mntent2.c: Likewise.
21850 * nptl/tst-sem7.c: Likewise.
21851 * nptl/tst-sem8.c: Likewise.
21852 * nptl/tst-sem9.c: Likewise.
21853 * nss/test-netdb.c: Likewise.
21854 * posix/tst-fnmatch.c: Likewise.
21855 * posix/tst-getlogin.c: Likewise.
21856 * posix/tst-gnuglob.c: Likewise.
21857 * posix/tst-mmap.c: Likewise.
21858 * pwd/tst-getpw.c: Likewise.
21859 * resolv/tst-inet_ntop.c: Likewise.
21860 * rt/tst-timer.c: Likewise.
21861 * stdio-common/test-fseek.c: Likewise.
21862 * stdio-common/test-popen.c: Likewise.
21863 * stdio-common/test-vfprintf.c: Likewise.
21864 * stdio-common/tst-cookie.c: Likewise.
21865 * stdio-common/tst-fileno.c: Likewise.
21866 * stdio-common/tst-gets.c: Likewise.
21867 * stdio-common/tst-obprintf.c: Likewise.
21868 * stdio-common/tst-perror.c: Likewise.
21869 * stdio-common/tst-sprintf2.c: Likewise.
21870 * stdio-common/tst-sprintf3.c: Likewise.
21871 * stdio-common/tst-sprintf.c: Likewise.
21872 * stdio-common/tst-swprintf.c: Likewise.
21873 * stdio-common/tst-tmpnam.c: Likewise.
21874 * stdio-common/tst-unbputc.c: Likewise.
21875 * stdio-common/tst-wc-printf.c: Likewise.
21876 * stdlib/tst-environ.c: Likewise.
21877 * stdlib/tst-fmtmsg.c: Likewise.
21878 * stdlib/tst-limits.c: Likewise.
21879 * stdlib/tst-rand48-2.c: Likewise.
21880 * stdlib/tst-rand48.c: Likewise.
21881 * stdlib/tst-random2.c: Likewise.
21882 * stdlib/tst-random.c: Likewise.
21883 * stdlib/tst-strtol.c: Likewise.
21884 * stdlib/tst-strtoll.c: Likewise.
21885 * stdlib/tst-tls-atexit.c: Likewise.
21886 * stdlib/tst-xpg-basename.c: Likewise.
21887 * string/test-ffs.c: Likewise.
21888 * string/tst-bswap.c: Likewise.
21889 * string/tst-inlcall.c: Likewise.
21890 * string/tst-strtok.c: Likewise.
21891 * string/tst-strxfrm.c: Likewise.
21892 * sysdeps/x86_64/tst-audit10.c: Likewise.
21893 * sysdeps/x86_64/tst-audit3.c: Likewise.
21894 * sysdeps/x86_64/tst-audit4.c: Likewise.
21895 * sysdeps/x86_64/tst-audit5.c: Likewise.
21896 * time/tst-ftime_l.c: Likewise.
21897 * time/tst-getdate.c: Likewise.
21898 * time/tst-mktime3.c: Likewise.
21899 * time/tst-mktime.c: Likewise.
21900 * time/tst-posixtz.c: Likewise.
21901 * time/tst-strptime2.c: Likewise.
21902 * time/tst-strptime3.c: Likewise.
21903 * wcsmbs/tst-btowc.c: Likewise.
21904 * wcsmbs/tst-mbrtowc.c: Likewise.
21905 * wcsmbs/tst-mbsrtowcs.c: Likewise.
21906 * wcsmbs/tst-wchar-h.c: Likewise.
21907 * wcsmbs/tst-wcpncpy.c: Likewise.
21908 * wcsmbs/tst-wcrtomb.c: Likewise.
21909 * wcsmbs/tst-wcsnlen.c: Likewise.
21910 * wcsmbs/tst-wcstof.c: Likewise.
21912 2014-11-04 Joseph Myers <joseph@codesourcery.com>
21915 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
21917 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
21919 (_dl_mcount): Use rtld_hidden_proto.
21920 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
21922 * elf/rtld.c (_rtld_global_ro): Likewise.
21925 * elf/dl-init.c (_dl_init): Don't use INTDEF.
21926 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
21927 of _dl_init_internal.
21928 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
21929 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
21930 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
21931 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
21932 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
21933 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
21934 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
21935 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
21936 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
21937 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
21938 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
21939 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
21940 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
21941 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
21942 * sysdeps/tile/dl-start.S (_start): Likewise.
21943 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
21944 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
21947 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
21948 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
21949 (rtld_progname): Make macro definition unconditional.
21950 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
21952 (dlmopen_doit): Do not use INTUSE with _dl_argv.
21953 (dl_main): Likewise.
21954 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
21955 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
21956 instead of _dl_argv_internal.
21957 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
21958 __GI__dl_argv instead of INTUSE(_dl_argv).
21959 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
21960 __GI__dl_argv instead of _dl_argv_internal.
21962 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
21963 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
21965 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
21966 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
21968 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
21969 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
21971 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
21972 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
21974 2014-11-04 Andreas Schwab <schwab@suse.de>
21976 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
21978 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21980 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
21981 mtvsrd instruction in binary form.
21983 2014-11-03 Andreas Schwab <schwab@suse.de>
21986 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
21987 for less than MB_LEN_MAX use a local buffer of that size.
21988 * libio/tst-fputws.c: New file.
21989 * libio/Makefile (tests): Add tst-fputws.
21991 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
21993 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
21994 the size of the fpu_fr.fpu_dregs[] array.
21996 2014-11-01 Joseph Myers <joseph@codesourcery.com>
21998 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
21999 (__nanosleep): Do not define as alias.
22000 (nanosleep): Define as alias of __nanosleep.
22001 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
22002 __libc_nanosleep name.
22004 2014-10-31 Joseph Myers <joseph@codesourcery.com>
22006 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
22007 install.texi in comment.
22009 2014-10-31 Torvald Riegel <triegel@redhat.com>
22011 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
22012 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
22013 ... add here and use lwsync or sync ...
22014 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
22015 ... and add here using lwsync.
22017 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
22019 * elf/dl-machine-reject-phdr.h: New file.
22020 * elf/dl-load.c: #include that.
22021 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
22022 if that returned true.
22024 2014-10-31 Roland McGrath <roland@hack.frob.com>
22027 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
22028 gen-as-const-headers chunk. Add a big scare comment after the last
22029 safe place to touch before-compile.
22031 2014-10-31 Joseph Myers <joseph@codesourcery.com>
22033 * manual/install.texi (Tools for Compilation): Update autoconf
22034 version requirements.
22035 * INSTALL: Regenerated.
22037 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
22038 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
22039 (__libc_pselect): Likewise.
22042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
22043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
22044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
22045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
22047 2014-10-31 Torvald Riegel <triegel@redhat.com>
22049 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
22050 correct barrier instruction.
22051 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
22053 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
22056 2014-10-30 Roland McGrath <roland@hack.frob.com>
22058 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
22059 after defining inlines. Instead, just use parens to defeat macro
22060 expansion of __isctype in its declaration.
22062 2014-10-30 Joseph Myers <joseph@codesourcery.com>
22064 * include/sys/uio.h (__libc_readv): Remove declaration.
22065 (__libc_writev): Likewise.
22066 * misc/readv.c (__libc_readv): Rename to __readv.
22067 (__readv): Do not define as alias.
22068 (readv): Define as alias of __readv.
22069 * misc/writev.c (__libc_writev): Rename to __writev.
22070 (__writev): Do not define as alias.
22071 (writev): Define as alias of __writev.
22072 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
22073 (__readv): Do not define as alias.
22074 (readv): Define unconditionally as alias of __readv.
22075 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
22076 (__writev): Do not define as alias.
22077 (writev): Define unconditionally as alias of __writev.
22078 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
22080 (writev): Do not define __libc_writev name.
22082 2014-10-30 Roland McGrath <roland@hack.frob.com>
22084 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
22085 (convert_charseq): New function, broken out of ...
22086 (use_from_charmap): ... here. Call it.
22087 (use_to_charmap): Use convert_charseq and free instead of duplicating
22088 its code with a variable-length stack struct.
22090 2014-10-30 Joseph Myers <joseph@codesourcery.com>
22092 * include/fcntl.h (__libc_creat): Remove declaration.
22093 * io/creat.c (__libc_creat): Rename to creat.
22094 (creat): Do not define as alias.
22095 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
22096 of creat instead of __libc_creat.
22097 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
22099 (creat): Do not define as alias.
22100 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
22102 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
22104 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
22107 2014-10-29 Carlos O'Donell <carlos@redhat.com>
22109 * manual/llio.texi: Add comments discussing why write() may be
22110 considered MT-unsafe on Linux.
22112 2014-10-28 Carlos O'Donell <carlos@redhat.com>
22114 * dl-load.c (local_strdup): Remove.
22115 (expand_dynamic_string_token): Use __strdup.
22116 (decompose_rpath): Likewise.
22117 (_dl_map_object): Likewise.
22119 2014-10-28 Joseph Myers <joseph@codesourcery.com>
22122 * sysdeps/generic/unwind-dw2-fde.c
22123 (__register_frame_info_bases_internal): Do not declare.
22124 (__register_frame_info_table_bases_internal): Likewise.
22125 (__deregister_frame_info_bases_internal): Likewise.
22126 (__register_frame_info_bases): Declare and use hidden_proto before
22127 definition. Use hidden_def instead of INTDEF.
22128 (__register_frame_info_table_bases): Likewise.
22129 (__deregister_frame_info_bases): Likewise.
22130 (__register_frame_info): Do not use INTUSE.
22131 (__register_frame): Likewise.
22132 (__register_frame_info_table): Likewise.
22133 (__register_frame_table): Likewise.
22134 (__deregister_frame_info): Likewise.
22135 (__deregister_frame): Likewise.
22137 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
22139 * sysdeps/unix/sysv/linux/arm/kernel-features.h
22140 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
22142 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
22144 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
22147 2014-10-27 Joseph Myers <joseph@codesourcery.com>
22150 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
22151 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
22152 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
22153 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
22154 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
22155 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
22156 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
22157 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
22158 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
22159 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
22160 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
22161 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
22162 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
22164 (setfsuid): Likewise.
22165 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
22166 (setfsuid): Likewise.
22167 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
22168 (setfsuid): Likewise.
22169 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
22171 (setfsuid): Likewise.
22172 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
22173 (setfsuid): Likewise.
22174 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
22176 (setfsuid): Likewise.
22178 2014-10-27 Andreas Schwab <schwab@suse.de>
22181 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
22182 check for Slow_SSE4_2 feature bit.
22183 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
22184 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
22185 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
22186 Likewise. Fix check for Fast_Unaligned_Load feature bit.
22188 2014-10-24 Roland McGrath <roland@hack.frob.com>
22190 * configure.ac: Validate compiler version with a empirical test of
22191 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
22193 * configure: Regenerated.
22195 * inet/htons.c (htons): Prototypify.
22196 * inet/htonl.c (htonl): Likewise.
22198 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
22200 * string/strncat.c (strncat): Improve performance by using strlen.
22202 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
22204 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
22206 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
22208 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
22209 Call libc_fetestexcept_aarch64.
22211 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
22213 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
22214 Call libc_feholdexcept_aarch64.
22216 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
22218 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
22219 Call get_rounding_mode.
22221 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
22223 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
22226 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
22228 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
22231 2014-10-24 Joseph Myers <joseph@codesourcery.com>
22234 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
22235 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
22236 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
22237 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
22238 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
22239 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
22240 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
22241 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
22242 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
22243 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
22244 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
22245 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
22246 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
22247 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
22248 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
22249 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
22250 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
22251 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
22252 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
22253 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
22254 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
22255 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
22256 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
22257 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
22258 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
22259 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
22260 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
22261 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
22262 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
22263 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
22264 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
22265 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
22266 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
22267 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
22268 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
22269 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
22270 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
22271 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
22272 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
22273 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
22274 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
22276 (geteuid): Likewise.
22277 (getgid): Likewise.
22278 (getuid): Likewise.
22279 (getresgid): Likewise.
22280 (getresuid): Likewise.
22281 (getgroups): Likewise.
22282 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
22283 (geteuid): Likewise.
22284 (getgid): Likewise.
22285 (getuid): Likewise.
22286 (getresgid): Likewise.
22287 (getresuid): Likewise.
22288 (getgroups): Likewise.
22289 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
22290 (geteuid): Likewise.
22291 (getgid): Likewise.
22292 (getuid): Likewise.
22293 (getresgid): Likewise.
22294 (getresuid): Likewise.
22295 (getgroups): Likewise.
22296 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
22298 (geteuid): Likewise.
22299 (getgid): Likewise.
22300 (getuid): Likewise.
22301 (getresgid): Likewise.
22302 (getresuid): Likewise.
22303 (getgroups): Likewise.
22304 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
22305 (geteuid): Likewise.
22306 (getgid): Likewise.
22307 (getuid): Likewise.
22308 (getresgid): Likewise.
22309 (getresuid): Likewise.
22310 (getgroups): Likewise.
22311 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
22313 (geteuid): Likewise.
22314 (getgid): Likewise.
22315 (getuid): Likewise.
22316 (getgroups): Likewise.
22319 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
22320 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
22321 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
22322 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
22323 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
22324 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
22325 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
22326 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
22327 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
22328 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
22329 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
22330 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
22331 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
22333 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
22334 (lchown): Likewise.
22335 (fchown): Likewise.
22336 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
22338 (lchown): Likewise.
22339 (fchown): Likewise.
22340 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
22341 (lchown): Likewise.
22342 (fchown): Likewise.
22343 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
22345 (lchown): Likewise.
22346 (fchown): Likewise.
22348 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
22350 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
22353 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
22355 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
22358 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
22360 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
22361 Remove unused include.
22363 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
22365 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
22366 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
22367 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
22368 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
22370 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
22371 Helge Deller <deller@gmx.de>
22374 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
22375 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
22376 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
22378 2014-10-23 Joseph Myers <joseph@codesourcery.com>
22381 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
22382 Remove macro definition.
22383 (__ashrdi3_v_glibc20): Likewise.
22384 (__lshrdi3_v_glibc20): Likewise.
22385 (__cmpdi2_v_glibc20): Likewise.
22386 (__ucmpdi2_v_glibc20): Likewise.
22387 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
22388 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
22389 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
22390 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
22391 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
22392 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
22394 2014-10-22 Roland McGrath <roland@hack.frob.com>
22396 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
22397 old GNU extension [0] syntax.
22398 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
22399 alloca rather than an array member with variable length.
22400 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
22401 * nscd/nscd.c (invalidate_db): New function, broken out of ...
22402 (parse_opt): ... here. Likewise use alloca there.
22403 Validate the -i argument before checking for rootness.
22404 (send_shutdown): New function, broken out of ...
22405 (parse_opt): ... here.
22407 2014-10-22 Roland McGrath <roland@hack.frob.com>
22409 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
22410 macro to get at the _rt_local_ro field.
22411 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
22412 ([PIC] case) or _dl_hwcap ([!PIC] case).
22413 * sysdeps/arm/setjmp.S: Likewise.
22415 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
22416 * sysdeps/arm/configure.ac: New check to define it.
22417 * sysdeps/arm/configure: Regenerated.
22418 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
22419 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
22420 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
22421 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
22422 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
22423 Use move/movt pair instead of a load.
22424 (LDST_GLOBAL): Macro removed.
22425 (LDR_GLOBAL): New macro replaces it.
22426 (LDR_HIDDEN): New macro.
22427 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
22428 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
22430 * setjmp/tst-setjmp-static.c: New file.
22431 * setjmp/Makefile (tests): Add it.
22432 (tests-static): New variable.
22434 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
22437 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
22439 2014-10-21 Joseph Myers <joseph@codesourcery.com>
22442 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
22444 2014-10-21 Roland McGrath <roland@hack.frob.com>
22446 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
22448 2014-10-20 Roland McGrath <roland@hack.frob.com>
22450 * io/fts.c (dirent_not_directory): New function.
22451 (fts_build): Call it.
22453 2014-10-20 Roland McGrath <roland@hack.frob.com>
22455 * nptl/version.c (__nptl_main): Use normal __write rather than
22457 (banner): Update copyright years.
22459 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
22461 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
22462 * nptl/pthread_cond_timedwait.c: Likewise.
22463 * nptl/pthread_mutex_timedlock.c: Likewise.
22464 * nptl/sem_timedwait.c: Likewise.
22466 * sysdeps/nptl/bits/libc-lock.h
22467 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
22468 (__libc_lock_init_recursive): Return void, not 0.
22469 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
22470 (__libc_rwlock_init): Likewise.
22471 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
22473 2014-10-20 Torvald Riegel <triegel@redhat.com>
22476 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
22477 (__pthread_once_slow): ... here.
22478 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
22479 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
22481 2014-10-20 Torvald Riegel <triegel@redhat.com>
22484 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
22485 __PTHREAD_ONCE_FORK_GEN_INCR): New.
22486 * sysdeps/nptl/fork.c (__libc_fork): Use them.
22487 * nptl/pthread_once.c (__pthread_once): Likewise.
22490 2014-10-20 Joseph Myers <joseph@codesourcery.com>
22493 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
22495 (writev): Use __libc_writev as strong name.
22496 * sysdeps/unix/sysv/linux/readv.c: Remove file.
22497 * sysdeps/unix/sysv/linux/writev.c: Likewise.
22499 2014-10-17 Roland McGrath <roland@hack.frob.com>
22501 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
22503 * sysdeps/i386/nptl/tls.h
22504 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
22505 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
22507 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
22508 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
22509 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
22510 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
22511 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
22512 Call CHECK_THREAD_SYSINFO instead of doing an assert.
22514 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
22515 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
22517 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
22519 (__pthread_mutex_init): ... here. Call it.
22520 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
22521 Conditionalize PI cases on [__NR_futex].
22522 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
22523 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
22524 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
22526 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
22527 conditional on [SIGSETXID].
22528 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
22529 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
22530 is defined. Likewise for SIGSETXID.
22531 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
22532 Conditionalize definitions on [SIGSETXID].
22533 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
22534 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
22535 unblocking on [SIGCANCEL].
22537 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
22538 [__NR_set_robust_list].
22540 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
22542 * string/strcoll_l.c (get_next_seq): Fix up formatting.
22543 (do_compare): Likewise.
22545 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
22548 * string/strcoll_l.c: Don't include stdio.h.
22549 (coll_seq): Remove members idxarr and rulearr.
22550 (get_next_seq_cached): Remove function.
22551 (get_next_seq): Likewise.
22552 (get_next_seq_nocache): Rename to get_next_seq.
22553 (do_compare): Remove function.
22554 (do_compare_nocache): Rename to do_compare.
22555 (STRCOLL): Remove weight and rules cache.
22557 2014-10-16 Roland McGrath <roland@hack.frob.com>
22559 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
22560 * sysdeps/arm/sfp-machine.h: ... to here.
22561 * sysdeps/arm/Implies: Remove arm/soft-fp.
22563 2014-10-14 Joseph Myers <joseph@codesourcery.com>
22565 * conform/data/sys/utsname.h-data (*_t): Allow.
22566 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
22567 [POSIX] (WEXITED): Do not expect constant.
22568 [POSIX] (WSTOPPED): Likewise.
22569 [POSIX] (WNOHANG): Likewise.
22570 [POSIX] (WNOWAIT): Likewise.
22571 [POSIX] (siginfo_t): Do not expect type or elements.
22572 [POSIX] (pid_t): Do not expect type.
22573 [POSIX] (signal.h): Do not allow header.
22574 [POSIX] (sys/resource.h): Likewise.
22575 [POSIX] (si_*): Do not allow pattern.
22576 [POSIX] (W*): Likewise.
22577 [POSIX] (P_*): Likewise.
22578 [POSIX] (BUS_*): Likewise.
22579 [POSIX] (CLD_*): Likewise.
22580 [POSIX] (FPE_*): Likewise.
22581 [POSIX] (ILL_*): Likewise.
22582 [POSIX] (POLL_*): Likewise.
22583 [POSIX] (SEGV_*): Likewise.
22584 [POSIX] (SI_*): Likewise.
22585 [POSIX] (TRAP_*): Likewise.
22586 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
22589 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
22592 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
22593 infinite loop when __recvmsg returns 0.
22595 2014-10-10 Joseph Myers <joseph@codesourcery.com>
22597 * CANCEL-FCT-WAIVE: Remove file.
22598 * CANCEL-FILE-WAIVE: Likewise.
22601 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
22602 instead of INTVARDEF.
22603 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
22604 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
22605 rtld_hidden_data_def instead of INTVARDEF.
22606 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
22607 * elf/dl-deps.c (expand_dst): Likewise.
22608 * elf/dl-load.c (_dl_dst_count): Likewise.
22609 (_dl_dst_substitute): Likewise.
22610 (decompose_rpath): Likewise.
22611 (_dl_init_paths): Likewise.
22612 (open_path): Likewise.
22613 (_dl_map_object): Likewise.
22614 * elf/rtld.c (dl_main): Likewise.
22615 (process_dl_audit): Likewise.
22616 (process_envvars): Likewise.
22617 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
22618 Remove declaration.
22619 (__libc_enable_secure): Use rtld_hidden_proto.
22621 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
22624 (add_path): New function broken out of _dl_rtld_di_serinfo.
22625 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
22627 2014-10-09 Joseph Myers <joseph@codesourcery.com>
22629 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
22630 parentheses around macro arguments.
22631 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
22632 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
22633 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
22634 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
22635 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
22636 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
22637 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
22638 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
22639 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
22640 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
22641 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
22642 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
22643 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
22644 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
22645 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
22646 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
22647 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
22648 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
22649 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
22650 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
22651 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
22652 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
22653 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
22654 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
22655 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
22656 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
22657 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
22658 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
22659 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
22660 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
22661 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
22662 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
22663 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
22664 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
22665 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
22666 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
22668 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
22669 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
22670 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
22671 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
22672 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
22673 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
22674 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
22675 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
22676 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
22677 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
22678 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
22679 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
22680 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
22681 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
22682 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
22683 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
22684 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
22685 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
22686 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
22687 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
22688 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
22689 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
22690 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
22691 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
22692 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
22693 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
22694 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
22695 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
22696 (_FP_FRAC_SRS_1): Likewise.
22697 (_FP_FRAC_CLZ_1): Likewise.
22698 (_FP_MUL_MEAT_1_imm): Likewise.
22699 (_FP_MUL_MEAT_1_wide): Likewise.
22700 (_FP_MUL_MEAT_1_hard): Likewise.
22701 (_FP_SQRT_MEAT_1): Likewise.
22702 (_FP_FRAC_ASSEMBLE_1): Likewise.
22703 (_FP_FRAC_DISASSEMBLE_1): Likewise.
22704 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
22705 (__FP_CLZ_2): Likewise.
22706 (_FP_MUL_MEAT_2_wide): Likewise.
22707 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
22708 (_FP_MUL_MEAT_2_gmp): Likewise.
22709 (_FP_MUL_MEAT_2_120_240_double): Likewise.
22710 (_FP_SQRT_MEAT_2): Likewise.
22711 (_FP_FRAC_ASSEMBLE_2): Likewise.
22712 (_FP_FRAC_DISASSEMBLE_2): Likewise.
22713 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
22714 (_FP_FRAC_CLZ_4): Likewise.
22715 (_FP_MUL_MEAT_4_wide): Likewise.
22716 (_FP_MUL_MEAT_4_gmp): Likewise.
22717 (_FP_SQRT_MEAT_4): Likewise.
22718 (_FP_FRAC_ASSEMBLE_4): Likewise.
22719 (_FP_FRAC_DISASSEMBLE_4): Likewise.
22720 * soft-fp/op-common.h (_FP_CMP): Likewise.
22721 (_FP_CMP_EQ): Likewise.
22722 (_FP_CMP_UNORD): Likewise.
22723 (_FP_TO_INT): Likewise.
22724 (_FP_FROM_INT): Likewise.
22725 [!__FP_CLZ] (__FP_CLZ): Likewise.
22726 (_FP_DIV_HELP_imm): Likewise.
22727 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
22729 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
22730 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
22731 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
22732 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
22733 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
22734 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
22735 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
22736 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
22737 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
22738 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
22739 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
22740 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
22741 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
22742 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
22743 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
22744 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
22745 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
22746 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
22747 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
22748 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
22749 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
22750 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
22751 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
22752 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
22753 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
22754 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
22755 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
22756 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
22757 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
22758 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
22759 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
22760 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
22761 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
22762 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
22763 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
22764 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
22765 (FP_UNPACK_RAW_SP): Likewise.
22766 (FP_PACK_RAW_S): Likewise.
22767 (FP_PACK_RAW_SP): Likewise.
22768 (FP_UNPACK_S): Likewise.
22769 (FP_UNPACK_SP): Likewise.
22770 (FP_UNPACK_SEMIRAW_S): Likewise.
22771 (FP_UNPACK_SEMIRAW_SP): Likewise.
22772 (FP_PACK_S): Likewise.
22773 (FP_PACK_SP): Likewise.
22774 (FP_PACK_SEMIRAW_S): Likewise.
22775 (FP_PACK_SEMIRAW_SP): Likewise.
22776 (_FP_SQRT_MEAT_S): Likewise.
22777 (FP_CMP_S): Likewise.
22778 (FP_CMP_EQ_S): Likewise.
22779 (FP_CMP_UNORD_S): Likewise.
22780 (FP_TO_INT_S): Likewise.
22781 (FP_FROM_INT_S): Likewise.
22783 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
22785 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
22786 (FP_EX_INVALID_IMZ): Likewise.
22787 (FP_EX_INVALID_IMZ_FMA): Likewise.
22788 (FP_EX_INVALID_ISI): Likewise.
22789 (FP_EX_INVALID_ZDZ): Likewise.
22790 (FP_EX_INVALID_IDI): Likewise.
22791 (FP_EX_INVALID_SQRT): Likewise.
22792 (FP_EX_INVALID_CVI): Likewise.
22793 (FP_EX_INVALID_VC): Likewise.
22794 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
22795 "invalid" exceptions.
22796 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
22797 (_FP_ADD_INTERNAL): Likewise.
22798 (_FP_MUL): Likewise.
22799 (_FP_FMA): Likewise.
22800 (_FP_DIV): Likewise.
22801 (_FP_CMP_CHECK_NAN): Likewise.
22802 (_FP_SQRT): Likewise.
22803 (_FP_TO_INT): Likewise.
22804 (FP_EXTEND): Likewise.
22806 2014-10-09 Allan McRae <allan@archlinux.org>
22808 * po/fr.po: Update French translation from translation project.
22810 2014-10-09 Joseph Myers <joseph@codesourcery.com>
22813 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
22815 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
22816 (__cxa_atexit): Use libc_hidden_proto.
22817 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
22820 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
22822 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
22823 [!_ISOMAC] (__iswspace_l_internal): Likewise.
22824 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
22825 [!_ISOMAC] (__iswctype_internal): Likewise.
22826 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
22827 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
22829 (fcntl): Remove __fcntl_internal alias.
22830 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
22831 __connect_internal alias.
22832 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
22835 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
22836 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
22838 (_FP_CHECK_FLUSH_ZERO): New macro.
22839 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
22840 (_FP_CMP): Likewise.
22841 (_FP_CMP_EQ): Likewise.
22842 (_FP_TO_INT): Do not set inexact for subnormal arguments if
22844 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
22845 (FP_TRUNC): Likewise.
22847 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
22848 treated as invalid conversion, not as normal exponent.
22850 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
22851 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
22852 (_FP_CMP_EQ): Likewise.
22853 (_FP_CMP_UNORD): Likewise.
22854 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
22855 (FP_CMP_EQ_D): Likewise.
22856 (FP_CMP_UNORD_D): Likewise.
22857 * soft-fp/extended.h (FP_CMP_E): Likewise.
22858 (FP_CMP_EQ_E): Likewise.
22859 (FP_CMP_UNORD_E): Likewise.
22860 * soft-fp/quad.h (FP_CMP_Q): Likewise.
22861 (FP_CMP_EQ_Q): Likewise.
22862 (FP_CMP_UNORD_Q): Likewise.
22863 * soft-fp/single.h (FP_CMP_S): Likewise.
22864 (FP_CMP_EQ_S): Likewise.
22865 (FP_CMP_UNORD_S): Likewise.
22866 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
22867 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
22868 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
22869 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
22870 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
22871 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
22872 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
22873 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
22874 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
22875 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
22876 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
22877 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
22878 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
22880 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
22882 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
22883 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
22885 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
22887 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
22888 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
22889 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
22890 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
22892 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
22894 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
22895 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
22897 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
22899 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
22900 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
22901 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
22902 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
22905 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
22906 a subnormal result, set the underflow exception if trapping on
22907 underflow is enabled.
22908 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
22909 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
22910 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
22912 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
22913 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
22914 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
22915 * soft-fp/extendxftf2.c (__extendxftf2): Use
22916 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
22918 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
22919 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
22920 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
22921 FP_HANDLE_EXCEPTIONS.
22922 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
22923 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
22924 FP_HANDLE_EXCEPTIONS.
22925 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
22926 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
22927 FP_HANDLE_EXCEPTIONS.
22928 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
22929 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
22930 FP_HANDLE_EXCEPTIONS.
22932 2014-10-08 Joseph Myers <joseph@codesourcery.com>
22935 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
22936 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
22938 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
22939 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
22941 (__adjtimex): Define using libc_hidden_ver.
22942 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
22943 Remove declaration.
22944 (ntp_gettime): Call __adjtimex directly.
22945 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
22946 Remove declaration.
22947 (ntp_gettimex): Call __adjtimex directly.
22948 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
22949 __adjtimex_internal alias.
22951 2014-10-08 Roland McGrath <roland@hack.frob.com>
22954 * nscd/nscd.c (more_help): Rewrite list of tables collection
22955 using xstrdup and asprintf.
22957 * nscd/nscd_conf.c: Remove local xstrdup declaration.
22959 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
22960 Roland McGrath <roland@hack.frob.com>
22962 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
22963 (do_lookup_unique): ... local function 'enter' here; update callers.
22965 2014-10-06 Joseph Myers <joseph@codesourcery.com>
22967 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
22968 compat_symbol calls on [SHARED].
22969 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
22970 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
22972 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
22973 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
22974 (oldsetrlimit): Remove.
22975 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
22976 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
22977 (lchown): New syscall entry.
22978 (oldsetrlimit): Remove.
22979 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
22980 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
22981 (oldsetrlimit): Remove.
22982 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
22985 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
22986 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
22987 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
22988 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
22989 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
22990 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
22991 (fchown): Likewise.
22992 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
22993 (fchown): Likewise.
22994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
22997 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22999 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
23000 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
23001 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
23002 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
23003 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
23005 (__old_sem_post): Likewise.
23007 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
23009 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
23010 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
23011 HAVE_CLOCK_GETTIME_VSYSCALL macros.
23012 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
23013 Use INLINE_VSYSCALL macro.
23014 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
23015 __vdso_clock_gettime.
23016 * sysdeps/unix/sysv/linux/tile/init-first.c
23017 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
23018 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
23019 __vdso_clock_gettime.
23021 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
23022 to set up frame more cleanly.
23024 * sysdeps/tile/memcmp.c: New file.
23026 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
23028 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
23029 * sysdeps/tile/tilegx/strcasestr.c: New file.
23030 * sysdeps/tile/tilegx/strnlen.c: New file.
23031 * sysdeps/tile/tilegx/strstr.c: New file.
23033 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
23035 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
23037 * nptl/tst-setuid3.c: Write errors to stdout.
23039 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
23042 (preload): New functions broken out of _dl_map_object_deps.
23043 (_dl_map_object_deps): Remove a nested function. Update call sites.
23045 2014-10-01 Joseph Myers <joseph@codesourcery.com>
23048 * sysdeps/unix/sysv/linux/execve.c: Remove file.
23049 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
23051 2014-10-01 Steve Ellcey <sellcey@mips.com>
23053 * sysdeps/mips/strcmp.S: New.
23055 2014-09-30 Joseph Myers <joseph@codesourcery.com>
23058 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
23059 (linkat): Likewise.
23060 (mkdirat): Likewise.
23061 (readlinkat): Likewise.
23062 (renameat): Likewise.
23063 (symlinkat): Likewise.
23064 (unlinkat): Likewise.
23065 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
23066 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
23067 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
23068 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
23069 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
23070 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
23071 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
23073 2014-09-30 Will Newton <will.newton@linaro.org>
23075 * math/math.h: Define long double math functions if
23076 _LIBC_TEST is defined.
23077 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
23079 * localedata/Makefile: Move assignment to tests-special
23080 into an ifdef testing run-built-tests.
23081 * timezone/Makefile: Likewise.
23083 2014-09-29 Joseph Myers <joseph@codesourcery.com>
23085 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
23086 with $(BASH) not $(SHELL).
23088 2014-09-29 Carlos O'Donell <carlos@redhat.com>
23089 Matthew LeGendre <legendre1@llnl.gov>
23092 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
23095 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
23097 * stdio-common/printf_fp.c
23098 (hack_digit): New function, broken out of ...
23099 (__printf_fp): ... local function here. Update call sites.
23100 hack_digit now takes an additional parameter that is a pointer
23101 to a struct of the referenced locals. Those locals moved inside
23102 the struct and references updated.
23104 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
23106 * aclocal.m4: Require autoconf 2.69.
23107 * configure: Regenerated.
23108 * sysdeps/aarch64/configure: Likewise.
23109 * sysdeps/alpha/configure: Likewise.
23110 * sysdeps/arm/armv7/configure: Likewise.
23111 * sysdeps/arm/configure: Likewise.
23112 * sysdeps/ia64/configure: Likewise.
23113 * sysdeps/mach/configure: Likewise.
23114 * sysdeps/mips/configure: Likewise.
23115 * sysdeps/s390/configure: Likewise.
23116 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
23117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
23119 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
23121 * sysdeps/ia64/configure.ac: Likewise.
23123 2014-09-26 Joseph Myers <joseph@codesourcery.com>
23125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
23126 specify symbol version for ld.so. Do not include entry for
23128 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
23129 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
23130 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
23133 * Makeconfig [$(build-shared) = yes]
23134 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
23136 [$(build-shared) = yes && $(soversions.mk-done) = t]
23137 ($(common-objpfx)gnu/lib-names.h): Remove rule.
23138 [$(build-shared) = yes && $(soversions.mk-done) = t]
23139 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
23141 [$(build-shared) = yes && $(soversions.mk-done) = t]
23142 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
23144 [$(build-shared) = yes && $(soversions.mk-done) = t]
23145 (common-generated): Don't append gnu/lib-names.h and
23146 gnu/lib-names.stmp here.
23147 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
23148 (lib-names-h-abi): New variable.
23149 [$(build-shared) = yes && $(soversions.mk-done) = t]
23150 (lib-names-stmp-abi): Likewise.
23151 [$(build-shared) = yes && $(soversions.mk-done) = t &&
23152 abi-variants] (before-compile): Append
23153 $(common-objpfx)$(lib-names-h-abi).
23154 [$(build-shared) = yes && $(soversions.mk-done) = t &&
23155 abi-variants] (common-generated): Append gnu/lib-names.h.
23156 [$(build-shared) = yes && $(soversions.mk-done) = t &&
23157 abi-variants] (install-others-nosubdir): Depend on
23158 $(inst_includedir)/$(lib-names-h-abi).
23159 [$(build-shared) = yes && $(soversions.mk-done) = t &&
23160 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
23161 [$(build-shared) = yes && $(soversions.mk-done) = t]
23162 ($(common-objpfx)$(lib-names-h-abi)): New rule.
23163 [$(build-shared) = yes && $(soversions.mk-done) = t]
23164 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
23165 [$(build-shared) = yes && $(soversions.mk-done) = t]
23166 (common-generated): Append $(lib-names-h-abi) and
23167 $(lib-names-stmp-abi).
23168 * scripts/lib-names.awk: Do not handle multi being set.
23169 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
23171 (abi-lp64_be-ld-soname): Likewise.
23172 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
23174 (abi-hard-ld-soname): Likewise.
23175 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
23176 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
23178 (abi-o32_hard-ld-soname): Likewise.
23179 (abi-o32_soft_2008-ld-soname): Likewise.
23180 (abi-o32_hard_2008-ld-soname): Likewise.
23181 (abi-n32_soft-ld-soname): Likewise.
23182 (abi-n32_hard-ld-soname): Likewise.
23183 (abi-n32_soft_2008-ld-soname): Likewise.
23184 (abi-n32_hard_2008-ld-soname): Likewise.
23185 (abi-n64_soft-ld-soname): Likewise.
23186 (abi-n64_hard-ld-soname): Likewise.
23187 (abi-n64_soft_2008-ld-soname): Likewise.
23188 (abi-n64_hard_2008-ld-soname): Likewise.
23189 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
23191 (abi-64-v2-ld-soname): Likewise.
23192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
23194 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
23196 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
23198 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
23200 (abi-64-ld-soname): Likewise.
23201 (abi-x32-ld-soname): Likewise.
23202 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
23204 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
23206 2014-09-23 Joseph Myers <joseph@codesourcery.com>
23209 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
23210 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
23211 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
23212 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
23213 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
23214 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
23215 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
23216 syscall entry for GLIBC_2.2 symbol version.
23217 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
23219 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
23220 (setrlimit): Likewise.
23221 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
23224 2014-09-23 Will Newton <will.newton@linaro.org>
23226 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
23227 _LINUX_ARM_SYSDEP_H include guard too.
23228 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
23231 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
23233 * sysdeps/unix/sysv/linux/eventfd.c:
23234 Make first argument unsigned.
23235 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
23236 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
23238 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
23241 * socket/recvmmsg.c (recvmmsg): Drop const argument.
23242 * socket/sys/socket.h: Likewise.
23243 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
23245 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23247 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
23249 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
23251 * time/tst-ftime.c: New test.
23252 * time/Makefile (tests): Add tst-ftime.
23254 2014-09-17 Joseph Myers <joseph@codesourcery.com>
23256 * soft-fp/extended.h: Fix comment formatting.
23257 * soft-fp/op-1.h: Likewise.
23258 * soft-fp/op-2.h: Likewise.
23259 * soft-fp/op-4.h: Likewise.
23260 * soft-fp/op-8.h: Likewise.
23261 * soft-fp/op-common.h: Likewise.
23262 * soft-fp/soft-fp.h: Likewise.
23264 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
23266 2014-09-16 Joseph Myers <joseph@codesourcery.com>
23269 * Makeconfig (soversions-default-setname): Remove variable.
23270 ($(common-objpfx)soversions.i): Don't pass default_setname to
23272 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
23273 oldest_abi to abi-versions.awk.
23274 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
23275 * config.make.in (oldest-abi): Remove variable.
23276 * configure.ac (--enable-oldest-abi): Remove configure option.
23277 * configure: Regenerated.
23278 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
23280 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
23281 * scripts/soversions.awk: Do not handle default_setname variable.
23282 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
23284 * sysdeps/mach/hurd/configure: Regenerated.
23285 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
23287 * sysdeps/unix/sysv/linux/configure: Regenerated.
23289 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
23291 * elf/Makefile (CFLAGS-interp.c): Remove.
23292 ($(elf-objpfx)runtime-linker.h): Generate header with linker
23294 * elf/interp.c: Include generated runtime-linker.h
23296 * Makerules (lib%.so): Don't include $(+interp) in
23298 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
23299 * dlfcn/eval.c: Remove file.
23301 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
23305 * misc/sys/cdefs.h: Define __extern_always_inline for clang
23309 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
23311 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
23312 Jakub Jelinek <jakub@redhat.com>
23315 * libio/stdio.h: Check definition of __fortify_function
23316 instead of __extern_always_inline to include bits/stdio2.h.
23317 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
23318 check if __extern_always_inline is defined.
23319 [__USE_MISC || __USE_XOPEN]: Likewise.
23320 [__USE_ISOC99] Likewise.
23321 * misc/sys/cdefs.h (__fortify_function): Define only if
23322 __extern_always_inline is defined.
23323 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
23324 __extern_always_inline and __extern_inline only for g++-4.3
23325 and newer or a compatible gcc.
23327 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
23330 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
23331 last change to handle zero prefix length.
23333 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
23335 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
23338 * posix/getconf.c (vars): Add _POSIX_IPV6 and
23339 _POSIX_RAW_SOCKETS.
23341 2014-09-13 Allan McRae <allan@archlinux.org>
23343 * po/ru.po: Update Russian translation from translation project.
23345 2014-09-12 Roland McGrath <roland@hack.frob.com>
23347 * locale/programs/locale.c (show_locale_vars): Inline local function
23348 into its sole call site. Clean up some style nits.
23349 (print_item): New function, broken out of ...
23350 (show_info): ... local function here. Clean up style nits.
23352 * locale/programs/ld-ctype.c (set_one_default): New function, broken
23354 (set_class_defaults): ... local function set_default here.
23355 Define set_default as a macro locally to pass constant parameters.
23356 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
23357 rather than a shared local.
23359 * stdlib/rpmatch.c (try): New function, broken out of ...
23360 (rpmatch): ... local function here. Also, prototypify definition.
23362 2014-09-12 Joseph Myers <joseph@codesourcery.com>
23364 * scripts/soversions.awk: Do not handle configuration names.
23365 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
23366 vendor and os variables to soversions.awk.
23367 * configure.ac: Do not modify gnu-* host_os.
23368 * configure: Regenerated
23369 * shlib-versions: Remove first column with configuration names.
23370 * nptl/shlib-versions: Likewise.
23371 * nptl_db/shlib-versions: Likewise.
23372 * sysdeps/hppa/shlib-versions: Likewise.
23373 * sysdeps/m68k/shlib-versions: Likewise.
23374 * sysdeps/mach/hurd/shlib-versions: Likewise.
23375 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
23376 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
23377 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
23378 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
23379 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
23380 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
23381 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
23382 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
23383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
23385 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
23386 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
23387 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
23388 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
23389 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
23390 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
23391 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
23392 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
23394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
23395 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
23396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
23398 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
23399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
23400 Condition symbol version definitions on [HAVE_ELFV2_ABI].
23402 * shlib-versions: Remove OS-specific entries. Moved to files in
23404 * sysdeps/mach/hurd/shlib-versions: New file.
23405 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
23407 * nptl/shlib-versions: Remove architecture-specific entries.
23408 Moved to files in sysdeps.
23409 * shlib-versions: Likewise.
23410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
23412 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
23413 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
23414 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
23415 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
23417 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
23418 (UDP_NO_CHECK6_RX): Likewise.
23420 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
23422 * sysdeps/posix/sysconf.c (__sysconf): Spell
23423 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
23425 2014-08-12 Florian Weimer <fweimer@redhat.com>
23427 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
23429 * iconv/Versions (__gconv_transliterate): Export for use from
23431 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
23432 (struct __gconv_trans_data, __gconv_trans_fct,
23433 __gconv_trans_context_fct, __gconv_trans_query_fct,
23434 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
23436 (struct __gconv_step_data): Remove __trans member.
23437 (__gconv_transliterate): Declaration moved from gconv_int.h. No
23438 longer hidden. Remove unused trans_data argument.
23439 * iconv/gconv_int.h (struct trans_struct): Remove definition.
23440 (__gconv_translit_find): Remove declaration.
23441 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
23443 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
23444 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
23445 trans_data argument. Add hidden definition.
23446 (__gconv_translit_find): Remove.
23447 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
23448 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
23449 * iconv/skeleton.c: Remove transliteration initialization.
23450 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
23451 __gconv_step_data initialization.
23452 * libio/iofwide.c (__libio_translit_): Remove.
23453 (_IO_fwide): Adjust struct __gconv_step_data initialization.
23454 * wcsmbs/btowc.c (__btowc): Likewise.
23455 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
23456 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
23457 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
23458 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
23459 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
23460 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
23461 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
23462 * wcsmbs/wctob.c (wctob): Likewise.
23464 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
23467 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
23468 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
23470 * sysdeps/x86/Makefile: Adjust.
23472 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
23473 Roland McGrath <roland@hack.frob.com>
23475 * locale/weight.h: Add include guard.
23476 (findidx): Make static rather than auto; take new parameters
23477 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
23478 * locale/weightwc.h: Likewise.
23479 * posix/fnmatch_loop.c
23480 (FCT): Change type of EXTRA from int32_t to wint_t.
23481 Don't include either header inside the function.
23482 Call FINDIDX rather than findidx, and pass new arguments.
23483 #undef FINDIDX at the end of the file.
23484 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
23485 FINDIDX before including fnmatch_loop.c for the non-wide version.
23486 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
23487 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
23488 for the wide version.
23489 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
23490 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
23491 Pass new arguments to findidx.
23492 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
23493 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
23494 Don't #include it inside the function. Pass new arguments to findidx.
23495 * posix/regex_internal.h
23496 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
23497 (re_string_elem_size_at): Don't #include it inside the function.
23498 Pass new arguments to findidx.
23499 * string/strcoll_l.c: #include WEIGHT_H at top level.
23500 (get_next_seq): Don't #include it inside the function.
23501 Pass new arguments to findidx.
23502 (get_next_seq_nocache): Likewise.
23503 * string/strxfrm_l.c: #include WEIGHT_H at top level.
23504 (STRXFRM): Don't #include it inside the function.
23505 Pass new arguments to findidx.
23507 2014-09-11 Florian Weimer <fweimer@redhat.com>
23510 * malloc/malloc.c (unlink): Turn asserts into a call to
23513 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
23516 * libio/wfileops (do_ftell_wide): Free OUT.
23518 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
23520 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
23522 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
23525 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
23526 group if the current group is empty.
23528 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23530 * benchtests/bench-memset.c (test_main): Add more test from size
23531 from 32 to 512 bytes.
23532 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
23533 Add POWER8 memset object.
23534 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23535 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
23536 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
23538 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
23540 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
23541 multiarch POWER8 memset optimization.
23542 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
23543 POWER8 memset optimization.
23545 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
23546 Remove bzero multiarch objects.
23547 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
23548 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
23549 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
23550 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
23552 [__bzero]: Redefine to specific name.
23553 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
23554 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
23555 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
23557 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
23558 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
23560 2014-09-10 Florian Weimer <fweimer@redhat.com>
23562 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
23563 warnings into errors.
23565 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
23566 __cxa_thread_atexit_impl prototype.
23568 2014-09-09 Steve Ellcey <sellcey@mips.com>
23570 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
23571 Fix capitalization of error message.
23573 2014-09-09 Steve Ellcey <sellcey@mips.com>
23575 * sysdeps/mips/preconfigure: Modify ABI tests.
23577 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
23579 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
23581 2014-09-07 Roland McGrath <roland@hack.frob.com>
23582 Carlos O'Donell <carlos@systemhalted.org>
23584 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
23585 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
23586 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
23587 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
23588 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
23589 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
23590 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
23591 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
23592 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
23593 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
23594 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
23595 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
23596 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
23597 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
23598 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
23599 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
23600 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
23601 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
23602 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
23603 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
23604 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
23605 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
23606 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
23607 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
23608 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
23609 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
23610 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
23611 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
23612 Deconditionalize the code that was previously under [RESET_PID].
23613 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
23614 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
23615 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
23616 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
23619 2014-09-08 Allan McRae <allan@archlinux.org>
23621 * version.h (RELEASE): Set to "development".
23622 (VERSION): Set to "2.20.90"
23624 2014-09-07 Allan McRae <allan@archlinux.org
23626 * version.h (RELEASE): Set to "stable".
23627 (VERSION): Set to "2.20"
23628 * include/features.h (__GLIBC_MINOR__): Set to 20.
23630 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
23633 * po/ko.po: Update Korean translation from translation project.
23635 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
23638 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
23639 macro for handling signed relocations.
23641 2014-09-03 Florian Weimer <fweimer@redhat.com>
23644 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
23645 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
23647 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
23648 * iconvdata/ibm935.c (BODY): Likewise.
23649 * iconvdata/ibm937.c (BODY): Likewise.
23650 * iconvdata/ibm939.c (BODY): Likewise.
23651 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
23653 * iconvdata/Makefile (iconv-test.out): Pass module list to test
23655 * iconvdata/run-iconv-test.sh: New test loop for checking for
23658 2014-09-02 Khem Raj <raj.khem@gmail.com>
23660 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
23663 2014-09-01 Allan McRae <allan@archlinux.org>
23665 * po/eo.po: Update Esperanto translation from translation project.
23667 * po/ca.po: Update Catalan translation from translation project.
23669 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
23671 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
23672 __proc_dostop call.
23674 2014-08-27 Mark Wielaard <mjw@redhat.com>
23677 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
23678 to call set_thread_area instead of hand written asm.
23679 (__NR_set_thread_area): Removed define.
23680 (TLS_FLAG_WRITABLE): Likewise.
23681 (__ASSUME_SET_THREAD_AREA): Remove check.
23682 (TLS_EBX_ARG): Remove define.
23683 (TLS_LOAD_EBX): Likewise.
23685 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
23687 Simplify atomicity of socket creation in bind.
23689 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
23690 looking up the name after linking the file.
23692 2014-08-27 Allan McRae <allan@archlinux.org>
23694 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
23696 2014-08-26 Florian Weimer <fweimer@redhat.com>
23699 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
23700 trans_compare, open_translit, __gconv_translit_find):
23701 Remove module loading code.
23703 2014-08-26 Allan McRae <allan@archlinux.org>
23705 * po/vi.po: Update Vietnamese translation from translation project.
23707 * po/uk.po: Update Ukrainian translation from translation project.
23709 * po/fr.po: Update French translation from translation project.
23711 * po/ru.po: Update Russian translation from translation project.
23713 * po/pl.po: Update Polish translation from translation project.
23715 * po/cs.po: Update Czech translation from translation project.
23717 * po/de.po: Update German translation from translation project.
23719 * po/bg.po: Update Bulgarian translation from translation project.
23721 * po/sv.po: Update Sweedish translation from translation project.
23723 * po/nl.po: Update Dutch translation from translation project.
23725 * po/es.po: Update Spanish translation from translation project.
23727 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23729 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
23731 * catgets/Makefile (CPPFLAGS-gencat): Remove.
23732 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
23733 (CPPFLAGS-iconvconfig): Likewise.
23734 * timezone/Makefile (CPPFLAGS-zic): Likewise.
23736 * include/libc-symbols.h: Remove unnecessary check for
23738 * nptl/pthreadP.h: Likewise.
23739 * sysdeps/aarch64/setjmp.S: Likewise.
23740 * sysdeps/alpha/setjmp.S: Likewise.
23741 * sysdeps/arm/sysdep.h: Likewise.
23742 * sysdeps/i386/setjmp.S: Likewise.
23743 * sysdeps/m68k/setjmp.c: Likewise.
23744 * sysdeps/posix/getcwd.c: Likewise.
23745 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
23746 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
23747 * sysdeps/s390/s390-32/setjmp.S: Likewise.
23748 * sysdeps/s390/s390-64/setjmp.S: Likewise.
23749 * sysdeps/sh/sh3/setjmp.S: Likewise.
23750 * sysdeps/sh/sh4/setjmp.S: Likewise.
23751 * sysdeps/unix/alpha/sysdep.h: Likewise.
23752 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
23753 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
23754 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
23755 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
23756 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
23757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
23758 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
23759 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
23760 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
23761 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
23762 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23763 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
23764 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
23765 * sysdeps/x86_64/setjmp.S: Likewise.
23767 2014-08-13 Joseph Myers <joseph@codesourcery.com>
23770 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
23772 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
23773 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
23775 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
23777 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
23780 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
23781 and __x86_64__ when disabling x87 inline functions.
23783 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
23786 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
23787 asm statement with __cpuid_count.
23789 2014-08-12 Mike Frysinger <vapier@gentoo.org>
23791 * configure.ac: Change __ehdr_start code to dereference the struct.
23792 Run readelf on the output to look for relocations.
23793 * configure: Regenerated.
23795 2014-08-12 Joseph Myers <joseph@codesourcery.com>
23798 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
23800 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
23802 2014-08-12 Roland McGrath <roland@hack.frob.com>
23804 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
23806 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
23809 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
23810 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
23812 2014-08-12 Sean Anderson <seanga2@gmail.com>
23814 * malloc/malloc.c: Fix typo in comment.
23816 2014-08-09 Allan McRae <allan@archlinux.org>
23818 * Regenerate libc.po.
23820 2014-08-08 Mike Frysinger <vapier@gentoo.org>
23822 * intl/tst-gettext2.sh: Check every lang file for creation.
23824 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
23826 * sysdeps/aarch64/fpu/math_private.h
23827 (libc_feholdsetround_noex_aarch64_ctx): New function.
23829 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
23831 * sysdeps/arm/armv6/strcpy.S (strcpy):
23832 Fix performance issue in misaligned cases.
23834 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23836 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
23837 Move definition from termios.h.
23838 (struct termio): Likewise.
23839 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
23840 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
23841 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
23842 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
23844 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
23845 Move definition to ioctl-types.h
23846 (struct termio): Likewise.
23847 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
23848 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
23849 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
23850 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
23853 2014-08-05 Richard Henderson <rth@redhat.com>
23855 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
23857 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
23859 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
23860 Use __feraiseexcept.
23861 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
23862 Protect libm symbols with IS_IN_libm.
23864 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
23866 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
23868 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
23870 2014-08-04 Will Newton <will.newton@linaro.org>
23872 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
23875 2014-08-04 Mike Frysinger <vapier@gentoo.org>
23877 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
23878 variants for each function.
23880 2014-08-04 Roland McGrath <roland@hack.frob.com>
23882 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
23884 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
23885 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
23887 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
23888 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
23889 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
23890 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
23891 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
23892 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
23893 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
23894 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
23895 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
23896 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
23897 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
23898 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
23899 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
23900 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
23901 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
23902 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
23903 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
23904 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
23905 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
23906 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
23907 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
23908 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
23909 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
23910 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
23911 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
23912 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
23913 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
23914 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
23915 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
23916 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
23917 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
23918 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
23919 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
23920 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
23921 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
23922 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
23923 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
23924 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
23925 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
23926 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
23927 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
23928 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
23929 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
23930 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
23931 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
23932 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
23933 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
23934 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
23935 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
23936 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
23937 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
23938 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
23939 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
23941 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
23942 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
23944 2014-08-04 Roland McGrath <roland@hack.frob.com>
23946 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
23947 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
23948 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
23949 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
23950 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
23951 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
23953 2014-08-04 Roland McGrath <roland@hack.frob.com>
23955 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
23956 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
23957 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
23958 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
23960 2014-08-04 Roland McGrath <roland@hack.frob.com>
23962 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
23963 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
23964 (__libc_vfork): Define function under this name.
23965 (__vfork): Define as an alias.
23966 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
23967 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
23969 2014-08-04 Roland McGrath <roland@hack.frob.com>
23971 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
23972 that was previously under [RESET_PID].
23973 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
23975 2014-08-04 Andreas Schwab <schwab@suse.de>
23977 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
23979 2014-08-03 Mike Frysinger <vapier@gentoo.org>
23981 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
23984 2014-08-01 Roland McGrath <roland@hack.frob.com>
23986 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
23988 2014-08-01 Richard Henderon <rth@redhat.com>
23990 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
23991 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
23992 typo in exact zero test.
23993 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23994 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23995 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23997 2014-08-01 Roland McGrath <roland@hack.frob.com>
23999 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
24000 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
24001 * sysdeps/arm/sysdep.h: ... here.
24002 [!__ASSEMBLER__]: Include <stdint.h>.
24004 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
24006 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
24007 (HAVE_WCTYPE_H): Likewise.
24008 (HAVE_ISWCTYPE): Likewise.
24009 (ENABLE_NLS): Likewise.
24010 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
24011 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
24013 * posix/regex_internal.c: Check if DEBUG is defined and is
24016 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
24017 (HAVE_MBSRTOWCS): Likewise.
24018 * posix/fnmatch.c: Include string.h unconditionally.
24020 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
24022 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
24025 2014-07-31 Roland McGrath <roland@hack.frob.com>
24027 * sysdeps/generic/safe-fatal.h: New file.
24028 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
24029 * nptl/forward.c: Include it.
24030 (__pthread_unwind): Use __safe_fatal as default action, rather
24031 than a bogus use of INTERNAL_SYSCALL that could never work.
24033 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
24034 * configure.ac (libc_cv_builtin_trap): New test.
24035 * configure: Regenerated.
24036 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
24037 (ABORT_INSTRUCTION): Define using __builtin_trap.
24039 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
24040 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
24041 * sysdeps/nptl/nptl-signals.h: New file.
24042 * nptl/pthreadP.h: Include <nptl-signals.h>.
24044 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
24046 * sysdeps/s390/s390-64/utf16-utf32-z9.c
24047 (ONE_DIRECTION): Define.
24048 * sysdeps/s390/s390-64/utf8-utf16-z9.c
24049 (ONE_DIRECTION): Define.
24050 * sysdeps/s390/s390-64/utf8-utf32-z9.c
24051 (ONE_DIRECTION): Define.
24053 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
24055 * sysdeps/s390/Makefile: Delete file.
24056 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
24057 * sysdeps/s390/__longjmp.c: Delete file.
24058 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
24059 Remove fields __flags and __reserved.
24060 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
24061 and add versioning.
24062 * sysdeps/s390/rtld-__longjmp.c: Delete file.
24063 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
24064 * sysdeps/s390/rtld-setjmp.S: Likewise.
24065 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
24066 * sysdeps/s390/s390-32/__longjmp.c: ... here.
24067 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
24068 * sysdeps/s390/s390-32/setjmp.S: ... here.
24070 (__sigsetjmp): Remove setting __flags field.
24071 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
24072 * sysdeps/s390/s390-64/__longjmp.c: ... here.
24073 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
24074 * sysdeps/s390/s390-64/setjmp.S: ... here.
24076 (__sigsetjmp): Remove setting __flags field.
24077 * sysdeps/s390/setjmp.S: Delete file.
24078 * sysdeps/s390/sigjmp.c: Likewise.
24079 * sysdeps/s390/v1-longjmp.c: Likewise.
24080 * sysdeps/s390/v1-setjmp.h: Likewise.
24081 * sysdeps/s390/v1-sigjmp.c: Likewise.
24082 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
24083 Remove v1-longjmp_chk.
24084 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
24085 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
24086 Include debug/longjmp_chk.c and add versioning.
24087 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
24088 Include nptl/pt-longjmp.c and add versioning.
24089 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
24090 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
24091 Include __longjmp.c.
24092 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
24094 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
24095 (__getcontext): Remove setting __flags field.
24097 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
24098 Don't restore upper high grps.
24099 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
24101 (__swapcontext): Remove setting uc_flags field.
24102 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
24104 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
24105 Include __longjmp.c.
24106 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
24108 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
24109 (__getcontext): Remove setting __flags field.
24111 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
24112 (__swapcontext): Remove setting uc_flags field.
24113 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
24114 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
24115 Remove fields uc_high_gprs and __reserved.
24116 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
24117 New file with reverted content.
24118 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
24119 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
24121 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
24124 2014-07-31 Andreas Schwab <schwab@suse.de>
24126 * config.h.in (HAVE_IFUNC): Define to 0.
24127 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
24130 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
24132 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24133 memmove-avx-unaligned, memcpy-avx-unaligned and
24134 mempcpy-avx-unaligned.
24135 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
24136 Add tests for AVX memcpy functions.
24137 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
24138 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
24140 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
24141 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
24143 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
24144 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
24146 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
24147 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
24148 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
24150 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24153 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
24156 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
24159 * manual/llio.texi: Add section about open file description locks.
24160 * manual/examples/ofdlocks.c: Example of open file description
24162 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
24163 F_OFD_SETLK, and F_OFD_SETLKW.
24165 2014-07-23 Allan McRae <allan@archlinux.org>
24167 * po/es.po: Update Spanish translation from translation project.
24169 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
24171 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
24173 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
24176 * sysdeps/arm/dl-machine.h (elf_machine_rela)
24177 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
24178 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
24180 2014-07-17 Joseph Myers <joseph@codesourcery.com>
24183 * math/fesetenv.c (__fesetenv)
24184 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
24185 * math/feupdateenv.c (__feupdateenv)
24186 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
24188 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
24189 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
24190 (__ASSUME_SOCKETCALL): Do not define.
24192 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
24193 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
24194 (__ASSUME_SOCKETCALL): Do not define.
24195 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
24196 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
24197 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
24198 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
24199 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
24200 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
24201 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
24202 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
24204 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
24205 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
24206 (__ASSUME_SOCKETCALL): Do not define.
24207 (__ASSUME_IPC64): Define unconditionally.
24208 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
24209 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
24210 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
24211 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
24212 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
24213 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
24214 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
24217 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
24218 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
24219 (__ASSUME_SOCKETCALL): Do not define.
24220 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
24221 (__ASSUME_FUTEX_LOCK_PI): Likewise.
24222 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
24223 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
24224 (__ASSUME_REQUEUE_PI): Define unconditionally.
24225 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
24226 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
24227 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
24228 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
24229 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
24230 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
24232 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
24233 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
24234 (__ASSUME_SOCKETCALL): Do not define.
24235 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
24236 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
24237 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
24238 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
24239 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
24240 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
24242 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
24243 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
24244 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
24245 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
24246 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
24247 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
24248 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
24249 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
24250 (__ASSUME_GETCPU_SYSCALL): Likewise.
24252 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
24253 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
24254 cases for individual architectures.
24255 * sysdeps/gnu/configure: Regenerated.
24256 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
24257 LIBC_SLIBDIR_RTLDDIR.
24258 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
24259 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
24260 LIBC_SLIBDIR_RTLDDIR.
24261 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
24262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
24263 LIBC_SLIBDIR_RTLDDIR.
24264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
24266 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
24267 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
24269 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
24270 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
24272 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
24273 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
24274 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
24275 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
24277 * sysdeps/aarch64/shlib-versions: Move to ...
24278 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
24279 * sysdeps/alpha/shlib-versions: Move to ...
24280 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
24281 * sysdeps/arm/shlib-versions: Move to ...
24282 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
24283 * sysdeps/hppa/shlib-versions: Move all contents except for
24284 libgcc_s entry to ...
24285 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
24287 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
24288 * sysdeps/ia64/shlib-versions: Move to ...
24289 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
24291 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
24292 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
24293 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
24294 * sysdeps/microblaze/shlib-versions: Move to ...
24295 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
24296 * sysdeps/mips/shlib-versions: Move to ...
24297 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
24299 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
24300 * sysdeps/tile/shlib-versions: Move to ...
24301 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
24302 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
24304 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
24305 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
24307 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
24309 2014-07-17 Will Newton <will.newton@linaro.org>
24311 * sysdeps/arm/bits/atomic.h
24312 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
24313 (__arch_compare_and_exchange_bool_16_int): Likewise.
24314 (__arch_compare_and_exchange_bool_64_int): Likewise.
24316 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
24317 into an #else block.
24319 2014-07-16 Roland McGrath <roland@hack.frob.com>
24321 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
24322 just Linux configurations. Test empirically that the compiler sets
24323 __ARM_EABI__, rather than using the tuple to decide.
24324 * sysdeps/arm/preconfigure: Regenerated.
24325 * sysdeps/unix/sysv/linux/arm/configure: File removed.
24326 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
24327 contents appended ...
24328 * sysdeps/arm/configure.ac: ... here.
24329 * sysdeps/arm/configure: Regenerated.
24331 2014-07-15 Roland McGrath <roland@hack.frob.com>
24333 * nptl/pthread_kill.c: New file.
24334 * nptl/pthread_sigmask.c: New file.
24335 * nptl/pthread_sigqueue.c: New file.
24337 * sysdeps/nptl/lowlevellock.h: New file.
24338 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
24339 * sysdeps/nptl/lowlevellock-futex.h: New file.
24341 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
24342 Remove dead declarations.
24344 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
24346 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
24347 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
24348 config-cflags-avx2.
24349 * sysdeps/x86_64/configure.ac: Likewise.
24350 * sysdeps/i386/configure: Regenerated.
24351 * sysdeps/x86_64/configure: Likewise.
24352 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24353 memset-avx2 only if config-cflags-avx2 is yes.
24354 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
24355 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
24357 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
24358 only if HAVE_AVX2_SUPPORT is defined.
24359 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
24361 2014-07-14 Alan Modra <amodra@gmail.com>
24364 * elf/elf.h (DT_PPC64_NUM): Correct value.
24365 * NEWS: Add to fixed bug list.
24367 2014-07-13 Jim Meyering <meyering@fb.com>
24370 regex: don't deref NULL upon heap allocation failure
24371 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
24372 failure in one more place.
24373 To trigger the segfault, configure grep -with-included-regex,
24374 build it, and run these commands:
24375 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
24377 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
24379 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
24381 2014-07-11 Richard Henderson <rth@redhat.com>
24383 * sysdeps/aarch64/libm-test-ulps: Update.
24385 2014-07-10 Florian Weimer <fweimer@redhat.com>
24388 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
24389 * nptl/allocatestack.c (__nptl_setxid_error): New function.
24390 (__nptl_setxid): Initialize error member. Call
24391 __nptl_setxid_error.
24392 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
24393 * nptl/descr.h (struct xid_command): Add error member.
24394 * nptl/tst-setuid3.c: New file.
24395 * nptl/Makefile (tests): Add it.
24397 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24399 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
24401 (__lll_trylock): Use __lll_base_trylock.
24402 (__lll_cond_trylock): Likewise.
24404 2014-07-10 Roland McGrath <roland@hack.frob.com>
24406 * nptl/pthread_create.c (start_thread): Use atomic_or and
24407 lll_futex_wake directly rather than lll_robust_dead.
24408 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
24409 (lll_robust_dead): Macro removed.
24410 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
24411 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
24412 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
24413 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
24414 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
24415 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
24416 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
24417 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
24418 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
24419 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
24420 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
24421 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
24422 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
24423 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
24424 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
24426 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
24427 Use atomic_compare_and_exchange_val_acq directly rather than
24428 lll_robust_trylock.
24429 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
24430 (__lll_robust_trylock, lll_robust_trylock): Removed.
24431 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
24432 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
24433 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
24434 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
24435 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
24436 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
24437 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
24438 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
24439 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
24440 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
24441 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
24442 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
24443 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
24444 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
24446 2014-07-02 Florian Weimer <fweimer@redhat.com>
24448 * manual/locale.texi (Locale Names): New section documenting
24449 locale name syntax. Adjust menu and node chaining accordingly.
24450 (Choosing Locale): Reference Locale Names, Locale Categories.
24451 Mention setting LC_ALL=C. Reflect that name syntax is now
24453 (Locale Categories): New section title. Reference Locale Names.
24454 LC_ALL is an environment variable, but not a category.
24455 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
24456 description, now in Locale Name. Reference that section. Locale
24457 name syntax is now documented.
24459 2014-07-02 Florian Weimer <fweimer@redhat.com>
24462 * locale/findlocale.c (name_present, valid_locale_name): New
24464 (_nl_find_locale): Use the loc_name variable to store name
24465 candidates. Call name_present and valid_locale_name to check and
24466 validate locale names. Return an error if the locale is invalid.
24468 2014-07-02 Florian Weimer <fweimer@redhat.com>
24470 * locale/setlocale.c (setlocale): Use strdup for allocating
24471 composite name copy.
24473 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
24475 Sync up with gnulib.
24476 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
24477 [!_LIBC && ENABLE_NLS]: Include gettext.h.
24478 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
24479 and _GL_ARG_NONNULL.
24480 [USE_UNLOCKED_IO]: Include unlocked-io.h.
24481 [!_LIBC]: Include code for Windows and Cygwin.
24482 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
24483 Include prototype for int strerror_r.
24484 [!_LIBC] (is_open): New function.
24485 (flush_stdout): New function.
24486 (print_errno_message): Use it.
24488 (error_at_line): Likewise.
24489 (error_tail) Add function attribute macros. Use
24492 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
24494 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
24496 * io/ftw.c: Include sys/param.h unconditionally.
24498 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
24501 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
24503 (freecache): New function to free CACHE on exit.
24505 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
24508 2014-07-09 David S. Miller <davem@davemloft.net>
24510 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24512 * sysdeps/sparc/nptl/internaltypes.h: Delete.
24513 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
24514 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
24515 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
24516 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
24517 * sysdeps/sparc/nptl/sem_init.c: Likewise.
24518 * sysdeps/sparc/nptl/sem_post.c: Likewise.
24519 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
24520 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
24521 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
24522 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
24523 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
24524 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
24526 2014-07-09 Andreas Schwab <schwab@suse.de>
24528 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
24530 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
24531 (do_test): Likewise.
24533 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
24535 2014-07-09 Will Newton <will.newton@linaro.org>
24537 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
24538 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
24539 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
24540 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
24541 * sysdeps/hppa/start.S (_start): Likewise.
24543 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
24545 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
24547 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
24550 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
24552 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
24553 after checking that it is non-NULL.
24555 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
24557 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24559 * sysdeps/powerpc/memmove.c: Remove file.
24560 * sysdeps/powerpc/powerpc32/power4/memcopy.h
24561 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
24562 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
24563 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
24564 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
24565 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
24566 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
24567 string memmove instead of removed powerpc one.
24569 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
24570 [weak_alias]: Fix compiler warning due trailing data.
24571 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
24572 [weak_alias]: Likewise.
24573 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
24574 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
24576 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
24577 (__libc_ifunc_impl_list): Add memmove functions.
24579 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
24581 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
24583 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
24585 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
24587 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
24589 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
24591 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
24593 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
24595 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
24597 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
24599 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
24601 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
24603 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
24605 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
24607 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
24609 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
24611 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
24613 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
24616 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24618 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
24619 to avoid alignment traps in non-cacheable memory.
24620 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
24622 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
24624 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
24625 file: multiarch power7 memmove.
24626 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
24627 multiarch default memmove.
24628 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
24629 multiarch memove for powerpc32/power4.
24631 * string/bcopy.c: Use full path to include memmove.c.
24632 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
24634 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
24635 bcopy for powerpc64.
24636 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
24637 bcopy for powerpc64.
24638 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
24639 and memmove implementations.
24640 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
24641 optimized multiarch memmove for POWER7/powerpc64.
24642 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
24643 default multiarch memmove for powerpc64.
24644 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
24645 multiarch for powerpc64.
24646 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
24647 for POWER7/powerpc64.
24648 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
24649 memmove for POWER7/powerpc64.
24651 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
24654 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
24655 __ELF_NATIVE_CLASS equal to 64.
24657 2014-07-07 Roland McGrath <roland@hack.frob.com>
24659 * sysdeps/nptl/lowlevellock.h: File removed.
24661 * NEWS: NPTL is no longer an add-on!
24662 * nptl/internaltypes.h: Moved ...
24663 * sysdeps/nptl/internaltypes.h: ... here.
24664 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
24665 * sysdeps/nptl/fork.c: Likewise.
24666 * sysdeps/nptl/gai_misc.h: Likewise.
24667 * sysdeps/nptl/librt-cancellation.c: Likewise.
24668 * sysdeps/nptl/jmp-unwind.c: Likewise.
24669 * sysdeps/nptl/setxid.h: Likewise.
24670 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
24671 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
24672 * sysdeps/unix/sysv/linux/arm/Implies: New file.
24673 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
24674 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
24675 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
24676 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
24677 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
24678 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
24679 * sysdeps/unix/sysv/linux/mips/Implies: New file.
24680 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
24681 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
24682 * sysdeps/unix/sysv/linux/sh/Implies: New file.
24683 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
24684 * sysdeps/unix/sysv/linux/tile/Implies: New file.
24685 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
24686 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
24687 * nptl/Makeconfig: Moved ...
24688 * sysdeps/nptl/Makeconfig: ... here.
24689 * nptl/configure: File removed.
24690 * nptl/ANNOUNCE: File removed.
24691 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
24692 * sysdeps/unix/sysv/linux/configure: Regenerated.
24694 * nptl/Makefile (routines): Add libc_pthread_init,
24695 libc_multiple_threads, register-atfork and unregister-atfork.
24696 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
24697 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
24698 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
24699 pthread-pi-defines.sym, structsem.sym.
24700 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
24701 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
24702 [$(subdir) = nptl] (tests): Add tst-setgetname.
24703 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
24704 * sysdeps/unix/sysv/linux/sigaction.c: Just include
24705 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
24706 [!LIBC_SIGACTION]: Remove aliases.
24707 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
24708 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
24709 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
24710 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
24711 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
24712 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
24713 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
24714 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
24715 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
24716 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
24717 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
24718 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
24719 __libc_allocate_rtsig_private.
24720 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
24721 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
24722 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
24723 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
24724 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
24725 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
24726 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
24727 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
24728 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
24729 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
24730 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
24731 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
24732 * nptl/internaltypes.h: ... here.
24733 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
24734 * sysdeps/nptl/jmp-unwind.c: ... here.
24735 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
24736 * nptl/libc-lowlevellock.c: ... here.
24737 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
24738 * nptl/libc_multiple_threads.c: ... here.
24739 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
24740 * nptl/libc_pthread_init.c: ... here.
24741 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
24742 * nptl/lowlevelbarrier.sym: ... here.
24743 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
24744 * nptl/lowlevelcond.sym: ... here.
24745 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
24746 * nptl/lowlevellock.c: ... here.
24747 * nptl/lowlevellock.h: Moved ...
24748 * sysdeps/nptl/lowlevellock.h: ... here.
24749 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
24750 * nptl/lowlevelrobustlock.c: ... here.
24751 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
24752 * nptl/lowlevelrobustlock.sym: ... here.
24753 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
24754 * nptl/lowlevelrwlock.sym: ... here.
24755 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
24756 * nptl/pt-fork.c: ... here.
24757 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
24758 * nptl/pthread-pi-defines.sym: ... here.
24759 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
24760 * nptl/pthread_attr_getaffinity.c: ... here.
24761 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
24762 * nptl/pthread_attr_setaffinity.c: ... here.
24763 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
24764 * nptl/pthread_mutex_cond_lock.c: ... here.
24765 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
24767 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
24768 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
24769 * nptl/pthread_once.c: ... here, replacing old file.
24770 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
24771 * nptl/pthread_yield.c: ... here.
24772 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
24773 * nptl/register-atfork.c: ... here.
24774 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
24775 * nptl/sem_post.c: ... here.
24776 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
24777 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
24778 * nptl/sem_timedwait.c: ... here.
24779 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
24780 * nptl/sem_trywait.c: ... here.
24781 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
24782 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
24783 * nptl/sem_wait.c: ... here.
24784 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
24785 * nptl/structsem.sym: ... here.
24786 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
24787 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
24788 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
24789 * nptl/unregister-atfork.c: ... here.
24790 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
24791 * nptl/unwindbuf.sym: ... here.
24792 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
24793 * sysdeps/nptl/fork.c: ... here.
24794 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
24795 * sysdeps/nptl/fork.h: ... here.
24796 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
24797 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
24798 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
24799 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
24800 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
24801 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
24802 * sysdeps/unix/sysv/linux/getpid.c: ... here.
24803 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
24804 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
24805 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
24806 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
24807 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
24808 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
24809 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
24810 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
24811 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
24812 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
24813 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
24814 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
24815 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
24816 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
24817 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
24818 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
24819 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
24820 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
24821 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
24822 * sysdeps/unix/sysv/linux/raise.c: ... here.
24823 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
24824 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
24825 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
24826 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
24827 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
24828 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
24829 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
24830 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
24831 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
24832 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
24833 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
24834 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
24835 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
24836 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
24837 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
24839 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
24841 * sysdeps/generic/memcopy.h: Add comment for
24842 MEMCPY_OK_FOR_FWD_MEMMOVE.
24844 2014-07-04 Will Newton <will.newton@linaro.org>
24846 * string/memchr.c: Merge from gnulib.
24847 [_LIBC]: Remove conditionals.
24848 (__ptr_t): Remove define.
24849 (LONG_MAX_32_BITS): Likewise.
24850 (LONG_MAX): Likewise.
24851 (MEMCHR): Use ANSI prototype and optimize algorithm.
24853 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
24855 2014-07-03 Roland McGrath <roland@hack.frob.com>
24857 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
24858 (lll_futex_timed_wait_bitset): Fix syscall argument count.
24860 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
24861 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
24862 in a bare environment with no <stdlib.h> installed.
24863 * sysdeps/nptl/configure: Regenerated.
24865 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
24867 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
24868 AC_EGREP_CPP for kernel header checks, so they only succeed if
24869 including <linux/version.h> actually works right.
24870 * sysdeps/unix/sysv/linux/configure: Regenerated.
24872 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
24873 value so it's not diagnosed as unused.
24875 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
24876 thing) with "ifeq ($(subdir),rt)".
24878 2014-07-03 Richard Henderson <rth@redhat.com>
24880 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
24881 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
24882 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
24884 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
24885 (math_force_eval): New.
24887 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
24888 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
24890 * sysdeps/alpha/fpu/s_round.c: Remove file.
24891 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
24893 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
24894 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
24895 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
24896 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
24897 (_dl_start, print_statistics): Likewise.
24898 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
24899 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
24901 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
24902 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
24903 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
24904 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
24905 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
24906 (HP_SMALL_TIMING_AVAIL): Define.
24907 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
24908 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
24909 (HP_SMALL_TIMING_AVAIL): Define.
24910 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
24911 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
24913 * sysdeps/aarch64/hp-timing.h: New file.
24915 * sysdeps/generic/hp-timing.h: Remove dead comment.
24916 * sysdeps/generic/hp-timing-common.h: New file.
24917 * sysdeps/alpha/hp-timing.h: Include it.
24918 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
24919 * sysdeps/i386/i686/hp-timing.h: Likewise.
24920 * sysdeps/ia64/hp-timing.h: Likewise.
24921 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
24922 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
24923 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
24924 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
24925 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
24926 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
24927 (hp_timing_t): New.
24929 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
24930 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
24931 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
24932 * elf/rtld.c (_dl_start_final): Likewise.
24933 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
24934 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
24935 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
24936 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
24937 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
24938 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
24939 (HP_TIMING_DIFF_INIT): Remove.
24940 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
24941 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
24942 (HP_TIMING_DIFF_INIT): Remove.
24943 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
24944 * sysdeps/i386/i686/hp-timing.c: Remove file.
24945 * sysdeps/x86_64/hp-timing.c: Remove file.
24946 * sysdeps/ia64/hp-timing.c: Remove file.
24947 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
24948 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
24949 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
24950 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
24952 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
24953 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
24954 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
24955 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
24956 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
24957 (HP_TIMING_ACCUM): Remove.
24958 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
24959 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
24960 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
24962 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
24963 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
24964 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
24965 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
24966 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
24967 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
24968 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
24969 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
24971 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
24973 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
24975 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
24977 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
24979 Sync up with gettext.
24980 * intl/loadmsgcat.c: Define O_BINARY if not defined.
24981 [_MSC_VER]: Include malloc.h
24982 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
24983 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
24984 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
24985 TEMP_FAILURE_RETRY. Cast return of alloca.
24986 [!_LIBC] Call gl_rwlock_init.
24987 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
24989 2014-07-02 Roland McGrath <roland@hack.frob.com>
24991 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
24992 before checking its value.
24994 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
24996 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
24998 * debug/memcpy_chk.c: Don't include pagecopy.h.
24999 * debug/mempcpy_chk.c: Likewise.
25000 * string/memcpy.c: Likewise.
25001 * string/memmove.c: Likewise.
25002 * sysdeps/powerpc/memmove.c: Likewise.
25003 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
25004 definition of PAGE_COPY_FWD_MAYBE here...
25005 * sysdeps/generic/pagecopy.h: ... from here.
25006 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
25008 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
25009 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25011 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
25012 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
25014 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
25015 (__libc_ifunc_impl_list): Likewise.
25016 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
25017 multiarch strcat for PPC64.
25018 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
25019 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
25021 2014-07-02 Roland McGrath <roland@hack.frob.com>
25023 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
25025 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
25027 * intl/loadmsgcat.c: Remove declaration of
25028 get_sysdep_segment_value.
25029 (get_sysdep_segment_value): Use ISO C style.
25030 (_nl_load_domain): Use ISO C style. Get rid of redundant
25031 semicolon. Fix typo and formatting in comment.
25032 (_nl_unload_domain): Use ISO C style.
25034 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
25036 2014-07-02 Will Newton <will.newton@linaro.org>
25038 * malloc/obstack.c: Merge from gnulib master.
25039 [HAVE_CONFIG_H]: Remove conditional code.
25040 [!_LIBC]: Include config.h.
25041 [!ELIDE_CODE]: Don't include inttypes.h, include
25042 stdint.h unconditionally.
25043 (print_and_abort): Mark as _Noreturn.
25044 (_obstack_allocated_p): Mark as __attribute_pure__.
25045 (obstack_free): Rename to __obstack_free.
25046 [!__attribute__]: Remove conditional code.
25047 * malloc/obstack.h: Merge from gnulib master.
25048 [__cplusplus]: Move conditional down.
25049 [!__attribute_pure__]: Define __attribute_pure__ here
25050 if it is not already defined.
25051 (_obstack_memory_used): Mark as __attribute_pure__.
25052 [!__obstack_free]: Define as obstack_free.
25053 [__GNUC__]: Remove check for ancient NeXT gcc.
25055 2014-07-02 Will Newton <will.newton@linaro.org>
25056 Paul Eggert <eggert@cs.ucla.edu>
25058 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
25060 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
25062 * resolv/gethnamaddr.c: Add comment warning that the file is
25065 2014-07-01 Carlos O'Donell <carlos@redhat.com>
25067 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
25070 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
25071 entry for aio_cancel and aio_cancel64.
25072 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
25073 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
25074 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
25075 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
25076 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
25077 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
25078 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
25079 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
25080 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
25081 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
25082 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
25083 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
25084 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
25086 2014-07-01 Roland McGrath <roland@hack.frob.com>
25088 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
25089 * nptl/pthread_mutex_lock.c: Likewise.
25090 * nptl/pthread_mutex_timedlock.c: Likewise.
25091 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
25093 2014-07-01 Richard henderson <rth@redhat.com>
25095 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
25096 (__isnan, __isnanl): Remove.
25097 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
25099 * sysdeps/alpha/fpu/libm-test-ulps: Update.
25101 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
25103 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
25105 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
25107 * resolv/nss_dns/dns-host.c (getanswer_r)
25108 [MULTI_PTRS_ARE_ALIASES]: Remove code.
25110 2014-07-01 Joseph Myers <joseph@codesourcery.com>
25112 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
25113 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
25115 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
25116 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
25118 2014-07-01 Roland McGrath <roland@hack.frob.com>
25120 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
25121 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
25123 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
25124 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
25126 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
25127 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
25129 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
25130 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
25132 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
25133 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
25134 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
25135 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
25137 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
25138 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
25139 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
25140 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
25141 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
25143 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
25145 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
25146 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
25147 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
25148 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
25149 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
25150 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
25151 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
25152 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
25153 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
25154 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
25155 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
25156 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
25157 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
25158 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
25159 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
25160 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
25161 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
25162 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
25163 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
25164 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
25166 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
25167 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
25168 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
25169 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
25170 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
25171 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
25172 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
25173 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
25175 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
25177 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
25178 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
25179 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
25182 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25184 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25186 2014-06-30 Joseph Myers <joseph@codesourcery.com>
25188 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
25189 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
25191 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
25193 * sysdeps/arm/libm-test-ulps: Regenerated.
25195 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
25196 Roland McGrath <roland@hack.frob.com>
25198 * test-skeleton.c (signal_handler): Kill the whole process group
25199 before killing the child individually.
25200 (main): Report any failure on `setpgid'.
25202 2014-06-30 Roland McGrath <roland@hack.frob.com>
25204 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
25205 from _TLS_H to _ARM_NPTL_TLS_H.
25206 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
25207 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
25209 2014-06-30 Joseph Myers <joseph@codesourcery.com>
25212 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
25213 (__expm1l): Return argument unchanged when small but not
25216 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
25217 include macro name.
25218 (_FP_UNPACK_RAW_1_P): Likewise.
25219 (_FP_PACK_RAW_1): Likewise.
25220 (_FP_PACK_RAW_1_P): Likewise.
25221 (_FP_MUL_MEAT_1_wide): Likewise.
25222 (_FP_MUL_MEAT_DW_1_hard): Likewise.
25223 (_FP_MUL_MEAT_1_hard): Likewise.
25224 (_FP_DIV_MEAT_1_imm): Likewise.
25225 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
25226 (_FP_DIV_MEAT_1_udiv): Likewise.
25227 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
25228 (_FP_UNPACK_RAW_2): Likewise.
25229 (_FP_UNPACK_RAW_2_P): Likewise.
25230 (_FP_PACK_RAW_2): Likewise.
25231 (_FP_PACK_RAW_2_P): Likewise.
25232 (_FP_MUL_MEAT_DW_2_wide): Likewise.
25233 (_FP_MUL_MEAT_2_wide): Likewise.
25234 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
25235 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
25236 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
25237 (_FP_MUL_MEAT_2_gmp): Likewise.
25238 (_FP_DIV_MEAT_2_udiv): Likewise.
25239 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
25240 (_FP_FRAC_SRL_4): Likewise.
25241 (_FP_FRAC_SRST_4): Likewise.
25242 (_FP_FRAC_SRS_4): Likewise.
25243 (_FP_UNPACK_RAW_4): Likewise.
25244 (_FP_UNPACK_RAW_4_P): Likewise.
25245 (_FP_PACK_RAW_4): Likewise.
25246 (_FP_PACK_RAW_4_P): Likewise.
25247 (_FP_MUL_MEAT_DW_4_wide): Likewise.
25248 (_FP_MUL_MEAT_4_wide): Likewise.
25249 (_FP_MUL_MEAT_4_gmp): Likewise.
25250 (umul_ppppmnnn): Likewise.
25251 (_FP_DIV_MEAT_4_udiv): Likewise.
25252 (__FP_FRAC_ADD_4): Likewise.
25253 (__FP_FRAC_SUB_3): Likewise.
25254 (__FP_FRAC_SUB_4): Likewise.
25255 (__FP_FRAC_DEC_3): Likewise.
25256 (__FP_FRAC_DEC_4): Likewise.
25257 (__FP_FRAC_ADDI_4): Likewise.
25258 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
25259 (_FP_FRAC_SRL_8): Likewise.
25260 (_FP_FRAC_SRS_8): Likewise.
25262 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
25263 include macro name.
25264 (FP_UNPACK_RAW_EP): Likewise.
25265 (FP_PACK_RAW_E): Likewise.
25266 (FP_PACK_RAW_EP): Likewise.
25267 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
25268 (_FP_ISSIGNAN): Likewise.
25269 (_FP_ADD_INTERNAL): Likewise.
25270 (_FP_FMA): Likewise.
25271 (_FP_CMP): Likewise.
25272 (_FP_SQRT): Likewise.
25273 (_FP_TO_INT): Likewise.
25274 (_FP_FROM_INT): Likewise.
25275 (FP_EXTEND): Likewise.
25276 (_FP_DIV_MEAT_N_loop): Likewise.
25278 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
25280 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
25283 2014-06-29 Joseph Myers <joseph@codesourcery.com>
25286 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
25287 result with correct sign in case of exponents that produce
25288 overflow except for X very close to 1.
25290 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
25292 mktime: merge #if/#ifdef usage from glibc
25293 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
25294 as that works with both Glibc's and Gnulib's style.
25295 See thread starting at Siddhesh Poyarekar's bug report at:
25296 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
25298 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25300 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
25301 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
25302 * sysdeps/tile/tilegx/memmove.c: Remove file.
25304 2014-06-27 Joseph Myers <joseph@codesourcery.com>
25306 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
25307 abi-name definition.
25308 * scripts/soversions.awk: Do not handle or generate ABI lines.
25309 * shlib-versions: Remove ABI entries.
25310 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
25311 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
25313 2014-06-27 Roland McGrath <roland@hack.frob.com>
25315 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
25316 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
25317 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
25318 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
25319 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
25320 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
25321 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
25323 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
25325 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
25326 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
25327 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
25328 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
25329 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
25330 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
25331 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
25332 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
25333 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
25334 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
25335 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
25336 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
25337 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
25339 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
25340 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
25341 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
25342 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
25343 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
25344 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
25346 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
25347 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
25349 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
25350 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
25351 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
25352 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
25354 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
25355 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
25356 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
25357 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
25358 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
25359 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
25360 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
25361 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
25363 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
25364 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
25365 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
25366 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
25368 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
25369 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
25371 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
25372 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
25373 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
25374 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
25376 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
25378 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
25379 Identical file removed.
25380 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
25382 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
25383 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
25384 Identical file removed.
25385 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
25386 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
25387 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
25389 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
25390 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
25391 Identical file removed.
25392 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
25393 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
25394 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
25395 Identical file removed.
25396 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
25397 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
25398 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
25399 Identical file removed.
25400 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
25401 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
25402 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
25403 Identical file removed.
25404 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
25406 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
25407 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
25408 Identical file removed.
25409 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
25411 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
25412 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
25413 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
25414 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
25415 Identical file removed.
25416 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
25418 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
25420 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
25421 Identical file removed.
25422 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
25424 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
25425 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
25426 Identical file removed.
25427 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
25429 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
25430 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
25431 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
25432 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
25433 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
25434 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
25436 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
25437 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
25438 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
25440 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
25441 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
25442 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
25443 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
25444 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
25446 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
25449 * nscd/nscd.c (monitor_child): Return exit status of child
25450 instead of return value from wait syscall.
25452 2014-06-27 Joseph Myers <joseph@codesourcery.com>
25454 * configure.ac (libc_commonpagesize): Remove variable.
25455 (libc_relro_required): Likewise.
25456 (libc_cv_z_relro): Remove configure test.
25457 * configure: Regenerated.
25458 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
25460 (libc_relro_required): Likewise.
25461 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
25462 (libc_relro_required): Likewise.
25463 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
25464 (libc_relro_required): Likewise.
25465 * sysdeps/arm/preconfigure: Regenerated.
25466 * sysdeps/ia64/preconfigure: Remove file.
25467 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
25469 (libc_relro_required): Likewise.
25473 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
25474 (__ieee754_yn): Set FE_TONEAREST mode internally and then
25475 recompute overflowing results in original rounding mode.
25476 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
25477 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
25478 recompute overflowing results in original rounding mode.
25479 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
25480 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
25481 recompute overflowing results in original rounding mode.
25482 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
25483 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
25484 recompute overflowing results in original rounding mode.
25485 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
25486 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
25487 recompute overflowing results in original rounding mode.
25488 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
25489 (libc_feholdsetround_ctx): New macro.
25490 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
25491 * sysdeps/i386/fpu/libm-test-ulps: Update.
25492 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
25494 2014-06-26 Joseph Myers <joseph@codesourcery.com>
25496 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
25497 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
25498 corresponding .cpsetup call.
25500 2014-06-26 Roland McGrath <roland@hack.frob.com>
25502 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
25503 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
25504 * sysdeps/arm/Makefile [$(subdir) = csu]
25505 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
25506 (static-only-routines): Add aeabi_read_tp here.
25507 (shared-only-routines): Add libc-aeabi_read_tp here.
25508 (CFLAGS-libc-start.c): Add -fexceptions here.
25509 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
25510 (sysdep_routines, static-only-routines, shared-only-routines):
25511 Don't add to these here.
25512 (CFLAGS-libc-start.c): Likewise.
25514 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
25515 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
25516 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
25517 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
25518 * sysdeps/arm/Makefile [$(subdir) = rt]
25519 (librt-sysdep_routines, librt-shared-only-routines):
25520 Append rt-aeabi_unwind_cpp_pr1 here.
25521 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
25522 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
25523 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
25524 (libpthread-sysdep_routines, libpthread-shared-only-routines):
25525 Append nptl-aeabi_unwind_cpp_pr1 here.
25526 (tests): Filter out tst-cleanupx4 here.
25527 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
25528 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
25529 Don't do those here.
25531 2014-06-26 Joseph Myers <joseph@codesourcery.com>
25533 * scripts/list-sources.sh: Do not handle ports specially.
25535 2014-06-26 Roland McGrath <roland@hack.frob.com>
25537 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
25538 * sysdeps/arm/feupdateenv.c: Likewise.
25540 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
25542 2014-06-26 Joseph Myers <joseph@codesourcery.com>
25544 * manual/texinfo.tex: Update to version 2014-05-05.10 with
25545 trailing whitespace removed.
25546 * scripts/config.guess: Update to version 2014-03-23.
25547 * scripts/config.sub: Update to version 2014-05-01
25548 * scripts/install-sh: Update to version 2013-12-25.23.
25549 * scripts/move-if-change: Update from gnulib.
25551 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
25553 * debug/memmove_chk.c: Remove pagecopy.h include.
25555 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
25557 * time/mktime.c (leapyear): Remove inline keyword. The code is now
25558 identical to gnulib mktime.
25560 2014-06-26 Joseph Myers <joseph@codesourcery.com>
25562 * configure.ac: Do not test for machine being rs6000. Do not test
25563 for powerpc*-*soft.
25564 * configure: Regenerated.
25567 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
25569 * configure: Regenerated.
25570 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
25571 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
25572 Remove configure test.
25573 * sysdeps/arm/configure: Regenerated.
25574 * sysdeps/nptl/configure.ac: Do not check
25575 libc_cv_asm_cfi_directives.
25576 * sysdeps/nptl/configure: Regenerated.
25577 * sysdeps/x86_64/nptl/configure.ac: Remove file.
25578 * sysdeps/x86_64/nptl/configure: Remove generated file.
25579 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
25581 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
25583 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
25585 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
25586 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
25587 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
25590 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
25591 instead of whether it is defined.
25592 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
25593 * sysdeps/hppa/dl-machine.h: Likewise.
25594 * sysdeps/ia64/dl-machine.h: Likewise.
25595 * sysdeps/m68k/dl-machine.h: Likewise.
25596 * sysdeps/microblaze/dl-machine.h: Likewise.
25597 * sysdeps/mips/dl-machine.: Likewise.
25598 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
25599 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
25600 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
25601 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
25602 * sysdeps/sh/dl-machine.h: Likewise.
25603 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
25604 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
25605 * sysdeps/tile/dl-machine.h: Likewise.
25606 * sysdeps/x86_64/dl-machine.h: Likewise.
25608 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
25610 (verify_persistent_db): Likewise.
25612 2014-06-26 Roland McGrath <roland@hack.frob.com>
25614 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
25615 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
25616 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
25617 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
25618 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
25620 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
25622 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
25623 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
25624 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
25625 Identical file removed.
25626 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
25627 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
25628 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
25629 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
25630 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
25631 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
25632 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
25633 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
25634 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
25635 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
25636 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
25638 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
25639 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
25640 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
25641 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
25642 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
25643 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
25645 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
25646 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
25647 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
25648 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
25649 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
25650 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
25651 Identical file removed.
25652 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
25653 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
25654 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
25655 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
25656 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
25658 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
25660 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
25661 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
25662 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
25663 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
25664 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
25665 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
25666 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
25667 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
25668 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
25669 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
25670 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
25672 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
25673 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
25675 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
25676 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
25677 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
25678 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
25680 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
25681 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
25682 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
25684 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
25686 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
25687 * sysdeps/unix/sysv/linux/s390/Versions
25688 (libpthread: GLIBC_2.19): New version set.
25689 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
25690 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
25691 (librt: GLIBC_2.3.3): New version set.
25692 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
25693 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
25694 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
25695 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
25696 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
25697 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
25698 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
25699 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
25700 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
25701 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
25702 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
25703 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
25704 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
25705 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
25706 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
25707 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
25708 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
25709 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
25710 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
25711 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
25712 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
25713 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
25714 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
25715 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
25716 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
25717 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
25718 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
25719 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
25720 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
25721 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
25722 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
25723 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
25724 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
25725 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
25726 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
25727 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
25728 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
25729 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
25730 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
25731 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
25732 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
25733 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
25734 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
25735 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
25736 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
25738 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
25739 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
25740 (__libc_vfork): Define the function under this name.
25741 [!NOT_IN_libc] (__vfork): Make this an alias.
25742 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
25743 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
25744 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
25745 (__libc_vfork): Define the function under this name.
25746 [!NOT_IN_libc] (__vfork): Make this an alias.
25747 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
25748 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
25749 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
25750 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
25751 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
25752 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
25754 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
25755 code that was previously under [RESET_PID].
25756 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
25757 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
25758 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
25760 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
25761 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
25762 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
25763 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
25764 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
25765 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
25766 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
25767 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
25768 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
25769 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
25770 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
25772 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
25773 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
25774 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
25775 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
25776 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
25777 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
25778 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
25779 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
25780 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
25781 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
25782 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
25783 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
25784 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
25785 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
25786 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
25787 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
25788 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
25789 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
25790 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
25791 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
25792 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
25793 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
25794 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
25795 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
25796 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
25797 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
25798 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
25799 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
25800 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
25802 2014-06-25 Roland McGrath <roland@hack.frob.com>
25804 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
25805 that was previously under [RESET_PID].
25806 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
25808 2014-06-25 Joseph Myers <joseph@codesourcery.com>
25810 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
25811 not undefine and redefine.
25812 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
25813 [O_CLOEXEC]: Make code unconditional.
25814 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
25815 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
25816 <kernel-features.h>.
25817 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
25818 conditional variable definition.
25819 (shm_open) [O_CLOEXEC]: Make code unconditional.
25820 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
25823 * configure.ac (USE_REGPARMS): Don't define here.
25824 * configure: Regenerated.
25825 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
25826 * sysdeps/i386/configure: Regenerated.
25828 * nptl/createthread.c: Don't include kernel-features.h.
25829 * nptl/pthread_cancel.c: Likewise.
25830 * nptl/pthread_condattr_setclock.c: Likewise.
25831 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
25832 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
25833 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
25834 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
25835 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
25836 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
25837 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
25838 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
25839 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
25840 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
25841 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
25842 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
25843 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
25844 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
25845 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
25846 * nscd/gai.c: Likewise.
25847 * nss/nss_db/db-open.c: Likewise.
25848 * sysdeps/generic/ldsodefs.h: Likewise.
25849 * sysdeps/sh/nptl/tls.h: Likewise.
25850 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
25851 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
25852 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
25853 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
25854 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
25855 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
25856 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
25857 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
25858 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
25859 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
25860 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
25861 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
25862 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
25863 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
25864 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
25865 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
25866 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
25867 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
25868 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
25869 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
25870 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
25871 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
25872 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
25873 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
25874 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
25875 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
25876 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
25877 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
25878 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
25879 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
25880 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
25881 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
25882 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
25883 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
25884 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
25885 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
25886 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
25887 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
25888 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
25889 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
25890 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
25891 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
25892 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
25893 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
25894 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
25895 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
25896 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
25897 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
25898 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
25899 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
25900 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
25901 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
25902 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
25903 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
25904 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
25905 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
25906 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
25907 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
25908 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
25909 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
25910 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
25911 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
25912 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
25913 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
25914 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
25915 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
25916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
25917 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
25918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
25919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
25920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
25921 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
25922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
25923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
25924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
25925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
25926 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
25927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
25928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
25929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
25930 * sysdeps/unix/sysv/linux/pread.c: Likewise.
25931 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
25932 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
25933 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
25934 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
25935 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
25936 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
25937 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
25938 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
25939 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
25940 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
25941 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
25942 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
25943 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
25944 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
25945 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
25946 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
25947 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
25948 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
25949 * sysdeps/unix/sysv/linux/system.c: Likewise.
25950 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
25951 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
25952 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
25953 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
25954 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
25955 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
25956 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
25958 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
25959 * configure: Regenerated.
25960 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
25962 * configure.ac (base_machine): Do not set specially for particular
25964 * configure: Regenerated.
25965 * sysdeps/powerpc/preconfigure: Move machine and base_machine
25966 settings from configure.ac.
25967 * sysdeps/i386/preconfigure: New file.
25968 * sysdeps/s390/preconfigure: Likewise.
25969 * sysdeps/sh/preconfigure: Likewise.
25970 * sysdeps/sparc/preconfigure: Likewise.
25972 2014-06-25 Roland McGrath <roland@hack.frob.com>
25974 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
25975 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
25976 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
25977 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
25978 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
25979 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
25980 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
25981 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
25982 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
25983 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
25984 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
25985 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
25986 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
25987 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
25988 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
25989 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
25990 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
25991 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
25992 * sysdeps/sparc/sparc64/Makefile: ... appended here.
25994 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
25995 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
25996 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
25997 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
25998 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
25999 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
26000 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
26001 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
26002 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
26003 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
26004 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
26005 * sysdeps/sparc/sparc32/sem_post.c: ... here.
26006 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
26007 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
26008 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
26009 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
26010 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
26011 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
26012 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
26013 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
26014 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
26015 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
26016 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
26017 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
26018 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
26019 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
26020 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
26021 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
26022 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
26023 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
26024 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
26025 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
26026 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
26027 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
26028 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
26029 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
26030 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
26031 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
26033 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
26034 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
26035 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
26036 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
26037 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
26039 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
26041 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
26042 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
26043 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
26044 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
26045 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
26047 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
26048 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
26049 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
26050 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
26051 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
26052 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
26053 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
26054 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
26056 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
26057 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
26059 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
26060 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
26061 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
26062 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
26064 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
26065 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
26066 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
26067 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
26068 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
26069 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
26070 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
26071 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
26072 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
26073 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
26075 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
26077 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
26078 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
26079 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
26080 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
26081 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
26083 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
26084 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
26085 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
26086 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
26087 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
26088 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
26089 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
26090 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
26092 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
26093 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
26095 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
26096 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
26097 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
26098 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
26100 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
26101 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
26102 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
26103 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
26104 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
26106 2014-06-25 Joseph Myers <joseph@codesourcery.com>
26108 * timezone/checktab.awk: Update from tzcode 2014e.
26109 * timezone/private.h: Likewise.
26110 * timezone/tzfile.h: Likewise.
26111 * timezone/zdump.c: Likewise.
26112 * timezone/zic.c: Likewise.
26114 * sysdeps/unix/sysv/linux/kernel-features.h
26115 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
26116 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
26117 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
26118 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
26119 Remove conditional code.
26121 2014-06-25 Will Newton <will.newton@linaro.org>
26123 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
26124 (_dl_arm_cap_flags): Add HWCAP2 values.
26125 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
26126 (_DL_HWCAP_COUNT): Increase to 37.
26127 (_DL_HWCAP_LAST): New define.
26128 (_DL_HWCAP2_LAST): New define.
26129 (_dl_procinfo): Add support for printing
26131 (_dl_string_hwcap): Use _dl_hwcap_string.
26133 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26135 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26137 2014-06-25 Joseph Myers <joseph@codesourcery.com>
26139 * README: Do not mention ports directory.
26141 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
26143 * sysdeps/unix/sysv/linux/futimes.c: Do not include
26144 <kernel-features.h>.
26145 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
26146 conditional variable definition.
26147 (__futimes): Update comment.
26148 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
26149 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
26152 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
26153 arguments close to 0.
26154 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
26156 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
26158 * math/auto-libm-test-in: Add more tests of exp10.
26159 * math/auto-libm-test-out: Regenerated.
26160 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26162 * sysdeps/unix/sysv/linux/kernel-features.h
26163 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
26164 * sysdeps/unix/sysv/linux/readv.c: Do not include
26165 <kernel-features.h>.
26166 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
26167 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
26168 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
26170 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
26172 * sysdeps/unix/sysv/linux/writev.c: Do not include
26173 <kernel-features.h>.
26174 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
26175 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
26176 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
26178 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
26181 2014-06-25 Will Newton <will.newton@linaro.org>
26183 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
26184 comment changes throughout the file. Remove checks
26185 for HAVE_*_H definitions that are not required.
26186 (__gen_tempname): Call abort if an unknown kind value is
26189 2014-06-25 Andreas Schwab <schwab@suse.de>
26192 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
26193 scalbln, scalblnf, scalblnl in libc.
26195 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
26198 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
26199 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
26200 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
26202 2014-06-24 Roland McGrath <roland@hack.frob.com>
26204 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
26205 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
26206 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
26207 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
26209 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
26210 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
26212 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
26213 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
26214 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
26215 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
26216 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
26217 * sysdeps/x86/bits/pthreadtypes.h: ... here.
26218 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
26219 * sysdeps/x86/bits/semaphore.h: ... here.
26220 * sysdeps/x86/nptl/elide.h: Moved ...
26221 * sysdeps/x86/elide.h: ... here.
26222 * sysdeps/x86_64/nptl/Implies: File removed.
26223 * sysdeps/i386/nptl/Implies: File removed.
26225 2014-06-24 Joseph Myers <joseph@codesourcery.com>
26228 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
26229 return the argument for normal arguments with exponent below -64.
26230 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
26232 * math/auto-libm-test-in: Add another test of expm1.
26233 * math/auto-libm-test-out: Regenerated.
26236 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
26237 calling __erfcl for arguments at least 16.
26238 * math/auto-libm-test-in: Add more tests of erf.
26239 * math/auto-libm-test-out: Regenerated.
26241 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
26242 individual architectures.
26243 * sysdeps/unix/sysv/linux/configure: Regenerated.
26244 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
26245 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
26246 * sysdeps/unix/sysv/linux/powerpc/configure.ac
26247 (ldd_rewrite_script): Define variable.
26248 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
26249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
26251 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
26253 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
26254 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
26255 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
26256 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
26257 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
26258 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
26259 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
26260 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
26262 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
26265 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
26266 Rename member __data.d to __data.__elision_data.
26268 2014-06-24 Wilco <wdijkstr@arm.com>
26270 * NEWS: Add 16918 to fixed bug list.
26272 2014-06-24 Wilco <wdijkstr@arm.com>
26274 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
26276 2014-06-24 Wilco <wdijkstr@arm.com>
26278 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
26279 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
26280 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
26281 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
26282 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
26283 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
26284 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
26287 2014-06-24 Wilco <wdijkstr@arm.com>
26289 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
26291 2014-06-24 Wilco <wdijkstr@arm.com>
26293 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
26294 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
26295 * sysdeps/arm/fesetround.c (fesetround): Remove space.
26296 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
26298 2014-06-24 Wilco <wdijkstr@arm.com>
26301 * sysdeps/arm/feupdateenv.c (feupdateenv):
26302 Rewrite to reduce FPSCR accesses and fix return value.
26304 2014-06-24 Wilco <wdijkstr@arm.com>
26306 * sysdeps/arm/fclrexcpt.c (feclearexcept):
26307 Optimize to avoid unnecessary FPSCR writes.
26308 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
26309 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
26310 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
26311 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
26313 2014-06-24 Wilco <wdijkstr@arm.com>
26315 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
26316 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
26317 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
26318 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
26319 Call libc_fetestexcept_vfp.
26320 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
26321 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
26322 __SOFTFP__ ifdef so that they can be built for softfp.
26324 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
26326 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
26327 argument type signed char.
26329 * Makerules (check-abi): Dump diff of symlist if the test
26332 2014-06-23 Roland McGrath <roland@hack.frob.com>
26334 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
26337 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
26338 Remove unused variable ST.
26340 2014-06-23 Joseph Myers <joseph@codesourcery.com>
26344 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
26345 small arguments before calling __expm1.
26346 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
26347 small arguments before calling __expm1f.
26348 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
26349 small arguments before calling __expm1l.
26350 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
26352 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
26353 * math/auto-libm-test-in: Add more cosh tests. Do not allow
26354 spurious underflow for some cosh tests.
26355 * math/auto-libm-test-out: Regenerated.
26356 * sysdeps/i386/fpu/libm-test-ulps: Update.
26359 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
26360 (__ieee754_y1): Set errno if return value overflows.
26361 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
26362 (__ieee754_y1f): Set errno if return value overflows.
26363 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
26364 (__ieee754_y1l): Set errno if return value overflows.
26365 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
26366 (__ieee754_y1l): Set errno if return value overflows.
26367 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
26368 * math/auto-libm-test-out: Regenerated.
26370 * math/gen-auto-libm-tests.c: Document use of
26371 ignore-zero-inf-sign.
26372 (input_flag_type): Add value flag_ignore_zero_inf_sign.
26373 (input_flags): Add ignore-zero-inf-sign.
26374 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
26375 * math/gen-libm-test.pl (generate_testfile): Handle
26376 ignore-zero-inf-sign.
26377 * math/auto-libm-test-in: Mark some cpow tests with
26378 ignore-zero-inf-sign and some with xfail-rounding.
26379 * math/auto-libm-test-out: Regenerated.
26380 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
26381 * sysdeps/i386/fpu/libm-test-ulps: Update.
26382 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26385 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
26386 overflowing or underflowing operations take place with sign of
26388 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
26389 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
26390 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
26391 (__ieee754_pow): Recompute overflowing and underflowing results in
26392 original rounding mode.
26393 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
26394 (__powl_helper): Allow negative argument X and scale negated value
26395 as needed. Avoid passing value outside [-1, 1] to f2xm1.
26396 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
26397 overflowing or underflowing operations take place with sign of
26399 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
26401 * math/auto-libm-test-in: Add more tests of pow.
26402 * math/auto-libm-test-out: Regenerated.
26403 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
26404 (pow_tonearest_test_data): Remove.
26405 (pow_test_tonearest): Likewise.
26406 (pow_towardzero_test_data): Likewise.
26407 (pow_test_towardzero): Likewise.
26408 (pow_downward_test_data): Likewise.
26409 (pow_test_downward): Likewise.
26410 (pow_upward_test_data): Likewise.
26411 (pow_test_upward): Likewise.
26412 (main): Don't call removed functions.
26413 * sysdeps/i386/fpu/libm-test-ulps: Update.
26414 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26416 2014-06-23 Roland McGrath <roland@hack.frob.com>
26418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
26420 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
26421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26423 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
26424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
26426 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
26427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
26429 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
26430 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
26432 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
26434 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
26436 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
26438 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
26440 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
26442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
26444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
26446 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
26448 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
26450 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
26452 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
26454 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
26456 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
26457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
26459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
26461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
26463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
26464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
26466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
26467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
26469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
26470 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
26472 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
26473 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
26475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
26476 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
26478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
26479 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
26481 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
26482 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
26483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
26485 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
26487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
26488 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
26490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
26492 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
26494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
26496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
26498 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
26500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
26502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
26503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
26505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
26506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
26507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
26508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
26510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
26512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
26514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
26516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
26518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
26519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
26521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
26522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
26524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
26525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
26528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
26530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
26532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
26534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
26535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
26537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
26538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
26540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
26541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
26543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
26544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
26545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
26546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
26548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
26549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
26551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
26552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
26554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
26556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
26558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
26560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
26562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
26564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
26566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
26567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
26569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
26570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
26572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
26573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
26575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
26577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
26579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
26581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
26583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
26585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
26587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
26588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
26590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
26592 2014-06-23 Will Newton <will.newton@linaro.org>
26593 Wilco <wdijkstr@arm.com>
26595 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
26596 implementation. Include get-rounding-mode.h.
26597 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
26598 [!libc_feholdsetround_noex_ctx]: Define
26599 libc_feholdsetround_noex_ctx.
26600 [!libc_feholdsetround_noexf_ctx]: Define
26601 libc_feholdsetround_noexf_ctx.
26602 [!libc_feholdsetround_noexl_ctx]: Define
26603 libc_feholdsetround_noexl_ctx.
26604 (libc_feholdsetround_ctx): New function.
26605 (libc_feresetround_ctx): New function.
26606 (libc_feholdsetround_noex_ctx): New function.
26607 (libc_feresetround_noex_ctx): New function.
26609 2014-06-23 Roland McGrath <roland@hack.frob.com>
26611 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
26612 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
26613 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
26614 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
26615 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
26616 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
26618 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
26619 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
26620 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
26621 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
26622 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
26623 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
26624 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
26625 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
26626 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
26627 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
26628 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
26630 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
26632 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
26633 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
26634 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
26635 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
26636 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
26638 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
26639 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
26640 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
26641 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
26642 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
26643 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
26644 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
26645 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
26647 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
26648 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
26650 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
26651 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
26652 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
26653 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
26655 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
26656 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
26657 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
26658 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
26659 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
26660 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
26661 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
26662 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
26663 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
26664 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
26666 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
26668 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
26669 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
26670 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
26671 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
26672 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
26673 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
26674 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
26675 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
26676 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
26677 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
26678 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
26679 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
26680 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
26682 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
26683 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
26684 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
26685 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
26686 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
26687 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
26689 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
26690 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
26691 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
26692 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
26693 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
26695 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
26696 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
26697 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
26698 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
26699 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
26700 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
26701 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
26702 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
26703 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
26704 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
26705 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
26706 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
26707 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
26708 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
26709 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
26710 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
26711 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
26712 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
26713 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
26714 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
26715 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
26716 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
26717 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
26718 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
26719 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
26720 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
26721 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
26722 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
26724 2014-06-23 Joseph Myers <joseph@codesourcery.com>
26726 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
26727 (FALLOC_FL_COLLAPSE_RANGE): New macro.
26728 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
26729 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
26730 (IPV6_PMTUDISC_INTERFACE): Likewise.
26731 (IPV6_PMTUDISC_OMIT): Likewise.
26733 2014-06-23 Andreas Schwab <schwab@suse.de>
26735 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
26736 Remove unused errout label.
26738 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26740 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
26741 macro: hardware supports Vector Crypto instructions.
26743 2014-06-23 Will Newton <will.newton@linaro.org>
26745 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
26746 rather than __builtin_expect.
26748 * elf/dl-lookup.c (undefined_msg): Remove variable.
26749 (_dl_lookup_symbol_x): Replace undefined_msg with string
26752 * elf/dl-lookup.c (do_lookup_unique): New function.
26753 (do_lookup_x): Move STB_GNU_UNIQUE handling code
26754 to a separate function.
26756 2014-06-23 Andreas Schwab <schwab@suse.de>
26759 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
26760 before reading the next line.
26762 2014-06-23 Will Newton <will.newton@linaro.org>
26764 * test-skeleton.c (signal_handler): Use printf and %m
26765 rather than perror. Use printf rather than fprintf to
26766 stderr. Use puts rather than fputs to stderr.
26769 2014-06-22 Ludovic Courtès <ludo@gnu.org>
26771 * nscd/nscd.c (thread_info_t): Remove typedef.
26772 (thread_info): Remove variable.
26774 2014-06-21 Allan McRae <allan@archlinux.org>
26776 * NEWS: Mention CVE-2014-4043.
26778 2014-06-20 Roland McGrath <roland@hack.frob.com>
26780 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
26781 * nptl/smp.h: ... here.
26783 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
26785 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
26786 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
26787 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
26788 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
26790 * nptl/allocatestack.c: Include <stack-aliasing.h>.
26791 * nptl/stack-aliasing.h: New file.
26792 * sysdeps/i386/i686/stack-aliasing.h: New file.
26793 * sysdeps/i386/i686/nptl/Makefile: File removed.
26794 * sysdeps/x86_64/stack-aliasing.h: New file.
26795 * sysdeps/x86_64/nptl/Makefile
26796 (CFLAGS-pthread_create.c): Variable removed.
26798 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
26799 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
26801 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
26802 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
26805 2014-06-21 Joseph Myers <joseph@codesourcery.com>
26807 * sysdeps/unix/sysv/linux/arm/kernel-features.h
26808 (__ASSUME_SIGFRAME_V2): Remove macro.
26809 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
26810 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
26811 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
26812 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
26813 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
26814 Declare as function. Remove conditional macro definitions.
26815 (__default_rt_sa_restorer): Likewise.
26816 (__default_sa_restorer_v1): Remove declaration.
26817 (__default_sa_restorer_v2): Likewise.
26818 (__default_rt_sa_restorer_v1): Likewise.
26819 (__default_rt_sa_restorer_v2): Likewise.
26820 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
26821 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
26822 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
26824 2014-06-20 Roland McGrath <roland@hack.frob.com>
26826 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
26827 (libpthread-routines): Add sysdep.
26828 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
26829 * sysdeps/unix/sysv/linux/sparc/Versions
26830 (libpthread: GLIBC_2.3.3): New version set.
26831 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
26832 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
26833 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
26834 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
26835 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
26836 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
26838 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
26839 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
26840 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
26841 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
26842 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
26843 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
26844 * sysdeps/sparc/nptl/sem_init.c: ... here.
26845 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
26846 * sysdeps/sparc/nptl/sem_post.c: ... here.
26847 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
26848 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
26849 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
26850 * sysdeps/sparc/nptl/sem_wait.c: ... here.
26851 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
26852 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
26853 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
26854 (libpthread-routines): Add cpu_relax.
26855 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
26857 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
26858 (librt: GLIBC_2.3.3): New version set.
26859 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
26860 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
26861 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
26862 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
26863 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
26864 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
26865 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
26866 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
26868 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
26869 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
26870 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
26871 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
26872 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
26873 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
26874 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
26875 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
26876 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
26877 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
26879 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
26881 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
26883 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
26885 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
26887 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
26889 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
26891 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
26893 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
26895 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
26897 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
26899 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
26901 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
26902 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
26903 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
26904 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
26905 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
26906 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
26907 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
26908 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
26909 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
26910 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
26911 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
26913 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
26914 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
26915 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
26916 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
26917 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
26919 2014-06-20 Joseph Myers <joseph@codesourcery.com>
26921 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
26922 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
26923 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
26924 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
26925 * nscd/nscd.c: Likewise.
26926 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
26927 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
26928 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
26929 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
26931 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
26932 <kernel-features.h>.
26933 (init_mq_netlink): Remove conditional have_sock_cloexec
26934 definitions. Remove code conditional on have_sock_cloexec < 0.
26935 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
26936 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
26937 * sysdeps/unix/sysv/linux/opensock.c: Do not include
26938 <kernel-features.h>.
26939 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
26940 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
26942 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
26944 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
26945 Add tests for memset_chk and memset.
26947 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
26950 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
26953 * elf/tst-dl-iter-static.c: New file.
26954 * elf/Makefile (tests-static): Add tst-dl-iter-static.
26956 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
26959 2014-06-20 Joseph Myers <joseph@codesourcery.com>
26961 * sysdeps/unix/sysv/linux/kernel-features.h
26962 (__ASSUME_F_GETOWN_EX): Remove macro.
26963 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
26964 <kernel-features.h>.
26965 (miss_F_GETOWN_EX): Remove variable or macro.
26966 (do_fcntl): Do not check miss_F_GETOWN_EX.
26967 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
26969 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
26971 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
26972 [!__ASSUME_AT_RANDOM]: Remove conditional code.
26973 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
26975 * sysdeps/unix/sysv/linux/kernel-features.h
26976 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
26977 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
26978 [ADJ_OFFSET_SS_READ]: Make code unconditional.
26979 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
26981 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
26984 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
26985 Fix calculation of the symbol's value.
26986 * sysdeps/arm/tst-armtlsdescloc.c: New file.
26987 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
26988 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
26989 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
26990 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
26991 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
26992 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
26993 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
26994 (modules-names): Add `tst-armtlsdescmod',
26995 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
26996 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
26997 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
26998 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
26999 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
27000 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
27001 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
27002 ($(objpfx)tst-armtlsdescloc): New dependency.
27003 ($(objpfx)tst-armtlsdescextnow): Likewise.
27004 ($(objpfx)tst-armtlsdescextlazy): Likewise.
27005 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
27006 TLS scheme support.
27007 * sysdeps/arm/configure: Regenerate.
27009 2014-06-20 Joseph Myers <joseph@codesourcery.com>
27011 * include/fcntl.h (__atfct_seterrno): Remove prototype.
27012 (__atfct_seterrno_2): Likewise.
27013 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
27014 <kernel-features.h>.
27015 (__ASSUME_ATFCTS): Do not undefine and redefine.
27016 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
27017 (__have_atfcts): Remove conditional definition.
27018 (__fxstatat([__NR_fstatat64]: Make code unconditional.
27019 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
27020 unreachable if [__ASSUME_ATFCTS].
27021 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
27022 not undefine and redefine.
27023 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
27024 <kernel-features.h>.
27025 (faccessat) [__NR_faccessat]: Make code unconditional.
27026 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
27027 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
27028 <kernel-features.h>.
27029 (fchmodat) [__NR_fchmodat]: Make code unconditional.
27030 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
27031 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
27032 <kernel-features.h>.
27033 (fchownat) [__NR_fchownat]: Make code unconditional.
27034 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
27035 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
27036 <kernel-features.h>.
27037 (futimesat) [__NR_futimesat]: Make code unconditional.
27038 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
27039 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
27040 <kernel-features.h>.
27041 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
27042 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
27043 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
27044 <kernel-features.h>.
27045 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
27046 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
27047 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
27048 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
27049 <kernel-features.h>.
27050 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
27051 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
27052 * sysdeps/unix/sysv/linux/linkat.c: Do not include
27053 <kernel-features.h>.
27054 (linkat) [__NR_linkat]: Make code unconditional.
27055 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
27056 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
27057 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
27058 <kernel-features.h>.
27059 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
27060 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
27061 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
27062 <kernel-features.h>.
27063 (mkdirat) [__NR_mkdirat]: Make code unconditional.
27064 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
27065 * sysdeps/unix/sysv/linux/openat.c: Do not include
27066 <kernel-features.h>.
27067 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
27068 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
27069 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
27070 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
27071 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
27072 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
27073 <kernel-features.h>.
27074 (readlinkat) [__NR_readlinkat]: Make code unconditional.
27075 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
27076 result of INLINE_SYSCALL directly, not via int variable.
27077 * sysdeps/unix/sysv/linux/renameat.c: Do not include
27078 <kernel-features.h>.
27079 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
27080 (renameat) [__NR_renameat]: Make code unconditional.
27081 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
27082 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
27083 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
27084 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
27085 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
27086 (__ASSUME_ATFCTS): Do not undefine and redefine.
27087 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
27088 <kernel-features.h>.
27089 (symlinkat) [__NR_symlinkat]: Make code unconditional.
27090 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
27091 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
27092 <kernel-features.h>.
27093 (unlinkat) [__NR_unlinkat]: Make code unconditional.
27094 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
27095 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
27096 (__ASSUME_ATFCTS): Do not undefine and redefine.
27097 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
27098 <kernel-features.h>.
27099 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
27100 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
27101 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
27102 <kernel-features.h>.
27103 (__xmknodat) [__NR_mknodat]: Make code unconditional.
27104 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
27106 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
27108 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
27110 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
27113 * posix/regcomp.c (parse_reg_exp): Deallocate partially
27114 constructed tree before returning error.
27115 * posix/bug-regexp36.c: Expand test case.
27117 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
27120 * math/libm-test.inc (scalbln_test_date):
27121 Add errno expectations.
27122 * math/w_scalblnf.c: New File.
27123 Add wrapper which checks for setting errno to ERANGE.
27124 Add weak_alias for corresponding scalbln function.
27125 * math/w_scalbln.c: Likewise.
27126 * math/w_scalblnl.c: Likewise.
27127 * math/Makefile (libm-calls): Add w_scalbln.
27128 * sysdeps/ieee754/flt-32/s_scalblnf.c:
27129 Remove weak_alias for corresponding scalbln function.
27130 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
27131 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
27132 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
27133 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
27134 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
27135 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
27136 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
27137 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
27138 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
27139 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
27140 Remove long_double_symbol for scalblnl function in libm, libc.
27141 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
27142 Add wrapper which checks for setting errno to ERANGE.
27143 Add long_double_symbol for scalblnl function in libm, libc.
27144 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
27145 Remove long_double_symbol for scalblnl in libm.
27146 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
27147 Add wrapper which checks for setting errno to ERANGE.
27148 Add long_double_symbol for scalblnl function in libm.
27149 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
27150 Do not use wrapper because of own implementation.
27152 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
27154 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
27155 3 bytes for __pad1 for x32.
27156 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
27158 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
27159 H.J. Lu <hongjiu.lu@intel.com>
27161 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
27162 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
27163 * sysdeps/x86_64/multiarch/memset.S: Likewise.
27164 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
27165 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
27167 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
27170 * posix/regcomp.c (parse_expression): Deallocate partially
27171 constructed tree before returning error.
27172 * posix/Makefile.c (tests): Add bug-regex36.
27173 (generated): Add bug-regex36.mtrace.
27174 (tests-special): Add $(objpfx)bug-regex36-mem.out
27175 (bug-regex36-ENV): New variable.
27176 ($(objpfx)bug-regex36-mem.out): New rule.
27177 * posix/bug-regex36.c: New file.
27179 2014-06-19 Will Newton <will.newton@linaro.org>
27181 * malloc/malloc.c (systrim): If extra is zero then return
27184 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
27186 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
27188 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
27190 * sysdeps/aarch64/strchr.S: New file.
27192 2014-06-18 Joseph Myers <joseph@codesourcery.com>
27195 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
27196 from arguments -2 or below.
27197 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
27198 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
27200 2014-06-18 Andreas Schwab <schwab@suse.de>
27203 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
27204 of a bracket expr not to run off the end of the string.
27205 * posix/Makefile (tests): Add tst-fnmatch3.
27206 * posix/tst-fnmatch3.c: New file.
27208 2014-06-18 Joseph Myers <joseph@codesourcery.com>
27210 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
27211 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
27212 [$(cross-compiling) = no]: Likewise.
27213 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
27214 [$(cross-compiling) = no]: Likewise.
27216 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27219 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
27220 double, adjusted for any remainder from the high double.
27221 * math/libm-test.inc (nearbyint): Add tests.
27224 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27226 * nptl/sysdeps/powerpc/Makefile: Moved ...
27227 * sysdeps/powerpc/nptl/Makefile: ... here.
27228 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
27229 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
27230 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
27231 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
27232 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
27233 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
27234 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
27235 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
27236 * nptl/sysdeps/powerpc/tls.h: Moved ...
27237 * sysdeps/powerpc/nptl/tls.h: ... here.
27239 2014-06-16 Joseph Myers <joseph@codesourcery.com>
27242 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
27243 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
27244 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
27245 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
27246 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
27247 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
27248 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
27249 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
27250 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
27252 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
27254 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
27256 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
27258 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
27261 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
27264 2014-06-16 Florian Weimer <fweimer@redhat.com>
27267 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
27268 non-executed part of the test.
27270 2014-06-16 Andreas Schwab <schwab@suse.de>
27272 * string/bits/string2.h (strdup, strndup): Update feature guard.
27274 2014-06-14 David S. Miller <davem@davemloft.net>
27276 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27278 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
27280 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
27281 that was previously under [RESET_PID].
27282 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
27284 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
27285 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
27286 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
27287 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
27288 (__libc_vfork): New strong alias.
27289 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
27291 2014-06-14 Andi Kleen <ak@linux.intel.com>
27293 * sysdeps/generic/elide.h: New file.
27295 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
27297 * Makefile (installed-headers): Adjust path of pthread.h header.
27299 2014-06-13 Roland McGrath <roland@hack.frob.com>
27301 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
27302 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
27303 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
27304 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
27306 * nptl/sysdeps/s390/Makefile: Moved ...
27307 * sysdeps/s390/nptl/Makefile: ... here.
27308 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
27309 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
27310 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
27311 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
27312 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
27313 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
27314 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
27315 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
27316 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
27317 * sysdeps/s390/nptl/pthreaddef.h: ... here.
27318 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
27319 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
27320 * nptl/sysdeps/s390/tls.h: Moved ...
27321 * sysdeps/s390/nptl/tls.h: ... here.
27323 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
27324 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
27326 2014-06-13 David S. Miller <davem@davemloft.net>
27328 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
27329 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
27330 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
27331 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
27332 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
27333 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
27334 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
27335 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
27336 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
27337 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
27338 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
27339 Remove RESET_PID cpp guards.
27340 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
27341 Remove RESET_PID cpp guards.
27342 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
27344 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
27346 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
27349 2014-06-13 Andi Kleen <ak@linux.intel.com>
27351 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
27352 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
27353 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
27354 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
27355 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
27356 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
27357 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
27358 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
27359 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
27360 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
27361 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
27362 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
27363 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
27364 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
27365 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
27366 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
27367 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
27368 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
27369 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
27370 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
27372 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
27373 (pthread_rwlock_rdlock): Add elision.
27374 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
27375 (pthread_rwlock_wrlock): Add elision.
27376 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
27377 (pthread_rwlock_trywrlock): Add elision.
27378 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
27379 (pthread_rwlock_tryrdlock): Add elision.
27380 * nptl/pthread_rwlock_unlock.c: Include elide.h.
27381 (pthread_rwlock_tryrdlock): Add elision unlock.
27382 * nptl/sysdeps/pthread/pthread.h:
27383 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
27384 (PTHREAD_RWLOCK_INITIALIZER,
27385 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
27386 Handle new elision field.
27387 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
27388 * sysdeps/arm/nptl/bits/pthreadtypes.h
27389 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27390 * sysdeps/sh/nptl/bits/pthreadtypes.h
27391 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27392 * sysdeps/tile/nptl/bits/pthreadtypes.h
27393 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27394 * sysdeps/a/nptl/bits/pthreadtypes.h
27395 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27396 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
27397 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27398 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
27399 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27400 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
27401 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27402 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
27403 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27404 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
27405 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27406 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
27407 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27408 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
27409 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27410 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
27411 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27412 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
27413 (elision_init): Set try_xbegin to zero when no RTM.
27414 * sysdeps/x86/nptl/bits/pthreadtypes.h
27415 (pthread_rwlock_t): Change __pad1 to __rwelision.
27416 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27418 2014-06-13 Andi Kleen <ak@linux.intel.com>
27420 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
27421 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
27422 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
27423 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
27425 2014-06-13 Meador Inge <meadori@codesourcery.com>
27428 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
27429 that the cached result has been set before returning it.
27431 2014-06-12 Roland McGrath <roland@hack.frob.com>
27433 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
27434 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
27435 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
27436 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
27437 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
27438 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
27440 * nptl/sysdeps/sparc/Makefile: Moved ...
27441 * sysdeps/sparc/nptl/Makefile: ... here.
27442 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
27443 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
27444 * nptl/sysdeps/sparc/tls.h: Moved ...
27445 * sysdeps/sparc/nptl/tls.h: ... here.
27446 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
27447 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
27448 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
27449 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
27450 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
27451 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
27452 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
27453 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
27454 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
27455 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
27456 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
27457 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
27458 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
27459 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
27460 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
27461 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
27462 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
27463 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
27465 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
27466 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
27468 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
27469 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
27471 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
27472 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
27475 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
27477 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
27478 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
27480 * sysdeps/pthread/posix-timer.h: Include <list.h>.
27481 (struct list_links): Type removed.
27482 (struct thread_node, struct timer_node): Replace struct list_links
27483 with struct list_head.
27484 (list_unlink_ip): Likewise.
27485 * sysdeps/pthread/timer_routines.c
27486 (timer_free_list, thread_free_list, thread_active_list): Likewise.
27487 (list_append, list_insbefore): Likewise.
27488 (list_init): Function removed.
27489 (thread_init, init_module): Use INIT_LIST_HEAD instead.
27490 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
27491 * sysdeps/pthread/Makefile: ... here, new file.
27493 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
27494 * sysdeps/nptl/Implies: ... here.
27495 * sysdeps/unix/sysv/linux/Implies: Add nptl.
27496 * nptl/sysdeps/pthread/list.h: Moved ...
27497 * include/list.h: ... here.
27498 * nptl/sysdeps/pthread/createthread.c: Moved ...
27499 * nptl/createthread.c: ... here.
27500 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
27501 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
27502 * nptl/pt-longjmp.c: ... here.
27503 * nptl/sysdeps/pthread/Makefile: Moved ...
27504 * sysdeps/nptl/Makefile: ... here.
27505 * nptl/sysdeps/pthread/Subdirs: Moved ...
27506 * sysdeps/nptl/Subdirs: ... here.
27507 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
27508 * sysdeps/nptl/aio_misc.h: ... here.
27509 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
27510 * sysdeps/nptl/bits/libc-lock.h: ... here.
27511 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
27512 * sysdeps/nptl/bits/libc-lockP.h: ... here.
27513 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
27514 * sysdeps/nptl/bits/stdio-lock.h: ... here.
27515 * nptl/sysdeps/pthread/configure: Moved ...
27516 * sysdeps/nptl/configure: ... here.
27517 * nptl/sysdeps/pthread/configure.ac: Moved ...
27518 * sysdeps/nptl/configure.ac: ... here.
27519 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
27520 * sysdeps/nptl/gai_misc.h: ... here.
27521 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
27522 * sysdeps/nptl/librt-cancellation.c: ... here.
27523 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
27524 * sysdeps/nptl/malloc-machine.h: ... here.
27525 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
27526 * sysdeps/nptl/pthread-functions.h: ... here.
27527 * nptl/sysdeps/pthread/pthread.h: Moved ...
27528 * sysdeps/nptl/pthread.h: ... here.
27529 * nptl/sysdeps/pthread/setxid.h: Moved ...
27530 * sysdeps/nptl/setxid.h: ... here.
27531 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
27532 * sysdeps/nptl/sigfillset.c: ... here.
27533 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
27534 * sysdeps/nptl/tcb-offsets.h: ... here.
27535 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
27536 * sysdeps/nptl/tst-mqueue8x.c: ... here.
27537 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
27538 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
27539 * nptl/sysdeps/pthread/allocalim.h: Moved ...
27540 * sysdeps/pthread/allocalim.h: ... here.
27541 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
27542 * sysdeps/pthread/bits/sigthread.h: ... here.
27543 * nptl/sysdeps/pthread/flockfile.c: Moved ...
27544 * sysdeps/pthread/flockfile.c: ... here.
27545 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
27546 * sysdeps/pthread/ftrylockfile.c: ... here.
27547 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
27548 * sysdeps/pthread/funlockfile.c: ... here.
27549 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
27550 * sysdeps/pthread/posix-timer.h: ... here.
27551 * nptl/sysdeps/pthread/timer_create.c: Moved ...
27552 * sysdeps/pthread/timer_create.c: ... here.
27553 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
27554 * sysdeps/pthread/timer_delete.c: ... here.
27555 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
27556 * sysdeps/pthread/timer_getoverr.c: ... here.
27557 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
27558 * sysdeps/pthread/timer_gettime.c: ... here.
27559 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
27560 * sysdeps/pthread/timer_routines.c: ... here.
27561 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
27562 * sysdeps/pthread/timer_settime.c: ... here.
27563 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
27564 * sysdeps/pthread/tst-timer.c: ... here.
27565 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
27566 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
27568 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
27569 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
27571 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
27572 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
27573 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
27574 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
27575 Update #include target.
27576 * nptl/sysdeps/i386/i686/Makefile: Moved ...
27577 * sysdeps/i386/i686/nptl/Makefile: ... here.
27578 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
27579 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
27580 Update #include target.
27581 * nptl/sysdeps/i386/i686/tls.h: Moved ...
27582 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
27583 * nptl/sysdeps/i386/Makefile: Moved ...
27584 * sysdeps/i386/nptl/Makefile: ... here.
27585 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
27586 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
27587 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
27588 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
27589 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
27590 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
27591 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
27592 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
27593 * sysdeps/i386/nptl/pthreaddef.h: ... here.
27594 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
27595 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
27596 * nptl/sysdeps/i386/tls.h: Moved ...
27597 * sysdeps/i386/nptl/tls.h: ... here.
27599 * sysdeps/sh/Makefile [$(subdir) = csu]
27600 (gen-as-const-headers): Add tcb-offsets.sym.
27601 * nptl/sysdeps/sh/Makefile: File removed.
27602 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
27603 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
27604 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
27605 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
27606 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
27607 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
27608 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
27609 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
27610 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
27611 * sysdeps/sh/nptl/pthreaddef.h: ... here.
27612 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
27613 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
27614 * nptl/sysdeps/sh/tls.h: Moved ...
27615 * sysdeps/sh/nptl/tls.h: ... here.
27616 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
27617 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
27618 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
27619 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
27620 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
27621 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
27622 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
27623 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
27624 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
27625 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
27626 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
27627 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
27628 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
27629 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
27630 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
27631 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
27632 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
27633 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
27634 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
27635 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
27636 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
27637 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
27638 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
27639 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
27640 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
27642 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
27643 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
27645 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
27646 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
27647 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
27648 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
27649 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
27650 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
27651 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
27652 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
27653 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
27654 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
27655 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
27656 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
27657 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
27658 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
27659 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
27660 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
27661 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
27662 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
27663 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
27665 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
27667 * posix/spawn_faction_addopen.c: Include string.h.
27669 2014-06-11 Roland McGrath <roland@hack.frob.com>
27671 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
27672 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
27673 * nptl/sysdeps/x86_64/Makefile: Moved ...
27674 * sysdeps/x86_64/nptl/Makefile: ... here.
27675 * nptl/sysdeps/x86_64/configure: Moved ...
27676 * sysdeps/x86_64/nptl/configure: ... here.
27677 * nptl/sysdeps/x86_64/configure.ac: Moved ...
27678 * sysdeps/x86_64/nptl/configure.ac: ... here.
27679 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
27680 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
27681 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
27682 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
27683 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
27684 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
27685 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
27686 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
27687 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
27688 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
27689 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
27690 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
27691 * nptl/sysdeps/x86_64/tls.h: Moved ...
27692 * sysdeps/x86_64/nptl/tls.h: ... here.
27693 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
27694 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
27695 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
27696 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
27698 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
27700 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27702 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27704 2014-06-11 Joseph Myers <joseph@codesourcery.com>
27706 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
27708 [POSIX] (off_t): Likewise.
27709 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
27710 [POSIX] (S_ISBLK): Require macro.
27711 [POSIX] (S_ISCHR): Likewise.
27712 [POSIX] (S_ISDIR): Likewise.
27713 [POSIX] (S_ISFIFO): Likewise.
27714 [POSIX] (S_ISREG): Likewise.
27715 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
27717 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
27719 [POSIX] (time_t): Likewise.
27720 [POSIX] (timer_t): Likewise.
27722 2014-06-11 Florian Weimer <fweimer@redhat.com>
27725 * posix/spawn_int.h (struct __spawn_action): Make the path string
27726 non-const to support deallocation.
27727 * posix/spawn_faction_addopen.c
27728 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
27729 * posix/spawn_faction_destroy.c
27730 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
27731 path in all spawn_do_open actions.
27732 * posix/tst-spawn.c (do_test): Exercise the copy operation in
27733 posix_spawn_file_actions_addopen.
27735 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
27737 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
27738 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
27739 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
27740 conditional code always true.
27741 (__libc_vfork): New alias.
27743 2014-06-11 Roland McGrath <roland@hack.frob.com>
27745 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
27746 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
27748 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
27750 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
27751 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
27753 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
27754 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
27756 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
27757 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
27759 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
27761 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
27762 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
27763 multiarch strcmp for PPC64.
27764 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
27765 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
27766 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
27767 multiarch optimizations.
27768 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
27769 (__libc_ifunc_impl_list): Likewise.
27771 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
27773 * benchtests/scripts/validate_benchout.py: New script.
27774 * benchtests/Makefile (bench-func): Call it.
27775 * benchtests/scripts/benchout.schema.json: New file.
27777 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
27779 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
27780 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
27781 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
27782 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
27783 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
27784 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
27785 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
27786 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
27787 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
27788 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
27789 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
27790 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
27791 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
27792 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
27793 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
27794 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
27795 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
27797 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
27799 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
27801 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
27802 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
27804 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
27806 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
27808 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
27810 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
27812 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
27813 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
27815 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
27817 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
27819 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
27821 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
27823 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
27824 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
27826 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
27828 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
27830 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
27832 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
27834 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
27836 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
27838 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
27839 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
27841 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
27843 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
27845 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
27847 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
27849 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
27851 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
27853 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
27854 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
27856 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
27858 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
27860 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
27862 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
27864 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
27865 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
27867 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
27869 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
27871 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
27872 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
27874 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
27875 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
27877 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
27879 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
27881 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
27883 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
27885 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
27887 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
27889 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
27890 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
27892 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
27894 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
27896 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
27898 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
27899 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
27900 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
27901 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
27902 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
27904 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
27906 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
27907 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
27908 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
27909 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
27910 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
27911 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
27912 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
27913 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
27914 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
27915 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
27916 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
27917 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
27918 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
27920 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
27921 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
27923 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
27924 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
27925 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
27926 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
27928 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
27929 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
27930 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
27931 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
27932 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
27933 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
27934 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
27936 2014-06-10 Wilco <wdijkstr@arm.com>
27938 * math/test-fenv-return.c: New file.
27939 * math/Makefile: Add new test test-fenv-return.
27941 2014-06-10 Joseph Myers <joseph@codesourcery.com>
27944 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
27945 when x - 1 is zero.
27946 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
27947 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
27948 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
27949 0.0L for an argument of 1.0L.
27950 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
27952 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
27953 value when x - 1 is zero.
27954 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
27955 * sysdeps/i386/fpu/libm-test-ulps: Update.
27956 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27958 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
27961 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
27963 2014-06-09 Roland McGrath <roland@hack.frob.com>
27965 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
27966 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
27968 2014-06-09 Roland McGrath <roland@hack.frob.com>
27970 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
27971 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
27973 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
27974 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
27976 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
27977 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
27979 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
27980 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
27982 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
27983 if not already defined.
27984 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
27985 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
27986 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
27987 (TLS_INIT_TP): Use it.
27988 (TLS_DEFINE_INIT_TP): New macro.
27989 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
27991 2014-06-09 Joseph Myers <joseph@codesourcery.com>
27993 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
27995 [POSIX] (IXANY): Likewise.
27996 [POSIX] (OLCUC): Likewise.
27997 [POSIX || POSIX2008] (CBAUD): Do not allow.
27998 [POSIX || POSIX2008] (DEFECHO): Likewise.
27999 [POSIX || POSIX2008] (ECHOCTL): Likewise.
28000 [POSIX || POSIX2008] (ECHOKE): Likewise.
28001 [POSIX || POSIX2008] (ECHOPRT): Likewise.
28002 [POSIX || POSIX2008] (EXTA): Likewise.
28003 [POSIX || POSIX2008] (EXTB): Likewise.
28004 [POSIX || POSIX2008] (FLUSHO): Likewise.
28005 [POSIX || POSIX2008] (LOBLK): Likewise.
28006 [POSIX || POSIX2008] (PENDIN): Likewise.
28007 [POSIX || POSIX2008] (SWTCH): Likewise.
28008 [POSIX || POSIX2008] (VDISCARD): Likewise.
28009 [POSIX || POSIX2008] (VDSUSP): Likewise.
28010 [POSIX || POSIX2008] (VLNEXT): Likewise.
28011 [POSIX || POSIX2008] (VREPRINT): Likewise.
28012 [POSIX || POSIX2008] (VSTATUS): Likewise.
28013 [POSIX || POSIX2008] (VWERASE): Likewise.
28014 (B*): Change to B[0123456789]*.
28015 * conform/data/time.h-data [POSIX || UNIX98]
28016 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
28017 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
28018 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
28019 [POSIX] (tm_*): Do not allow.
28021 2014-06-07 Joseph Myers <joseph@codesourcery.com>
28023 * Makefile (install): Don't set LANGUAGE.
28024 * Makefile.in (install): Likewise.
28025 * assert/Makefile (test-assert-ENV): Remove variable.
28026 (test-assert-perr-ENV): Likewise.
28027 * elf/Makefile (neededtest4-ENV): Likewise.
28028 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
28029 [$(cross-compiling) = no]: Don't set LANGUAGE.
28030 * io/ftwtest-sh (LANG): Remove variable.
28031 * libio/Makefile (tst-widetext-ENV): Likewise.
28032 * manual/install.texi (Running make install): Don't refer to
28033 environment settings for make install.
28034 * INSTALL: Regenerated.
28035 * nptl/tst-tls6.sh: Don't set LANG.
28036 * posix/globtest.sh (LANG): Remove variable.
28037 * string/Makefile (tester-ENV): Likewise.
28038 (inl-tester-ENV): Likewise.
28039 (noinl-tester-ENV): Likewise.
28040 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
28041 [$(cross-compiling) = no]: Don't set LANGUAGE.
28042 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
28043 without explicit environment settings.
28045 2014-06-06 Roland McGrath <roland@hack.frob.com>
28047 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
28048 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
28049 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
28050 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
28052 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
28054 * crypt/crypt-private.h [DOS]: Add some includes taken from the
28055 other files in the crypt directory.
28056 * crypt/crypt.c: Remove duplicate includes.
28057 * crypt/crypt-entry.c: Likewise.
28058 * crypt/crypt_util.c: Likewise.
28060 2014-06-06 Joseph Myers <joseph@codesourcery.com>
28062 * Makeconfig (run-program-env): New variable.
28063 (run-program-prefix-before-env): Likewise.
28064 (run-program-prefix-after-env): Likewise.
28065 (run-program-prefix): Define in terms of new variables.
28066 (built-program-cmd-before-env): New variable.
28067 (built-program-cmd-after-env): Likewise.
28068 (built-program-cmd): Define in terms of new variables.
28069 (test-program-prefix-before-env): New variable.
28070 (test-program-prefix-after-env): Likewise.
28071 (test-program-prefix): Define in terms of new variables.
28072 (test-program-cmd-before-env): New variable.
28073 (test-program-cmd-after-env): Likewise.
28074 (test-program-cmd): Define in terms of new variables.
28075 * Rules (make-test-out): Use $(run-program-env).
28076 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
28077 (help): Do not mention environment variables. Mention
28078 --timeoutfactor option.
28079 (timeoutfactor): New variable.
28080 (blacklist_exports): Remove function.
28081 (exports): Remove variable.
28082 (command): Do not include ${exports}.
28083 * manual/install.texi (Configuring and compiling): Do not mention
28084 test wrappers preserving environment variables. Mention that last
28085 assignment to a variable must take precedence.
28086 * INSTALL: Regenerated.
28087 * benchtests/Makefile (run-bench): Use $(run-program-env).
28088 * catgets/Makefile ($(objpfx)test1.cat): Use
28089 $(built-program-cmd-before-env), $(run-program-env) and
28090 $(built-program-cmd-after-env).
28091 ($(objpfx)test2.cat): Do not specify environment variables
28093 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
28094 $(run-program-env) and $(built-program-cmd-after-env).
28095 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
28096 $(run-program-env) and $(test-program-cmd-after-env).
28097 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
28099 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
28100 run_program_env and test_program_cmd_after_env arguments.
28101 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
28102 * elf/tst-pathopt.sh: Use run_program_env argument.
28103 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
28104 $(test-wrapper-env) and $(run-program-env).
28105 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
28106 run_program_env arguments.
28107 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
28108 * intl/Makefile ($(objpfx)tst-gettext.out): Use
28109 $(test-program-prefix-before-env), $(run-program-env) and
28110 $(test-program-prefix-after-env).
28111 ($(objpfx)tst-gettext2.out): Likewise.
28112 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
28113 run_program_env and test_program_prefix_after_env arguments.
28114 * intl/tst-gettext2.sh: Likewise.
28115 * intl/tst-gettext4.sh: Do not set environment variables
28117 * intl/tst-gettext6.sh: Likewise.
28118 * intl/tst-translit.sh: Likewise.
28119 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
28120 $(test-program-prefix-before-env), $(run-program-env) and
28121 $(test-program-prefix-after-env).
28122 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
28123 run_program_env and test_program_prefix_after_env arguments.
28124 * math/Makefile (run-regen-ulps): Use $(run-program-env).
28125 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
28126 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
28127 explicitly with each use of ${test_wrapper_env}.
28128 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
28129 $(test-program-prefix-before-env), $(run-program-env) and
28130 $(test-program-prefix-after-env).
28131 * posix/tst-getconf.sh: Do not set environment variables
28133 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
28134 run_program_env and test_program_prefix_after_env arguments.
28135 * stdio-common/tst-printf.sh: Do not set environment variables
28137 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
28138 $(test-program-prefix-before-env), $(run-program-env) and
28139 $(test-program-prefix-after-env).
28140 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
28141 run_program_env and test_program_prefix_after_env arguments.
28142 Split $test calls into $test_pre and $test.
28143 * timezone/Makefile (build-testdata): Use
28144 $(built-program-cmd-before-env), $(run-program-env) and
28145 $(built-program-cmd-after-env).
28147 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28149 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
28150 strlen for non SHARED builds.
28152 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
28154 * nptl/allocatestack.c (check_list): Inlined function...
28155 (__reclaim_stacks): ... here.
28157 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
28160 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
28163 2014-06-05 Joseph Myers <joseph@codesourcery.com>
28165 * Rules (make-test-out): Include
28166 LOCPATH=$(common-objpfx)localedata in default environment.
28167 * debug/Makefile (tst-chk1-ENV): Remove variable.
28168 (tst-chk2-ENV): Likewise.
28169 (tst-chk3-ENV): Likewise.
28170 (tst-chk4-ENV): Likewise.
28171 (tst-chk5-ENV): Likewise.
28172 (tst-chk6-ENV): Likewise.
28173 (tst-lfschk1-ENV): Likewise.
28174 (tst-lfschk2-ENV): Likewise.
28175 (tst-lfschk3-ENV): Likewise.
28176 (tst-lfschk4-ENV): Likewise.
28177 (tst-lfschk5-ENV): Likewise.
28178 (tst-lfschk6-ENV): Likewise.
28179 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
28180 (tst-iconv7-ENV): Likewise.
28181 * intl/Makefile (LOCPATH-ENV): Likewise.
28182 (tst-codeset-ENV): Likewise.
28183 (tst-gettext3-ENV): Likewise.
28184 (tst-gettext5-ENV): Likewise.
28185 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
28186 (tst-fopenloc-ENV): Likewise.
28187 (tst-fgetws-ENV): Remove variable.
28188 (tst-ungetwc1-ENV): Likewise.
28189 (tst-ungetwc2-ENV): Likewise.
28190 (bug-ungetwc2-ENV): Likewise.
28191 (tst-swscanf-ENV): Likewise.
28192 (bug-ftell-ENV): Likewise.
28193 (tst-fgetwc-ENV): Likewise.
28194 (tst-fseek-ENV): Likewise.
28195 (tst-ftell-partial-wide-ENV): Likewise.
28196 (tst-ftell-active-handler-ENV): Likewise.
28197 (tst-ftell-append-ENV): Likewise.
28198 * posix/Makefile (tst-fnmatch-ENV): Likewise.
28199 (tst-regexloc-ENV): Likewise.
28200 (bug-regex1-ENV): Likewise.
28201 (tst-regex-ENV): Likewise.
28202 (tst-regex2-ENV): Likewise.
28203 (bug-regex5-ENV): Likewise.
28204 (bug-regex6-ENV): Likewise.
28205 (bug-regex17-ENV): Likewise.
28206 (bug-regex18-ENV): Likewise.
28207 (bug-regex19-ENV): Likewise.
28208 (bug-regex20-ENV): Likewise.
28209 (bug-regex22-ENV): Likewise.
28210 (bug-regex23-ENV): Likewise.
28211 (bug-regex25-ENV): Likewise.
28212 (bug-regex26-ENV): Likewise.
28213 (bug-regex30-ENV): Likewise.
28214 (bug-regex32-ENV): Likewise.
28215 (bug-regex33-ENV): Likewise.
28216 (bug-regex34-ENV): Likewise.
28217 (bug-regex35-ENV): Likewise.
28218 (tst-rxspencer-ENV): Likewise.
28219 (tst-rxspencer-no-utf8-ENV): Likewise.
28220 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
28221 (tst-sscanf-ENV): Likewise.
28222 (tst-swprintf-ENV): Likewise.
28223 (tst-swscanf-ENV): Likewise.
28224 (test-vfprintf-ENV): Likewise.
28225 (scanf13-ENV): Likewise.
28226 (bug14-ENV): Likewise.
28227 (tst-grouping-ENV): Likewise.
28228 * stdlib/Makefile (tst-strtod-ENV): Likewise.
28229 (tst-strtod3-ENV): Likewise.
28230 (tst-strtod4-ENV): Likewise.
28231 (tst-strtod5-ENV): Likewise.
28232 (testmb2-ENV): Likewise./
28233 * string/Makefile (tst-strxfrm-ENV): Likewise.
28234 (tst-strxfrm2-ENV): Likewise.
28235 (bug-strcoll1-ENV): Likewise.
28236 (test-strcasecmp-ENV): Likewise.
28237 (test-strncasecmp-ENV): Likewise.
28238 * time/Makefile (tst-strptime-ENV): Likewise.
28239 (tst-ftime_l-ENV): Likewise.
28240 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
28241 (tst-mbrtowc-ENV): Likewise.
28242 (tst-wcrtomb-ENV): Likewise.
28243 (tst-mbrtowc2-ENV): Likewise.
28244 (tst-c16c32-1-ENV): Likewise.
28245 (tst-mbsnrtowcs-ENV): Likewise.
28247 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
28249 * manual/resource.texi (How to get information about the memory
28250 subsystem?): Fix typo.
28251 Reported by Peon de la Parra Ivan <peon@keba.com>
28253 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
28256 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
28257 (pthread_spin_lock): Branch out of spin loop to proper location.
28258 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
28259 (pthread_spin_lock): Likewise.
28261 * nptl/tst-spin4.c: New test.
28262 * nptl/Makefile (tests): Add tst-spin4.
28264 2014-06-03 Andreas Schwab <schwab@suse.de>
28267 * resolv/res_send.c (send_dg): Reload file descriptor after
28270 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
28272 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
28274 2014-06-03 Richard Henderson <rth@redhat.com>
28276 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
28277 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
28278 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
28279 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
28280 in the SAVE_PID block.
28281 (__libc_vfork): New alias.
28282 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
28284 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
28285 child in registers, not on the stack. Remove RESET_PID conditionals.
28286 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
28288 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
28290 * sysdeps/aarch64/libm-test-ulps: Regenerate.
28292 2014-06-03 Wilco <wdijkstr@arm.com>
28294 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
28295 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
28296 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
28297 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
28298 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
28301 2014-06-03 Wilco <wdijkstr@arm.com>
28303 * sysdeps/aarch64/fpu/math_private.h
28304 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
28305 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
28306 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
28307 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
28310 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
28312 * crypt/crypt-private.h: Include ufc-crypt.h.
28313 (__b64_from_24bit): Declare extern.
28314 * crypt/crypt_util.c(__b64_from_24bit): New function.
28315 (b64t): New static const variable.
28316 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
28317 (b64t): Remove variable.
28318 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
28319 * crypt/sha256-crypt.c: Include crypt-private.h.
28320 (b64t): Remove variable.
28321 (__sha256_crypt_r): Remove b64_from_24bit and replace
28322 with __b64_from_24bit.
28323 * crypt/sha512-crypt.c: Likewise.
28325 2014-06-02 Roland McGrath <roland@hack.frob.com>
28327 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
28328 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
28329 Label the code __libc_vfork rather than __vfork.
28330 [!NOT_IN_libc] (vfork): Define as weak alias.
28331 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
28332 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
28333 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
28335 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
28337 * malloc/malloc.c (malloc_info): Fix format specifier for
28340 2014-06-02 Wilco <wdijkstr@arm.com>
28342 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
28345 2014-06-02 Wilco <wdijkstr@arm.com>
28348 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
28349 Rewrite to reduce FPCR/FPSR accesses.
28351 2014-06-01 David S. Miller <davem@davemloft.net>
28353 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28355 2014-05-31 David S. Miller <davem@davemloft.net>
28357 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
28358 to occur in round to nearest mode when |x| >= 2.0
28360 2014-05-30 Richard Henderson <rth@twiddle.net>
28362 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
28363 (PSEUDO_RET_NOERRNO): Remove.
28364 (ret): Don't redefine.
28365 (ret_NOERRNO): Define in terms of ret.
28366 (ret_ERRVAL): Likewise.
28368 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
28369 use of PSEUDO_RET; perform the error check directly.
28371 2014-05-30 Marko Myllynen <myllynen@redhat.com>
28373 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
28376 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
28378 * malloc/malloc (malloc_info): Fix formatting.
28380 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
28381 Roland McGrath <roland@hack.frob.com>
28383 * malloc/malloc (malloc_info): Also print mmapped statistics.
28385 2014-05-30 Roland McGrath <roland@hack.frob.com>
28387 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
28388 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
28390 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
28392 * malloc/malloc.c (malloc_info): Inline mi_arena.
28394 2014-05-29 Richard Henderson <rth@twiddle.net>
28396 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
28397 Remove comma before expanding ASM_ARGS_##nr.
28398 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
28399 Make _x0 a strict output; make _x8 a strict input; adjust expansion
28401 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
28402 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
28403 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
28404 (ASM_ARGS_1): Add leading comma.
28406 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
28407 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
28408 to __errno_location.
28409 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
28410 Remove the expected plt for __errno_location.
28412 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
28413 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
28416 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
28417 Always allocate 64 bytes of stack frame. Use ldp/stp to create
28418 it and break it down.
28419 (DOCARGS_0, DOCARGS_1): Do nothing.
28420 (DOCARGS_2): Update to store into the new stack frame.
28421 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
28422 (UNDOCARGS_1): Update to restore from the new stack frame.
28423 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
28424 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
28426 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
28427 (SINGLE_THREAD_P): New parameter for result regno.
28428 (PSEUDO): Update to match; use cbz instead of beq.
28430 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
28431 Use ENTRY to define the _nocancel entry point. Share the syscall
28432 and syscall error check paths with the cancel path.
28435 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
28436 whitespace; tabs before and after asm mnemonics.
28438 2014-05-29 Eric Wong <normalperson@yhbt.net>
28441 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
28442 Call fstat64 or stat64 internally, depending on arguments passed.
28443 Replace stat buffer argument with file descriptor argument.
28444 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
28445 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
28446 Pass fd to __internal_statvfs instead of calling fstat64.
28447 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
28448 Pass fd to __internal_statvfs64 instead of calling fstat64.
28449 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
28450 Pass -1 to __internal_statvfs instead of calling stat64.
28451 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
28452 Pass -1 to __internal_statvfs64 instead of calling stat64.
28454 2014-05-28 Roland McGrath <roland@hack.frob.com>
28456 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
28457 that was previously under [RESET_PID].
28458 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
28460 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
28461 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
28463 2014-05-27 Roland McGrath <roland@hack.frob.com>
28465 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
28467 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
28468 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
28470 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
28472 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
28474 2014-05-27 Andreas Schwab <schwab@suse.de>
28476 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
28478 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
28479 * elf/rtld.c (init_tls, dl_main): Likewise.
28480 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
28481 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
28482 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
28483 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
28484 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
28485 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
28486 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
28487 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
28488 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
28489 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
28490 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
28491 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
28492 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
28493 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
28494 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
28495 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
28496 * sysdeps/generic/tls.h: Update description.
28498 2014-05-27 Will Newton <will.newton@linaro.org>
28501 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
28502 and restore r2 rather than just restoring.
28504 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
28507 * libio/tst-ftell-append.c: New test case.
28508 * libio/Makefile (tests): Add test case.
28509 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
28511 * libio/wfileops.c (do_ftell_wide): Likewise.
28513 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28515 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28517 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
28519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
28520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
28521 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
28522 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
28523 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
28524 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
28525 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
28526 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
28527 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
28529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
28530 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
28532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
28533 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
28534 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
28535 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
28536 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
28537 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
28539 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
28540 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
28542 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
28544 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
28546 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
28547 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
28548 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
28550 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
28551 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
28552 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
28553 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
28555 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
28557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
28558 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
28560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
28561 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
28563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
28564 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
28566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
28568 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
28570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
28571 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
28573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
28575 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
28576 conditional [RESET_PID].
28577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
28578 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
28580 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
28583 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
28585 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
28586 (__libc_vfork): New strong alias.
28587 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
28589 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
28592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
28594 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
28595 (__libc_vfork): New strong alias.
28596 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
28598 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
28601 2014-05-26 Carlos O'Donell <carlos@redhat.com>
28603 * malloc/malloc.c (mi_arena): New function.
28604 (malloc_info): Remove nested function mi_arena. Call non-nosted
28607 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28609 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
28611 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
28612 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
28613 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
28614 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
28615 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
28616 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
28617 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
28619 2014-05-26 Andreas Schwab <schwab@suse.de>
28622 * locale/programs/repertoire.c (repertoire_read): Add slash
28623 between I18NPATH element and file name.
28624 * locale/programs/locfile.c (locfile_read): Likewise.
28626 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
28628 * nptl/pthread_mutexattr_settype.c
28629 (__pthread_mutexattr_settype):
28630 Disable lock elision for PTHREAD_MUTEX_NORMAL.
28632 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
28634 * nptl/tst-mutex5 (do_test):
28635 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
28637 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
28639 * benchtests/README: Document 'init' directive.
28640 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
28642 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
28643 (parse_file): Recognize 'init' directive.
28645 2014-05-26 Kyle McMartin <kyle@redhat.com>
28648 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
28649 alignment of struct pthread.
28651 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
28654 * nscd/netgroupcache.c (addgetnetgrentX): Look for
28655 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
28656 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
28657 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
28659 2014-05-25 Richard Henderson <rth@twiddle.net>
28661 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
28662 (SINGLE_THREAD_P_PIC): Remove.
28663 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
28664 (SINGLE_THREAD_P_PIC): Remove.
28666 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
28667 branch to syscall error ...
28668 (PSEUDO): ... here.
28669 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
28670 from __local_syscall_error to .Lsyscall_error.
28671 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
28672 (SYSCALL_ERROR): Update label name.
28674 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
28675 Do not use DOARGS/UNDOARGS.
28676 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
28677 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
28678 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
28679 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
28680 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
28682 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
28685 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
28686 define if !NOT_IN_libc.
28687 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
28688 define with non-default symbol versions.
28690 2014-05-23 Richard Henderson <rth@twiddle.net>
28692 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
28693 (vfork, __vfork): Define via compat_symbol.
28695 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
28696 [!HAVE_IFUNC] (vfork_compat): Remove.
28697 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
28699 2014-05-23 Joseph Myers <joseph@codesourcery.com>
28702 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
28703 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
28706 2014-05-23 Richard Henderson <rth@twiddle.net>
28708 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
28709 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
28710 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
28711 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
28713 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
28714 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
28715 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
28716 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
28717 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
28718 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
28719 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
28720 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
28721 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
28722 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
28723 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
28724 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
28725 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
28726 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
28727 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
28728 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
28729 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
28730 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
28731 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
28732 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
28733 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
28734 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
28735 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
28736 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
28737 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
28738 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
28739 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
28740 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
28741 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
28742 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
28743 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
28744 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
28745 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
28746 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
28747 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
28748 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
28749 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
28750 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
28751 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
28752 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
28753 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
28754 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
28755 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
28756 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
28757 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
28758 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
28759 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
28760 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
28761 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
28762 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
28763 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
28764 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
28765 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
28766 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
28767 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
28768 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
28770 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
28771 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
28772 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
28773 before exiting on error.
28774 (__libc_vfork): New strong alias.
28775 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
28776 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
28778 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
28779 that was previously under [RESET_PID].
28780 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
28782 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
28784 2014-05-23 Joseph Myers <joseph@codesourcery.com>
28787 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
28788 value when x - 1 is zero.
28789 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
28790 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
28791 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
28792 0.0L for an argument of 1.0L.
28793 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
28795 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
28796 value when x - 1 is zero.
28797 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
28798 * sysdeps/i386/fpu/libm-test-ulps: Update.
28799 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28801 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
28803 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
28804 alphasort and versionsort.
28806 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28808 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
28810 [copysignf]: Likewise.
28812 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
28814 * crypt/md5-crypt.c: Fix formatting.
28816 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
28818 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
28819 (b64_from_24bit): New function.
28821 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28823 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
28824 libc_hidden_builtin_def to ifunc.
28825 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
28826 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
28828 2014-05-21 Roland McGrath <roland@hack.frob.com>
28830 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
28831 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
28833 2014-05-21 Joseph Myers <joseph@codesourcery.com>
28835 * nscd/Depend (linuxthreads): Remove.
28837 * resolv/Depend (linuxthreads): Remove.
28838 * rt/Depend (linuxthreads): Remove.
28840 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
28841 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
28842 $(common-objpfx)elf/.
28843 (link-libc-before-gnulib): Likewise.
28844 (elfobjdir): Remove variable.
28845 * Makefile (install): Use $(elf-objpfx) instead of
28846 $(common-objpfx)elf/.
28847 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
28849 (link-libc-deps): Likewise.
28850 ($(common-objpfx)libc.so): Likewise.
28851 ($(common-objpfx)linkobj/libc.so): Likewise.
28852 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
28853 instead of $(common-objpfx)elf/.
28854 (symbolic-link-list): Likewise.
28855 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
28856 [$(cross-compiling) = no]: Likewise.
28857 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
28859 (static-gnulib-arch): Likewise.
28860 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
28861 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
28862 $(common-objpfx)elf/.
28864 2014-05-21 Richard Henderson <rth@redhat.com>
28866 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
28867 (SINGLE_THREAD_P): Use the correct width load. Fold
28868 into the ldr offset.
28870 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
28871 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
28873 2014-05-20 Joseph Myers <joseph@codesourcery.com>
28875 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
28876 (libgcc_s_resume): Use __attribute_used__.
28877 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
28880 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28882 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
28883 optimization when used with float constants.
28885 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28887 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
28890 * locale/nl_langinfo_l.c: Make direct reference to every
28891 _nl_current_CATEGORY symbol.
28892 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
28893 (tests-static): Add tst-langinfo-static.
28894 (tests-special): Add tst-langinfo-static.out.
28895 ($(objpfx)tst-langinfo.out): Redirect output.
28896 ($(objpfx)tst-langinfo-static.out): New.
28897 * localedata/tst-langinfo.sh: Send output to stdout.
28898 * localedata/tst-langinfo-static.c: New file.
28901 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
28902 when the shift amount is modulo the limb size.
28904 2014-05-20 Richard Henderson <rth@redhat.com>
28907 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
28908 Change type of sa_flags from unsigned int to int.
28911 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
28913 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
28915 2014-05-20 Will Newton <will.newton@linaro.org>
28917 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
28918 Test the return value of the system call in the nocancel case.
28920 2014-05-20 Will Newton <will.newton@linaro.org>
28921 Yvan Roux <yvan.roux@linaro.org>
28923 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
28924 #include of asm/ptrace.h.
28925 (PTRACE_GET_THREAD_AREA): Remove #undef.
28926 (PTRACE_GETHBPREGS): Likewise.
28927 (PTRACE_SETHBPREGS): Likewise.
28928 (struct user_regs_struct): New structure.
28929 (struct user_fpsimd_struct): New structure.
28930 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
28931 #include of asm/ptrace.h and second #include of sys/user.h.
28932 (PTRACE_GET_THREAD_AREA): Remove #undef.
28933 (PTRACE_GETHBPREGS): Likewise.
28934 (PTRACE_SETHBPREGS): Likewise.
28935 (ELF_NGREG): Use new struct user_regs_struct.
28936 (elf_fpregset_t): Use new struct user_fpsimd_struct.
28938 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28940 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
28941 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
28943 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
28946 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
28947 membar to avoid block loads/stores to overlap previous stores.
28949 2014-05-17 Richard Henderson <rth@redhat.com>
28951 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
28952 Create the __##syscall_name##_nocancel entry point.
28953 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
28954 Remove; let the sysdep-cancel.h code create it.
28956 2014-05-17 David S. Miller <davem@davemloft.net>
28958 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
28959 Protect with __USE_GNU.
28960 (TIOCSET_TEMPT): Likewise.
28961 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
28962 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
28963 these are already provided in bits/ioctl-types.h
28965 2014-05-16 Roland McGrath <roland@hack.frob.com>
28967 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
28968 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
28970 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
28971 Use wait4 regardless of [__NR_waitpid].
28973 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
28976 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
28977 (_FP_NANSIGN_Q): Set the quiet bit.
28979 2014-05-16 Joseph Myers <joseph@codesourcery.com>
28981 * benchtests/Makefile
28982 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
28983 not $(common-objpfx)math/libm.so.
28984 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
28985 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
28986 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
28987 $(common-objpfx)dlfcn/libdl.so.
28988 ($(objpfx)tst-audit8): Depend on $(libm), not
28989 $(common-objpfx)math/libm.so.
28990 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
28991 not $(common-objpfx)dlfcn/libdl.so.
28993 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
28994 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
28995 [$(build-shared) = yes].
28996 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
28997 $(common-objpfx)nptl/libpthread.so.
28998 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
28999 $(common-objpfx)math/libm.so$(libm.so-version) or
29000 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
29001 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
29002 $(common-objpfx)dlfcn/libdl.so.
29003 * setjmp/Makefile (link-libm): Remove variable.
29004 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
29005 * stdio-common/Makefile (link-libm): Remove variable.
29006 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
29007 * stdlib/Makefile (link-libm): Remove variable.
29008 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
29009 ($(objpfx)tst-strtod-round): Likewise.
29010 ($(objpfx)tst-tininess): Likewise.
29011 ($(objpfx)tst-strtod-underflow): Likewise.
29012 ($(objpfx)tst-strtod6): Likewise.
29013 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
29014 $(libdl), not $(common-objpfx)nptl/libpthread.so and
29015 $(common-objpfx)dlfcn/libdl.so.
29017 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29019 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
29020 BSD terminal modes definitions.
29022 2014-05-16 Roland McGrath <roland@hack.frob.com>
29024 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
29025 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
29027 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
29028 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
29029 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
29030 Don't do #include_next.
29031 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
29032 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
29033 Don't do #include_next.
29034 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
29035 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
29036 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
29037 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
29039 2014-05-16 Allan McRae <allan@archlinux.org>
29041 * po/sv.po: Update Swedish translation from translation project.
29043 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
29046 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
29049 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
29050 errno if the TIOCGPTN ioctl fails with an error different than
29052 * login/tst-ptsname.c: New file.
29053 * login/Makefile (tests): Add tst-ptsname.
29056 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
29059 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
29062 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
29063 herrno to return EAI_AGAIN.
29065 2014-05-14 Roland McGrath <roland@hack.frob.com>
29067 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
29068 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
29069 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
29070 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
29071 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
29072 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
29073 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
29074 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
29075 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
29076 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
29077 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
29078 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
29079 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
29080 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
29081 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
29082 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
29083 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
29084 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
29085 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
29086 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
29087 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
29088 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
29089 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
29090 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
29091 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
29092 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
29093 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
29094 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
29095 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
29096 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
29097 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
29098 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
29099 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
29100 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
29101 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
29103 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
29104 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
29105 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
29106 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
29107 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
29108 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
29109 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
29110 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
29111 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
29112 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
29113 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
29114 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
29115 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
29116 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
29117 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
29118 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
29119 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
29120 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
29121 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
29122 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
29123 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
29124 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
29125 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
29126 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
29127 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
29128 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
29129 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
29130 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
29132 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
29133 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
29134 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
29135 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
29136 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
29137 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
29138 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
29139 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
29140 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
29141 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
29142 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
29143 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
29144 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
29145 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
29146 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
29147 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
29148 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
29149 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
29150 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
29151 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
29153 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
29154 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
29155 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
29157 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
29158 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
29159 (libpthread-sysdep_routines): Add elision-related stuff here instead.
29160 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
29161 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
29162 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
29163 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
29164 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
29165 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
29166 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
29167 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
29168 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
29169 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
29170 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
29171 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
29172 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
29173 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
29174 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
29175 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
29176 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
29177 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
29178 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
29179 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
29180 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
29181 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
29182 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
29183 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
29184 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
29185 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
29186 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
29187 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
29189 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
29190 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
29192 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
29193 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
29194 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
29195 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
29196 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
29197 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
29199 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
29200 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
29202 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
29203 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
29205 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
29206 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
29208 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
29209 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
29210 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
29211 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
29213 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
29214 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
29215 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
29216 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
29217 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
29218 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
29219 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
29220 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
29222 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
29223 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
29225 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
29227 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
29228 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
29229 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
29230 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
29231 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
29233 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
29235 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
29237 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
29238 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
29239 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
29240 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
29241 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
29242 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
29244 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
29245 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
29247 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
29248 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
29250 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
29251 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
29253 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
29254 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
29255 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
29256 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
29258 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
29259 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
29260 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
29261 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
29262 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
29263 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
29264 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
29265 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
29267 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
29268 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
29270 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
29272 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
29273 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
29274 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
29275 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
29276 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
29278 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
29280 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
29282 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
29283 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
29284 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
29285 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
29286 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
29287 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
29288 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
29289 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
29290 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
29291 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
29293 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
29294 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
29296 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
29297 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
29299 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
29300 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
29302 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
29303 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
29304 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
29305 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
29306 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
29307 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
29309 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
29310 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
29311 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
29312 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
29313 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
29314 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
29315 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
29316 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
29318 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
29319 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
29321 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
29323 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
29324 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
29325 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
29326 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
29327 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
29329 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
29331 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
29333 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
29334 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
29335 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
29336 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
29337 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
29338 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
29339 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
29340 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
29341 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
29342 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
29343 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
29345 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
29346 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
29348 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
29349 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
29351 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
29352 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
29353 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
29354 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
29355 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
29356 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
29357 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
29358 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
29359 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
29360 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
29361 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
29362 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
29363 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
29364 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
29365 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
29366 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
29367 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
29368 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
29370 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
29371 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
29372 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
29373 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
29375 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
29376 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
29377 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
29378 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
29379 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
29380 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
29381 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
29382 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
29384 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
29385 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
29387 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
29388 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
29389 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
29390 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
29391 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
29392 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
29393 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
29394 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
29395 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
29396 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
29397 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
29398 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
29399 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
29400 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
29401 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
29402 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
29403 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
29405 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
29406 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
29407 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
29408 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
29409 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
29411 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
29412 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
29413 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
29414 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
29415 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
29416 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
29417 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
29418 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
29419 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
29420 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
29422 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
29423 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
29425 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
29426 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
29427 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
29428 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
29429 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
29430 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
29431 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
29432 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
29433 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
29434 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
29435 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
29436 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
29437 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
29438 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
29439 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
29441 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
29443 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
29445 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
29447 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
29449 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
29451 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
29453 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
29455 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
29457 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
29459 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
29460 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
29461 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
29462 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
29463 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
29464 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
29465 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
29466 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
29467 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
29468 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
29469 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
29470 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
29471 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
29472 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
29473 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
29475 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
29476 that was previously under [RESET_PID].
29477 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
29478 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
29479 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
29481 * sysdeps/i386/nptl/Implies: New file.
29482 * sysdeps/x86_64/nptl/Implies: New file.
29483 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
29484 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
29485 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
29486 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
29488 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
29489 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
29490 (__libc_vfork): New strong alias.
29491 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
29492 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
29494 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
29495 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
29496 (__libc_vfork): New strong alias.
29497 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
29498 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
29500 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
29501 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
29502 (__libc_vfork): New strong alias.
29503 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
29504 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
29505 * nptl/pt-vfork.c: New file.
29506 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
29507 (libpthread: GLIBC_2.20): New version set (empty).
29509 2014-05-14 Will Newton <will.newton@linaro.org>
29511 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
29514 2014-05-14 Joseph Myers <joseph@codesourcery.com>
29517 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
29518 arguments with exponent 65 or above.
29519 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
29520 arguments 0x1p113L or above.
29521 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
29522 to arguments 0x1p107L or above.
29523 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
29524 positive arguments with exponent 65 or above.
29525 * math/auto-libm-test-in: Add more tests of log1p.
29526 * math/auto-libm-test-out: Regenerated.
29529 * math/s_cacos.c (__cacos): Ensure zero real part of result from
29530 non-finite arguments is +0.
29531 * math/s_cacosf.c (__cacosf): Likewise.
29532 * math/s_cacosl.c (__cacosl): Likewise.
29533 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
29534 * sysdeps/i386/fpu/libm-test-ulps: Update.
29535 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29538 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
29540 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
29541 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
29542 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
29543 for explicit high bit of mantissa when testing for argument equal
29545 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
29546 * sysdeps/i386/fpu/libm-test-ulps: Update.
29547 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29550 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
29551 (__erf): Scale by 16 instead of 8 in potentially underflowing
29552 case. Ensure exception if result actually underflows.
29553 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
29554 (__erff): Scale by 16 instead of 8 in potentially underflowing
29555 case. Ensure exception if result actually underflows.
29556 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
29557 (efx8): Remove variable.
29558 (__erfl): Scale by 16 instead of 8 in potentially underflowing
29559 case. Ensure exception if result actually underflows.
29560 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
29561 (efx8): Remove variable.
29562 (__erfl): Scale by 16 instead of 8 in potentially underflowing
29563 case. Ensure exception if result actually underflows.
29564 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
29565 (efx8): Remove variable.
29566 (__erfl): Scale by 16 instead of 8 in potentially underflowing
29567 case. Ensure exception if result actually underflows.
29568 * math/auto-libm-test-in: Add more tests of erf.
29569 * math/auto-libm-test-out: Regenerated.
29571 2014-05-14 Andreas Schwab <schwab@suse.de>
29573 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
29574 Remove code conditionalized on USE___THREAD.
29576 * config.h.in (HAVE_PT_CHOWN): Define as 0.
29577 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
29580 2014-05-14 Joseph Myers <joseph@codesourcery.com>
29582 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
29583 Define unconditionally.
29584 (__ASSUME_O_CLOEXEC): Likewise.
29585 (__ASSUME_SOCK_CLOEXEC): Likewise.
29586 (__ASSUME_IN_NONBLOCK): Likewise.
29587 (__ASSUME_PIPE2): Likewise.
29588 (__ASSUME_EVENTFD2): Likewise.
29589 (__ASSUME_SIGNALFD4): Likewise.
29590 (__ASSUME_DUP3): Likewise.
29591 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
29592 (__ASSUME_DUP3): Do not define.
29593 (__ASSUME_EVENTFD2): Likewise.
29594 (__ASSUME_IN_NONBLOCK): Likewise.
29595 (__ASSUME_O_CLOEXEC): Likewise.
29596 (__ASSUME_PIPE2): Likewise.
29597 (__ASSUME_SIGNALFD4): Likewise.
29598 (__ASSUME_SOCK_CLOEXEC): Likewise.
29599 (__ASSUME_UTIMES): Undefine.
29600 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
29601 (__ASSUME_UTIMES): Do not define.
29602 (__ASSUME_O_CLOEXEC): Likewise.
29603 (__ASSUME_SOCK_CLOEXEC): Likewise.
29604 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
29605 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
29607 (__ASSUME_PIPE2): Likewise.
29608 (__ASSUME_EVENTFD2): Likewise.
29609 (__ASSUME_SIGNALFD4): Likewise.
29610 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
29611 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
29613 (__ASSUME_EVENTFD2): Likewise.
29614 (__ASSUME_SIGNALFD4): Likewise.
29615 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
29616 (__ASSUME_32BITUIDS): Likewise.
29617 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
29618 (__ASSUME_IPC64): Likewise.
29619 (__ASSUME_ST_INO_64_BIT): Likewise.
29620 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
29621 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
29622 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
29623 (__ASSUME_UTIMES): Do not define.
29624 (__ASSUME_PSELECT): Likewise.
29625 (__ASSUME_PPOLL): Likewise.
29626 (__ASSUME_O_CLOEXEC): Likewise.
29627 (__ASSUME_SOCK_CLOEXEC): Likewise.
29628 (__ASSUME_IN_NONBLOCK): Likewise.
29629 (__ASSUME_PIPE2): Likewise.
29630 (__ASSUME_EVENTFD2): Likewise.
29631 (__ASSUME_SIGNALFD4): Likewise.
29632 (__ASSUME_DUP3): Likewise.
29633 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
29634 (__ASSUME_UTIMES): Likewise.
29635 (__ASSUME_O_CLOEXEC): Likewise.
29636 (__ASSUME_SOCK_CLOEXEC): Likewise.
29637 (__ASSUME_IN_NONBLOCK): Likewise.
29638 (__ASSUME_PIPE2): Likewise.
29639 (__ASSUME_EVENTFD2): Likewise.
29640 (__ASSUME_SIGNALFD4): Likewise.
29641 (__ASSUME_DUP3): Likewise.
29642 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
29643 (__ASSUME_UTIMES): Likewise.
29644 (__ASSUME_O_CLOEXEC): Likewise.
29645 (__ASSUME_SOCK_CLOEXEC): Likewise.
29646 (__ASSUME_IN_NONBLOCK): Likewise.
29647 (__ASSUME_PIPE2): Likewise.
29648 (__ASSUME_EVENTFD2): Likewise.
29649 (__ASSUME_SIGNALFD4): Likewise.
29650 (__ASSUME_DUP3): Likewise.
29651 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
29653 (__ASSUME_UTIMES): Likewise.
29654 (__ASSUME_EVENTFD2): Likewise.
29655 (__ASSUME_SIGNALFD4): Likewise.
29656 * sysdeps/unix/sysv/linux/tile/kernel-features.h
29657 (__ASSUME_O_CLOEXEC): Likewise.
29658 (__ASSUME_SOCK_CLOEXEC): Likewise.
29659 (__ASSUME_IN_NONBLOCK): Likewise.
29660 (__ASSUME_PIPE2): Likewise.
29661 (__ASSUME_EVENTFD2): Likewise.
29662 (__ASSUME_SIGNALFD4): Likewise.
29663 (__ASSUME_DUP3): Likewise.
29664 (__ASSUME_UTIMES): Undefine.
29666 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
29667 feclearexcept. Remove symbol versioning code.
29668 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
29669 symbol versioning code.
29670 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
29671 symbol versioning code.
29672 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
29673 feupdateenv. Remove symbol versioning code.
29674 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
29675 fegetexceptflag. Remove symbol versioning code.
29676 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
29677 fesetexceptflag. Remove symbol versioning code.
29678 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
29679 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
29680 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
29681 (__posix_fadvise64_l32): Remove prototype.
29682 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
29685 2014-05-13 Roland McGrath <roland@hack.frob.com>
29687 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
29688 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
29689 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
29690 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
29692 2014-05-13 Sami Kerola <kerolasa@iki.fi>
29694 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
29695 current working directory
29697 2014-05-13 Roland McGrath <roland@hack.frob.com>
29699 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
29700 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
29701 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
29702 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
29703 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
29704 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
29705 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
29706 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
29707 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
29708 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
29709 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
29710 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
29711 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
29712 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
29713 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
29714 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
29715 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
29716 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
29717 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
29718 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
29719 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
29720 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
29721 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
29722 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
29723 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
29724 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
29725 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
29726 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
29727 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
29728 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
29729 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
29730 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
29731 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
29732 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
29733 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
29734 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
29735 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
29736 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
29737 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
29738 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
29739 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
29740 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
29742 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
29743 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
29745 * sysdeps/unix/sysv/linux/arm/Makefile
29746 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
29747 Add rt-aeabi_unwind_cpp_pr1.
29748 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
29749 Add nptl-aeabi_unwind_cpp_pr1.
29750 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
29751 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
29752 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
29753 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
29754 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
29755 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
29757 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
29758 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
29759 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
29760 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
29762 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
29763 Deconditionalize the code that was previously under [RESET_PID].
29764 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
29766 * sysdeps/generic/exit-thread.h: New file.
29767 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
29768 * include/unistd.h (__exit_thread): Remove declaration.
29769 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
29770 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
29771 * csu/libc-start.c: Include <exit-thread.h>.
29772 (LIBC_START_MAIN): Pass no argument to __exit_thread.
29773 * nptl/pthread_create.c: Include <exit-thread.h>.
29774 (start_thread): Call __exit_thread in place of __exit_thread_inline.
29775 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
29776 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
29777 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
29778 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
29779 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
29780 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
29781 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
29782 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
29783 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
29784 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
29785 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
29786 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
29787 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
29788 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
29789 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
29790 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
29792 2014-05-13 Andreas Schwab <schwab@suse.de>
29794 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
29796 2014-05-12 Joseph Myers <joseph@codesourcery.com>
29798 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
29799 (__ASSUME_UTIMES): Do not condition on kernel version.
29800 (__ASSUME_PSELECT): Define unconditionally.
29801 (__ASSUME_PPOLL): Likewise.
29802 (__ASSUME_ATFCTS): Likewise.
29803 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
29804 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
29805 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
29806 (__ASSUME_UTIMENSAT): Define unconditionally.
29807 (__ASSUME_PRIVATE_FUTEX): Likewise.
29808 (__ASSUME_FALLOCATE): Likewise.
29809 (__ASSUME_O_CLOEXEC): Likewise.
29810 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
29811 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
29812 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
29813 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
29814 (__ASSUME_IN_NONBLOCK): Likewise.
29815 (__ASSUME_PIPE2): Likewise.
29816 (__ASSUME_EVENTFD2): Likewise.
29817 (__ASSUME_SIGNALFD4): Likewise.
29818 (__ASSUME_DUP3): Likewise.
29819 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
29820 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
29821 (__ASSUME_AT_RANDOM): Likewise.
29822 (__ASSUME_PREADV): Likewise.
29823 (__ASSUME_PWRITEV): Likewise.
29824 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
29825 (__ASSUME_F_GETOWN_EX): Define unconditionally.
29826 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
29827 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
29828 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
29829 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
29830 (__ASSUME_O_CLOEXEC): Define unconditionally.
29831 (__ASSUME_PSELECT): Do not undefine conditionally.
29832 (__ASSUME_PPOLL): Likewise.
29833 (__ASSUME_ATFCTS): Likewise.
29834 (__ASSUME_SET_ROBUST_LIST): Likewise.
29835 (__ASSUME_UTIMENSAT): Likewise.
29836 (__ASSUME_FDATASYNC): Define unconditionally.
29837 * sysdeps/unix/sysv/linux/arm/kernel-features.h
29838 (__ASSUME_SIGFRAME_V2): Likewise.
29839 )__ASSUME_EVENTFD2): Likewise.
29840 (__ASSUME_SIGNALFD4): Likewise.
29841 (__ASSUME_PSELECT): Do not undefine conditionally.
29842 (__ASSUME_PPOLL): Likewise.
29843 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
29844 (__ASSUME_PSELECT): Define unconditionally.
29845 (__ASSUME_PPOLL): Likewise.
29846 (__ASSUME_O_CLOEXEC): Likewise.
29847 (__ASSUME_SOCK_CLOEXEC): Likewise.
29848 (__ASSUME_IN_NONBLOCK): Likewise.
29849 (__ASSUME_PIPE2): Likewise.
29850 (__ASSUME_EVENTFD2): Likewise.
29851 (__ASSUME_SIGNALFD4): Likewise.
29852 (__ASSUME_DUP3): Likewise.
29853 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
29854 (__ASSUME_O_CLOEXEC): Likewise.
29855 (__ASSUME_SOCK_CLOEXEC): Likewise.
29856 (__ASSUME_IN_NONBLOCK): Likewise.
29857 (__ASSUME_PIPE2): Likewise.
29858 (__ASSUME_EVENTFD2): Likewise.
29859 (__ASSUME_SIGNALFD4): Likewise.
29860 (__ASSUME_DUP3): Likewise.
29861 * sysdeps/unix/sysv/linux/mips/kernel-features.h
29862 (__ASSUME_EVENTFD2): Likewise.
29863 (__ASSUME_SIGNALFD4): Likewise.
29864 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
29866 2014-05-12 Andreas Schwab <schwab@suse.de>
29869 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
29870 (_nss_nis_gethostbyname4_r): Return error if item length is larger
29871 than maximum RPC packet size.
29872 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
29873 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
29874 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
29875 (_nss_nis_getservbyport_r): Likewise.
29877 2014-05-12 Will Newton <will.newton@linaro.org>
29879 * malloc/Makefile (tests): Add tst-mallopt.
29880 * malloc/tst-mallopt.c: New file.
29882 2014-05-09 Roland McGrath <roland@hack.frob.com>
29884 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
29885 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
29887 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29889 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
29890 (tst-tlsmod6.so): Likewise.
29892 2014-05-09 Roland McGrath <roland@hack.frob.com>
29894 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
29896 2014-05-09 Joseph Myers <joseph@codesourcery.com>
29899 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
29900 and <dl-procinfo.h>.
29901 (__fegetenv): Save SSE state in envp->__eip if supported.
29902 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
29903 envp->__eip if supported.
29904 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
29905 and <dl-procinfo.h>.
29906 (__fesetenv): Always set __eip, __cs_selector, __opcode,
29907 __data_offset and __data_selector in environment to 0. Set SSE
29908 state if supported.
29909 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
29911 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
29913 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
29915 2014-05-09 Will Newton <will.newton@linaro.org>
29917 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
29918 and libc_relro_required for ARM.
29919 * sysdeps/arm/preconfigure: Regenerate.
29921 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
29922 Stefan Liebler <stli@linux.vnet.ibm.com>
29924 * config.make.in (enable-lock-elision): New Makefile variable.
29925 * configure.ac: Likewise.
29926 * configure: Regenerate.
29927 * sysdeps/s390/configure.ac:
29928 Add check for gcc transactions support.
29929 * sysdeps/s390/configure: Regenerate.
29930 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
29931 Build elision files if enabled.
29932 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
29933 Add lock elision support for s390.
29934 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
29935 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
29936 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
29937 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
29938 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
29939 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
29940 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
29942 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
29944 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
29946 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
29948 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
29949 (__lll_timedlock_elision, __lll_lock_elision)
29950 (__lll_unlock_elision, __lll_trylock_elision)
29951 (lll_timedlock_elision, lll_lock_elision)
29952 (lll_unlock_elision, lll_trylock_elision): Add.
29953 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
29954 (pthread_mutex_t): Add lock elision support for s390.
29956 2014-05-14 Wilco <wdijkstr@arm.com>
29958 * sysdeps/arm/fclrexcpt.c: Cleanup.
29959 * sysdeps/arm/fedisblxcpt.c: Cleanup.
29960 * sysdeps/arm/feenablxcpt.c: Cleanup.
29961 * sysdeps/arm/fegetenv.c: Cleanup.
29962 * sysdeps/arm/fegetexcept.c: Cleanup.
29963 * sysdeps/arm/fegetround.c: Cleanup.
29964 * sysdeps/arm/feholdexcpt.c: Cleanup.
29965 * sysdeps/arm/fesetenv.c: Cleanup.
29966 * sysdeps/arm/fesetround.c: Cleanup.
29967 * sysdeps/arm/feupdateenv.c: Cleanup.
29968 * sysdeps/arm/fgetexcptflg.c: Cleanup.
29969 * sysdeps/arm/fraiseexcpt.c: Cleanup.
29970 * sysdeps/arm/fsetexcptflg.c: Cleanup.
29971 * sysdeps/arm/ftestexcept.c: Cleanup.
29972 * sysdeps/arm/get-rounding-mode.h: Cleanup.
29973 * sysdeps/arm/setfpucw.c: Cleanup.
29975 2014-05-09 Will Newton <will.newton@linaro.org>
29977 * sysdeps/arm/armv7/strcmp.S: New file.
29978 * NEWS: Mention addition of ARMv7 optimized strcmp.
29980 2014-05-08 Roland McGrath <roland@hack.frob.com>
29982 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
29983 look for %.ac rather than %.in.
29985 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
29986 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
29987 * sysdeps/mach/hurd/configure: Regenerated.
29988 * sysdeps/unix/sysv/linux/configure: Regenerated.
29990 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
29992 2014-05-07 Steve Ellcey <sellcey@mips.com>
29995 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
29999 2014-05-07 Andreas Schwab <schwab@suse.de>
30001 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
30002 when skipping over non-matching result from nscd.
30004 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
30007 * nptl/sockperf.c (client): Check socket return value.
30010 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
30011 nscd security class.
30013 2014-05-06 Roland McGrath <roland@hack.frob.com>
30015 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
30016 * sysdeps/arm/unwind.h: ... here.
30018 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
30021 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
30024 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
30026 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
30027 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
30028 multiarch strncpy for PPC64.
30029 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
30030 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
30031 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
30032 multiarch optimizations.
30033 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
30034 (__libc_ifunc_impl_list): Likewise.
30035 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
30036 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
30037 multiarch stpncpy for PPC64.
30038 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
30039 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
30041 2014-05-06 Andreas Schwab <schwab@suse.de>
30044 * gmon/mcount.c (_MCOUNT_DECL): Use
30045 atomic_compare_and_exchange_bool_acq instead of
30046 catomic_compare_and_exchange_bool_acq.
30048 2014-05-05 Roland McGrath <roland@hack.frob.com>
30050 * elf/Makefile (others, install-bin): Remove pldd.
30051 (pldd-modules): Variable removed.
30052 ($(objpfx)pldd): Target removed.
30053 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
30054 (others, install-bin): Append pldd here.
30055 ($(objpfx)pldd): New target.
30057 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
30058 to 0, so the first #if test emitted later doesn't see it undefined.
30059 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
30060 * sysdeps/gnu/errlist.c: Regenerated.
30062 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30064 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
30065 [libc_hidden_builtin_def]: Define to empty value.
30066 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
30067 [libc_hidden_builtin_def]: Likewise.
30068 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
30069 [libc_hidden_builtin_def]: Likewise.
30070 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
30071 [libc_hidden_builtin_def]: Likewise.
30072 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
30073 __redirect_memcpy and define ifunc as default hidden symbol.
30074 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
30075 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
30077 2014-05-04 Adam Conrad <adconrad@0c3.net>
30079 * locale/iso-4217.def: Reintroduce XDR currency.
30081 2014-05-04 Allan McRae <allan@archlinux.org>
30083 * po/eo.po: Update Esperanto translation from translation project.
30085 2014-05-02 Carlos O'Donell <carlos@redhat.com>
30087 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
30088 and FEATURE_INDEX_MAX to 1.
30089 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
30091 2014-05-01 Steve Ellcey <sellcey@mips.com>
30093 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
30094 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
30095 * iconvdata/big5.c (ONE_DIRECTION): Define.
30096 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
30097 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
30098 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
30099 * iconvdata/cp932.c (ONE_DIRECTION): Define.
30100 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
30101 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
30102 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
30103 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
30104 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
30105 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
30106 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
30107 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
30108 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
30109 * iconvdata/gbk.c (ONE_DIRECTION): Define.
30110 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
30111 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
30112 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
30113 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
30114 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
30115 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
30116 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
30117 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
30118 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
30119 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
30120 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
30121 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
30122 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
30123 * iconvdata/iso646.c (ONE_DIRECTION): Define.
30124 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
30125 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
30126 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
30127 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
30128 * iconvdata/johab.c (ONE_DIRECTION): Define.
30129 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
30130 * iconvdata/sjis.c (ONE_DIRECTION): Define.
30131 * iconvdata/t.61.c (ONE_DIRECTION): Define.
30132 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
30133 * iconvdata/tscii.c (ONE_DIRECTION): Define.
30134 * iconvdata/uhc.c (ONE_DIRECTION): Define.
30135 * iconvdata/unicode.c (ONE_DIRECTION): Define.
30136 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
30137 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
30138 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
30140 2014-05-01 Roland McGrath <roland@hack.frob.com>
30142 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
30143 (_IO_JUMPS_OFFSET): Define to 0.
30145 * nptl/sysdeps/pthread/bits/libc-lock.h
30146 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
30147 (__libc_lock_define_initialized_recursive): Always define using
30148 initializer. Modern compilers treat uninitialized (implicit zero) and
30149 explicit zero initializers the same (i.e. put the datum in bss).
30151 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
30153 * nscd/nscd-client.h: Include <string.h>.
30155 2014-05-01 David S. Miller <davem@davemloft.net>
30158 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
30159 multiple zero bytes exist at the end of a string.
30160 Reported by Aurelien Jarno <aurelien@aurel32.net>
30162 * string/test-strcmp.c (check): Add explicit test for situations where
30163 there are multiple zero bytes after the first.
30165 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
30168 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
30169 when compiling wprintf.
30170 * stdio-common/tstdiomisc.c (t3): New function.
30173 2014-05-01 Steve Ellcey <sellcey@mips.com>
30175 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
30176 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
30177 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
30178 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
30180 2014-05-01 Steve Ellcey <sellcey@mips.com>
30182 * stdlib/longlong.h: Updated from GCC.
30184 2014-05-01 Will Newton <will.newton@linaro.org>
30185 Bernard Ogden <bernie.ogden@linaro.org>
30187 * NEWS: Update fixed bug list.
30190 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
30192 2014-04-30 David S. Miller <davem@davemloft.net>
30194 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
30195 (libc_feholdexcept_setround_sparc_ctx): New function.
30196 (libc_fesetenv_sparc_ctx): Likewise.
30197 (libc_feupdateenv_sparc_ctx): Likewise.
30198 (libc_feholdsetround_sparc_ctx): Likewise.
30199 (libc_feholdexcept_setround_ctx): Define.
30200 (libc_feholdexcept_setroundf_ctx): Likewise.
30201 (libc_feholdexcept_setroundl_ctx): Likewise.
30202 (libc_fesetenv_ctx): Likewise.
30203 (libc_fesetenvf_ctx): Likewise.
30204 (libc_fesetenvl_ctx): Likewise.
30205 (libc_feupdateenv_ctx): Likewise.
30206 (libc_feupdateenvf_ctx): Likewise.
30207 (libc_feupdateenvl_ctx): Likewise.
30208 (libc_feresetround_ctx): Likewise.
30209 (libc_feresetroundf_ctx): Likewise.
30210 (libc_feresetroundl_ctx): Likewise.
30211 (libc_feholdsetround_ctx): Likewise.
30212 (libc_feholdsetroundf_ctx): Likewise.
30213 (libc_feholdsetroundl_ctx): Likewise.
30215 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
30216 with __USE_GNU instead of XOPEN cpp guards.
30218 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
30221 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
30222 with XOPEN cpp guards.
30224 2014-04-30 Julian Brown <julian@codesourcery.com>
30227 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
30230 2014-04-30 Joseph Myers <joseph@codesourcery.com>
30233 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
30235 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
30236 * sysdeps/unix/sysv/linux/configure: Regenerated.
30237 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
30238 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
30239 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
30240 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
30241 * README: Update reference to required Linux kernel version.
30242 * manual/install.texi (Linux): Update reference to required Linux
30243 kernel headers version.
30244 * INSTALL: Regenerated.
30246 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
30248 [POSIX] (limits.h): Likewise.
30249 [POSIX] (math.h): Likewise.
30250 [POSIX] (sys/wait.h): Likewise.
30251 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
30253 [POSIX] (stddef.h): Do not allow header inclusion.
30255 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30257 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
30259 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
30261 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
30262 Return immediately after lll_futex_wake.
30264 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
30267 * nscd/nscd-client.h (datahead_init_common): Initialize entire
30269 (datahead_init_pos): Call datahead_init_common early.
30270 (datahead_init_neg): Likewise.
30272 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
30273 datahead_init_neg): New functions.
30274 * nscd/aicache.c (addhstaiX): Use them.
30275 * nscd/grpcache.c (cache_addgr): Likewise.
30276 * nscd/hstcache.c (cache_addhst): Likewise.
30277 * nscd/initgrcache.c (addinitgroupsX): Likewise.
30278 * nscd/netgroupcache.c (do_notfound): Likewise.
30279 (addgetnetgrentX): Likewise.
30280 (addinnetgrX): Likewise.
30281 * nscd/pwdcache.c (cache_addpw): Likewise.
30282 * nscd/servicescache.c (cache_addserv): Likewise.
30284 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
30285 Atsushi Onoe <atsushi@onoe.org>
30290 * resolv/res_query.c (__libc_res_nsearch): Return if at least
30291 one response is valid.
30292 * resolv/res_send.c (send_dg): Check for validity of other
30293 response if the current response is a referral.
30295 2014-04-29 Steve Ellcey <sellcey@mips.com>
30297 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
30299 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
30302 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
30303 Always divide by positive zero when computing -Inf result.
30304 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
30305 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
30307 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30309 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
30310 FPSCR if value do not change.
30311 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
30312 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
30313 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
30314 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
30315 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
30316 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
30319 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
30321 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
30322 * sysdeps/unix/sysv/linux/hppa: Move directory from
30323 ports/systeps/unix/sysv/linux/hppa.
30324 * README: Update listing for hppa-*-linux-gnu.
30326 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
30329 * manual/stdio.texi (Hook functions): Fix types of stream hook
30332 * socket/sys/socket.h: Fix typo in comment.
30334 2014-04-28 Wilco <wdijkstr@arm.com>
30336 * sysdeps/arm/fenv_private.h: New file.
30337 * sysdeps/arm/math_private.h: New file.
30338 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
30340 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
30342 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
30344 (La_x86_64_retval): Likewise.
30346 2014-04-24 Ian Bolton <ian.bolton@arm.com>
30348 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
30349 fpsr if value didn't change.
30350 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
30351 to fpcr if value didn't change.
30352 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
30353 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
30354 fpsr or fpcr if value didn't change.
30355 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
30356 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
30357 fpcr if value didn't change.
30358 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
30359 to fpsr if value didn't change.
30361 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
30363 * nptl/tst-sem3.c: Use test-skeleton.c
30364 (main): Rename to do_test. Use return instead of
30366 * nptl/tst-sem4.c: Use test-skeleton.c
30367 (main): Rename to do_test.
30369 2014-04-22 David S. Miller <davem@davemloft.net>
30371 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
30372 (struct sigaction): New struct member __glibc_reserved0, change
30373 type of sa_flags to int.
30375 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
30377 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
30378 (COUNT_LEADING_ZEROS_0): Define for AArch64.
30380 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
30382 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
30383 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
30385 2014-04-22 Will Newton <will.newton@linaro.org>
30386 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
30388 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
30389 (__longjmp): Add longjmp and longjmp_target SystemTap
30391 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
30392 (__sigsetjmp): Add setjmp SystemTap probe.
30394 2014-04-17 Carlos O'Donell <carlos@redhat.com>
30396 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
30397 match manual order.
30399 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30401 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
30403 * sysdeps/powerpc/fpu/fenv_private.h
30404 (libc_feholdexcept_setroundl_ctx): Define to
30405 libc_feholdexcept_setround_ppc_ctx.
30406 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
30407 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
30408 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
30409 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
30411 2014-04-17 Ian Bolton <ian.bolton@arm.com>
30413 * sysdeps/aarch64/math-tests.h: New file.
30415 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
30417 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
30419 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30420 Check and set bit_AVX2_Usable.
30421 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
30423 (bit_AVX2): Likewise.
30424 (index_AVX2_Usable): Likewise.
30425 (CPUID_AVX2): Likewise.
30426 (HAS_AVX2): Likewise.
30428 2014-04-17 Will Newton <will.newton@linaro.org>
30430 * manual/setjmp.texi (System V contexts): Add note that
30431 calling setcontext on a context created by a call to a
30432 signal handler is undefined. Update text to note that
30433 setcontext from a signal handler is possible but not
30437 * stdlib/tst-setcontext.c: Include signal.h.
30438 (main): Check that the signal stack before and
30439 after swapcontext is the same.
30441 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
30442 Re-implement to restore registers in user code and avoid
30443 rt_sigreturn system call.
30445 2014-04-17 Wilco <wdijkstr@arm.com>
30447 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
30448 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
30449 * math/test-fenv.c: Skip exception trap tests on targets which only
30450 support non-stop mode.
30452 2014-04-17 Ian Bolton <ian.bolton@arm.com>
30453 Wilco Dijkstra <wilco.dijkstra@arm.com>
30455 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
30456 (libc_feholdsetround_aarch64_ctx)
30457 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
30458 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
30459 (libc_feresetround_ctx, libc_feresetroundf_ctx)
30460 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
30461 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
30462 (libc_feresetround_noexl_ctx): Define.
30464 2014-04-16 Richard Henderson <rth@redhat.com>
30466 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
30468 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
30471 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
30472 const from the non-libc, non-ldso copy.
30474 * sysdeps/alpha/libm-test-ulps: Regenerate.
30476 2014-04-16 Ian Bolton <ian.bolton@arm.com>
30477 Wilco Dijkstra <wilco.dijkstra@arm.com>
30479 * sysdeps/aarch64/fpu/math_private.h: New file.
30481 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
30483 * sysdeps/aarch64/libm-test-ulps: Regenerate.
30485 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
30488 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
30489 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
30490 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
30491 Intel MPX bound registers before _dl_profile_fixup.
30492 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
30493 registers after _dl_profile_fixup. Save and restore bound
30494 registers bnd0/bnd1 when calling _dl_call_pltexit.
30495 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
30496 (LR_BND_OFFSET): Likewise.
30497 (LRV_BND0_OFFSET): Likewise.
30498 (LRV_BND1_OFFSET): Likewise.
30500 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
30502 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
30504 * sysdeps/mach/hurd/i386/tls.h: ... here.
30505 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
30506 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
30509 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
30511 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
30513 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
30515 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
30517 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
30520 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
30521 * sysdeps/s390/configure: Regenerate.
30524 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
30525 Set round-to-nearest internally to reduce error accumulation.
30527 2014-04-16 Alan Modra <amodra@gmail.com>
30531 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
30532 * math/libm-test.inc (frexp_test_data): Add tests.
30533 * NEWS: Update fixed bug list.
30535 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
30537 * benchtests/Makefile: Depend on libraries in build directory.
30538 (bench-math): Separate out math tests.
30539 (bench-pthread): Separate out pthread tests.
30540 (bench): Include math and pthread tests.
30542 2014-04-14 Carlos O'Donell <carlos@redhat.com>
30545 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
30546 _dl_debug_initialize.
30548 * configure.ac: Remove SELinux header check.
30549 * configure: Regenerate.
30550 * nscd/selinux.c (perms): Array of const char* to permission names.
30551 (nscd_request_avc_has_perm): Call security_deny_unknown to find
30552 default policy. Call string_to_security_class and string_to_av_perm to
30553 translate strings. Enforce default policy and call avs_has_perm with
30554 results of translated strings.
30556 2014-04-13 David S. Miller <davem@davemloft.net>
30558 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30560 2014-04-12 Allan McRae <allan@archlinux.org>
30563 * manual/string.texi (Collation Functions): Fix qsort argument
30565 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
30567 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
30569 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
30570 Make the test a no-op if there are no exceptions defined.
30572 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
30574 * elf/Makefile (tests): make tst-dlopen-aout conditional on
30575 enable-hardcoded-path-in-tests
30577 2014-04-11 Will Newton <will.newton@linaro.org>
30579 * benchtests/Makefile (extra-objs): Add json-lib.o.
30580 (bench-func): Tidy up JSON output.
30581 * benchtests/bench-skeleton.c: Include json-lib.h.
30582 (main): Use JSON library functions to do output of
30584 * benchtests/bench-timing-type.c (main): Output the
30585 timing type simply, leaving formatting to the user.
30586 * benchtests/json-lib.c: New file.
30587 * benchtests/json-lib.h: Likewise.
30589 2014-04-11 Torvald Riegel <triegel@redhat.com>
30592 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
30593 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
30594 memory barriers. Add comments.
30595 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
30596 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
30597 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
30598 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
30599 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
30600 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
30602 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
30604 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
30605 * sysdeps/s390/s390-64/configure.ac: ... this ...
30606 * sysdeps/s390/configure.ac: ... to here.
30607 * sysdeps/s390/s390-32/configure: Delete file.
30608 * sysdeps/s390/s390-64/configure: Delete file.
30609 * sysdeps/s390/configure: Regenerate.
30611 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
30613 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
30615 2014-04-11 Will Newton <will.newton@linaro.org>
30617 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
30618 to zero if it is not defined elsewhere. (mtrim): Test
30619 the value of MALLOC_DEBUG with #if rather than #ifdef.
30621 2014-04-10 Torvald Riegel <triegel@redhat.com>
30623 * benchtests/pthread_once-inputs: New file.
30624 * benchtests/pthread_once-source.c: New file.
30625 * benchtests/README: Update documentation.
30627 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
30628 H.J. Lu <hongjiu.lu@intel.com>
30631 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
30632 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
30633 * sysdeps/x86_64/configure: Regenerated.
30634 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
30636 (REGISTER_SAVE_RAX): Likewise.
30637 (REGISTER_SAVE_RCX): Likewise.
30638 (REGISTER_SAVE_RDX): Likewise.
30639 (REGISTER_SAVE_RSI): Likewise.
30640 (REGISTER_SAVE_RDI): Likewise.
30641 (REGISTER_SAVE_R8): Likewise.
30642 (REGISTER_SAVE_R9): Likewise.
30643 (REGISTER_SAVE_BND0): Likewise.
30644 (REGISTER_SAVE_BND1): Likewise.
30645 (REGISTER_SAVE_BND2): Likewise.
30646 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
30647 bound registers when calling _dl_fixup.
30649 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30651 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
30652 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
30654 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
30655 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
30656 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
30657 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
30658 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
30659 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
30660 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
30662 2014-04-09 Peter Brett <peter@peter-b.co.uk>
30665 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
30666 pathconf(_PC_NAME_MAX).
30668 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30670 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
30671 Remove macro usage.
30672 (__PTHREAD_SPINS): Move definition to ...
30673 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
30674 (__PTHREAD_SPINS): ... here.
30675 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
30676 (__PTHREAD_SPIN): Likewise.
30677 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
30678 (__PTHREAD_SPIN): Likewise.
30679 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
30680 (__PTHREAD_SPIN): Likewise.
30681 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
30682 (__PTHREAD_SPIN): Likewise.
30683 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
30684 (__PTHREAD_SPIN): Likewise.
30685 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
30686 (__PTHREAD_SPIN): Likewise.
30687 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
30688 (__PTHREAD_SPIN): Likewise.
30689 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
30690 (__PTHREAD_SPIN): Likewise.
30691 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
30692 (__PTHREAD_SPIN): Likewise.
30693 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
30694 (__PTHREAD_SPIN): Likewise.
30695 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
30696 (__PTHREAD_SPIN): Likewise.
30697 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
30698 (__PTHREAD_SPIN): Likewise.
30700 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
30701 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
30702 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
30703 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
30705 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
30706 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
30707 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
30708 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
30709 correct imply path.
30710 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
30711 strlen symbol for non multi-arch builds.
30712 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
30713 missing hidden_def and weak_alias.
30715 2014-04-08 Carlos O'Donell <carlos@redhat.com>
30717 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
30719 2014-04-07 Will Newton <will.newton@linaro.org>
30721 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
30722 and contents. [!_LIBC] Remove #ifndef and contents.
30723 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
30724 * string/memccpy.c (__memccpy): Use ANSI prototype.
30725 * string/memfrob.c (memfrob): Likewise.
30726 * string/strcoll.c (STRCOLL): Likewise.
30727 * string/strlen.c (strlen): Likewise.
30728 * string/strtok.c (STRTOK): Likewise.
30729 * string/strcat.c: Remove unused #include of memcopy.h.
30730 (strcat): Use ANSI prototype.
30731 * string/strchr.c: Remove unused #include of memcopy.h.
30732 (strchr): Use ANSI prototype.
30733 * string/strcmp.c: Remove unused #include of memcopy.h.
30734 (strcmp): Use ANSI prototype.
30735 * string/strcpy.c: Remove unused #include of memcopy.h.
30736 (strcpy): Use ANSI prototype.
30738 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30740 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
30741 * config.make.in (config-extra-cppflags): Set it from
30742 libc_extra_cppflags.
30743 * configure.ac (libc_extra_cflags): Make it accumulate over
30744 configure fragments.
30745 (libc_extra_cppflags): New flag.
30746 * configure. Regenerate.
30747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
30748 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
30749 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
30750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
30753 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
30754 result for FE_DOWNWARD rounding mode.
30755 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
30757 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30759 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
30761 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
30762 in function argument name.
30764 2014-04-03 David Svoboda <svoboda@cert.org>
30767 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
30770 2014-04-03 Roland McGrath <roland@hack.frob.com>
30772 * elf/dl-unmap-segments.h: New file.
30773 * sysdeps/generic/ldsodefs.h
30774 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
30775 * elf/dl-close.c: Include <dl-unmap-segments.h>.
30776 * elf/dl-fptr.c: Likewise.
30777 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
30778 * sysdeps/aarch64/tlsdesc.c: Likewise.
30779 * sysdeps/arm/tlsdesc.c: Likewise.
30780 * sysdeps/i386/tlsdesc.c: Likewise.
30781 * sysdeps/tile/dl-runtime.c: Likewise.
30782 * sysdeps/x86_64/tlsdesc.c: Likewise.
30783 * elf/dl-load.h: New file.
30784 * elf/dl-load.c: Include it.
30785 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
30786 Macros moved to dl-load.h.
30787 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
30788 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
30789 Use _dl_unmap_segments in place of __munmap.
30790 Break out segment-mapping loop into ...
30791 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
30793 2014-04-03 Will Newton <will.newton@linaro.org>
30795 * elf/dl-lookup.c (do_lookup_x): Remove comment
30796 referring to nested function and move variable
30797 declarations down to before first use.
30799 2014-04-02 Joseph Myers <joseph@codesourcery.com>
30803 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
30805 * math/s_catanf.c (__catanf): Likewise.
30806 * math/s_catanh.c (__catanh): Likewise.
30807 * math/s_catanhf.c (__catanhf): Likewise.
30808 * math/s_catanhl.c (__catanhl): Likewise.
30809 * math/s_catanl.c (__catanl): Likewise.
30810 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
30811 by positive zero when computing -Inf result.
30812 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
30813 (catanh_test): Likewise.
30814 * sysdeps/i386/fpu/libm-test-ulps: Update.
30815 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30818 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
30819 instead of using underflowing value in computing result.
30820 * math/s_clog10.c (__clog10): Likewise.
30821 * math/s_clog10f.c (__clog10f): Likewise.
30822 * math/s_clog10l.c (__clog10l): Likewise.
30823 * math/s_clogf.c (__clogf): Likewise.
30824 * math/s_clogl.c (__clogl): Likewise.
30825 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
30826 (clog10_test): Likewise.
30827 * sysdeps/i386/fpu/libm-test-ulps: Update.
30828 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30830 2014-04-02 Alan Modra <amodra@gmail.com>
30833 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
30834 output when value is near a power of two. Use int64_t for lx and
30835 remove casts. Use decimal rather than hex exponent constants.
30836 Don't use long double multiplication when double will suffice.
30837 * math/libm-test.inc (nextafter_test_data): Add tests.
30838 * NEWS: Add 16739 and 16786 to bug list.
30840 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
30842 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
30844 2014-04-01 Will Newton <will.newton@linaro.org>
30846 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
30847 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
30849 2014-04-01 Florian Weimer <fweimer@redhat.com>
30852 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
30853 * nptl/tst-setuid2.c: New file.
30854 * nptl/Makefile (xtests): Add tst-setuid2.
30856 2014-04-01 Alan Modra <amodra@gmail.com>
30859 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
30861 2014-03-31 Joseph Myers <joseph@codesourcery.com>
30865 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
30866 set errno as appropriate.
30867 * math/w_scalbf.c (__scalbf): Likewise.
30868 * math/w_scalbl.c (__scalbl): Likewise.
30869 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
30870 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
30871 * math/libm-test.inc (scalb_test_data): Add errno expectations.
30872 Add more NaN tests.
30875 * math/w_atan2.c: Include <errno.h>.
30876 (__atan2): Set errno for result underflowing to zero.
30877 * math/w_atan2f.c: Include <errno.h>.
30878 (__atan2f): Set errno for result underflowing to zero.
30879 * math/w_atan2l.c: Include <errno.h>.
30880 (__atan2l): Set errno for result underflowing to zero.
30881 * math/auto-libm-test-in: Don't allow missing errno for some atan2
30883 * math/auto-libm-test-out: Regenerated.
30885 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30887 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
30888 Encode instruction correctly in little endian.
30889 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
30891 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
30893 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
30895 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
30898 2014-03-31 Joseph Myers <joseph@codesourcery.com>
30901 * sysdeps/unix/sysv/linux/kernel-features.h
30902 [__sparc__ && !__arch64__ && !__sparc_v9__]
30903 (__ASSUME_SET_ROBUST_LIST): Do not define.
30904 [__sparc__ && !__arch64__ && !__sparc_v9__]
30905 (__ASSUME_FUTEX_LOCK_PI): Likewise.
30906 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
30908 * sysdeps/unix/sysv/linux/arm/kernel-features.h
30909 (__ASSUME_FUTEX_LOCK_PI): Undefine.
30910 (__ASSUME_REQUEUE_PI): Likewise.
30911 (__ASSUME_SET_ROBUST_LIST): Likewise.
30912 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
30913 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
30915 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
30916 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
30918 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
30920 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
30922 * sysdeps/unix/sysv/linux/mips/kernel-features.h
30923 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
30925 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
30926 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
30930 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
30931 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
30932 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
30934 2014-03-31 Will Newton <will.newton@linaro.org>
30936 * benchtests/Makefile (bench): Add ffs and ffsll to list
30938 * benchtests/ffs-inputs: New file.
30939 * benchtests/ffsll-inputs: Likewise.
30941 2014-03-29 Joseph Myers <joseph@codesourcery.com>
30944 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
30945 too large before casting to int.
30946 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
30947 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
30948 * math/libm-test.inc (scalb_test_data): Add more tests.
30950 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
30952 * benchtests/Makefile (DETAILED_OPT): New make option.
30953 (bench-func): Run benchmark program with -d if DETAILED_OPT is
30955 * benchtests/bench-skeleton.c: Include stdbool.h.
30956 (main): Store and print timings per input.
30957 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
30958 member to each argument value.
30959 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
30960 (_print_arg_data): Initialize per-input timing to 0.
30962 * benchtests/Makefile (timing-type): New binary.
30963 (bench-clean): Also remove bench-timing-type.
30964 (bench): New target for timing-type.
30965 (bench-func): Print output in JSON format.
30966 * benchtests/bench-skeleton.c (main): Print output in JSON
30968 * benchtests/bench-timing-type.c: New file.
30969 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
30970 (TIMING_PRINT_STATS): Remove.
30971 * benchtests/scripts/bench.py (_print_arg_data): Store variant
30974 * benchtests/bench-modf.c: Remove.
30975 * benchtests/modf-inputs: New inputs file.
30977 2014-03-28 Joseph Myers <joseph@codesourcery.com>
30980 * math/s_clog10.c (M_PI_LOG10E): New macro.
30981 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
30982 imaginary parts are 0.
30983 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
30984 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
30985 imaginary parts are 0.
30986 * math/s_clog10l.c (M_PI_LOG10El): New macro.
30987 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
30988 imaginary parts are 0.
30989 * math/libm-test.inc (clog10_test_data): Update expected results
30990 for when real and imaginary parts are 0.
30992 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
30994 * elf/dl-load.c: Finish conversion of __builtin_expect into
30995 __glibc_{un}likely.
30997 2014-03-27 Joseph Myers <joseph@codesourcery.com>
31000 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
31001 1+x for argument with exponent below -67.
31002 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
31004 * math/auto-libm-test-in: Add more tests of exp.
31005 * math/auto-libm-test-out: Regenerated.
31007 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
31010 * inet/getnetgrent_r.c (get_nonempty_val): New function.
31011 (nscd_getnetgrent): Use it.
31014 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
31017 2014-03-27 Andi Kleen <ak@linux.intel.com>
31019 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
31020 (lll_robust_lock, lll_cond_lock, lll_timedlock)
31021 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
31022 (lll_robust_unlock): Remove out of line section. Use cfi
31024 (LLL_STUB_UNWIND_INFO*): Remove.
31025 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
31026 (lll_robust_lock, lll_cond_lock, lll_timedlock)
31027 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
31028 (lll_robust_unlock): Remove out of line section. Use cfi
31030 (LLL_STUB_UNWIND_INFO*): Remove.
31032 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
31035 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
31038 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
31040 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
31042 2014-03-26 Joseph Myers <joseph@codesourcery.com>
31045 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
31047 * math/test-fenv-preserve.c: New file.
31048 * math/Makefile (tests): Add test-fenv-preserve.
31050 2014-03-26 Will Newton <will.newton@linaro.org>
31052 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
31054 2014-03-25 Roland McGrath <roland@hack.frob.com>
31056 * scripts/versionlist.awk: Partition the version sets and emit all
31057 GLIBC_* (sorted) before all others (sorted).
31059 2014-03-25 Joseph Myers <joseph@codesourcery.com>
31061 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
31062 GLIBC_2.2.5 version.
31064 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31066 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
31069 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
31072 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31074 2014-03-25 Andreas Schwab <schwab@suse.de>
31076 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
31077 label to be used after in6ailist is initialized.
31079 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31081 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
31082 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
31084 2014-03-25 Joseph Myers <joseph@codesourcery.com>
31088 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
31090 (fp_formats): Update initializers.
31091 (init_fp_formats): Initialize new field.
31092 (output_for_one_input_case): Allow underflow for results up to
31094 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
31095 * math/auto-libm-test-in: Don't mark some underflows from asin and
31097 * math/auto-libm-test-out: Regenerated.
31098 * sysdeps/i386/fpu/libm-test-ulps: Update.
31099 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31101 2014-03-25 Andreas Schwab <schwab@suse.de>
31103 * libio/Makefile (tst-ftell-partial-wide-ENV)
31104 (tst-ftell-active-handler-ENV): Define.
31106 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
31108 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
31110 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
31112 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
31114 2014-03-24 Joseph Myers <joseph@codesourcery.com>
31116 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
31117 * sysdeps/x86_64/fpu/multiarch/e_exp.c
31118 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
31120 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
31123 * elf/dl-load.c (open_verify): Add mode parameter.
31124 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
31125 (open_path): Change from boolean 'secure' to complete flag 'mode'
31126 (_dl_map_object): Adjust.
31127 * elf/Makefile (tests): Add tst-dlopen-aout.
31128 * elf/tst-dlopen-aout.c: New test.
31130 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
31133 * sysdeps/unix/sysv/linux/s390/bits/stat.h
31134 (struct stat): Rename member pad0 to __glibc_reserved0.
31137 * sysdeps/s390/s390-32/bits/wordsize.h
31138 (__WORDSIZE32_SIZE_ULONG): New define.
31139 * sysdeps/s390/s390-64/bits/wordsize.h
31140 (__WORDSIZE32_SIZE_ULONG): Likewise.
31141 * sysdeps/generic/stdint.h (SIZE_MAX):
31142 Define as UL if __WORDSIZE32_SIZE_ULONG.
31145 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
31146 (__glibc_reserved0): New variable.
31147 (sa_flags): Change type to int.
31149 * posix/Makefile (before-compile): Use += before-compile instead
31152 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
31153 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
31155 2014-03-20 Andreas Schwab <schwab@suse.de>
31158 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
31159 non-matching result from nscd.
31161 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
31163 * scripts/bench.py: Moved to ...
31164 * benchtests/scripts/bench.py: ... here.
31165 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
31167 2014-03-24 Andreas Schwab <schwab@suse.de>
31170 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
31171 alloca_account and account alloca use for struct in6ailist.
31173 2014-03-24 Joseph Myers <joseph@codesourcery.com>
31176 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
31177 rounding mode to recompute results that overflow to infinity or
31179 * math/auto-libm-test-in: Don't mark tests as expected to fail for
31181 * math/auto-libm-test-out: Regenerated.
31182 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
31183 (ccosh_test): Likewise.
31184 (csin_test_data): Use plus_oflow.
31185 (csin_test): Use ALL_RM_TEST.
31186 (csinh_test_data): Use plus_oflow.
31187 (csinh_test): Use ALL_RM_TEST.
31188 * sysdeps/i386/fpu/libm-test-ulps: Update.
31189 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31191 2014-03-21 Joseph Myers <joseph@codesourcery.com>
31193 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
31194 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
31195 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
31198 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
31199 when x - 1 is zero.
31200 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
31201 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
31202 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
31203 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
31205 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
31206 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
31208 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
31209 * sysdeps/i386/fpu/libm-test-ulps: Update.
31210 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31212 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
31214 * scripts/bench.pl: Remove file.
31215 * scripts/bench.py: New benchmark script.
31216 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
31217 * benchtests/README: Mention python dependency.
31218 * scripts/pylintrc: New file.
31219 * scripts/pylint: New file.
31221 * bits/mathdef.h: Use #ifdef instead of #if.
31222 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
31223 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
31224 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
31225 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
31226 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
31227 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
31229 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31230 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
31232 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
31233 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
31234 and strpbrk-ppc64 objects.
31235 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31236 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
31237 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
31238 multiarch strpbrk for POWER7.
31239 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
31240 multiarch strpbrk for PPC64.
31241 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
31243 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
31244 strpbrk for POWER7.
31246 2014-03-20 Joseph Myers <joseph@codesourcery.com>
31248 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
31249 (atan_test): Likewise.
31250 (atanh_test_data): Use NO_TEST_INLINE for two tests.
31251 (atanh_test): Use ALL_RM_TEST.
31252 (atan2_test_data): Likewise.
31253 (cabs_test): Likewise.
31254 (cacosh_test): Likewise.
31255 (carg_test): Likewise.
31256 (casin_test): Likewise.
31257 (casinh_test): Likewise.
31258 (cbrt_test): Likewise.
31259 (csqrt_test): Likewise.
31260 (erf_test): Likewise.
31261 (erfc_test): Likewise.
31262 (pow10_test): Likewise.
31263 (exp2_test): Likewise.
31264 (hypot_test): Likewise.
31265 (j0_test): Likewise.
31266 (j1_test): Likewise.
31267 (lgamma_test): Likewise.
31268 (gamma_test): Likewise.
31269 (sincos_test): Likewise.
31270 (tanh_test): Likewise.
31271 (y0_test): Likewise.
31272 (y1_test): Likewise.
31273 * sysdeps/i386/fpu/libm-test-ulps: Update.
31274 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31276 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31278 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
31279 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
31280 and strcspn-ppc64 objects.
31281 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31282 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
31283 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
31284 multiarch strcspn for POWER7.
31285 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
31286 multiarch strcspn for PPC64.
31287 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
31289 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
31290 strcspn for POWER7.
31292 2014-03-20 Joseph Myers <joseph@codesourcery.com>
31294 * math/gen-libm-test.pl (generate_testfile): Expect only function
31295 name as argument to AUTO_TESTS_* and pass results for all rounding
31296 modes to parse_args.
31297 (parse_auto_input): Separate inputs of automatic tests from
31298 outputs before storing in %auto_tests.
31299 * math/libm-test.inc (acos_test_data): Update call to
31301 (acos_test): Use ALL_RM_TEST.
31302 (acos_tonearest_test_data): Remove.
31303 (acos_test_tonearest): Likewise.
31304 (acos_towardzero_test_data): Likewise.
31305 (acos_test_towardzero): Likewise.
31306 (acos_downward_test_data): Likewise.
31307 (acos_test_downward): Likewise.
31308 (acos_upward_test_data): Likewise.
31309 (acos_test_upward): Likewise.
31310 (acosh_test_data): Update call to AUTO_TESTS_f_f.
31311 (asin_test_data): Likewise.
31312 (asin_test): Use ALL_RM_TEST.
31313 (asin_tonearest_test_data): Remove.
31314 (asin_test_tonearest): Likewise.
31315 (asin_towardzero_test_data): Likewise.
31316 (asin_test_towardzero): Likewise.
31317 (asin_downward_test_data): Likewise.
31318 (asin_test_downward): Likewise.
31319 (asin_upward_test_data): Likewise.
31320 (asin_test_upward): Likewise.
31321 (asinh_test_data): Update call to AUTO_TESTS_f_f.
31322 (atan_test_data): Likewise.
31323 (atanh_test_data): Likewise.
31324 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
31325 (cabs_test_data): Update call to AUTO_TESTS_c_f.
31326 (carg_test_data): Likewise.
31327 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
31328 (ccos_test_data): Update call to AUTO_TESTS_c_c.
31329 (ccosh_test_data): Likewise.
31330 (cexp_test_data): Likewise.
31331 (clog_test_data): Likewise.
31332 (clog10_test_data): Likewise.
31333 (cos_test_data): Update call to AUTO_TESTS_f_f.
31334 (cos_test): Use ALL_RM_TEST.
31335 (cos_tonearest_test_data): Remove.
31336 (cos_test_tonearest): Likewise.
31337 (cos_towardzero_test_data): Likewise.
31338 (cos_test_towardzero): Likewise.
31339 (cos_downward_test_data): Likewise.
31340 (cos_test_downward): Likewise.
31341 (cos_upward_test_data): Likewise.
31342 (cos_test_upward): Likewise.
31343 (cosh_test_data): Update call to AUTO_TESTS_f_f.
31344 (cosh_test): Use ALL_RM_TEST.
31345 (cosh_tonearest_test_data): Remove.
31346 (cosh_test_tonearest): Likewise.
31347 (cosh_towardzero_test_data): Likewise.
31348 (cosh_test_towardzero): Likewise.
31349 (cosh_downward_test_data): Likewise.
31350 (cosh_test_downward): Likewise.
31351 (cosh_upward_test_data): Likewise.
31352 (cosh_test_upward): Likewise.
31353 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
31354 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
31355 (ctan_test_data): Likewise.
31356 (ctan_test): Use ALL_RM_TEST.
31357 (ctan_tonearest_test_data): Remove.
31358 (ctan_test_tonearest): Likewise.
31359 (ctan_towardzero_test_data): Likewise.
31360 (ctan_test_towardzero): Likewise.
31361 (ctan_downward_test_data): Likewise.
31362 (ctan_test_downward): Likewise.
31363 (ctan_upward_test_data): Likewise.
31364 (ctan_test_upward): Likewise.
31365 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
31366 (ctanh_test): Use ALL_RM_TEST.
31367 (ctanh_tonearest_test_data): Remove.
31368 (ctanh_test_tonearest): Likewise.
31369 (ctanh_towardzero_test_data): Likewise.
31370 (ctanh_test_towardzero): Likewise.
31371 (ctanh_downward_test_data): Likewise.
31372 (ctanh_test_downward): Likewise.
31373 (ctanh_upward_test_data): Likewise.
31374 (ctanh_test_upward): Likewise.
31375 (erf_test_data): Update call to AUTO_TESTS_f_f.
31376 (erfc_test_data): Likewise.
31377 (exp_test_data): Likewise.
31378 (exp_test): Use ALL_RM_TEST.
31379 (exp_tonearest_test_data): Remove.
31380 (exp_test_tonearest): Likewise.
31381 (exp_towardzero_test_data): Likewise.
31382 (exp_test_towardzero): Likewise.
31383 (exp_downward_test_data): Likewise.
31384 (exp_test_downward): Likewise.
31385 (exp_upward_test_data): Likewise.
31386 (exp_test_upward): Likewise.
31387 (exp10_test_data): Update call to AUTO_TESTS_f_f.
31388 (exp10_test): Use ALL_RM_TEST.
31389 (exp10_tonearest_test_data): Remove.
31390 (exp10_test_tonearest): Likewise.
31391 (exp10_towardzero_test_data): Likewise.
31392 (exp10_test_towardzero): Likewise.
31393 (exp10_downward_test_data): Likewise.
31394 (exp10_test_downward): Likewise.
31395 (exp10_upward_test_data): Likewise.
31396 (exp10_test_upward): Likewise.
31397 (exp2_test_data): Update call to AUTO_TESTS_f_f.
31398 (expm1_test_data): Likewise.
31399 (expm1_test): Use ALL_RM_TEST.
31400 (expm1_tonearest_test_data): Remove.
31401 (expm1_test_tonearest): Likewise.
31402 (expm1_towardzero_test_data): Likewise.
31403 (expm1_test_towardzero): Likewise.
31404 (expm1_downward_test_data): Likewise.
31405 (expm1_test_downward): Likewise.
31406 (expm1_upward_test_data): Likewise.
31407 (expm1_test_upward): Likewise.
31408 (fma_test_data): Update call to AUTO_TESTS_fff_f.
31409 (fma_test): Use ALL_RM_TEST.
31410 (fma_towardzero_test_data): Remove.
31411 (fma_test_towardzero): Likewise.
31412 (fma_downward_test_data): Likewise.
31413 (fma_test_downward): Likewise.
31414 (fma_upward_test_data): Likewise.
31415 (fma_test_upward): Likewise.
31416 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
31417 (j0_test_data): Update call to AUTO_TESTS_f_f.
31418 (j1_test_data): Likewise.
31419 (jn_test_data): Update call to AUTO_TESTS_if_f.
31420 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
31421 (log_test_data): Update call to AUTO_TESTS_f_f.
31422 (log10_test_data): Likewise.
31423 (log1p_test_data): Likewise.
31424 (log2_test_data): Likewise.
31425 (pow_test_data): Update call to AUTO_TESTS_ff_f.
31426 (pow_tonearest_test_data): Likewise.
31427 (sin_test_data): Update call to AUTO_TESTS_f_f.
31428 (sin_test): Use ALL_RM_TEST.
31429 (sin_tonearest_test_data): Remove.
31430 (sin_test_tonearest): Likewise.
31431 (sin_towardzero_test_data): Likewise.
31432 (sin_test_towardzero): Likewise.
31433 (sin_downward_test_data): Likewise.
31434 (sin_test_downward): Likewise.
31435 (sin_upward_test_data): Likewise.
31436 (sin_test_upward): Likewise.
31437 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
31438 (sinh_test_data): Update call to AUTO_TESTS_f_f.
31439 (sinh_test): Use ALL_RM_TEST.
31440 (sinh_tonearest_test_data): Remove.
31441 (sinh_test_tonearest): Likewise.
31442 (sinh_towardzero_test_data): Likewise.
31443 (sinh_test_towardzero): Likewise.
31444 (sinh_downward_test_data): Likewise.
31445 (sinh_test_downward): Likewise.
31446 (sinh_upward_test_data): Likewise.
31447 (sinh_test_upward): Likewise.
31448 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
31449 (sqrt_test): Use ALL_RM_TEST.
31450 (sqrt_tonearest_test_data): Remove.
31451 (sqrt_test_tonearest): Likewise.
31452 (sqrt_towardzero_test_data): Likewise.
31453 (sqrt_test_towardzero): Likewise.
31454 (sqrt_downward_test_data): Likewise.
31455 (sqrt_test_downward): Likewise.
31456 (sqrt_upward_test_data): Likewise.
31457 (sqrt_test_upward): Likewise.
31458 (tan_test_data): Update call to AUTO_TESTS_f_f.
31459 (tan_test): Use ALL_RM_TEST.
31460 (tan_tonearest_test_data): Remove.
31461 (tan_test_tonearest): Likewise.
31462 (tan_towardzero_test_data): Likewise.
31463 (tan_test_towardzero): Likewise.
31464 (tan_downward_test_data): Likewise.
31465 (tan_test_downward): Likewise.
31466 (tan_upward_test_data): Likewise.
31467 (tan_test_upward): Likewise.
31468 (tanh_test_data): Update call to AUTO_TESTS_f_f.
31469 (tgamma_test_data): Likewise.
31470 (y0_test_data): Likewise.
31471 (y1_test_data): Likewise.
31472 (yn_test_data): Update call to AUTO_TESTS_if_f.
31473 (main): Do not call removed functions.
31475 2014-03-19 Joseph Myers <joseph@codesourcery.com>
31477 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
31478 (ldexp_test_data): Remove.
31479 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
31481 (scalb_test): Use ALL_RM_TEST.
31483 2014-03-19 Andreas Schwab <schwab@suse.de>
31485 * nscd/nscd.service: Also invalidate netgroup cache on reload.
31487 2014-03-19 Joseph Myers <joseph@codesourcery.com>
31490 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
31491 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
31492 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
31493 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
31494 (__ASSUME_PREADV): Undefine.
31495 (__ASSUME_PWRITEV): Likewise.
31497 2014-03-18 Roland McGrath <roland@hack.frob.com>
31499 * bits/mman-linux.h: Add comment about non-Linux use.
31500 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
31501 bits/mman-linux.h resting place.
31503 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
31504 * bits/mman-linux.h: ... here.
31506 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31508 * conform/conformtest.pl: Add standard definition when calling C
31509 preprocessor on data files.
31510 (checknamespace): Remove unused variable.
31512 2014-03-18 Joseph Myers <joseph@codesourcery.com>
31514 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
31515 minus_oflow, plus_uflow and minus_uflow in expected results.
31516 * math/libm-test.inc (scalbn_test_data): Add more tests of
31517 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
31519 (scalbn_test): Use ALL_RM_TEST.
31520 (scalbln_test_data): Add more tests of negative arguments. Use
31521 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
31522 (scalbln_test): Use ALL_RM_TEST.
31524 2014-03-18 Roland McGrath <roland@hack.frob.com>
31526 * scripts/abilist.awk: Ignore symbols marked with .hidden.
31528 2014-03-18 Will Newton <will.newton@linaro.org>
31530 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
31531 inaccurate comment.
31533 2014-03-18 Joseph Myers <joseph@codesourcery.com>
31535 * Makerules [!subdir] (check-abi): Exit with error status if a
31538 2014-03-17 Joseph Myers <joseph@codesourcery.com>
31540 * math/libm-test.inc (nearbyint_test_data): Include all tests used
31541 for rint. Include results for all rounding modes.
31542 (nearbyint_test): Use ALL_RM_TEST.
31543 (rint_test_data): Include all tests used for nearbyint.
31545 2014-03-17 Will Newton <will.newton@linaro.org>
31547 * nptl/sysdeps/pthread/pthread.h: Revert previous
31550 * sysdeps/generic/ldsodefs.h: Revert previous
31553 * libio/genops.c: Revert previous change.
31554 * libio/libioP.h: Likewise.
31555 * stdio-common/vfprintf.c: Likewise.
31557 * sysdeps/generic/math_private.h: Revert previous
31560 * sysdeps/generic/math_private.h: Check whether
31561 HAVE_RM_CTX is defined with #ifdef rather
31564 * argp/argp-fmtstream.h: Check whether
31565 __STRICT_ANSI__ is defined with #ifdef rather
31567 * argp/argp.h: Likewise.
31569 * libio/genops.c: Check whether
31570 _IO_JUMPS_OFFSET is defined with #ifdef rather
31572 * libio/libioP.h: Likewise.
31573 * stdio-common/vfprintf.c: Likewise.
31575 * sysdeps/generic/ldsodefs.h: Check whether
31576 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
31579 * nptl/sysdeps/pthread/pthread.h: Check
31580 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
31583 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
31585 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
31587 * libio/tst-ftell-active-handler.c (do_append_test): Add a
31591 * libio/fileops.c (_IO_file_open): Seek to end of file but
31592 don't cache the offset.
31593 (get_file_offset): Remove function.
31594 (do_ftell): Use cached offset when available.
31595 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
31596 don't cache the offset.
31597 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
31599 (do_one_test): Call it.
31600 (do_ftell_test): Fix up expected old offset for a+ mode.
31601 * libio/wfileops.c (do_ftell_wide): Used cached offset when
31604 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
31605 up test status with function return status.
31606 (do_write_test): Likewise.
31607 (do_append_test): Likewise.
31609 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
31610 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
31613 2014-03-17 Joseph Myers <joseph@codesourcery.com>
31615 * math/gen-libm-test.pl (parse_args): Handle results specified for
31616 each rounding mode separately.
31617 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
31618 tests and results from lrint_tonearest_test_data,
31619 lrint_towardzero_test_data, lrint_downward_test_data and
31620 lrint_upward_test_data.
31621 (lrint_test): Use ALL_RM_TEST.
31622 (lrint_tonearest_test_data): Remove.
31623 (lrint_test_tonearest): Likewise.
31624 (lrint_towardzero_test_data): Likewise.
31625 (lrint_test_towardzero): Likewise.
31626 (lrint_downward_test_data): Likewise.
31627 (lrint_test_downward): Likewise.
31628 (lrint_upward_test_data): Likewise.
31629 (lrint_test_upward): Likewise.
31630 (llrint_test_data): Merge in per-rounding-mode tests and results
31631 from llrint_tonearest_test_data, llrint_towardzero_test_data,
31632 llrint_downward_test_data and llrint_upward_test_data.
31633 (llrint_test): Use ALL_RM_TEST.
31634 (llrint_tonearest_test_data): Remove.
31635 (llrint_test_tonearest): Likewise.
31636 (llrint_towardzero_test_data): Likewise.
31637 (llrint_test_towardzero): Likewise.
31638 (llrint_downward_test_data): Likewise.
31639 (llrint_test_downward): Likewise.
31640 (llrint_upward_test_data): Likewise.
31641 (llrint_test_upward): Likewise.
31642 (rint_test_data): Merge in per-rounding-mode tests and results
31643 from rint_tonearest_test_data, rint_towardzero_test_data,
31644 rint_downward_test_data and rint_upward_test_data. Add
31645 per-rounding-mode results for tests not in those arrays.
31646 (rint_test): Use ALL_RM_TEST.
31647 (rint_tonearest_test_data): Remove.
31648 (rint_test_tonearest): Likewise.
31649 (rint_towardzero_test_data): Likewise.
31650 (rint_test_towardzero): Likewise.
31651 (rint_downward_test_data): Likewise.
31652 (rint_test_downward): Likewise.
31653 (rint_upward_test_data): Likewise.
31654 (rint_test_upward): Likewise.
31655 (main): Don't call removed functions.
31657 2014-03-14 Roland McGrath <roland@hack.frob.com>
31659 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
31660 "Compiled on ..." crapola. It is anti-useful.
31662 2014-03-14 Joseph Myers <joseph@codesourcery.com>
31664 * scripts/evaluate-test.sh: Handle fourth argument to determine
31665 whether test run should stop on failure.
31666 * Makeconfig (stop-on-test-failure): New variable.
31667 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
31668 $(stop-on-test-failure).
31669 * Makefile (tests): Give a summary of results from testing and
31670 exit with failure status if they include an ERROR or FAIL.
31671 (xtests): Likewise.
31672 * manual/install.texi (Configuring and compiling): Mention
31673 stop-on-test-failure=y.
31674 * INSTALL: Regenerated.
31676 2014-03-14 Roland McGrath <roland@hack.frob.com>
31678 * scripts/versionlist.awk: New file.
31679 * Makerules [$(build-shared) = yes]
31680 (postclean-generated): Add Versions.def, not Versions.def.v and
31682 ($(common-objpfx)Versions.def.v.i): Target removed.
31683 ($(common-objpfx)Versions.def): New target.
31684 ($(common-objpfx)Versions.all): Depend on that rather that
31685 $(common-objpfx)Versions.def.v.
31686 * Versions.def: File removed.
31688 * Makeconfig (+gccwarn): Add -Wundef.
31689 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
31690 a dl-sysdep.h breaking its contract.
31691 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
31692 * include/stackinfo.h: New file.
31693 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
31694 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
31695 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
31696 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
31697 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
31698 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
31699 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
31700 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
31701 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
31702 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
31703 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
31704 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
31705 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
31706 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
31707 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
31709 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31712 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
31714 * math/libm-test.inc (round_test_data): Add more tests.
31717 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
31719 * math/libm-test.inc (nearbyint_test_data): Add more tests.
31722 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
31724 * math/libm-test.inc (ceil_test_data): Add more tests.
31726 * math/libm-test.inc (trunc_test_data): Add more tests related to
31729 2014-03-14 Roland McGrath <roland@hack.frob.com>
31731 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
31732 with #if rather than #ifdef.
31733 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
31735 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
31737 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
31738 first. Disable AVX-512 GCC support if assembler doesn't support
31740 * sysdeps/x86_64/configure: Regenerated.
31742 2014-03-13 Carlos O'Donell <carlos@redhat.com>
31744 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
31745 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
31746 (__old_pthread_attr_setstack): Likewise.
31747 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
31748 [!_STACK_GROWS_DOWN]: Likewise.
31750 2014-03-13 Mike Frysinger <vapier@gentoo.org>
31752 * config.make.in (have-bash2): Delete.
31753 * configure.ac (libc_cv_have_bash2): Delete.
31754 * configure: Regenerate.
31755 * elf/Makefile (common-ldd-rewrite): Rename to ...
31756 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
31757 (sh-ldd-rewrite): Delete.
31758 (bash-ldd-rewrite): Delete.
31759 (have-bash2): Delete checks.
31760 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
31763 * config.make.in (have-ksh): Delete.
31765 * configure.ac (libc_cv_have_ksh): Delete.
31766 * configure: Regenerate.
31768 * elf/Makefile: Delete $(have-ksh) check.
31769 ($(objpfx)sotruss): Change KSH to BASH.
31770 * elf/sotruss.ksh: Rename to ...
31771 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
31772 function style to match POSIX. Drop ksh vim mode setting.
31774 * manual/time.texi (Specifying the Time Zone with TZ): Change
31775 Tuesday to Thursday.
31777 * debug/tst-longjmp_chk2.c: Update header comment.
31778 (stackoverflow_handler): Add comment. Call assert on pass value.
31780 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
31783 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
31784 (HAVE_AVX512_ASM_SUPPORT): Likewise.
31785 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
31786 (La_x86_64_vector): Add zmm.
31787 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
31788 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
31789 ($(objpfx)tst-audit10): New target.
31790 ($(objpfx)tst-audit10.out): Likewise.
31791 (tst-audit10-ENV): New.
31792 (AVX512-CFLAGS): Likewise.
31793 (CFLAGS-tst-audit10.c): Likewise.
31794 (CFLAGS-tst-auditmod10a.c): Likewise.
31795 (CFLAGS-tst-auditmod10b.c): Likewise.
31796 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
31797 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
31798 * sysdeps/x86_64/configure: Regenerated.
31799 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
31800 AVX-512 zmm register support.
31801 (_dl_x86_64_save_sse): Likewise.
31802 (_dl_x86_64_restore_sse): Likewise.
31803 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
31804 size vector registers.
31805 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
31806 (ZMM_SIZE): Likewise.
31807 * sysdeps/x86_64/tst-audit10.c: New file.
31808 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
31809 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
31811 2014-03-13 Roland McGrath <roland@hack.frob.com>
31813 * configure.ac (HAVE_EHDR_START): New check.
31814 * configure: Regenerated.
31815 * config.h.in (HAVE_EHDR_START): New #undef.
31816 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
31817 assuming the lowest-addressed segment maps the start of the file.
31819 2014-03-13 Joseph Myers <joseph@codesourcery.com>
31821 * INSTALL: Regenerated.
31823 2014-03-13 Will Newton <will.newton@linaro.org>
31825 * manual/setjmp.texi (System V contexts): Improve
31826 clarity and grammar of documentation.
31828 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
31831 * elf/Makefile (tests): Add tst-pie2.
31832 (tests-pie): Add tst-pie2.
31833 * elf/tst-pie2.c: New file.
31834 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
31836 * elf/rtld.c (map_doit): Load executable as lt_executable.
31837 (dl_main): Likewise.
31839 2014-03-12 Joseph Myers <joseph@codesourcery.com>
31842 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
31843 (__ASSUME_PSELECT): Undefine.
31845 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31848 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
31849 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
31851 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
31852 selector for static builds.
31854 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
31857 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
31860 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31862 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
31863 IFUNC selector for static builds.
31865 2014-03-11 Joseph Myers <joseph@codesourcery.com>
31867 * sysdeps/mips/math_private.h [__mips_hard_float]
31868 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
31869 libc_feresetround_mips_ctx.
31870 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
31871 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
31872 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
31875 * math/s_nextafter.c (__nextafter): Do not return value from
31876 overflowing computation.
31877 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
31878 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
31879 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
31881 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
31883 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
31884 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
31886 2014-03-11 Roland McGrath <roland@hack.frob.com>
31888 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
31889 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
31890 Move sfi_sp use from the load-multiple (that no longer sets sp) to
31891 the new mov targetting sp.
31893 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31896 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
31897 Define it for static builds as well.
31898 (NO_BZERO_IMPL): Likewise.
31900 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
31902 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
31903 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
31904 multiarch strspn for PPC64.
31905 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
31906 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
31907 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
31908 (__libc_ifunc_impl_list): Likewise.
31909 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
31910 multiarch optimizations
31911 * string/strspn.c (strspn): Using macro to redefine symbol name.
31913 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
31914 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31916 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
31917 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
31918 multiarch strncat for PPC64.
31919 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
31920 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
31921 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
31922 (__libc_ifunc_impl_list): Likewise.
31923 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
31924 multiarch optimizations
31926 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
31929 * nscd/nscd.service: Make service type forking.
31931 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31933 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
31934 sign in non default rounding modes.
31935 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
31937 2014-03-08 Joseph Myers <joseph@codesourcery.com>
31939 * math/libm-test.inc (ALL_RM_TEST): New macro.
31940 (ceil_test): Use ALL_RM_TEST.
31941 (cimag_test): Likewise.
31942 (conj_test): Likewise.
31943 (copysign_test): Likewise.
31944 (cproj_test): Likewise.
31945 (creal_test): Likewise.
31946 (fabs_test): Likewise.
31947 (floor_test): Likewise.
31948 (fmax_test): Likewise.
31949 (fmin_test): Likewise.
31950 (fmod_test): Likewise.
31951 (fpclassify_test): Likewise.
31952 (frexp_test): Likewise.
31953 (ilogb_test): Likewise.
31954 (isfinite_test): Likewise.
31955 (finite_test): Likewise.
31956 (isgreater_test): Likewise.
31957 (isgreaterequal_test): Likewise.
31958 (isinf_test): Likewise.
31959 (isless_test): Likewise.
31960 (islessequal_test): Likewise.
31961 (islessgreater_test): Likewise.
31962 (isnan_test): Likewise.
31963 (isnormal_test): Likewise.
31964 (issignaling_test): Likewise.
31965 (isunordered_test): Likewise.
31966 (logb_test): Likewise.
31967 (logb_downward_test_data): Remove.
31968 (logb_test_downward): Likewise.
31969 (lround_test): Use ALL_RM_TEST.
31970 (llround_test): Likewise.
31971 (modf_test): Likewise.
31972 (nexttoward_test): Likewise.
31973 (remainder_test): Likewise.
31974 (drem_test): Likewise.
31975 (remainder_tonearest_test_data): Likewise.
31976 (remainder_test_tonearest): Likewise.
31977 (drem_test_tonearest): Likewise.
31978 (remainder_towardzero_test_data): Likewise.
31979 (remainder_test_towardzero): Likewise.
31980 (drem_test_towardzero): Likewise.
31981 (remainder_downward_test_data): Likewise.
31982 (remainder_test_downward): Likewise.
31983 (drem_test_downward): Likewise.
31984 (remainder_upward_test_data): Likewise.
31985 (remainder_test_upward): Likewise.
31986 (drem_test_upward): Likewise.
31987 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
31988 (round_test): Use ALL_RM_TEST.
31989 (signbit_test): Likewise.
31990 (trunc_test): Likewise.
31991 (significand_test): Likewise.
31992 (main): Don't call removed functions.
31994 2014-03-07 Joseph Myers <joseph@codesourcery.com>
31997 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
31998 || __USE_XOPEN2K8].
31999 (ILL_ILLOPN): Likewise.
32000 (ILL_ILLADR): Likewise.
32001 (ILL_ILLTRP): Likewise.
32002 (ILL_PRVOPC): Likewise.
32003 (ILL_PRVREG): Likewise.
32004 (ILL_COPROC): Likewise.
32005 (ILL_BADSTK): Likewise.
32006 (FPE_INTDIV): Likewise.
32007 (FPE_INTOVF): Likewise.
32008 (FPE_FLTDIV): Likewise.
32009 (FPE_FLTOVF): Likewise.
32010 (FPE_FLTUND): Likewise.
32011 (FPE_FLTRES): Likewise.
32012 (FPE_FLTINV): Likewise.
32013 (FPE_FLTSUB): Likewise.
32014 (SEGV_MAPERR): Likewise.
32015 (SEGV_ACCERR): Likewise.
32016 (BUS_ADRALN): Likewise.
32017 (BUS_ADRERR): Likewise.
32018 (BUS_OBJERR): Likewise.
32019 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
32020 (TRAP_TRACE): Likewise.
32021 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
32023 (CLD_KILLED): Likewise.
32024 (CLD_DUMPED): Likewise.
32025 (CLD_TRAPPED): Likewise.
32026 (CLD_STOPPED): Likewise.
32027 (CLD_CONTINUED): Likewise.
32028 (POLL_IN): Likewise.
32029 (POLL_OUT): Likewise.
32030 (POLL_MSG): Likewise.
32031 (POLL_ERR): Likewise.
32032 (POLL_PRI): Likewise.
32033 (POLL_HUP): Likewise.
32034 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
32036 (ILL_ILLOPN): Likewise.
32037 (ILL_ILLADR): Likewise.
32038 (ILL_ILLTRP): Likewise.
32039 (ILL_PRVOPC): Likewise.
32040 (ILL_PRVREG): Likewise.
32041 (ILL_COPROC): Likewise.
32042 (ILL_BADSTK): Likewise.
32043 (FPE_INTDIV): Likewise.
32044 (FPE_INTOVF): Likewise.
32045 (FPE_FLTDIV): Likewise.
32046 (FPE_FLTOVF): Likewise.
32047 (FPE_FLTUND): Likewise.
32048 (FPE_FLTRES): Likewise.
32049 (FPE_FLTINV): Likewise.
32050 (FPE_FLTSUB): Likewise.
32051 (SEGV_MAPERR): Likewise.
32052 (SEGV_ACCERR): Likewise.
32053 (BUS_ADRALN): Likewise.
32054 (BUS_ADRERR): Likewise.
32055 (BUS_OBJERR): Likewise.
32056 (BUS_MCEERR_AR): Likewise.
32057 (BUS_MCEERR_AO): Likewise.
32058 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
32059 (TRAP_TRACE): Likewise.
32060 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
32062 (CLD_KILLED): Likewise.
32063 (CLD_DUMPED): Likewise.
32064 (CLD_TRAPPED): Likewise.
32065 (CLD_STOPPED): Likewise.
32066 (CLD_CONTINUED): Likewise.
32067 (POLL_IN): Likewise.
32068 (POLL_OUT): Likewise.
32069 (POLL_MSG): Likewise.
32070 (POLL_ERR): Likewise.
32071 (POLL_PRI): Likewise.
32072 (POLL_HUP): Likewise.
32073 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
32074 (ILL_ILLOPN): Likewise.
32075 (ILL_ILLADR): Likewise.
32076 (ILL_ILLTRP): Likewise.
32077 (ILL_PRVOPC): Likewise.
32078 (ILL_PRVREG): Likewise.
32079 (ILL_COPROC): Likewise.
32080 (ILL_BADSTK): Likewise.
32081 (FPE_INTDIV): Likewise.
32082 (FPE_INTOVF): Likewise.
32083 (FPE_FLTDIV): Likewise.
32084 (FPE_FLTOVF): Likewise.
32085 (FPE_FLTUND): Likewise.
32086 (FPE_FLTRES): Likewise.
32087 (FPE_FLTINV): Likewise.
32088 (FPE_FLTSUB): Likewise.
32089 (SEGV_MAPERR): Likewise.
32090 (SEGV_ACCERR): Likewise.
32091 (BUS_ADRALN): Likewise.
32092 (BUS_ADRERR): Likewise.
32093 (BUS_OBJERR): Likewise.
32094 (BUS_MCEERR_AR): Likewise.
32095 (BUS_MCEERR_AO): Likewise.
32096 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
32097 (TRAP_TRACE): Likewise.
32098 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
32100 (CLD_KILLED): Likewise.
32101 (CLD_DUMPED): Likewise.
32102 (CLD_TRAPPED): Likewise.
32103 (CLD_STOPPED): Likewise.
32104 (CLD_CONTINUED): Likewise.
32105 (POLL_IN): Likewise.
32106 (POLL_OUT): Likewise.
32107 (POLL_MSG): Likewise.
32108 (POLL_ERR): Likewise.
32109 (POLL_PRI): Likewise.
32110 (POLL_HUP): Likewise.
32111 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
32113 (ILL_ILLOPN): Likewise.
32114 (ILL_ILLADR): Likewise.
32115 (ILL_ILLTRP): Likewise.
32116 (ILL_PRVOPC): Likewise.
32117 (ILL_PRVREG): Likewise.
32118 (ILL_COPROC): Likewise.
32119 (ILL_BADSTK): Likewise.
32120 (ILL_BADIADDR): Likewise.
32121 (ILL_BREAK): Likewise.
32122 (FPE_INTDIV): Likewise.
32123 (FPE_INTOVF): Likewise.
32124 (FPE_FLTDIV): Likewise.
32125 (FPE_FLTOVF): Likewise.
32126 (FPE_FLTUND): Likewise.
32127 (FPE_FLTRES): Likewise.
32128 (FPE_FLTINV): Likewise.
32129 (FPE_FLTSUB): Likewise.
32130 (FPE_DECOVF): Likewise.
32131 (FPE_DECDIV): Likewise.
32132 (FPE_DECERR): Likewise.
32133 (FPE_INVASC): Likewise.
32134 (FPE_INVDEC): Likewise.
32135 (SEGV_MAPERR): Likewise.
32136 (SEGV_ACCERR): Likewise.
32137 (SEGV_PSTKOVF): Likewise.
32138 (BUS_ADRALN): Likewise.
32139 (BUS_ADRERR): Likewise.
32140 (BUS_OBJERR): Likewise.
32141 (BUS_MCEERR_AR): Likewise.
32142 (BUS_MCEERR_AO): Likewise.
32143 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
32144 (TRAP_TRACE): Likewise.
32145 (TRAP_BRANCH): Likewise.
32146 (TRAP_HWBKPT): Likewise.
32147 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
32149 (CLD_KILLED): Likewise.
32150 (CLD_DUMPED): Likewise.
32151 (CLD_TRAPPED): Likewise.
32152 (CLD_STOPPED): Likewise.
32153 (CLD_CONTINUED): Likewise.
32154 (POLL_IN): Likewise.
32155 (POLL_OUT): Likewise.
32156 (POLL_MSG): Likewise.
32157 (POLL_ERR): Likewise.
32158 (POLL_PRI): Likewise.
32159 (POLL_HUP): Likewise.
32160 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
32161 (ILL_ILLOPN): Likewise.
32162 (ILL_ILLADR): Likewise.
32163 (ILL_ILLTRP): Likewise.
32164 (ILL_PRVOPC): Likewise.
32165 (ILL_PRVREG): Likewise.
32166 (ILL_COPROC): Likewise.
32167 (ILL_BADSTK): Likewise.
32168 (FPE_INTDIV): Likewise.
32169 (FPE_INTOVF): Likewise.
32170 (FPE_FLTDIV): Likewise.
32171 (FPE_FLTOVF): Likewise.
32172 (FPE_FLTUND): Likewise.
32173 (FPE_FLTRES): Likewise.
32174 (FPE_FLTINV): Likewise.
32175 (FPE_FLTSUB): Likewise.
32176 (SEGV_MAPERR): Likewise.
32177 (SEGV_ACCERR): Likewise.
32178 (BUS_ADRALN): Likewise.
32179 (BUS_ADRERR): Likewise.
32180 (BUS_OBJERR): Likewise.
32181 (BUS_MCEERR_AR): Likewise.
32182 (BUS_MCEERR_AO): Likewise.
32183 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
32184 (TRAP_TRACE): Likewise.
32185 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
32187 (CLD_KILLED): Likewise.
32188 (CLD_DUMPED): Likewise.
32189 (CLD_TRAPPED): Likewise.
32190 (CLD_STOPPED): Likewise.
32191 (CLD_CONTINUED): Likewise.
32192 (POLL_IN): Likewise.
32193 (POLL_OUT): Likewise.
32194 (POLL_MSG): Likewise.
32195 (POLL_ERR): Likewise.
32196 (POLL_PRI): Likewise.
32197 (POLL_HUP): Likewise.
32198 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
32199 (ILL_ILLOPN): Likewise.
32200 (ILL_ILLADR): Likewise.
32201 (ILL_ILLTRP): Likewise.
32202 (ILL_PRVOPC): Likewise.
32203 (ILL_PRVREG): Likewise.
32204 (ILL_COPROC): Likewise.
32205 (ILL_BADSTK): Likewise.
32206 (FPE_INTDIV): Likewise.
32207 (FPE_INTOVF): Likewise.
32208 (FPE_FLTDIV): Likewise.
32209 (FPE_FLTOVF): Likewise.
32210 (FPE_FLTUND): Likewise.
32211 (FPE_FLTRES): Likewise.
32212 (FPE_FLTINV): Likewise.
32213 (FPE_FLTSUB): Likewise.
32214 (SEGV_MAPERR): Likewise.
32215 (SEGV_ACCERR): Likewise.
32216 (BUS_ADRALN): Likewise.
32217 (BUS_ADRERR): Likewise.
32218 (BUS_OBJERR): Likewise.
32219 (BUS_MCEERR_AR): Likewise.
32220 (BUS_MCEERR_AO): Likewise.
32221 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
32222 (TRAP_TRACE): Likewise.
32223 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
32225 (CLD_KILLED): Likewise.
32226 (CLD_DUMPED): Likewise.
32227 (CLD_TRAPPED): Likewise.
32228 (CLD_STOPPED): Likewise.
32229 (CLD_CONTINUED): Likewise.
32230 (POLL_IN): Likewise.
32231 (POLL_OUT): Likewise.
32232 (POLL_MSG): Likewise.
32233 (POLL_ERR): Likewise.
32234 (POLL_PRI): Likewise.
32235 (POLL_HUP): Likewise.
32236 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
32237 (ILL_ILLOPN): Likewise.
32238 (ILL_ILLADR): Likewise.
32239 (ILL_ILLTRP): Likewise.
32240 (ILL_PRVOPC): Likewise.
32241 (ILL_PRVREG): Likewise.
32242 (ILL_COPROC): Likewise.
32243 (ILL_BADSTK): Likewise.
32244 (FPE_INTDIV): Likewise.
32245 (FPE_INTOVF): Likewise.
32246 (FPE_FLTDIV): Likewise.
32247 (FPE_FLTOVF): Likewise.
32248 (FPE_FLTUND): Likewise.
32249 (FPE_FLTRES): Likewise.
32250 (FPE_FLTINV): Likewise.
32251 (FPE_FLTSUB): Likewise.
32252 (SEGV_MAPERR): Likewise.
32253 (SEGV_ACCERR): Likewise.
32254 (BUS_ADRALN): Likewise.
32255 (BUS_ADRERR): Likewise.
32256 (BUS_OBJERR): Likewise.
32257 (BUS_MCEERR_AR): Likewise.
32258 (BUS_MCEERR_AO): Likewise.
32259 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
32260 (TRAP_TRACE): Likewise.
32261 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
32263 (CLD_KILLED): Likewise.
32264 (CLD_DUMPED): Likewise.
32265 (CLD_TRAPPED): Likewise.
32266 (CLD_STOPPED): Likewise.
32267 (CLD_CONTINUED): Likewise.
32268 (POLL_IN): Likewise.
32269 (POLL_OUT): Likewise.
32270 (POLL_MSG): Likewise.
32271 (POLL_ERR): Likewise.
32272 (POLL_PRI): Likewise.
32273 (POLL_HUP): Likewise.
32274 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
32275 (ILL_ILLOPN): Likewise.
32276 (ILL_ILLADR): Likewise.
32277 (ILL_ILLTRP): Likewise.
32278 (ILL_PRVOPC): Likewise.
32279 (ILL_PRVREG): Likewise.
32280 (ILL_COPROC): Likewise.
32281 (ILL_BADSTK): Likewise.
32282 (ILL_DBLFLT): Likewise.
32283 (ILL_HARDWALL): Likewise.
32284 (FPE_INTDIV): Likewise.
32285 (FPE_INTOVF): Likewise.
32286 (FPE_FLTDIV): Likewise.
32287 (FPE_FLTOVF): Likewise.
32288 (FPE_FLTUND): Likewise.
32289 (FPE_FLTRES): Likewise.
32290 (FPE_FLTINV): Likewise.
32291 (FPE_FLTSUB): Likewise.
32292 (SEGV_MAPERR): Likewise.
32293 (SEGV_ACCERR): Likewise.
32294 (BUS_ADRALN): Likewise.
32295 (BUS_ADRERR): Likewise.
32296 (BUS_OBJERR): Likewise.
32297 (BUS_MCEERR_AR): Likewise.
32298 (BUS_MCEERR_AO): Likewise.
32299 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
32300 (TRAP_TRACE): Likewise.
32301 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
32303 (CLD_KILLED): Likewise.
32304 (CLD_DUMPED): Likewise.
32305 (CLD_TRAPPED): Likewise.
32306 (CLD_STOPPED): Likewise.
32307 (CLD_CONTINUED): Likewise.
32308 (POLL_IN): Likewise.
32309 (POLL_OUT): Likewise.
32310 (POLL_MSG): Likewise.
32311 (POLL_ERR): Likewise.
32312 (POLL_PRI): Likewise.
32313 (POLL_HUP): Likewise.
32314 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
32315 (ILL_ILLOPN): Likewise.
32316 (ILL_ILLADR): Likewise.
32317 (ILL_ILLTRP): Likewise.
32318 (ILL_PRVOPC): Likewise.
32319 (ILL_PRVREG): Likewise.
32320 (ILL_COPROC): Likewise.
32321 (ILL_BADSTK): Likewise.
32322 (FPE_INTDIV): Likewise.
32323 (FPE_INTOVF): Likewise.
32324 (FPE_FLTDIV): Likewise.
32325 (FPE_FLTOVF): Likewise.
32326 (FPE_FLTUND): Likewise.
32327 (FPE_FLTRES): Likewise.
32328 (FPE_FLTINV): Likewise.
32329 (FPE_FLTSUB): Likewise.
32330 (SEGV_MAPERR): Likewise.
32331 (SEGV_ACCERR): Likewise.
32332 (BUS_ADRALN): Likewise.
32333 (BUS_ADRERR): Likewise.
32334 (BUS_OBJERR): Likewise.
32335 (BUS_MCEERR_AR): Likewise.
32336 (BUS_MCEERR_AO): Likewise.
32337 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
32338 (TRAP_TRACE): Likewise.
32339 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
32341 (CLD_KILLED): Likewise.
32342 (CLD_DUMPED): Likewise.
32343 (CLD_TRAPPED): Likewise.
32344 (CLD_STOPPED): Likewise.
32345 (CLD_CONTINUED): Likewise.
32346 (POLL_IN): Likewise.
32347 (POLL_OUT): Likewise.
32348 (POLL_MSG): Likewise.
32349 (POLL_ERR): Likewise.
32350 (POLL_PRI): Likewise.
32351 (POLL_HUP): Likewise.
32352 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
32353 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
32356 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
32357 before #include of <time.h>.
32358 [!__USE_XOPEN2K] (__need_timespec): Likewise.
32359 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
32360 (test-xfail-UNIX98/sched.h/conform): Likewise.
32362 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
32364 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
32365 error absence of trapping exception support.
32366 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
32368 2014-03-07 Joseph Myers <joseph@codesourcery.com>
32370 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
32371 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
32372 * timezone/Makefile (testdata): Move definition above include of
32374 (test-zones): New variable.
32375 (tests-special): Add zone files.
32376 (build-testdata): Use $(evaluate-test).
32378 * elf/Makefile (tests-special): Rename tests to end with .out.
32379 ($(objpfx)noload-mem): Likewise.
32380 ($(objpfx)tst-leaks1-mem): Likewise.
32381 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
32382 * iconv/Makefile (xtests-special): Change test-iconvconfig to
32383 $(objpfx)test-iconvconfig.out.
32384 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
32385 set -e inside subshell and redirect output to file.
32386 * iconvdata/Makefile (generated): Rename tests to end with .out.
32388 (tests-special): Rename tests to end with .out.
32389 ($(objpfx)mtrace-tst-loading): Likewise.
32390 * intl/Makefile (generated): Likewise.
32391 (tests-special): Likewise.
32392 ($(objpfx)mtrace-tst-gettext): Likewise.
32393 * misc/Makefile (generated): Likewise.
32394 (tests-special): Likewise.
32395 ($(objpfx)tst-error1-mem): Likewise.
32396 * nptl/Makefile (tests-special): Likewise.
32397 ($(objpfx)tst-stack3-mem): Likewise.
32398 (generated): Likewise.
32399 * posix/Makefile (generated): Likewise.
32400 (tests-special): Likewise.
32401 (xtests-special): Likewise.
32402 ($(objpfx)tst-fnmatch-mem): Likewise.
32403 ($(objpfx)bug-regex2-mem): Likewise.
32404 ($(objpfx)bug-regex14-mem): Likewise.
32405 ($(objpfx)bug-regex21-mem): Likewise.
32406 ($(objpfx)bug-regex31-mem): Likewise.
32407 ($(objpfx)tst-vfork3-mem): Likewise.
32408 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
32409 ($(objpfx)tst-pcre-mem): Likewise.
32410 ($(objpfx)tst-boost-mem): Likewise.
32411 ($(objpfx)bug-ga2-mem): Likewise.
32412 ($(objpfx)bug-glob2-mem): Likewise.
32413 * resolv/Makefile (generate): Likewise.
32414 (tests-special): Likewise.
32415 (xtests-special): Likewise.
32416 (generated): Likewise.
32417 ($(objpfx)mtrace-tst-leaks): Likewise.
32418 ($(objpfx)mtrace-tst-leaks2): Likewise.
32420 * scripts/merge-test-results.sh: New file.
32421 * Makefile (tests-special-notdir): New variable.
32422 (tests): Run merge-test-results.sh.
32423 (xtests): Likewise.
32424 * Rules (tests-special-notdir): New variable.
32425 (xtests-special-notdir): Likewise.
32426 (tests): Run merge-test-results.sh
32427 (xtests): Likewise.
32429 * Makeconfig (test-xfail-name): New variable.
32430 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
32431 compute variable name for expected failures.
32432 * conform/Makefile (conformtest-headers-data): New variable.
32433 (conformtest-standards): Likewise.
32434 (conformtest-headers-ISO): Likewise.
32435 (conformtest-headers-ISO99): Likewise.
32436 (conformtest-headers-ISO11): Likewise.
32437 (conformtest-headers-POSIX): Likewise.
32438 (conformtest-headers-XPG3): Likewise.
32439 (conformtest-headers-XPG4): Likewise.
32440 (conformtest-headers-UNIX98): Likewise.
32441 (conformtest-headers-XOPEN2K): Likewise.
32442 (conformtest-headers-POSIX2008): Likewise.
32443 (conformtest-headers-XOPEN2K8): Likewise.
32444 (conformtest-header-list-base): Likewise.
32445 (conformtest-header-list-tests): Likewise.
32446 (conformtest-header-base): Likewise.
32447 (conformtest-header-tests): Likewise.
32448 (tests-special): Add $(conformtest-header-list-tests). If
32449 [$(fast-check) && !$(cross-compiling)], add
32450 $(conformtest-header-tests) instead of
32451 $(objpfx)run-conformtest.out.
32452 (generated): Add $(conformtest-header-list-base). If
32453 [$(fast-check) && !$(cross-compiling)], add
32454 $(conformtest-header-base). Remove previous setting.
32455 ($(conformtest-header-list-tests)): New target.
32456 (test-xfail-run-conformtest): Remove variable.
32457 ($(objpfx)run-conformtest.out): Remove target.
32458 (test-xfail-ISO11/complex.h/conform): New variable.
32459 (test-xfail-ISO11/stdalign.h/conform): Likewise.
32460 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
32461 (test-xfail-XPG3/varargs.h/conform): Likewise.
32462 (test-xfail-XPG4/varargs.h/conform): Likewise.
32463 (test-xfail-UNIX98/varargs.h/conform): Likewise.
32464 (test-xfail-XPG4/ndbm.h/conform): Likewise.
32465 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
32466 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
32467 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
32468 (test-xfail-XPG3/fcntl.h/conform): Likewise.
32469 (test-xfail-XPG3/ftw.h/conform): Likewise.
32470 (test-xfail-XPG3/grp.h/conform): Likewise.
32471 (test-xfail-XPG3/langinfo.h/conform): Likewise.
32472 (test-xfail-XPG3/limits.h/conform): Likewise.
32473 (test-xfail-XPG3/pwd.h/conform): Likewise.
32474 (test-xfail-XPG3/search.h/conform): Likewise.
32475 (test-xfail-XPG3/signal.h/conform): Likewise.
32476 (test-xfail-XPG3/stdio.h/conform): Likewise.
32477 (test-xfail-XPG3/stdlib.h/conform): Likewise.
32478 (test-xfail-XPG3/string.h/conform): Likewise.
32479 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
32480 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
32481 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
32482 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
32483 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
32484 (test-xfail-XPG3/sys/types.h/conform): Likewise.
32485 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
32486 (test-xfail-XPG3/termios.h/conform): Likewise.
32487 (test-xfail-XPG3/time.h/conform): Likewise.
32488 (test-xfail-XPG3/unistd.h/conform): Likewise.
32489 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
32490 (test-xfail-XPG4/fcntl.h/conform): Likewise.
32491 (test-xfail-XPG4/langinfo.h/conform): Likewise.
32492 (test-xfail-XPG4/netdb.h/conform): Likewise.
32493 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
32494 (test-xfail-XPG4/signal.h/conform): Likewise.
32495 (test-xfail-XPG4/stdio.h/conform): Likewise.
32496 (test-xfail-XPG4/stdlib.h/conform): Likewise.
32497 (test-xfail-XPG4/stropts.h/conform): Likewise.
32498 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
32499 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
32500 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
32501 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
32502 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
32503 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
32504 (test-xfail-XPG4/sys/time.h/conform): Likewise.
32505 (test-xfail-XPG4/sys/types.h/conform): Likewise.
32506 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
32507 (test-xfail-XPG4/termios.h/conform): Likewise.
32508 (test-xfail-XPG4/ucontext.h/conform): Likewise.
32509 (test-xfail-XPG4/unistd.h/conform): Likewise.
32510 (test-xfail-XPG4/utmpx.h/conform): Likewise.
32511 (test-xfail-POSIX/sched.h/conform): Likewise.
32512 (test-xfail-POSIX/signal.h/conform): Likewise.
32513 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
32514 (test-xfail-POSIX/tar.h/conform): Likewise.
32515 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
32516 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
32517 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
32518 (test-xfail-UNIX98/netdb.h/conform): Likewise.
32519 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
32520 (test-xfail-UNIX98/sched.h/conform): Likewise.
32521 (test-xfail-UNIX98/signal.h/conform): Likewise.
32522 (test-xfail-UNIX98/stdio.h/conform): Likewise.
32523 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
32524 (test-xfail-UNIX98/stropts.h/conform): Likewise.
32525 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
32526 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
32527 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
32528 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
32529 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
32530 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
32531 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
32532 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
32533 (test-xfail-UNIX98/unistd.h/conform): Likewise.
32534 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
32535 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
32536 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
32537 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
32538 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
32539 (test-xfail-XOPEN2K/math.h/conform): Likewise.
32540 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
32541 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
32542 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
32543 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
32544 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
32545 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
32546 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
32547 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
32548 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
32549 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
32550 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
32551 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
32552 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
32553 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
32554 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
32555 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
32556 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
32557 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
32558 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
32559 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
32560 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
32561 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
32562 (test-xfail-POSIX2008/signal.h/conform): Likewise.
32563 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
32564 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
32565 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
32566 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
32567 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
32568 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
32569 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
32570 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
32571 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
32572 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
32573 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
32574 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
32575 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
32576 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
32577 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
32578 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
32579 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
32580 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
32581 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
32582 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
32583 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
32584 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
32585 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
32586 (conformtest-cc-flags): Likewise.
32587 ($(conformtest-header-tests): New target.
32588 * conform/check-header-lists.sh: New file.
32589 * conform/run-conformtest.sh: Remove.
32591 * conform/conformtest.pl: Allow ' and \ in values given for
32593 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
32595 [POSIX] (sys/types.h): Likewise.
32596 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
32598 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
32600 * conform/data/signal.h-data (SIGIO): Remove expectation.
32601 [XPG3] (SIGBUS): Do not expect.
32602 [POSIX || XPG3] (SIGPOLL): Likewise.
32603 [POSIX || XPG3] (SIGPROF): Likewise.
32604 [POSIX || XPG3] (SIGSYS): Likewise.
32605 [XPG3] (SIGTRAP): Likewise.
32606 [POSIX || XPG3] (SIGURG): Likewise.
32607 [POSIX || XPG3] (SIGVTALRM): Likewise.
32608 [POSIX || XPG3] (SIGXCPU): Likewise.
32609 [POSIX || XPG3] (SIGXFSZ): Likewise.
32610 [POSIX] (SA_SIGINFO): Expect.
32611 [XPG3] (siginfo_t): Do not expect type or contents.
32612 [POSIX] (si_pid): Do not expect element.
32613 [POSIX] (si_uid): Likewise.
32614 [POSIX] (si_addr): Likewise.
32615 [POSIX] (si_status): Likewise.
32616 [POSIX] (si_band): Likewise.
32617 [XPG4] (si_value): Likewise.
32618 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
32619 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
32620 [POSIX || XPG3] (ILL_ILLADR): Likewise.
32621 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
32622 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
32623 [POSIX || XPG3] (ILL_PRVREG): Likewise.
32624 [POSIX || XPG3] (ILL_COPROC): Likewise.
32625 [POSIX || XPG3] (ILL_BADSTK): Likewise.
32626 [POSIX || XPG3] (FPE_INTDIV): Likewise.
32627 [POSIX || XPG3] (FPE_INTOVF): Likewise.
32628 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
32629 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
32630 [POSIX || XPG3] (FPE_FLTUND): Likewise.
32631 [POSIX || XPG3] (FPE_FLTRES): Likewise.
32632 [POSIX || XPG3] (FPE_FLTINV): Likewise.
32633 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
32634 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
32635 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
32636 [POSIX || XPG3] (BUS_ADRALN): Likewise.
32637 [POSIX || XPG3] (BUS_ADRERR): Likewise.
32638 [POSIX || XPG3] (BUS_OBJERR): Likewise.
32639 [POSIX || XPG3] (CLD_EXITED): Likewise.
32640 [POSIX || XPG3] (CLD_KILLED): Likewise.
32641 [POSIX || XPG3] (CLD_DUMPED): Likewise.
32642 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
32643 [POSIX || XPG3] (CLD_STOPPED): Likewise.
32644 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
32645 [POSIX || XPG3] (POLL_IN): Likewise.
32646 [POSIX || XPG3] (POLL_OUT): Likewise.
32647 [POSIX || XPG3] (POLL_MSG): Likewise.
32648 [POSIX || XPG3] (POLL_ERR): Likewise.
32649 [POSIX || XPG3] (POLL_PRI): Likewise.
32650 [POSIX || XPG3] (POLL_HUP): Likewise.
32651 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
32652 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
32653 (SIG*): Do not allow.
32654 [XPG3] (si_*): Likewise.
32655 [XPG3] (SI_*): Likewise.
32656 [XPG3 || XPG4] (sigev_*): Likewise.
32657 [XPG3 || XPG4] (SIGEV_*): Likewise.
32658 [XPG3 || XPG4] (sival_*): Likewise.
32659 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
32660 [POSIX || XPG3] (BUS_*): Likewise.
32661 [POSIX || XPG3] (CLD_*): Likewise.
32662 [POSIX || XPG3] (FPE_*): Likewise.
32663 [POSIX || XPG3] (ILL_*): Likewise.
32664 [POSIX || XPG3] (POLL_*): Likewise.
32665 [POSIX || XPG3] (SEGV_*): Likewise.
32666 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
32667 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
32668 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
32669 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
32670 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
32671 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
32672 Specify type and value.
32673 (TVERSLEN): Likewise.
32674 (REGTYPE): Likewise.
32675 (AREGTYPE): Likewise.
32676 (LNKTYPE): Likewise.
32677 (SYMTYPE): Likewise.
32678 (CHRTYPE): Likewise.
32679 (BLKTYPE): Likewise.
32680 (DIRTYPE): Likewise.
32681 (FIFOTYPE): Likewise.
32682 (CONTTYPE): Likewise.
32686 (TUREAD): Likewise.
32687 (TUWRITE): Likewise.
32688 (TUEXEC): Likewise.
32689 (TGREAD): Likewise.
32690 (TGWRITE): Likewise.
32691 (TGEXEC): Likewise.
32692 (TOREAD): Likewise.
32693 (TOWRITE): Likewise.
32694 (TOEXEC): Likewise.
32695 [POSIX] (TSVTX): Expect constant.
32697 2014-03-06 Joseph Myers <joseph@codesourcery.com>
32699 * Makefile (tests): Change dependencies to ....
32700 (tests-special): ... additions to this variable.
32701 (tests): Depend on $(tests-special).
32702 * Makerules (check-abi-list): New variable.
32703 (check-abi): Depend on $(check-abi-list).
32704 [$(subdir) = elf] (tests-special): Add
32705 $(objpfx)check-abi-libc.out.
32706 [$(build-shared) = yes && subdir] (tests-special): Add
32708 [$(build-shared) = yes && subdir] (tests): Do not depend on
32710 * Rules (tests): Depend on $(tests-special).
32711 (xtests): Depend on $(xtests-special).
32712 * catgets/Makefile (tests): Change dependencies to ....
32713 (tests-special): ... additions to this variable.
32714 * conform/Makefile (tests): Change dependencies to ....
32715 (tests-special): ... additions to this variable.
32716 * elf/Makefile (tests): Change dependencies to ....
32717 (tests-special): ... additions to this variable.
32718 * grp/Makefile (tests): Change dependencies to ....
32719 (tests-special): ... additions to this variable.
32720 * iconv/Makefile (xtests): Change dependencies to ....
32721 (xtests-special): ... additions to this variable.
32722 * iconvdata/Makefile (tests): Change dependencies to ....
32723 (tests-special): ... additions to this variable.
32724 * intl/Makefile (tests): Change dependencies to ....
32725 (tests-special): ... additions to this variable. Also add
32726 $(objpfx)tst-gettext.out.
32727 * io/Makefile (tests): Change dependencies to ....
32728 (tests-special): ... additions to this variable.
32729 * libio/Makefile (tests): Change dependencies to ....
32730 (tests-special): ... additions to this variable.
32731 * malloc/Makefile (tests): Change dependencies to ....
32732 (tests-special): ... additions to this variable.
32733 * misc/Makefile (tests): Change dependencies to ....
32734 (tests-special): ... additions to this variable.
32735 * nptl/Makefile (tests): Change dependencies to ....
32736 (tests-special): ... additions to this variable.
32737 * nptl_db/Makefile (tests): Change dependencies to ....
32738 (tests-special): ... additions to this variable.
32739 * posix/Makefile (tests): Change dependencies to ....
32740 (tests-special): ... additions to this variable.
32741 (xtests): Change dependencies to ....
32742 (xtests-special): ... additions to this variable.
32743 * resolv/Makefile (tests): Change dependencies to ....
32744 (tests-special): ... additions to this variable.
32745 (xtests): Change dependencies to ....
32746 (xtests-special): ... additions to this variable.
32747 * stdio-common/Makefile (tests): Change dependencies to ....
32748 (tests-special): ... additions to this variable.
32749 (do-tst-unbputc): Remove target.
32750 (do-tst-printf): Likewise.
32751 * stdlib/Makefile (tests): Change dependencies to ....
32752 (tests-special): ... additions to this variable.
32753 * string/Makefile (tests): Change dependencies to ....
32754 (tests-special): ... additions to this variable.
32755 * sysdeps/x86/Makefile (tests): Change dependencies to ....
32756 (tests-special): ... additions to this variable.
32758 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
32760 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
32762 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
32763 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
32765 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
32766 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
32767 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
32768 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
32769 * conform/data/libgen.h-data [XPG3]: Likewise.
32770 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
32771 * conform/data/ndbm.h-data [XPG3]: Likewise.
32772 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
32773 * conform/data/netdb.h-data [XPG3]: Likewise.
32774 * conform/data/netinet/in.h-data [XPG3]: Likewise.
32775 * conform/data/poll.h-data [XPG3]: Likewise.
32776 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
32777 * conform/data/strings.h-data [XPG3]: Likewise.
32778 * conform/data/stropts.h-data [XPG3]: Likewise.
32779 * conform/data/sys/mman.h-data [XPG3]: Likewise.
32780 * conform/data/sys/resource.h-data [XPG3]: Likewise.
32781 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
32783 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
32784 * conform/data/sys/time.h-data [XPG3]: Likewise.
32785 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
32786 * conform/data/sys/uio.h-data [XPG3]: Likewise.
32787 * conform/data/sys/un.h-data [XPG3]: Likewise.
32788 * conform/data/syslog.h-data [XPG3]: Likewise.
32789 * conform/data/ucontext.h-data [XPG3]: Likewise.
32790 * conform/data/utmpx.h-data [XPG3]: Likewise.
32791 * conform/data/varargs.h-data [UNIX98]: Enable file.
32793 * manual/Makefile (INSTALL_INFO): Remove variable setting.
32795 * math/libm-test.inc (struct test_f_f_data): Move expected results
32796 into structure for each rounding mode.
32797 (struct test_ff_f_data): Likewise.
32798 (struct test_ff_f_data_nexttoward): Likewise.
32799 (struct test_fi_f_data): Likewise.
32800 (struct test_fl_f_data): Likewise.
32801 (struct test_if_f_data): Likewise.
32802 (struct test_fff_f_data): Likewise.
32803 (struct test_c_f_data): Likewise.
32804 (struct test_f_f1_data): Likewise.
32805 (struct test_fF_f1_data): Likewise.
32806 (struct test_ffI_f1_data): Likewise.
32807 (struct test_c_c_data): Likewise.
32808 (struct test_cc_c_data): Likewise.
32809 (struct test_f_i_data): Likewise.
32810 (struct test_ff_i_data): Likewise.
32811 (struct test_f_l_data): Likewise.
32812 (struct test_f_L_data): Likewise.
32813 (struct test_fFF_11_data): Likewise.
32815 (RM_FE_DOWNWARD): Likewise.
32816 (RM_FE_TONEAREST): Likewise.
32817 (RM_FE_TOWARDZERO): Likewise.
32818 (RM_FE_UPWARD): Likewise.
32819 (RUN_TEST_LOOP_f_f): Update references to expected results.
32820 (RUN_TEST_LOOP_2_f): Likewise.
32821 (RUN_TEST_LOOP_fff_f): Likewise.
32822 (RUN_TEST_LOOP_c_f): Likewise.
32823 (RUN_TEST_LOOP_f_f1): Likewise.
32824 (RUN_TEST_LOOP_fF_f1): Likewise.
32825 (RUN_TEST_LOOP_fI_f1): Likewise.
32826 (RUN_TEST_LOOP_ffI_f1): Likewise.
32827 (RUN_TEST_LOOP_c_c): Likewise.
32828 (RUN_TEST_LOOP_cc_c): Likewise.
32829 (RUN_TEST_LOOP_f_i): Likewise.
32830 (RUN_TEST_LOOP_f_i_tg): Likewise.
32831 (RUN_TEST_LOOP_ff_i_tg): Likewise.
32832 (RUN_TEST_LOOP_f_b): Likewise.
32833 (RUN_TEST_LOOP_f_b_tg): Likewise.
32834 (RUN_TEST_LOOP_f_l): Likewise.
32835 (RUN_TEST_LOOP_f_L): Likewise.
32836 (RUN_TEST_LOOP_fFF_11): Likewise.
32837 * math/gen-libm-test.pl (parse_args): Output four copies of
32838 expected results for each test.
32840 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
32841 (__ASSUME_UTIMES): Remove.
32842 * sysdeps/unix/sysv/linux/tile/kernel-features.h
32843 (__ASSUME_UTIMES): Likewise.
32845 * math/gen-auto-libm-tests.c: Update comment on output format.
32846 (output_for_one_input_case): Generate before-rounding and
32847 after-rounding information as conditions on output flags not
32848 floating-point format.
32849 * math/auto-libm-test-out: Regenerated.
32850 * math/gen-libm-test.pl (cond_value): New function.
32851 (or_cond_value): Use cond_value.
32852 (generate_testfile): Handle conditional exceptions.
32854 2014-03-05 Joseph Myers <joseph@codesourcery.com>
32856 * math/libm-test.inc (max_valid_error): New variable.
32857 (init_max_error): Take new argument specifying whether function
32858 results are exactly determined. Set max_valid_error and bound
32859 other variables for errors based on this argument.
32860 (set_max_error): Do not record results above max_valid_error.
32861 (check_float_internal): Only accept errors of up to 0.5ulps if
32862 also at most max_valid_error.
32863 (START): Take new argument EXACT and pass it to init_max_error.
32864 (acos_test): Update call to START.
32865 (acos_test_tonearest): Likewise.
32866 (acos_test_towardzero): Likewise.
32867 (acos_test_downward): Likewise.
32868 (acos_test_upward): Likewise.
32869 (acosh_test): Likewise.
32870 (asin_test): Likewise.
32871 (asin_test_tonearest): Likewise.
32872 (asin_test_towardzero): Likewise.
32873 (asin_test_downward): Likewise.
32874 (asin_test_upward): Likewise.
32875 (asinh_test): Likewise.
32876 (atan_test): Likewise.
32877 (atanh_test): Likewise.
32878 (atan2_test): Likewise.
32879 (cabs_test): Likewise.
32880 (cacos_test): Likewise.
32881 (cacosh_test): Likewise.
32882 (carg_test): Likewise.
32883 (casin_test): Likewise.
32884 (casinh_test): Likewise.
32885 (catan_test): Likewise.
32886 (catanh_test): Likewise.
32887 (cbrt_test): Likewise.
32888 (ccos_test): Likewise.
32889 (ccosh_test): Likewise.
32890 (ceil_test): Likewise.
32891 (cexp_test): Likewise.
32892 (cimag_test): Likewise.
32893 (clog_test): Likewise.
32894 (clog10_test): Likewise.
32895 (conj_test): Likewise.
32896 (copysign_test): Likewise.
32897 (cos_test): Likewise.
32898 (cos_test_tonearest): Likewise.
32899 (cos_test_towardzero): Likewise.
32900 (cos_test_downward): Likewise.
32901 (cos_test_upward): Likewise.
32902 (cosh_test): Likewise.
32903 (cosh_test_tonearest): Likewise.
32904 (cosh_test_towardzero): Likewise.
32905 (cosh_test_downward): Likewise.
32906 (cosh_test_upward): Likewise.
32907 (cpow_test): Likewise.
32908 (cproj_test): Likewise.
32909 (creal_test): Likewise.
32910 (csin_test): Likewise.
32911 (csinh_test): Likewise.
32912 (csqrt_test): Likewise.
32913 (ctan_test): Likewise.
32914 (ctan_test_tonearest): Likewise.
32915 (ctan_test_towardzero): Likewise.
32916 (ctan_test_downward): Likewise.
32917 (ctan_test_upward): Likewise.
32918 (ctanh_test): Likewise.
32919 (ctanh_test_tonearest): Likewise.
32920 (ctanh_test_towardzero): Likewise.
32921 (ctanh_test_downward): Likewise.
32922 (ctanh_test_upward): Likewise.
32923 (erf_test): Likewise.
32924 (erfc_test): Likewise.
32925 (exp_test): Likewise.
32926 (exp_test_tonearest): Likewise.
32927 (exp_test_towardzero): Likewise.
32928 (exp_test_downward): Likewise.
32929 (exp_test_upward): Likewise.
32930 (exp10_test): Likewise.
32931 (exp10_test_tonearest): Likewise.
32932 (exp10_test_towardzero): Likewise.
32933 (exp10_test_downward): Likewise.
32934 (exp10_test_upward): Likewise.
32935 (pow10_test): Likewise.
32936 (exp2_test): Likewise.
32937 (expm1_test): Likewise.
32938 (expm1_test_tonearest): Likewise.
32939 (expm1_test_towardzero): Likewise.
32940 (expm1_test_downward): Likewise.
32941 (expm1_test_upward): Likewise.
32942 (fabs_test): Likewise.
32943 (fdim_test): Likewise.
32944 (floor_test): Likewise.
32945 (fma_test): Likewise.
32946 (fma_test_towardzero): Likewise.
32947 (fma_test_downward): Likewise.
32948 (fma_test_upward): Likewise.
32949 (fmax_test): Likewise.
32950 (fmin_test): Likewise.
32951 (fmod_test): Likewise.
32952 (fpclassify_test): Likewise.
32953 (frexp_test): Likewise.
32954 (hypot_test): Likewise.
32955 (ilogb_test): Likewise.
32956 (isfinite_test): Likewise.
32957 (finite_test): Likewise.
32958 (isgreater_test): Likewise.
32959 (isgreaterequal_test): Likewise.
32960 (isinf_test): Likewise.
32961 (isless_test): Likewise.
32962 (islessequal_test): Likewise.
32963 (islessgreater_test): Likewise.
32964 (isnan_test): Likewise.
32965 (isnormal_test): Likewise.
32966 (issignaling_test): Likewise.
32967 (isunordered_test): Likewise.
32968 (j0_test): Likewise.
32969 (j1_test): Likewise.
32970 (jn_test): Likewise.
32971 (ldexp_test): Likewise.
32972 (lgamma_test): Likewise.
32973 (gamma_test): Likewise.
32974 (lrint_test): Likewise.
32975 (lrint_test_tonearest): Likewise.
32976 (lrint_test_towardzero): Likewise.
32977 (lrint_test_downward): Likewise.
32978 (lrint_test_upward): Likewise.
32979 (llrint_test): Likewise.
32980 (llrint_test_tonearest): Likewise.
32981 (llrint_test_towardzero): Likewise.
32982 (llrint_test_downward): Likewise.
32983 (llrint_test_upward): Likewise.
32984 (log_test): Likewise.
32985 (log10_test): Likewise.
32986 (log1p_test): Likewise.
32987 (log2_test): Likewise.
32988 (logb_test): Likewise.
32989 (logb_test_downward): Likewise.
32990 (lround_test): Likewise.
32991 (llround_test): Likewise.
32992 (modf_test): Likewise.
32993 (nearbyint_test): Likewise.
32994 (nextafter_test): Likewise.
32995 (nexttoward_test): Likewise.
32996 (pow_test): Likewise.
32997 (pow_test_tonearest): Likewise.
32998 (pow_test_towardzero): Likewise.
32999 (pow_test_downward): Likewise.
33000 (pow_test_upward): Likewise.
33001 (remainder_test): Likewise.
33002 (drem_test): Likewise.
33003 (remainder_test_tonearest): Likewise.
33004 (drem_test_tonearest): Likewise.
33005 (remainder_test_towardzero): Likewise.
33006 (drem_test_towardzero): Likewise.
33007 (remainder_test_downward): Likewise.
33008 (drem_test_downward): Likewise.
33009 (remainder_test_upward): Likewise.
33010 (drem_test_upward): Likewise.
33011 (remquo_test): Likewise.
33012 (rint_test): Likewise.
33013 (rint_test_tonearest): Likewise.
33014 (rint_test_towardzero): Likewise.
33015 (rint_test_downward): Likewise.
33016 (rint_test_upward): Likewise.
33017 (round_test): Likewise.
33018 (scalb_test): Likewise.
33019 (scalbn_test): Likewise.
33020 (scalbln_test): Likewise.
33021 (signbit_test): Likewise.
33022 (sin_test): Likewise.
33023 (sin_test_tonearest): Likewise.
33024 (sin_test_towardzero): Likewise.
33025 (sin_test_downward): Likewise.
33026 (sin_test_upward): Likewise.
33027 (sincos_test): Likewise.
33028 (sinh_test): Likewise.
33029 (sinh_test_tonearest): Likewise.
33030 (sinh_test_towardzero): Likewise.
33031 (sinh_test_downward): Likewise.
33032 (sinh_test_upward): Likewise.
33033 (sqrt_test): Likewise.
33034 (sqrt_test_tonearest): Likewise.
33035 (sqrt_test_towardzero): Likewise.
33036 (sqrt_test_downward): Likewise.
33037 (sqrt_test_upward): Likewise.
33038 (tan_test): Likewise.
33039 (tan_test_tonearest): Likewise.
33040 (tan_test_towardzero): Likewise.
33041 (tan_test_downward): Likewise.
33042 (tan_test_upward): Likewise.
33043 (tanh_test): Likewise.
33044 (tgamma_test): Likewise.
33045 (trunc_test): Likewise.
33046 (y0_test): Likewise.
33047 (y1_test): Likewise.
33048 (yn_test): Likewise.
33049 (significand_test): Likewise.
33051 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
33052 individual tests in comment.
33053 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
33054 (prev_max_error): New variable.
33055 (prev_real_max_error): Likewise.
33056 (prev_imag_max_error): Likewise.
33057 (compare_ulp_data): Don't refer to test names in comment.
33058 (find_test_ulps): Remove function.
33059 (find_function_ulps): Likewise.
33060 (find_complex_function_ulps): Likewise.
33061 (init_max_error): Take function name as argument. Look up ulps
33063 (print_ulps): Remove function.
33064 (print_max_error): Use prev_max_error instead of calling
33065 find_function_ulps.
33066 (print_complex_max_error): Use prev_real_max_error and
33067 prev_imag_max_error instead of calling find_complex_function_ulps.
33068 (check_float_internal): Take max_ulp parameter instead of calling
33069 find_test_ulps. Don't call print_ulps.
33070 (check_float): Update call to check_float_internal.
33071 (check_complex): Update calls to check_float_internal.
33072 (START): Pass argument to init_max_error.
33073 * math/gen-libm-test.pl (%results): Don't include "kind"
33075 (parse_ulps): Don't handle ulps of individual tests.
33076 (print_ulps_file): Likewise.
33077 (output_ulps): Likewise.
33078 * math/README.libm-test: Update.
33079 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
33081 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
33082 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
33083 * sysdeps/arm/libm-test-ulps: Likewise.
33084 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
33085 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
33086 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
33087 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
33088 * sysdeps/microblaze/libm-test-ulps: Likewise.
33089 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
33090 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
33091 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33092 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
33093 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
33094 * sysdeps/sh/libm-test-ulps: Likewise.
33095 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
33096 * sysdeps/tile/libm-test-ulps: Likewise.
33097 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33099 2014-03-04 Joseph Myers <joseph@codesourcery.com>
33101 * math/libm-test.inc (print_complex_max_error): Check separately
33102 whether real and imaginary errors are within allowed range and
33103 pass 0 to print_complex_function_ulps instead of value within
33106 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
33108 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
33110 (get_handles_fopen): Likewise.
33111 (do_write_test): Likewise.
33113 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
33115 * libio/fileops.c (do_ftell): Use cached offset when
33117 * libio/iofwide.c (do_ftell_wide): Likewise.
33118 * libio/iofdopen.c (_IO_new_fdopen): Don't use
33120 * libio/wfileops.c (_IO_fwide): Don't cache offset.
33123 * libio/libioP.h (get_file_offset): New function.
33124 * libio/fileops.c (get_file_offset): Likewise.
33125 (do_ftell): Likewise.
33126 (_IO_new_file_seekoff): Split out ftell logic.
33127 * libio/wfileops.c (do_ftell_wide): Likewise.
33128 (_IO_wfile_seekoff): Split out ftell logic.
33129 * libio/tst-ftell-active-handler.c: New test case.
33130 * libio/Makefile (tests): Add it.
33132 2014-03-03 Roland McGrath <roland@hack.frob.com>
33134 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
33135 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
33137 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
33140 * nscd/connections.c (nscd_init): Call do_exit.
33141 (start_threads): Call do_exit and notify_parent.
33142 (begin_drop_privileges): Call do_exit.
33143 (finish_drop_privileges): Likewise.
33144 * nscd/selinux.c (preserve_capabilities): Likewise.
33145 (install_real_capabilities): Likewise.
33146 (nscd_selinux_enabled): Likewise.
33147 (avc_create_thread): Likewise.
33148 (avc_alloc_lock): Likewise.
33149 (nscd_avc_init): Likewise.
33150 * nscd/nscd.c (parent_fd): New static variable.
33151 (main): Create a pipe between parent and child processes.
33152 Skip closing parent_fd.
33153 (monitor_child): New function.
33154 (do_exit): Likewise.
33155 (notify_parent): Likewise.
33156 * nscd/nscd.h (notify_parent): Likewise.
33157 (do_exit): Likewise.
33159 2014-03-03 Carlos O'Donell <carlos@redhat.com>
33161 * malloc/malloc.c (__libc_calloc): Revert last change.
33163 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33165 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33167 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
33169 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
33170 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
33172 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
33173 (__libc_ifunc_impl_list): Likewise.
33174 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
33175 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
33176 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
33177 * string/strrchr.c: Define STRRCHR.
33179 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
33181 * benchtest/bench-strtok.c (simple_strtok): Delete.
33182 (strtok_string): Use as benchmark.
33183 * string/strtok (STRTOK): New macro.
33185 2014-02-28 Carlos O'Donell <carlos@redhat.com>
33187 * manual/threads.texi: Add header and standard comments to all
33190 * elf/dl-lookup.c (check_match): New function.
33191 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
33192 (do_lookup_x): Remove nested function check_match. Use non-nested
33193 function check_match.
33195 2014-02-28 Roland McGrath <roland@hack.frob.com>
33197 * csu/Makefile (generated, before-compile): Use += rather than =.
33198 * catgets/Makefile (generated, generated-dirs): Likewise.
33199 * debug/Makefile (generated): Likewise.
33200 * dlfcn/Makefile (generated): Likewise.
33201 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
33202 * iconvdata/Makefile (before-compile, generated): Likewise.
33203 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
33204 * libio/Makefile (generated): Likewise.
33205 * malloc/Makefile (generated): Likewise.
33206 * manual/Makefile (generated, generated-dirs): Likewise.
33207 * misc/Makefile (generated): Likewise.
33208 * posix/Makefile (generated): Likewise.
33209 * resolv/Makefile (generated): Likewise.
33210 * sunrpc/Makefile (generated, generated-dirs): Likewise.
33211 * timezone/Makefile (generated, generated-dirs): Likewise.
33213 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
33215 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33217 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
33218 power8 implementation.
33219 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
33220 file: POWER8 llround ifunc implementation.
33221 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
33222 (__lllround): Add POWER8 implementation.
33223 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
33224 POWER8 llround implementation.
33226 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
33227 power8 implementation.
33228 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
33229 file: POWER8 llrint ifunc implementation.
33230 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
33231 Add POWER8 implementation.
33232 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
33233 POWER8 llrint implementation.
33235 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
33236 power8 implementation.
33237 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
33238 file: POWER8 finite ifunc implementation.
33239 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
33240 Add POWER8 implementation.
33241 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
33243 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
33244 POWER8 finite implementation.
33245 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
33247 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
33248 power8 implementation.
33249 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
33250 file: POWER8 isinf ifunc implementation.
33251 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
33252 POWER8 implementation.
33253 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
33255 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
33256 isinf implementation.
33257 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
33259 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
33260 (INIT_ARCH): Add hwcap2 initialization.
33261 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
33262 power8 implementation.
33263 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
33264 file: POWER8 isnan ifunc implementation.
33265 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
33266 POWER8 implementation.
33267 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
33269 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
33270 isnan implementation.
33271 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
33273 2014-02-27 Joey Ye <joey.ye@arm.com>
33275 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
33276 (_FP_NANFRAC_Q): Set to zero.
33278 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
33281 * math/auto-libm-test-in: New test inputs.
33282 * math/auto-libm-test-out: Regenerate.
33283 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
33286 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
33288 2014-02-27 Joseph Myers <joseph@codesourcery.com>
33290 * scripts/evaluate-test.sh: Take new argument indicating whether
33291 failure is expected.
33292 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
33293 indicating whether failure is expected.
33294 * conform/Makefile (test-xfail-run-conformtest): New variable.
33295 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
33297 * posix/Makefile (test-xfail-annexc): New variable.
33298 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
33300 2014-02-26 Joseph Myers <joseph@codesourcery.com>
33302 * argp/Makefile: Include Makeconfig immediately after defining
33304 * assert/Makefile: Likewise.
33305 * benchtests/Makefile: Likewise.
33306 * catgets/Makefile: Likewise.
33307 * conform/Makefile: Likewise.
33308 * crypt/Makefile: Likewise.
33309 * csu/Makefile: Likewise.
33310 (all): Remove target.
33311 * ctype/Makefile: Include Makeconfig immediately after defining
33313 * debug/Makefile: Likewise.
33314 * dirent/Makefile: Likewise.
33315 * dlfcn/Makefile: Likewise.
33316 * gmon/Makefile: Likewise.
33317 * gnulib/Makefile: Likewise.
33318 * grp/Makefile: Likewise.
33319 * gshadow/Makefile: Likewise.
33320 * hesiod/Makefile: Likewise.
33321 * hurd/Makefile: Likewise.
33322 (all): Remove target.
33323 * iconvdata/Makefile: Include Makeconfig immediately after
33325 * inet/Makefile: Likewise.
33326 * intl/Makefile: Likewise.
33327 * io/Makefile: Likewise.
33328 * libio/Makefile: Likewise.
33329 (all): Remove target.
33330 * locale/Makefile: Include Makeconfig immediately after defining
33332 * login/Makefile: Likewise.
33333 * mach/Makefile: Likewise.
33334 (all): Remove target.
33335 * malloc/Makefile: Include Makeconfig immediately after defining
33337 (all): Remove target.
33338 * manual/Makefile: Include Makeconfig immediately after defining
33340 * math/Makefile: Likewise.
33341 * misc/Makefile: Likewise.
33342 * nis/Makefile: Likewise.
33343 * nss/Makefile: Likewise.
33344 * po/Makefile: Likewise.
33345 (all): Remove target.
33346 * posix/Makefile: Include Makeconfig immediately after defining
33348 * pwd/Makefile: Likewise.
33349 * resolv/Makefile: Likewise.
33350 * resource/Makefile: Likewise.
33351 * rt/Makefile: Likewise.
33352 * setjmp/Makefile: Likewise.
33353 * shadow/Makefile: Likewise.
33354 * signal/Makefile: Likewise.
33355 * socket/Makefile: Likewise.
33356 * soft-fp/Makefile: Likewise.
33357 * stdio-common/Makefile: Likewise.
33358 * stdlib/Makefile: Likewise.
33359 * streams/Makefile: Likewise.
33360 * string/Makefile: Likewise.
33361 * sunrpc/Makefile: Likewise.
33362 (all): Remove target.
33363 * sysvipc/Makefile: Include Makeconfig immediately after defining
33365 * termios/Makefile: Likewise.
33366 * time/Makefile: Likewise.
33367 * timezone/Makefile: Likewise.
33368 (all): Remove target.
33369 * wcsmbs/Makefile: Include Makeconfig immediately after defining
33371 * wctype/Makefile: Likewise.
33373 2014-02-26 Steve Ellcey <sellcey@mips.com>
33375 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
33376 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
33377 (libc_feholdexcept_setround_mips): Ditto.
33378 (libc_feholdsetround): New.
33379 (libc_feholdsetroundf): New.
33380 (libc_feholdsetroundl): New.
33381 (libc_feupdateenv_test_mips): New.
33382 (libc_feupdateenv_test): New.
33383 (libc_feupdateenv_testf): New.
33384 (libc_feupdateenv_testl): New.
33385 (libc_feresetround): New.
33386 (libc_feresetroundf): New.
33387 (libc_feresetroundl): New.
33388 (libc_fetestexcept_mips): New.
33389 (libc_fetestexcept): New.
33390 (libc_fetestexceptf): New.
33391 (libc_fetestexceptl): New.
33392 (HAVE_RM_CTX): New.
33393 (libc_feholdexcept_setround_mips_ctx): New.
33394 (libc_feholdexcept_setround_ctx): New.
33395 (libc_feholdexcept_setroundf_ctx): New.
33396 (libc_feholdexcept_setroundl_ctx): New.
33397 (libc_fesetenv_mips_ctx): New.
33398 (libc_fesetenv_ctx): New.
33399 (libc_fesetenv_ctxf): New.
33400 (libc_fesetenv_ctxl): New.
33401 (libc_feupdateenv_mips_ctx): New.
33402 (libc_feupdateenv_ctx): New.
33403 (libc_feupdateenvf_ctx): New.
33404 (libc_feupdateenvl_ctx): New.
33405 (libc_feholdsetround_mips_ctx): New.
33406 (libc_feholdsetround_ctx): New.
33407 (libc_feholdsetroundf_ctx): New.
33408 (libc_feholdsetroundl_ctx): New.
33409 (libc_feresetround_mips_ctx): New.
33410 (libc_feresetround_ctx): New.
33411 (libc_feresetroundf_ctx): New.
33412 (libc_feresetroundl_ctx): New.
33414 2014-02-26 Carlos O'Donell <carlos@redhat.com>
33416 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
33418 * manual/ipc.texi: New file.
33419 * manual/Makefile (chapters): Add ipc.
33420 * manual/job.texi: Add "Inter-Process Communication" to next.
33421 * manual/process.texi: Add "Inter-Process Communication" to prev.
33423 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33425 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33427 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
33429 * malloc/malloc.c (__libc_calloc): Simplify implementation.
33431 * manual/arith.texi: Fix spaces after sentences.
33432 * manual/charset.texi: Likewise.
33433 * manual/errno.texi: Likewise.
33434 * manual/install.texi: Likewise.
33435 * manual/llio.texi: Likewise.
33436 * manual/locale.texi: Likewise.
33437 * manual/maint.texi: Likewise.
33438 * manual/math.texi: Likewise.
33439 * manual/memory.texi: Likewise.
33440 * manual/message.texi: Likewise.
33441 * manual/probes.texi: Likewise.
33442 * manual/resource.texi: Likewise.
33443 * manual/signal.texi: Likewise.
33444 * manual/socket.texi: Likewise.
33445 * manual/stdio.texi: Likewise.
33446 * manual/string.texi: Likewise.
33447 * manual/time.texi: Likewise.
33448 * manual/users.texi: Likewise.
33450 2014-02-25 Carlos O'Donell <carlos@redhat.com>
33453 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
33454 _DEFAULT_SOURCE is defined.
33456 2014-02-25 Ulrich Drepper <drepper@gmail.com>
33457 Carlos O'Donell <carlos@redhat.com>
33460 * elf/dl-tls.c (_dl_count_modids): New function.
33461 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
33462 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
33463 audit library and increment generation counter.
33464 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
33465 * elf/tst-audit9.c: New file.
33466 * elf/tst-auditmod9a.c: New file.
33467 * elf/tst-auditmod9b.c: New file.
33468 * elf/Makefile: Add rules to build and run tst-audit9.
33470 2014-02-25 Florian Weimer <fweimer@redhat.com>
33473 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
33475 2014-02-25 Will Newton <will.newton@linaro.org>
33477 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
33478 (__longjmp): Restore sp and lr before restoring callee
33479 saved registers. Add longjmp and longjmp_target
33480 SystemTap probe point.
33481 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
33482 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
33483 Define to zero to match jmpbuf layout.
33484 * sysdeps/arm/setjmp.S: Include stap-probe.h.
33485 (__sigsetjmp): Save sp and lr before saving callee
33486 saved registers. Add setjmp SystemTap probe point.
33488 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
33490 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
33492 2014-02-24 Andreas Schwab <schwab@suse.de>
33495 * elf/pldd.c (wait_for_ptrace_stop): New function.
33496 (main): Call it after attaching.
33498 2014-02-22 Roland McGrath <roland@hack.frob.com>
33500 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
33501 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
33502 Versions files is now verboten.
33503 * hurd/Versions (libc: GLIBC_2.0):
33504 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
33505 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
33506 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
33507 * mach/Versions: Likewise.
33509 * csu/Versions: Remove unused %include.
33510 * resolv/Versions: Likewise.
33512 2014-02-21 Joseph Myers <joseph@codesourcery.com>
33514 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
33515 ($(objpfx)check-local-headers.out): Likewise.
33516 ($(objpfx)begin-end-check.out): Likewise.
33517 * Makerules (check-abi-%.out): Likewise.
33518 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
33519 ($(objpfx)test2.cat): Likewise.
33520 ($(objpfx)de/libc.cat): Likewise.
33521 ($(objpfx)test-gencat.out): Likewise.
33522 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
33523 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
33524 ($(objpfx)noload-mem): Likewise.
33525 ($(objpfx)tst-pathopt.out): Likewise.
33526 ($(objpfx)tst-rtld-load-self.out): Likewise.
33527 ($(objpfx)tst-array1-cmp.out): Likewise.
33528 ($(objpfx)tst-array1-static-cmp.out): Likewise.
33529 ($(objpfx)tst-array2-cmp.out): Likewise.
33530 ($(objpfx)tst-array3-cmp.out): Likewise.
33531 ($(objpfx)tst-array4-cmp.out): Likewise.
33532 ($(objpfx)tst-array5-cmp.out): Likewise.
33533 ($(objpfx)tst-array5-static-cmp.out): Likewise.
33534 ($(objpfx)check-textrel.out): Likewise.
33535 ($(objpfx)check-execstack.out): Likewise.
33536 ($(objpfx)check-localplt.out): Likewise.
33537 ($(objpfx)order2-cmp.out): Likewise.
33538 ($(objpfx)tst-leaks1-mem): Likewise.
33539 ($(objpfx)tst-leaks1-static-mem): Likewise.
33540 ($(objpfx)tst-initorder-cmp.out): Likewise.
33541 ($(objpfx)tst-initorder2-cmp.out): Likewise.
33542 ($(objpfx)tst-unused-dep.out): Likewise.
33543 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
33544 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
33545 * iconv/Makefile (test-iconvconfig): Likewise.
33546 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
33547 ($(objpfx)iconv-test.out): Likewise.
33548 ($(objpfx)tst-tables.out): Likewise.
33549 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
33550 ($(objpfx)tst-gettext.out): Likewise.
33551 ($(objpfx)tst-translit.out): Likewise.
33552 ($(objpfx)tst-gettext2.out): Likewise.
33553 ($(objpfx)tst-gettext4.out): Likewise.
33554 ($(objpfx)tst-gettext6.out): Likewise.
33555 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
33556 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
33557 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
33558 ($(objpfx)tst-fopenloc-mem.out): Likewise.
33559 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
33560 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
33561 * posix/Makefile ($(objpfx)globtest.out): Likewise.
33562 ($(objpfx)wordexp-tst.out): Likewise.
33563 ($(objpfx)annexc.out): Likewise.
33564 ($(objpfx)tst-fnmatch-mem): Likewise.
33565 ($(objpfx)bug-regex2-mem): Likewise.
33566 ($(objpfx)bug-regex14-mem): Likewise.
33567 ($(objpfx)bug-regex21-mem): Likewise.
33568 ($(objpfx)bug-regex31-mem): Likewise.
33569 ($(objpfx)tst-vfork3-mem): Likewise.
33570 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
33571 ($(objpfx)tst-pcre-mem): Likewise.
33572 ($(objpfx)tst-boost-mem): Likewise.
33573 ($(objpfx)tst-getconf.out): Likewise.
33574 ($(objpfx)bug-ga2-mem): Likewise.
33575 ($(objpfx)bug-glob2-mem): Likewise.
33576 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
33577 ($(objpfx)mtrace-tst-leaks2): Likewise.
33578 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
33579 ($(objpfx)tst-printf.out): Likewise.
33580 ($(objpfx)tst-setvbuf1.out): Likewise.
33581 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
33582 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
33583 ($(objpfx)tst-fmtmsg.out): Likewise.
33584 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
33585 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
33587 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
33588 * bits/sigaction.h [__USE_MISC]: Likewise.
33589 * bits/waitstatus.h: Update #endif comments.
33590 * ctype/ctype.h: Likewise.
33591 * dirent/dirent.h: Likewise.
33592 [__USE_MISC]: Remove redundant conditionals.
33593 * grp/grp.h: Update #endif comments.
33594 [__USE_GNU]: Remove redundant conditionals.
33595 [__USE_MISC]: Likewise.
33596 * inet/netinet/in.h [__USE_GNU]: Likewise.
33597 * io/sys/stat.h [__USE_MISC]: Likewise.
33598 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
33599 * libio/bits/stdio.h: Update #endif comments.
33600 [__USE_MISC]: Remove redundant conditionals.
33601 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
33602 * libio/stdio.h: Update #endif comments.
33603 [__USE_MISC]: Remove redundant conditionals.
33604 * math/bits/math-finite.h [__USE_MISC]: Likewise.
33605 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
33606 * math/math.h: Update #else and #endif comments.
33607 [__USE_MISC]: Remove redundant conditionals.
33608 * misc/sys/uio.h: Update #endif comments.
33609 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
33610 * posix/glob.h [__USE_MISC]: Likewise.
33611 * posix/sys/types.h: Update #endif comments.
33612 [__USE_MISC]: Remove redundant conditionals.
33613 * posix/sys/wait.h: Update #endif comments.
33614 [__USE_MISC]: Remove redundant conditionals.
33615 * posix/unistd.h: Update #endif comments.
33616 [__USE_MISC]: Remove redundant conditionals.
33617 * pwd/pwd.h [__USE_GNU]: Likewise.
33618 [__USE_MISC]: Likewise.
33619 * resolv/netdb.h [__USE_GNU]: Likewise.
33620 * signal/signal.h: Update #endif comments.
33621 [__USE_MISC]: Remove redundant conditionals.
33622 * stdlib/stdlib.h: Update #else and #endif comments.
33623 [__USE_MISC]: Remove redundant conditionals.
33624 [__USE_GNU]: Likewise.
33625 * string/bits/string2.h [__USE_MISC]: Likewise.
33626 * string/string.h: Update #endif comments.
33627 [__USE_MISC]: Remove redundant conditionals.
33628 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
33630 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
33631 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
33632 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
33634 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
33636 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
33638 [__USE_MISC]: Remove redundant conditionals.
33639 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
33640 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
33641 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
33642 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
33643 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
33645 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
33646 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
33648 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
33649 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
33651 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
33653 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
33654 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
33656 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
33658 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
33659 * sysdeps/x86/bits/string.h: Update #endif comments.
33660 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
33662 * time/sys/time.h: Update #endif comments.
33663 * time/time.h: Likewise.
33664 [__USE_MISC]: Remove redundant conditionals.
33666 2014-02-21 Yury Gribov <y.gribov@samsung.com>
33669 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
33671 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
33673 * Versions.def (librt): Add GLIBC_2.17.
33675 2014-02-21 Adam Conrad <adconrad@0c3.net>
33677 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
33678 synonym for _SYS_AUXV_H to allow direct inclusion.
33679 * sysdeps/sparc/bits/hwcap.h: Likewise.
33680 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
33681 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
33682 * sysdeps/sparc/sysdep.h: Likewise.
33684 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
33686 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
33688 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
33690 * benchtests/bench-strrchr.c: Print length instead of position.
33692 2014-02-20 Joseph Myers <joseph@codesourcery.com>
33695 * sysdeps/unix/sysv/linux/kernel-features.h
33696 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
33697 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
33698 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
33699 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
33701 [__i386__ || __powerpc__ || __sh__ || __sparc__]
33702 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
33703 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
33704 (__ASSUME_SENDMMSG): Define instead of using previous
33705 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
33706 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
33707 (__ASSUME_SENDMMSG_SYSCALL): Define.
33708 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
33709 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
33711 * sysdeps/unix/sysv/linux/arm/kernel-features.h
33712 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
33714 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
33715 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
33717 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
33718 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
33719 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
33720 [__ASSUME_SENDMMSG]: Change conditionals to
33721 [__ASSUME_SENDMMSG_SOCKETCALL].
33722 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
33723 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
33725 * sysdeps/unix/sysv/linux/mips/kernel-features.h
33726 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
33728 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
33729 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
33730 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
33731 [!__ASSUME_SENDMMSG]: Change conditional to
33732 [!__ASSUME_SENDMMSG_SOCKETCALL].
33733 * sysdeps/unix/sysv/linux/tile/kernel-features.h
33734 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
33738 * sysdeps/unix/sysv/linux/kernel-features.h
33739 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
33740 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
33741 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
33742 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
33743 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
33744 [__i386__ || __sparc__]
33745 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
33746 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
33747 (__ASSUME_RECVMMSG): Define instead of using previous
33748 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
33749 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
33750 (__ASSUME_RECVMMSG_SYSCALL): Define.
33751 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
33752 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
33754 * sysdeps/unix/sysv/linux/arm/kernel-features.h
33755 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
33757 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
33758 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
33760 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
33761 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
33762 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
33763 [__ASSUME_RECVMMSG]: Change condition to
33764 [__ASSUME_RECVMMSG_SOCKETCALL].
33765 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
33766 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
33768 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
33769 * sysdeps/unix/sysv/linux/mips/kernel-features.h
33770 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
33772 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
33773 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
33774 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
33775 [!__ASSUME_RECVMMSG]: Change condition to
33776 [!__ASSUME_RECVMMSG_SOCKETCALL].
33777 * sysdeps/unix/sysv/linux/tile/kernel-features.h
33778 (__ASSUME_RECVMMSG_SYSCALL): Define.
33781 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
33782 __powerpc__ || __s390__ || __sh__ || __sparc__]
33783 (__ASSUME_SOCKETCALL): Define.
33784 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
33785 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
33786 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
33787 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
33788 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
33789 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
33790 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
33791 (__ASSUME_ACCEPT4): Define instead of using previous
33792 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
33793 __powerpc__ || __sparc__ || __s390__)] condition.
33794 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
33795 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
33796 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
33797 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
33798 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
33799 [!__ASSUME_ACCEPT4]: Change condition to
33800 [!__ASSUME_ACCEPT4_SOCKETCALL].
33801 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
33802 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
33803 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
33804 * sysdeps/unix/sysv/linux/arm/kernel-features.h
33805 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
33806 __ASSUME_ACCEPT4_SYSCALL.
33807 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
33808 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
33809 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
33810 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
33811 __ASSUME_ACCEPT4_SYSCALL.
33812 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
33813 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
33814 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
33815 [__ASSUME_ACCEPT4]: Change condition to
33816 [__ASSUME_ACCEPT4_SOCKETCALL].
33817 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
33818 (__ASSUME_SOCKETCALL): Define.
33819 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
33820 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
33821 (__ASSUME_SOCKETCALL): Define.
33822 (__ASSUME_ACCEPT4): Remove.
33823 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
33825 * sysdeps/unix/sysv/linux/mips/kernel-features.h
33826 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
33828 * sysdeps/unix/sysv/linux/tile/kernel-features.h
33829 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
33831 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
33833 (HWCAP_ARM_LPAE): Likewise.
33834 (HWCAP_ARM_EVTSTRM): Likewise.
33835 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
33836 Add vpfd32, lpae and evtstrm.
33837 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
33840 2014-02-19 Joseph Myers <joseph@codesourcery.com>
33842 * math/auto-libm-test-in: Add tests of clog10.
33843 * math/auto-libm-test-out: Regenerated.
33844 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
33845 * sysdeps/i386/fpu/libm-test-ulps: Update.
33846 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33848 2014-02-18 Andreas Schwab <schwab@suse.de>
33851 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
33852 Store non-zero if the second buffer was newly allocated.
33853 (send_dg): Likewise.
33854 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
33855 to send_vc and send_dg.
33856 (res_nsend): Pass NULL for ansp2_malloced.
33857 * resolv/res_query.c (__libc_res_nquery): Add parameter
33858 answerp2_malloced and pass it down to __libc_res_nsend.
33859 (res_nquery): Pass additional NULL to __libc_res_nquery.
33860 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
33861 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
33862 second answer buffer if answerp2_malloced was set.
33863 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
33864 (__libc_res_nquerydomain): Add parameter
33865 answerp2_malloced and pass it down to __libc_res_nquery.
33866 (res_nquerydomain): Pass additional NULL to
33867 __libc_res_nquerydomain.
33868 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
33869 additional NULL to __libc_res_nsend and __libc_res_nquery.
33870 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
33871 additional NULL to __libc_res_nsearch.
33872 (_nss_dns_gethostbyname4_r): Revert last change. Use new
33873 parameter of __libc_res_nsearch to check for separately allocated
33875 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
33877 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
33878 additional NULL to __libc_res_nquery.
33879 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
33880 __libc_res_nsearch.
33881 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
33882 * include/resolv.h: Update prototypes of __libc_res_nquery,
33883 __libc_res_nsearch, __libc_res_nsend.
33885 2014-02-18 Joseph Myers <joseph@codesourcery.com>
33887 * math/auto-libm-test-in: Add tests of fma.
33888 * math/auto-libm-test-out: Regenerated.
33889 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
33890 (fma_towardzero_test_data): Likewise.
33891 (fma_downward_test_data): Likewise.
33892 (fma_upward_test_data): Likewise.
33893 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
33895 (rounding_modes): Add values for new field.
33896 (func_calc_method): Add value mpfr_fff_f.
33897 (func_calc_desc): Add mpfr_fff_f union field.
33898 (test_function): Add field exact_args.
33899 (FUNC): Add macro argument EXACT_ARGS.
33900 (FUNC_mpfr_f_f): Update call to FUNC.
33901 (FUNC_mpfr_f_f): Likewise.
33902 (FUNC_mpfr_ff_f): Likewise.
33903 (FUNC_mpfr_if_f): Likewise.
33904 (FUNC_mpc_c_f): Likewise.
33905 (FUNC_mpc_c_c): Likewise.
33906 (test_functions): Add fma. Update calls to FUNC.
33907 (handle_input_arg): Add argument exact_args.
33908 (add_test): Update call to handle_input_arg.
33909 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
33910 (output_for_one_input_case): Update call to calc_generic_results.
33911 Recalculate exact zero results in each rounding mode.
33913 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
33914 non-negative before setting low bit.
33915 * math/auto-libm-test-in: Mark one asin test possibly having
33916 spurious underflow.
33917 * math/auto-libm-test-out: Regenerated.
33918 * sysdeps/i386/fpu/libm-test-ulps: Update.
33919 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33921 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
33923 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
33924 * sysdeps/unix/sysv/linux/microblaze: Move directory from
33925 ports/sysdeps/unix/sysv/linux/microblaze.
33926 * README: Add missing listing for microblaze*-*-linux-gnu.
33928 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
33930 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
33933 2014-02-16 Mike Frysinger <vapier@gentoo.org>
33935 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
33936 * sysdeps/unix/sysv/linux/ia64: Move directory from
33937 ports/sysdeps/unix/sysv/linux/ia64.
33938 * README: Update listing for ia64-*-linux-gnu.
33940 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
33941 Joseph Myers <joseph@codesourcery.com>
33943 * Makeconfig (test-name): New variable.
33944 (evaluate-test): Likewise.
33945 * Makerules (do-test-clean): Remove .test-result files.
33946 (common-mostlyclean): Likewise.
33947 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
33948 * scripts/evaluate-test.sh: New file.
33950 2014-02-14 Joseph Myers <joseph@codesourcery.com>
33952 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
33953 separate $(objpfx)tst-fopenloc-cmp.out and
33954 $(objpfx)tst-fopenloc-mem.out targets.
33955 (tests): Update dependencies.
33956 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
33957 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
33958 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
33959 (tst-rxspencer-no-utf8-ARGS): New variable.
33960 (tst-rxspencer-no-utf8-ENV): Likewise.
33961 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
33962 instead of $(objpfx)tst-rxspencer-mem.
33963 ($(objpfx)tst-rxspencer-mem): Change target to
33964 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
33965 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
33966 * posix/tst-rxspencer-no-utf8.c: New file.
33968 * elf/Makefile ($(objpfx)order.out): Remove rule.
33969 [$(run-built-tests) = yes] (tests): Depend on
33970 $(objpfx)order-cmp.out.
33971 ($(objpfx)order-cmp.out): New rule.
33972 [$(run-built-tests) = yes] (tests): Depend on
33973 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
33974 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
33975 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
33976 $(objpfx)tst-array5-static-cmp.out.
33977 ($(objpfx)tst-array1.out): Remove rule.
33978 ($(objpfx)tst-array1-cmp.out): New rule.
33979 ($(objpfx)tst-array1-static.out): Remove rule.
33980 ($(objpfx)tst-array1-static-cmp.out): New rule.
33981 ($(objpfx)tst-array2.out): Remove rule.
33982 ($(objpfx)tst-array2-cmp.out): New rule.
33983 ($(objpfx)tst-array3.out): Remove rule.
33984 ($(objpfx)tst-array3-cmp.out): New rule.
33985 ($(objpfx)tst-array4.out): Remove rule.
33986 ($(objpfx)tst-array4-cmp.out): New rule.
33987 ($(objpfx)tst-array5.out): Remove rule.
33988 ($(objpfx)tst-array5-cmp.out): New rule.
33989 ($(objpfx)tst-array5-static.out): Remove rule.
33990 ($(objpfx)tst-array5-static-cmp.out): New rule.
33991 [$(run-built-tests) = yes] (tests): Depend on
33992 $(objpfx)order2-cmp.out.
33993 ($(objpfx)order2.out): Remove rule.
33994 ($(objpfx)order2-cmp.out): New rule.
33995 ($(objpfx)tst-initorder.out): Remove rule.
33996 [$(run-built-tests) = yes] (tests): Depend on
33997 $(objpfx)tst-initorder-cmp.out.
33998 ($(objpfx)tst-initorder-cmp.out): New rule.
33999 ($(objpfx)tst-initorder2.out): Remove rule.
34000 [$(run-built-tests) = yes] (tests): Depend on
34001 $(objpfx)tst-initorder2-cmp.out.
34002 ($(objpfx)tst-initorder2-cmp.out): New rule.
34003 [$(run-built-tests) = yes] (tests): Depend on
34004 $(objpfx)tst-unused-dep-cmp.out.
34005 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
34006 ($(objpfx)tst-unused-dep-cmp.out): New rule.
34007 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
34008 on $(objpfx)tst-setvbuf1-cmp.out.
34009 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
34010 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
34011 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
34012 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
34013 ($(objpfx)tst-svc.out): Remove rule.
34014 ($(objpfx)tst-svc-cmp.out): New rule.
34016 2014-02-13 Joseph Myers <joseph@codesourcery.com>
34018 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
34019 * ctype/ctype.h [__USE_MISC]: Likewise.
34020 * dirent/dirent.h [__USE_MISC]: Likewise.
34021 * grp/grp.h [__USE_MISC]: Likewise.
34022 * io/fcntl.h [__USE_MISC]: Likewise.
34023 * io/sys/stat.h [__USE_MISC]: Likewise.
34024 * libio/stdio.h [__USE_MISC]: Likewise.
34025 * posix/unistd.h [__USE_MISC]: Likewise.
34026 * pwd/pwd.h [__USE_MISC]: Likewise.
34027 * stdlib.h [__USE_MISC]: Likewise.
34028 * string/bits/string2.h [__USE_MISC]: Likewise.
34029 * string/string.h [__USE_MISC]: Likewise.
34030 * time/time.h [__USE_MISC]: Likewise.
34032 2014-02-13 Andreas Schwab <schwab@suse.de>
34035 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
34036 second answer buffer if it was separately allocated.
34038 2014-02-12 Joseph Myers <joseph@codesourcery.com>
34040 * sysdeps/mips/math-tests.h: Include <features.h>.
34041 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
34042 (ROUNDING_TESTS_long_double): Do not define.
34043 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
34044 (EXCEPTION_TESTS_long_double): Likewise.
34045 * sysdeps/mips/mips64/libm-test-ulps: Update.
34047 * include/features.h (__USE_BSD): Remove macro definitions.
34048 (__USE_SVID): Likewise.
34049 (_BSD_SOURCE): Likewise.
34050 (_SVID_SOURCE): Likewise.
34051 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
34052 from definition of _DEFAULT_SOURCE.
34053 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
34055 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
34056 * bits/mman.h [__USE_BSD]: Likewise.
34057 * bits/termios.h [__USE_BSD]: Likewise.
34058 * bits/waitstatus.h [__USE_BSD]: Likewise.
34059 * ctype/ctype.h [__USE_SVID]: Likewise.
34060 * dirent/dirent.h [__USE_BSD]: Likewise.
34061 * grp/grp.h [__USE_SVID]: Likewise.
34062 [__USE_BSD]: Likewise.
34063 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
34064 * io/fcntl.h [__USE_BSD]: Likewise.
34065 * io/ftw.h [__USE_BSD]: Likewise.
34066 * io/sys/stat.h [__USE_BSD]: Likewise.
34067 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
34068 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
34069 * libio/stdio.h [__USE_SVID]: Likewise.
34070 [__USE_BSD]: Likewise.
34071 * math/math.h [__USE_SVID]: Likewise.
34072 [__USE_BSD]: Likewise.
34073 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
34074 * misc/bits/syslog.h [__USE_BSD]: Likewise.
34075 * misc/search.h [__USE_SVID]: Likewise.
34076 * misc/sys/mman.h [__USE_BSD]: Likewise.
34077 * misc/sys/syslog.h [__USE_BSD]: Likewise.
34078 * misc/sys/uio.h [__USE_BSD]: Likewise.
34079 * posix/bits/unistd.h [__USE_BSD]: Likewise.
34080 * posix/glob.h [__USE_BSD]: Likewise.
34081 * posix/regex.h [__USE_BSD]: Likewise.
34082 * posix/sys/types.h [__USE_BSD]: Likewise.
34083 [__USE_SVID]: Likewise.
34084 * posix/sys/utsname.h [__USE_SVID]: Likewise.
34085 * posix/sys/wait.h [__USE_BSD]: Likewise.
34086 [__USE_SVID]: Likewise.
34087 * posix/unistd.h [__USE_BSD]: Likewise.
34088 [__USE_SVID]: Likewise.
34089 * pwd/pwd.h [__USE_SVID]: Likewise.
34090 * resolv/netdb.h [__USE_BSD]: Likewise.
34091 * setjmp/setjmp.h [__USE_BSD]: Likewise.
34092 * signal/signal.h [__USE_BSD]: Likewise.
34093 [__USE_SVID]: Likewise.
34094 * socket/sys/socket.h [__USE_BSD]: Likewise.
34095 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
34096 * stdlib/stdlib.h [__USE_BSD]: Likewise.
34097 [__USE_SVID]: Likewise.
34098 * string/bits/string2.h [__USE_BSD]: Likewise.
34099 [__USE_SVID]: Likewise.
34100 * string/bits/string3.h [__USE_BSD]: Likewise.
34101 * string/endian.h [__USE_BSD]: Likewise.
34102 * string/string.h [__USE_SVID]: Likewise.
34103 [__USE_BSD]: Likewise.
34104 * string/strings.h [__USE_BSD]: Likewise.
34105 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
34106 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
34107 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
34108 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
34109 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
34110 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
34112 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
34114 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
34115 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
34117 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
34118 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
34120 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
34122 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
34123 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
34124 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
34126 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
34128 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
34129 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
34130 * termios/termios.h [__USE_BSD]: Likewise.
34131 * time/sys/time.h [__USE_BSD]: Likewise.
34132 * time/time.h [__USE_BSD]: Likewise.
34133 [__USE_SVID]: Likewise.
34135 * Makefile (subdir_targets): Remove subdir_lint.out.
34137 * stdio-common/Makefile (do-tst-unbputc): Remove target.
34138 (do-tst-printf): Likewise.
34139 (tests): Depend directly on $(objpfx)tst-unbputc.out and
34140 $(objpfx)tst-printf.out.
34142 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
34144 * Makerules (check-abi-%): Change target to
34145 $(objpfx)check-abi-%.out.
34146 (check-abi target): Update dependencies.
34147 (check-abi-pattern variable): Redirect output of diff to $@.
34148 (check-abi variable): Likewise.
34149 * elf/Makefile (check-abi): Update dependencies.
34151 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
34153 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
34154 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
34156 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
34157 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
34158 value has largest subnormal exponent.
34159 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
34160 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
34161 * sysdeps/aarch64/soft-fp/sfp-machine.h
34162 (_FP_TININESS_AFTER_ROUNDING): New macro.
34163 * sysdeps/alpha/soft-fp/sfp-machine.h
34164 (_FP_TININESS_AFTER_ROUNDING): Likewise.
34165 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
34167 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
34168 (_FP_TININESS_AFTER_ROUNDING): Likewise.
34169 * sysdeps/mips/soft-fp/sfp-machine.h
34170 (_FP_TININESS_AFTER_ROUNDING): Likewise.
34171 * sysdeps/powerpc/soft-fp/sfp-machine.h
34172 (_FP_TININESS_AFTER_ROUNDING): Likewise.
34173 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
34175 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
34176 (_FP_TININESS_AFTER_ROUNDING): Likewise.
34177 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
34178 (_FP_TININESS_AFTER_ROUNDING): Likewise.
34179 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
34182 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
34185 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
34188 2014-02-12 Richard Henderson <rth@redhat.com>
34190 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
34191 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
34192 * sysdeps/unix/sysv/linux/alpha: Move directory from
34193 ports/sysdeps/unix/sysv/linux/alpha.
34194 * README: Update listing for alpha-*-linux-gnu.
34196 2014-02-11 Joseph Myers <joseph@codesourcery.com>
34198 * include/features.h: Update comment documenting feature test
34200 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
34202 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
34203 (_SVID_SOURCE): Likewise.
34204 (_DEFAULT_SOURCE): Update description of default features.
34205 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
34207 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
34208 (S_ISVTX): Likewise.
34209 * manual/math.texi (Mathematical Constants): Likewise.
34210 * manual/signal.texi (Interrupted Primitives): Likewise.
34211 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
34212 * math/test-matherr.c (_SVID_SOURCE): Do not define.
34213 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
34214 Don't refer to _SVID_SOURCE in warning text.
34216 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34218 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
34220 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
34221 * sysdeps/mips/dl-lookup.c: Remove.
34222 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
34224 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
34227 * math/auto-libm-test-in: Add testcase for expl.
34228 * math/auto-libm-test-out: Regenerate.
34229 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
34230 calculation of unsafe.
34231 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
34233 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
34235 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
34236 * sysdeps/unix/sysv/linux/aarch64: Move directory from
34237 ports/sysdeps/unix/sysv/linux/aarch64.
34238 * README: Update listing for aarch64*-*-linux-gnu.
34240 2014-02-11 Will Newton <will.newton@linaro.org>
34242 * manual/probes.texi (Mathematical Function Probes): Use
34243 "triggered" instead of "hit".
34245 * manual/probes.texi (Internal Probes): Add documentation
34246 of setjmp, longjmp and longjmp_target probes.
34248 * include/stap-probe.h: Add comment about probe argument
34251 * malloc/mtrace.c (attribute_hidden): Remove unused macro
34252 definition. (tr_where, tr_freehook, tr_mallochook,
34253 tr_reallochook, tr_memalignhook): Use ANSI protoype.
34255 2014-02-11 David S. Miller <davem@davemloft.net>
34257 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
34258 processing int_tests.
34260 2014-02-10 Joseph Myers <joseph@codesourcery.com>
34262 * sysdeps/mips: Move directory from ports/sysdeps/mips.
34263 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
34264 * sysdeps/unix/sysv/linux/mips: Move directory from
34265 ports/sysdeps/unix/sysv/linux/mips.
34266 * README: Update listing for mips-*-linux-gnu and
34267 mips64-*-linux-gnu.
34269 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
34271 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
34272 * sysdeps/unix/sysv/linux/m68k: Move directory from
34273 ports/sysdeps/unix/sysv/linux/m68k.
34274 * README: Update listing for m68k-*-linux-gnu.
34276 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
34278 * sysdeps/tile: Move directory from ports/sysdeps/tile.
34279 * sysdeps/unix/sysv/linux/generic: Move directory from
34280 ports/sysdeps/unix/sysv/linux/generic.
34281 * sysdeps/unix/sysv/linux/tile: Move directory from
34282 ports/sysdeps/unix/sysv/linux/tile.
34283 * README: Update listing for tile*-*-linux-gnu.
34285 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
34287 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
34289 * benchtests/bench-memmem.c (simple_memmem): Likewise.
34290 * catgets/open_catalog.c (__open_catalog): Likewise.
34291 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
34292 * debug/confstr_chk.c: Likewise.
34293 * debug/fread_chk.c (__fread_chk): Likewise.
34294 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
34295 * debug/getgroups_chk.c: Likewise.
34296 * debug/mbsnrtowcs_chk.c: Likewise.
34297 * debug/mbsrtowcs_chk.c: Likewise.
34298 * debug/mbstowcs_chk.c: Likewise.
34299 * debug/memcpy_chk.c: Likewise.
34300 * debug/memmove_chk.c: Likewise.
34301 * debug/mempcpy_chk.c: Likewise.
34302 * debug/memset_chk.c: Likewise.
34303 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
34304 * debug/strcat_chk.c (__strcat_chk): Likewise.
34305 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
34306 * debug/strncat_chk.c (__strncat_chk): Likewise.
34307 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
34308 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
34309 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
34310 * debug/wcpncpy_chk.c: Likewise.
34311 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
34312 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
34313 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
34314 * debug/wcsncpy_chk.c: Likewise.
34315 * debug/wcsnrtombs_chk.c: Likewise.
34316 * debug/wcsrtombs_chk.c: Likewise.
34317 * debug/wcstombs_chk.c: Likewise.
34318 * debug/wmemcpy_chk.c: Likewise.
34319 * debug/wmemmove_chk.c: Likewise.
34320 * debug/wmempcpy_chk.c: Likewise.
34321 * debug/wmemset_chk.c: Likewise.
34322 * dirent/scandirat.c (SCANDIRAT): Likewise.
34323 * dlfcn/dladdr1.c (dladdr1): Likewise.
34324 * dlfcn/dladdr.c (dladdr): Likewise.
34325 * dlfcn/dlclose.c (dlclose_doit): Likewise.
34326 * dlfcn/dlerror.c (__dlerror): Likewise.
34327 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
34328 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
34329 * dlfcn/dlopen.c (dlopen_doit): Likewise.
34330 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
34331 * dlfcn/dlsym.c (dlsym_doit): Likewise.
34332 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
34333 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
34334 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
34336 * elf/dl-conflict.c: Likewise.
34337 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
34338 * elf/dl-dst.h: Likewise.
34339 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
34340 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
34341 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
34342 * elf/dl-init.c (call_init, _dl_init): Likewise.
34343 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
34344 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
34345 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
34347 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
34349 * elf/dl-minimal.c (__libc_memalign): Likewise.
34350 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
34351 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
34352 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
34353 * elf/dl-sym.c (do_sym): Likewise.
34354 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
34355 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
34356 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
34357 * elf/dl-writev.h (_dl_writev): Likewise.
34358 * elf/ldconfig.c (search_dir): Likewise.
34359 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
34360 (dl_main): Likewise.
34361 * elf/setup-vdso.h (setup_vdso): Likewise.
34362 * grp/compat-initgroups.c (compat_call): Likewise.
34363 * grp/fgetgrent.c (fgetgrent): Likewise.
34364 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
34365 * grp/putgrent.c (putgrent): Likewise.
34366 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
34368 * hurd/hurdinit.c: Likewise.
34369 * iconvdata/8bit-gap.c (struct): Likewise.
34370 * iconvdata/ansi_x3.110.c : Likewise.
34371 * iconvdata/big5.c : Likewise.
34372 * iconvdata/big5hkscs.c : Likewise.
34373 * iconvdata/cp1255.c: Likewise.
34374 * iconvdata/cp1258.c : Likewise.
34375 * iconvdata/cp932.c : Likewise.
34376 * iconvdata/euc-cn.c: Likewise.
34377 * iconvdata/euc-jisx0213.c : Likewise.
34378 * iconvdata/euc-jp.c: Likewise.
34379 * iconvdata/euc-jp-ms.c : Likewise.
34380 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
34381 * iconvdata/gb18030.c : Likewise.
34382 * iconvdata/gbbig5.c (const): Likewise.
34383 * iconvdata/gbgbk.c: Likewise.
34384 * iconvdata/gbk.c : Likewise.
34385 * iconvdata/ibm1364.c : Likewise.
34386 * iconvdata/ibm930.c : Likewise.
34387 * iconvdata/ibm932.c: Likewise.
34388 * iconvdata/ibm933.c : Likewise.
34389 * iconvdata/ibm935.c : Likewise.
34390 * iconvdata/ibm937.c : Likewise.
34391 * iconvdata/ibm939.c : Likewise.
34392 * iconvdata/ibm943.c: Likewise.
34393 * iconvdata/iso_11548-1.c: Likewise.
34394 * iconvdata/iso-2022-cn.c : Likewise.
34395 * iconvdata/iso-2022-cn-ext.c : Likewise.
34396 * iconvdata/iso-2022-jp-3.c: Likewise.
34397 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
34398 * iconvdata/iso-2022-kr.c : Likewise.
34399 * iconvdata/iso646.c (gconv_end): Likewise.
34400 * iconvdata/iso_6937-2.c : Likewise.
34401 * iconvdata/iso_6937.c : Likewise.
34402 * iconvdata/iso8859-1.c: Likewise.
34403 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
34404 * iconvdata/shift_jisx0213.c : Likewise.
34405 * iconvdata/sjis.c : Likewise.
34406 * iconvdata/t.61.c : Likewise.
34407 * iconvdata/tcvn5712-1.c : Likewise.
34408 * iconvdata/tscii.c: Likewise.
34409 * iconvdata/uhc.c : Likewise.
34410 * iconvdata/unicode.c (gconv_end): Likewise.
34411 * iconvdata/utf-16.c (gconv_end): Likewise.
34412 * iconvdata/utf-32.c (gconv_end): Likewise.
34413 * iconvdata/utf-7.c (base64): Likewise.
34414 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
34415 * iconv/gconv_close.c (__gconv_close): Likewise.
34416 * iconv/gconv_open.c (__gconv_open): Likewise.
34417 * iconv/gconv_simple.c (internal_ucs4_loop_single)
34418 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
34419 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
34420 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
34421 (ucs4le_internal_loop_single): Likewise.
34422 * iconv/iconv.c (iconv): Likewise.
34423 * iconv/iconv_close.c: Likewise.
34424 * iconv/loop.c (SINGLE): Likewise.
34425 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
34426 * include/atomic.h: Likewise.
34427 * inet/inet6_option.c (option_alloc): Likewise.
34428 * intl/bindtextdom.c (set_binding_values): Likewise.
34429 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
34430 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
34431 * intl/localealias.c (read_alias_file): Likewise.
34432 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
34433 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
34434 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
34435 * libio/fmemopen.c (fmemopen): Likewise.
34436 * libio/iofgets.c (_IO_fgets): Likewise.
34437 * libio/iofgets_u.c (fgets_unlocked): Likewise.
34438 * libio/iofgetws.c (fgetws): Likewise.
34439 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
34440 * libio/iogetdelim.c (_IO_getdelim): Likewise.
34441 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
34442 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
34443 * locale/findlocale.c (_nl_find_locale): Likewise.
34444 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
34445 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
34447 * locale/setlocale.c (setlocale): Likewise.
34448 * login/programs/pt_chown.c (main): Likewise.
34449 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
34450 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
34451 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
34452 (mmap, mmap64, mremap, munmap): Likewise.
34453 * math/e_exp2l.c: Likewise.
34454 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
34455 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
34456 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
34457 * math/s_catan.c (__catan): Likewise.
34458 * math/s_catanf.c (__catanf): Likewise.
34459 * math/s_catanh.c (__catanh): Likewise.
34460 * math/s_catanhf.c (__catanhf): Likewise.
34461 * math/s_catanhl.c (__catanhl): Likewise.
34462 * math/s_catanl.c (__catanl): Likewise.
34463 * math/s_ccosh.c (__ccosh): Likewise.
34464 * math/s_ccoshf.c (__ccoshf): Likewise.
34465 * math/s_ccoshl.c (__ccoshl): Likewise.
34466 * math/s_cexp.c (__cexp): Likewise.
34467 * math/s_cexpf.c (__cexpf): Likewise.
34468 * math/s_cexpl.c (__cexpl): Likewise.
34469 * math/s_clog10.c (__clog10): Likewise.
34470 * math/s_clog10f.c (__clog10f): Likewise.
34471 * math/s_clog10l.c (__clog10l): Likewise.
34472 * math/s_clog.c (__clog): Likewise.
34473 * math/s_clogf.c (__clogf): Likewise.
34474 * math/s_clogl.c (__clogl): Likewise.
34475 * math/s_csin.c (__csin): Likewise.
34476 * math/s_csinf.c (__csinf): Likewise.
34477 * math/s_csinh.c (__csinh): Likewise.
34478 * math/s_csinhf.c (__csinhf): Likewise.
34479 * math/s_csinhl.c (__csinhl): Likewise.
34480 * math/s_csinl.c (__csinl): Likewise.
34481 * math/s_csqrt.c (__csqrt): Likewise.
34482 * math/s_csqrtf.c (__csqrtf): Likewise.
34483 * math/s_csqrtl.c (__csqrtl): Likewise.
34484 * math/s_ctan.c (__ctan): Likewise.
34485 * math/s_ctanf.c (__ctanf): Likewise.
34486 * math/s_ctanh.c (__ctanh): Likewise.
34487 * math/s_ctanhf.c (__ctanhf): Likewise.
34488 * math/s_ctanhl.c (__ctanhl): Likewise.
34489 * math/s_ctanl.c (__ctanl): Likewise.
34490 * math/w_pow.c: Likewise.
34491 * math/w_powf.c: Likewise.
34492 * math/w_powl.c: Likewise.
34493 * math/w_scalb.c (sysv_scalb): Likewise.
34494 * math/w_scalbf.c (sysv_scalbf): Likewise.
34495 * math/w_scalbl.c (sysv_scalbl): Likewise.
34496 * misc/error.c (error_tail): Likewise.
34497 * misc/pselect.c (__pselect): Likewise.
34498 * nis/nis_callback.c (__nis_create_callback): Likewise.
34499 * nis/nis_call.c (__nisfind_server): Likewise.
34500 * nis/nis_creategroup.c (nis_creategroup): Likewise.
34501 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
34502 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
34503 * nis/nis_getservlist.c (nis_getservlist): Likewise.
34504 * nis/nis_lookup.c (nis_lookup): Likewise.
34505 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
34506 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
34507 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
34508 * nis/nis_xdr.c (xdr_endpoint): Likewise.
34509 * nis/nss_compat/compat-grp.c (getgrent_next_file)
34510 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
34511 * nis/nss_compat/compat-initgroups.c (add_group)
34512 (internal_getgrent_r): Likewise.
34513 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
34514 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
34515 * nis/nss_compat/compat-spwd.c (getspent_next_file)
34516 (internal_getspnam_r): Likewise.
34517 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
34518 (_nss_nis_getaliasbyname_r): Likewise.
34519 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
34520 (_nss_nis_getntohost_r): Likewise.
34521 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
34522 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
34523 (_nss_nis_getgrgid_r): Likewise.
34524 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
34525 (internal_nis_gethostent_r, internal_gethostbyname2_r)
34526 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
34527 (_nss_nis_gethostbyname4_r): Likewise.
34528 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
34529 (initgroups_netid): Likewise.
34530 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
34531 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
34532 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
34533 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
34534 (_nss_nis_getprotobynumber_r): Likewise.
34535 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
34536 (_nss_nis_getsecretkey): Likewise.
34537 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
34538 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
34539 (_nss_nis_getpwuid_r): Likewise.
34540 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
34541 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
34542 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
34543 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
34544 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
34545 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
34546 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
34548 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
34549 (_nss_nisplus_getntohost_r): Likewise.
34550 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
34551 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
34552 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
34553 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
34555 * nis/nss_nisplus/nisplus-initgroups.c
34556 (_nss_nisplus_initgroups_dyn): Likewise.
34557 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
34558 (_nss_nisplus_getnetbyaddr_r): Likewise.
34559 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
34560 (_nss_nisplus_getprotobynumber_r): Likewise.
34561 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
34562 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
34563 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
34565 * nis/nss_nisplus/nisplus-service.c
34566 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
34567 (_nss_nisplus_getservbyport_r): Likewise.
34568 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
34569 (_nss_nisplus_getspnam_r): Likewise.
34570 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
34572 * nscd/aicache.c (addhstaiX): Likewise.
34573 * nscd/cache.c (cache_search, prune_cache): Likewise.
34574 * nscd/connections.c (register_traced_file, send_ro_fd)
34575 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
34576 (main_loop_epoll): Likewise.
34577 * nscd/grpcache.c (addgrbyX): Likewise.
34578 * nscd/hstcache.c (addhstbyX): Likewise.
34579 * nscd/initgrcache.c (addinitgroupsX): Likewise.
34580 * nscd/mem.c (gc, mempool_alloc): Likewise.
34581 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
34582 (addinnetgrX): Likewise.
34583 * nscd/nscd-client.h (__nscd_acquire_maplock)
34584 (__nscd_drop_map_ref): Likewise.
34585 * nscd/nscd_getai.c (__nscd_getai): Likewise.
34586 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
34587 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
34589 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
34590 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
34591 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
34592 (__nscd_get_map_ref): Likewise.
34593 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
34594 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
34596 * nscd/pwdcache.c (addpwbyX): Likewise.
34597 * nscd/selinux.c (preserve_capabilities): Likewise.
34598 * nscd/servicescache.c (addservbyX): Likewise.
34599 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
34600 * posix/fnmatch.c (fnmatch): Likewise.
34601 * posix/getopt.c (_getopt_internal_r): Likewise.
34602 * posix/glob.c (glob, glob_in_dir): Likewise.
34603 * posix/wordexp.c (exec_comm_child): Likewise.
34604 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
34605 (getanswer_r, gaih_getanswer_slice): Likewise.
34606 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
34607 * resolv/res_init.c: Likewise.
34608 * resolv/res_mkquery.c (res_nmkquery): Likewise.
34609 * resolv/res_query.c (__libc_res_nquery): Likewise.
34610 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
34612 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
34613 * stdio-common/perror.c (perror): Likewise.
34614 * stdio-common/printf_fp.c (___printf_fp): Likewise.
34615 * stdio-common/tmpnam.c (tmpnam): Likewise.
34616 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
34617 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
34618 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
34620 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
34621 * stdlib/putenv.c (putenv): Likewise.
34622 * stdlib/setenv.c (__add_to_environ): Likewise.
34623 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
34624 * stdlib/strtol_l.c (INTERNAL): Likewise.
34625 * string/memmem.c (memmem): Likewise.
34626 * string/strerror.c (strerror): Likewise.
34627 * string/strnlen.c (__strnlen): Likewise.
34628 * string/test-memmem.c (simple_memmem): Likewise.
34629 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
34630 * sunrpc/pm_getport.c (__get_socket): Likewise.
34631 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
34632 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
34633 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
34634 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
34636 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
34637 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
34638 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
34639 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
34640 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
34641 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
34643 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
34645 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
34646 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
34647 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
34648 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
34649 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
34650 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
34651 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
34652 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
34653 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
34654 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
34655 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
34656 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
34658 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
34660 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
34662 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
34663 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
34664 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
34665 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
34666 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
34667 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
34668 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
34669 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
34670 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
34671 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
34672 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
34673 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34674 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
34675 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
34676 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34677 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
34679 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
34681 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
34683 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
34685 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
34686 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34687 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
34689 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
34690 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
34691 * sysdeps/posix/opendir.c (__opendirat): Likewise.
34692 * sysdeps/posix/sleep.c: Likewise.
34693 * sysdeps/posix/tempname.c: Likewise.
34694 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
34695 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
34697 * sysdeps/powerpc/powerpc32/dl-machine.h
34698 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
34699 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
34700 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
34701 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
34702 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
34704 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
34705 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
34706 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
34707 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
34708 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
34709 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
34710 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
34711 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
34712 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
34713 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
34714 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
34715 (elf_machine_lazy_rel): Likewise.
34716 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
34717 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
34718 (elf_machine_lazy_rel): Likewise.
34719 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
34720 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
34721 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
34722 * sysdeps/unix/grantpt.c (grantpt): Likewise.
34723 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
34724 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
34725 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
34726 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
34728 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
34729 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
34730 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
34731 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
34732 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
34733 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
34734 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
34735 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
34736 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
34737 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
34738 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
34740 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
34741 (__posix_fallocate64_l64): Likewise.
34742 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
34743 (posix_fallocate): Likewise.
34744 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
34746 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
34747 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
34748 (getifaddrs_internal): Likewise.
34749 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
34750 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
34751 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
34752 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
34753 * sysdeps/unix/sysv/linux/posix_fallocate64.c
34754 (__posix_fallocate64_l64): Likewise.
34755 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
34757 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
34758 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
34759 (__get_clockfreq): Likewise.
34760 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
34761 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
34762 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
34763 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
34764 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
34765 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
34766 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
34767 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
34769 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
34770 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
34771 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
34772 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
34773 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
34774 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
34775 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
34777 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
34778 (posix_fallocate): Likewise.
34779 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
34780 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
34781 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
34782 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
34783 (elf_machine_rela, elf_machine_rela_relative)
34784 (elf_machine_lazy_rel): Likewise.
34785 * time/asctime.c (asctime_internal): Likewise.
34786 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
34787 * time/tzset.c (__tzset_parse_tz): Likewise.
34788 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
34789 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
34790 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
34791 * wcsmbs/wcsmbsload.h: Likewise.
34794 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
34796 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
34797 (arena_get2): Remove THREAD_STATS conditionals.
34798 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
34799 (__malloc_stats, int): Likewise.
34801 2014-02-08 Mike Frysinger <vapier@gentoo.org>
34803 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
34804 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
34806 * manual/setjmp.texi: Fix typos/grammar errors.
34808 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
34809 Only return early when n is <= 0. Delete unused return statement.
34811 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
34812 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
34813 * debug/tst-longjmp_chk3.c: New file.
34815 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
34816 (test_main): Replace code with set_fortify_handler call.
34817 * debug/test-strcpy_chk.c: Likewise.
34818 * debug/tst-chk1.c: Likewise.
34819 * debug/tst-longjmp_chk.c: Likewise.
34820 * test-skeleton.c: Include fcntl.h & paths.h
34821 (set_fortify_handler): Define.
34823 * debug/tst-longjmp_chk.c: Add header comment and include
34824 ../test-skeleton.c.
34825 (do_test): Mark static.
34826 (TEST_FUNCTION): Define.
34828 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
34829 (IP_PMTUDISC_INTERFACE): Likewise.
34830 (IP_MULTICAST_IF): Likewise.
34831 (IP_MULTICAST_TTL): Likewise.
34832 (IP_MULTICAST_LOOP): Likewise.
34833 (IP_ADD_MEMBERSHIP): Likewise.
34834 (IP_DROP_MEMBERSHIP): Likewise.
34835 (IP_UNBLOCK_SOURCE): Likewise.
34836 (IP_BLOCK_SOURCE): Likewise.
34837 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
34838 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
34839 (IP_MSFILTER): Likewise.
34840 (MCAST_JOIN_GROUP): Likewise.
34841 (MCAST_BLOCK_SOURCE): Likewise.
34842 (MCAST_UNBLOCK_SOURCE): Likewise.
34843 (MCAST_LEAVE_GROUP): Likewise.
34844 (MCAST_JOIN_SOURCE_GROUP): Likewise.
34845 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
34846 (MCAST_MSFILTER): Likewise.
34847 (IP_MULTICAST_ALL): Likewise.
34848 (IP_UNICAST_IF): Likewise.
34850 * timezone/Makefile: Delete $(have-ksh) check.
34851 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
34852 * timezone/tzselect.ksh: Add +x mode bits.
34854 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
34855 (ANON_INODE_FS_MAGIC): Likewise.
34856 (BDEVFS_MAGIC): Likewise.
34857 (BINFMTFS_MAGIC): Likewise.
34858 (BTRFS_TEST_MAGIC): Likewise.
34859 (CRAMFS_MAGIC_WEND): Likewise.
34860 (DEBUGFS_MAGIC): Likewise.
34861 (ECRYPTFS_SUPER_MAGIC): Likewise.
34862 (EXT3_SUPER_MAGIC): Likewise.
34863 (EXT4_SUPER_MAGIC): Likewise.
34864 (FUTEXFS_SUPER_MAGIC): Likewise.
34865 (HOSTFS_SUPER_MAGIC): Likewise.
34866 (HUGETLBFS_MAGIC): Likewise.
34867 (MINIX3_SUPER_MAGIC): Likewise.
34868 (MTD_INODE_FS_MAGIC): Likewise.
34869 (NILFS_SUPER_MAGIC): Likewise.
34870 (OPENPROM_SUPER_MAGIC): Likewise.
34871 (PIPEFS_MAGIC): Likewise.
34872 (PSTOREFS_MAGIC): Likewise.
34873 (QNX6_SUPER_MAGIC): Likewise.
34874 (RAMFS_MAGIC): Likewise.
34875 (REISERFS_SUPER_MAGIC_STRING): Likewise.
34876 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
34877 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
34878 (SECURITYFS_MAGIC): Likewise.
34879 (SELINUX_MAGIC): Likewise.
34880 (SMACK_MAGIC): Likewise.
34881 (SOCKFS_MAGIC): Likewise.
34882 (SQUASHFS_MAGIC): Likewise.
34883 (STACK_END_MAGIC): Likewise.
34884 (TMPFS_MAGIC): Likewise.
34885 (USBDEVICE_SUPER_MAGIC): Likewise.
34886 (V9FS_MAGIC): Likewise.
34887 (XENFS_SUPER_MAGIC): Likewise.
34888 (CRAMFS_MAGIC): Fix typo in comment.
34889 (EXT2_SUPER_MAGIC): Update comment.
34890 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
34892 2014-02-08 Joseph Myers <joseph@codesourcery.com>
34894 * sysdeps/arm: Move directory from ports/sysdeps/arm.
34895 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
34896 * sysdeps/unix/sysv/linux/arm: Move directory from
34897 ports/sysdeps/unix/sysv/linux/arm.
34898 * README: Update listing for arm-*-linux-gnueabi.
34900 * README: Remove mention of am33.
34902 2014-02-07 Roland McGrath <roland@hack.frob.com>
34904 * bits/sigset.h (__sigemptyset): Use a statement expression rather
34905 than the comma operator, to avoid "rhs of comma has no effect"
34907 (__sigfillset, __sigandset, __sigorset): Likewise.
34908 * include/signal.h (__sigemptyset): Likewise.
34909 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
34911 2014-02-07 Allan McRae <allan@archlinux.org>
34913 * version.h (RELEASE): Set to "development".
34914 (VERSION): Set to "2.19.90"
34915 * NEWS: Add 2.20 section.
34917 2014-02-06 Carlos O'Donell <carlos@redhat.com>
34920 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
34922 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
34924 * manual/contrib.texi: Update entry for Carlos O'Donell,
34925 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
34927 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
34929 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
34931 * sysdeps/unix/sysv/linux/kernel-features.h
34932 [__LINUX_KERNEL_VERSION >= 0x020621]
34933 (__ASSUME_PROC_PID_TASK_COMM): Define.
34935 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
34938 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
34939 conversion when destination buffer does not have enough space.
34940 * libio/tst-ftell-partial-wide.c: New test case.
34941 * libio/Makefile (tests): Add tst-ftell-partial-wide.
34943 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
34944 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
34945 Leonard and Allan McRae.
34947 2014-02-04 David S. Miller <davem@davemloft.net>
34949 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
34952 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
34956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
34958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
34960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
34962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
34964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
34966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
34968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
34970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
34972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
34974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
34976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
34978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
34981 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34983 * nptl/shlib-versions: Change powerpc*le start to 2.17.
34984 * shlib-versions: Likewise.
34986 2014-02-04 Roland McGrath <roland@hack.frob.com>
34987 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34989 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
34990 (abilist-pattern): New variable, set to %-le.abilist.
34992 * Makerules (abilist-pattern): New variable.
34993 (vpath): Use $(abilist-pattern) in place of %.abilist.
34994 (check-abi-% pattern rule): Likewise.
34995 (check-abi, update-abi): Likewise.
34997 2014-02-04 Eric Wong <normalperson@yhbt.net>
34999 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35001 2014-02-03 Carlos O'Donell <carlos@redhat.com>
35003 * manual/startup.texi: Add next, previous, and top entries for
35004 the `Program Arguments' and `Environment Variables' nodes.
35006 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
35008 * manual/macros.texi: Add comments before MTASC-safety macros.
35010 * manual/users.texi: Document MTASC-safety properties.
35012 * manual/threads.texi (pthread_key_create, pthread_key_delete)
35013 (pthread_getspecific, pthread_setspecific): Format with
35014 @deftypefun, and add @safety note.
35015 * manual/signal.texi: Move comments that analyze the above
35016 functions to their home place.
35018 2014-02-03 Allan McRae <allan@archlinux.org>
35020 * po/sl.po: Update Slovenian translation from translation project.
35022 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
35024 * manual/time.texi (timegm): Add missing blank after @c.
35025 Reported by Joseph Myers <joseph@codesourcery.com>.
35027 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
35029 * manual/check-safety.sh: New.
35030 * manual/Makefile ($(objpfx)stamp-summary): Run it.
35032 * manual/terminal.texi: Document MTASC-safety properties.
35034 * manual/filesys.texi: Document MTASC-safety properties.
35036 * manual/errno.texi: Document MTASC-safety properties.
35038 * manual/intro.texi: Document safety identifiers and
35041 * manual/string.texi (wcstok): Fix prototype.
35042 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
35044 * manual/time.texi: Document MTASC-safety properties.
35046 * manual/string.texi: Document MTASC-safety properties.
35048 * manual/threads.texi: Document MTASC-safety properties.
35050 * manual/stdio.texi: Document MTASC-safety properties.
35052 * manual/syslog.texi: Document MTASC-safety properties.
35054 * manual/sysinfo.texi: Document MTASC-safety properties.
35056 * manual/startup.texi: Document MTASC-safety properties.
35058 * manual/socket.texi: Document MTASC-safety properties.
35060 * manual/signal.texi: Document MTASC-safety properties.
35062 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
35064 * manual/setjmp.texi: Document MTASC-safety properties.
35066 * manual/search.texi: Document MTASC-safety properties.
35068 * manual/resource.texi: Document MTASC-safety properties.
35070 * manual/process.texi: Document MTASC-safety properties.
35072 * manual/platform.texi: Document MTASC-safety properties.
35074 * manual/pipe.texi: Document MTASC-safety properties.
35076 * manual/pattern.texi: Document MTASC-safety properties.
35078 * manual/message.texi: Document MTASC-safety properties.
35081 * manual/memory.texi: Document MTASC-safety properties.
35083 * manual/math.texi: Document MTASC-safety properties.
35085 * manual/locale.texi: Document MTASC-safety properties.
35087 * manual/llio.texi: Document MTASC-safety properties.
35089 * manual/libdl.texi: New.
35091 * manual/lang.texi: Document MTASC-safety properties.
35093 * manual/job.texi: Document MTASC-safety properties.
35095 * manual/getopt.texi: Document MTASC-safety properties.
35097 * manual/ctype.texi: Document MTASC-safety properties.
35099 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
35102 * csu/libc-tls.c (static_map): Remove variable.
35103 (__libc_setup_tls): Use main executable's link map for TLS data.
35104 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
35105 casing for LM_ID_BASE and GL(dl_nns).
35106 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
35107 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
35108 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
35109 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
35110 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
35112 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
35115 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
35117 * manual/debug.texi: Document MTASC-safety properties.
35119 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
35122 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
35123 of __x86_64__ when disabling x87 inline functions.
35125 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
35127 * manual/charset.texi: Document MTASC-safety properties.
35129 * manual/crypt.texi: Document MTASC-safety properties.
35131 * manual/conf.texi: Document MTASC-safety properties.
35133 * manual/arith.texi: Document MTASC-safety properties.
35135 * manual/argp.texi: Document MTASC-safety properties.
35137 * manual/macros.texi: Introduce macros to document multi
35138 thread, asynchronous signal and asynchronous cancellation
35140 * manual/intro.texi: Introduce the properties themselves.
35142 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
35144 * sysdeps/sh/sh4/Makefile: New file.
35146 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
35148 * math/gen-libm-test.pl ($srcdir): New variable.
35149 ($auto_input): Use it.
35151 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
35154 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
35155 access beyond array bounds when parsing netgroups file.
35157 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
35158 the old buffer before realloc.
35160 2014-01-27 Allan McRae <allan@archlinux.org>
35162 * po/fr.po: Update French translation from translation project.
35164 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
35166 * sysdeps/sh/libm-test-ulps: Regenerate.
35168 2014-01-24 David S. Miller <davem@davemloft.net>
35170 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
35172 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
35174 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
35175 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
35177 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
35180 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
35181 string pointers after reallocation.
35183 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
35185 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
35186 __SH4A__ instead of __SH_FPU_ANY__.
35188 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
35190 * sysdeps/sh/fpu_control.h: New file.
35191 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
35192 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
35193 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
35194 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
35195 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
35196 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
35197 * sysdeps/sh/sys/ucontext.h: Remove.
35198 * sysdeps/sh/sys: Remove directory.
35200 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35202 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
35203 s390/sys/ucontext.h.
35204 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
35205 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
35207 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
35210 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
35212 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35215 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
35216 Adjust the vDSO correctly for internal calls.
35217 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
35219 2014-01-20 Allan McRae <allan@archlinux.org>
35221 * po/ca.po: Update Catalan translation from translation project.
35223 2014-01-16 Mike Frysinger <vapier@gentoo.org>
35225 * sysdeps/s390/sotruss-lib.c: New file.
35227 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35230 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
35231 (__GI___gettimeofday): Alias for a different internal symbol to avoid
35232 local calls issues by not having a PLT stub required for IFUNC calls.
35233 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
35235 2014-01-16 Joseph Myers <joseph@codesourcery.com>
35237 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
35238 * math/test-fpucw-static.c: Likewise.
35240 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
35243 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
35245 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35247 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
35248 implementation for powerpc.
35250 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
35253 * sysdeps/posix/system.c (__libc_system): Do not enable
35254 asynchronous cancellation.
35256 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35259 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
35260 handling only for numbers special also in the IEEE case.
35262 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35264 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
35266 2014-01-11 Allan McRae <allan@archlinux.org>
35268 * po/bg.po: Update Bulgarian translation from translation project.
35270 * po/de.po: Update German translation from translation project.
35272 2014-01-10 Roland McGrath <roland@hack.frob.com>
35274 * sysdeps/generic/gcc-compat.h: New file.
35276 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
35278 * benchtests/asin-inputs: Correct slow inputs.
35279 * benchtests/acos-inputs: Likewise.
35281 2014-01-10 Allan McRae <allan@archlinux.org>
35283 * po:sv.po: Update Swedish translation from translation project.
35285 * po/vi.po: Update Vietnamese translation from translation project.
35287 * po/eo.po: Update Esperanto translation from translation project.
35289 * po/cs.po: Update Czech translation from translation project.
35291 * po/nl.po: Update Dutch translation from translation project.
35293 * po/pl.po: Update Polish translation from translation project.
35295 * po/ru.po: Update Russian translation from translation project.
35297 * po/uk.po: Update Ukrainian translation from translation project.
35299 2014-01-08 Brooks Moses <bmoses@google.com>
35301 * elf/dl-load.c: Fix comment typo.
35303 2014-01-08 Carlos O'Donell <carlos@redhat.com>
35305 * po/header.pot: Rename to...
35306 * po/pot.header: ... this.
35307 * po/Makefile: Use pot.header.
35309 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
35310 Maxim Kuvyrkov <maxim@kugelworks.com>
35313 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
35314 SRC and DEST against LEN.
35316 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35319 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
35321 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
35323 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35325 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35327 2014-01-08 Joseph Myers <joseph@codesourcery.com>
35330 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
35331 for large positive arguments.
35333 2014-01-07 Joseph Myers <joseph@codesourcery.com>
35335 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
35337 * math/auto-libm-test-in: Mark various tests with
35338 xfail-rounding:ldbl-128ibm.
35339 * math/auto-libm-test-out: Regenerated.
35342 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
35343 Increase overflow threshold.
35345 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
35348 * stdio-common/vfprintf.c: Check for integer overflow.
35350 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35352 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
35353 the first argument and return value of __tls_get_addr_internal.
35355 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35357 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
35358 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
35360 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35362 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
35363 * sysdeps/s390/rtld-global-offsets.sym: New file.
35364 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
35366 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
35367 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
35368 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
35370 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
35371 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
35373 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
35375 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
35377 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
35378 halfs of GPRs for high_gprs contexts.
35379 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
35380 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
35382 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
35384 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
35386 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
35387 for high GPRs (uc_high_gprs) and for future extensions
35389 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
35390 for future extensions (__reserved).
35391 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
35393 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
35394 SC_HIGHGPRS offset definition.
35395 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
35396 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
35398 * Versions.def: Add GLIBC_2.19 for libpthread.
35399 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
35400 siglongjmp for libpthread with GLIBC_2.19 symver.
35401 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
35402 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
35403 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
35404 * sysdeps/s390/__longjmp.c: New file.
35405 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
35406 * sysdeps/s390/longjmp.c: New file.
35407 * sysdeps/s390/setjmp.S: New file.
35408 * sysdeps/s390/sigjmp.S: New file.
35409 * sysdeps/s390/v1-longjmp.c: New file.
35410 * sysdeps/s390/v1-setjmp.h: New file.
35411 * sysdeps/s390/v1-sigjmp.c: New file.
35412 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
35413 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
35414 GLIBC_2.19 version.
35415 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
35416 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
35417 versioned symbols for ____longjmp_chk.
35418 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
35420 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
35422 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
35424 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
35426 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
35428 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
35429 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
35430 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
35431 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
35432 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
35433 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
35434 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
35435 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
35436 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
35437 * sysdeps/s390/rtld-__longjmp.c: New file.
35438 * sysdeps/s390/rtld-setjmp.S: New file.
35440 2014-01-06 Joseph Myers <joseph@codesourcery.com>
35443 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
35444 Return -__logl (x) for small positive arguments without evaluating
35447 2014-01-06 Mike Frysinger <vapier@gentoo.org>
35449 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
35451 (__ptrace_peeksiginfo_args): ... this.
35452 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
35453 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
35454 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
35456 2014-01-06 Allan McRae <allan@archlinux.org>
35458 * inet/netinet/in.h: Fix typo in comment.
35460 2014-01-05 Andreas Jaeger <aj@suse.de>
35462 * sysdeps/i386/fpu/libm-test-ulps: Update.
35464 2014-01-05 Allan McRae <allan@archlinux.org>
35466 * po/libc.pot: Regenerated.
35468 * malloc/memusagestat.c: Fix gettext call formatting.
35470 2014-01-04 Sami Kerola <kerolasa@iki.fi>
35472 * nscd/nscd.c: Improve usage() output.
35474 2014-01-04 Mike Frysinger <vapier@gentoo.org>
35476 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
35477 * sysdeps/unix/sysv/linux/configure: Regenerated.
35478 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
35479 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
35481 2014-01-03 Joseph Myers <joseph@codesourcery.com>
35484 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
35485 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
35487 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35489 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
35490 extra tokens at end of #undef directive.
35491 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
35492 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
35493 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
35495 2014-01-03 Joseph Myers <joseph@codesourcery.com>
35497 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
35499 * math/auto-libm-test-in: Mark various tests with
35500 xfail-rounding:ldbl-128ibm.
35501 * math/auto-libm-test-out: Regenerated.
35503 2014-01-02 Joseph Myers <joseph@codesourcery.com>
35506 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
35507 numbers with subnormal high part when calculating exponent.
35510 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
35514 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
35516 (__ieee754_acoshl): Use __log1pl not __log1p.
35518 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
35520 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
35521 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
35522 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
35523 (grow_heap, heap_trim, _int_new_arena, get_free_list)
35524 (reused_arena, arena_get2): Convert to GNU style.
35525 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
35526 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
35527 (memalign_check, __malloc_set_state): Likewise.
35528 * malloc/mallocbug.c (main): Likewise.
35529 * malloc/malloc.c (__malloc_assert, malloc_init_state)
35530 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
35531 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
35532 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
35533 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
35534 (__posix_memalign, malloc_info): Likewise.
35535 * malloc/malloc.h: Likewise.
35536 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
35537 (mallochook, memalignhook, reallochook, mabort): Likewise.
35538 * malloc/mcheck.h: Likewise.
35539 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
35540 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
35541 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
35542 * malloc/morecore.c (__default_morecore): Likewise.
35543 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
35544 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
35545 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
35546 (print_and_abort): Likewise.
35547 * malloc/obstack.h: Likewise.
35548 * malloc/set-freeres.c (__libc_freeres): Likewise.
35549 * malloc/tst-mallocstate.c (main): Likewise.
35550 * malloc/tst-mtrace.c (main): Likewise.
35551 * malloc/tst-realloc.c (do_test): Likewise.
35553 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
35556 * nscd/netgroupcache.c (do_notfound): New function.
35557 (addgetnetgrentX): Use it.
35560 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
35561 NSS_STATUS_NOTFOUND.
35563 2014-01-01 Joseph Myers <joseph@codesourcery.com>
35565 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
35566 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35568 2014-01-01 Allan McRae <allan@archlinux.org>
35570 * scripts/update-copyrights: Update configure input file suffix.
35572 * NEWS: Update copyright year.
35573 * catgets/gencat.c: Likewise.
35574 * csu/version.c: Likewise.
35575 * debug/catchsegv.sh: Likewise.
35576 * debug/pcprofiledump.c: Likewise.
35577 * debug/xtrace.sh: Likewise.
35578 * elf/ldconfig.c: Likewise.
35579 * elf/ldd.bash.in: Likewise.
35580 * elf/pldd.c: Likewise.
35581 * elf/sotruss.ksh: Likewise.
35582 * elf/sprof.c: Likewise.
35583 * iconv/iconv_prog.c: Likewise.
35584 * iconv/iconvconfig.c: Likewise.
35585 * locale/programs/locale.c: Likewise.
35586 * locale/programs/localedef.c: Likewise.
35587 * login/programs/pt_chown.c: Likewise.
35588 * malloc/memusage.sh: Likewise.
35589 * malloc/memusagestat.c: Likewise.
35590 * malloc/mtrace.pl: Likewise.
35591 * manual/libc.texinfo: Likewise.
35592 * nscd/nscd.c: Likewise.
35593 * nss/getent.c: Likewise.
35594 * nss/makedb.c: Likewise.
35595 * posix/getconf.c: Likewise.
35596 * scripts/test-installation.pl: Likewise.
35598 * All files with FSF copyright notices: Update copyright dates
35599 using scripts/update-copyrights.
35600 * intl/plural.c: Regenerated.
35601 * locale/programs/charmap-kw.h: Likewise.
35602 * locale/programs/locfile-kw.h: Likewise.
35604 2013-12-31 Mike Frysinger <vapier@gentoo.org>
35606 * sysdeps/unix/sysv/linux/configure: Regenerated.
35607 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
35608 the linux/fanotify.h header.
35609 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
35610 HAVE_LINUX_FANOTIFY_H is defined.
35612 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
35614 * benchtests/cos-inputs: New inputs.
35615 * benchtests/sin-inputs: Likewise.
35617 * benchtests/atan-inputs: New inputs. Fix name of multiple
35618 precision fallback inputs.
35620 * benchtests/atanh-inputs: New inputs.
35621 * benchtests/tanh-inputs: Likewise.
35623 * benchtests/acosh-inputs: New inputs.
35624 * benchtests/asinh-inputs: Likewise.
35626 * benchtests/cosh-inputs: New inputs.
35627 * benchtests/sinh-inputs: Likewise.
35629 * benchtests/acos-inputs: Add more inputs.
35630 * benchtests/asin-inputs: Likewise.
35632 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
35635 * manual/arith.texi: Fix spelling.
35636 * manual/charset.texi: Likewise.
35637 * manual/errno.texi: Likewise.
35638 * manual/filesys.texi: Likewise.
35639 * manual/lang.texi: Likewise.
35640 * manual/llio.texi: Likewise.
35641 * manual/locale.texi: Likewise.
35642 * manual/message.texi: Likewise.
35643 * manual/resource.texi: Likewise.
35644 * manual/search.texi: Likewise.
35645 * manual/setjmp.texi: Likewise.
35646 * manual/stdio.texi: Likewise.
35647 * manual/string.texi: Likewise.
35648 * manual/sysinfo.texi: Likewise.
35649 * manual/time.texi: Likewise.
35651 2013-12-27 Carlos O'Donell <carlos@redhat.com>
35653 * po/sl.po: New file.
35655 2013-12-27 Mike Frysinger <vapier@gentoo.org>
35657 * .gitignore: Add core/.gdbinit/.gdb_history.
35659 2013-12-27 Allan McRae <allan@archlinux.org>
35662 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
35663 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
35665 2013-12-24 Brooks Moses <bmoses@google.com>
35667 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
35668 all compilers that claim C++98 compliance, not just GCC.
35669 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
35672 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
35674 * NEWS: Restore accidentally deleted bug-fix entries.
35676 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
35677 Ondřej Bílka <neleai@seznam.cz>
35680 * malloc/malloc.c (_int_free): Perform sanity check only if we
35683 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
35686 * manual/stdio.texi (String Input Conversions): Clarify that character
35687 classes are not supported.
35689 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35691 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35693 2013-12-22 Joseph Myers <joseph@codesourcery.com>
35696 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
35697 Calculate results for small negative arguments directly rather
35698 than using reflection formula with special underflow handling.
35700 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
35701 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
35702 sysdeps/unix/bsd/bsd4.4/syscalls.list.
35703 (fchflags): Likewise.
35704 (revoke): Likewise.
35705 (setlogin): Likewise.
35706 (sigaltstack): Likewise.
35708 (sigblock): Remove.
35709 (sigsetmask): Likewise.
35711 (waitpid): Likewise.
35712 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
35713 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
35715 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
35716 * sysdeps/unix/bsd/Makefile: ... here.
35717 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
35718 * sysdeps/unix/bsd/Versions: ... here.
35719 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
35720 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
35721 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
35722 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
35723 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
35724 * sysdeps/unix/bsd/sigblock.c: ... here.
35725 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
35726 * sysdeps/unix/bsd/sigsetmask.c: ... here.
35727 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
35728 * sysdeps/unix/bsd/sigvec.c: ... here.
35729 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
35730 * sysdeps/unix/bsd/tcdrain.c: ... here.
35731 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
35732 * sysdeps/unix/bsd/tcgetattr.c: ... here.
35733 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
35734 * sysdeps/unix/bsd/tcsetattr.c: ... here.
35735 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
35736 * sysdeps/unix/bsd/wait.c: ... here.
35737 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
35738 * sysdeps/unix/bsd/wait3.c: ... here.
35739 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
35740 * sysdeps/unix/bsd/waitpid.c: ... here.
35742 2013-12-21 Joseph Myers <joseph@codesourcery.com>
35745 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
35746 round-to-nearest for [!USE_AS_EXPM1L].
35747 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
35748 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
35749 more tests of exp and exp10. Expect some exp10 tests to miss
35750 exceptions or fail in directed rounding modes.
35751 * math/auto-libm-test-out: Regenerated.
35752 * math/libm-test.inc (exp10_tonearest_test_data): New array.
35753 (exp10_test_tonearest): New function.
35754 (exp10_towardzero_test_data): New array.
35755 (exp10_test_towardzero): New function.
35756 (exp10_downward_test_data): New array.
35757 (exp10_test_downward): New function.
35758 (exp10_upward_test_data): New array.
35759 (exp10_test_upward): New function.
35760 (main): Call the new functions.
35761 * sysdeps/i386/fpu/libm-test-ulps: Update.
35762 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35764 2013-12-20 Joseph Myers <joseph@codesourcery.com>
35766 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
35767 asinh, atan, atan2, atanh, cbrt, cos and cosh.
35768 * math/auto-libm-test-out: Regenerated.
35769 * math/libm-test.inc (acosh_test_data): Add more tests.
35770 (atanh_test_data): Likewise.
35771 (ceil_test_data): Likewise.
35772 (copysign_test_data): Likewise.
35773 * sysdeps/i386/fpu/libm-test-ulps: Update.
35774 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35776 * timezone/checktab.awk: Update from tzcode 2013i.
35777 * timezone/private.h: Likewise.
35778 * timezone/scheck.c: Likewise.
35779 * timezone/tzfile.h: Likewise.
35780 * timezone/tzselect.ksh: Likewise.
35781 * timezone/zdump.c: Likewise.
35782 * timezone/zic.c: Likewise.
35784 * math/auto-libm-test-in: Add tests of cpow.
35785 * math/auto-libm-test-out: Regenerated.
35786 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
35787 * math/gen-auto-libm-tests.c (func_calc_method): Add value
35789 (func_calc_desc): Add mpc_cc_c union field.
35790 (test_functions): Add cpow.
35791 (special_fill_2pi): New function.
35792 (special_real_inputs): Add 2pi.
35793 (calc_generic_results): Handle mpc_cc_c.
35794 * sysdeps/i386/fpu/libm-test-ulps: Update.
35795 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35797 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
35798 csqrt, ctan and ctanh.
35799 * math/auto-libm-test-out: Regenerated.
35800 * math/libm-test.inc (TEST_COND_x86_64): New macro.
35801 (TEST_COND_x86): Likewise.
35802 (ccos_test_data): Use AUTO_TESTS_c_c.
35803 (ccosh_test_data): Likewise.
35804 (cexp_test_data): Likewise.
35805 (clog_test_data): Likewise.
35806 (csqrt_test_data): Likewise.
35807 (ctan_test_data): Likewise.
35808 (ctan_tonearest_test_data): Likewise.
35809 (ctan_towardzero_test_data): Likewise.
35810 (ctan_downward_test_data): Likewise.
35811 (ctan_upward_test_data): Likewise.
35812 (ctanh_test_data): Likewise.
35813 (ctanh_tonearest_test_data): Likewise.
35814 (ctanh_towardzero_test_data): Likewise.
35815 (ctanh_downward_test_data): Likewise.
35816 (ctanh_upward_test_data): Likewise.
35817 * math/gen-auto-libm-tests.c (func_calc_method): Add value
35819 (func_calc_desc): Add mpc_c_c union field.
35820 (FUNC_mpc_c_c): New macro.
35821 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
35822 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
35824 (special_fill_min_subnorm_p120): New function.
35825 (special_real_inputs): Add min_subnorm_p120.
35826 (calc_generic_results): Handle mpc_c_c.
35827 * sysdeps/i386/fpu/libm-test-ulps: Update.
35828 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35830 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
35832 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
35833 (do_sin_slow): New functions.
35834 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
35835 (cslow2, csloww1, csloww2): Use the new functions.
35837 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
35838 Use M to change sign of result instead of X. Assume X is
35840 (csloww1): Likewise.
35844 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
35845 arguments A and DA.
35849 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
35851 (sloww1): Don't adjust sign of DX.
35852 (csloww1): Likewise.
35853 (sloww2): Use X directly and don't adjust sign of DX.
35854 (csloww2): Likewise.
35856 2013-12-19 Joseph Myers <joseph@codesourcery.com>
35858 * math/auto-libm-test-in: Add tests of cabs and carg.
35859 * math/auto-libm-test-out: Regenerated.
35860 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
35861 (carg_test_data): Likewise.
35862 * math/gen-auto-libm-tests.c (func_calc_method): Add value
35864 (func_calc_desc): Add mpc_c_f union field.
35865 (test_functions): Add cabs and carg.
35866 (calc_generic_results): Handle mpc_c_f.
35868 * sysdeps/powerpc/powerpc32/libgcc-compat.S
35869 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
35870 as a macro and a compat symbol.
35871 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
35872 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
35873 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
35874 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
35875 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
35876 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
35878 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
35880 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
35882 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
35884 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
35886 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
35888 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
35889 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
35892 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35894 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35896 2013-12-19 Joseph Myers <joseph@codesourcery.com>
35898 * manual/texinfo.tex: Update to version 2013-11-26.10 with
35899 trailing whitespace removed.
35900 * scripts/config.guess: Update to version 2013-11-29.
35901 * scripts/config.sub: Update to version 2013-10-01.
35903 * math/auto-libm-test-in: Add tests of sincos.
35904 * math/auto-libm-test-out: Regenerated.
35905 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
35906 * math/gen-auto-libm-tests.c (func_calc_method): Add value
35908 (func_calc_desc): Add mpfr_f_11 union field.
35909 (test_functions): Add sincos.
35910 (calc_generic_results): Handle mpfr_f_11.
35911 * sysdeps/i386/fpu/libm-test-ulps: Update.
35912 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35914 2013-12-19 Andreas Schwab <schwab@suse.de>
35916 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
35918 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
35919 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
35920 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
35922 2013-12-19 Joseph Myers <joseph@codesourcery.com>
35924 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
35925 * sysdeps/i386/fpu/libm-test-ulps: Update.
35926 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35929 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
35930 round-to-nearest mode when using frndint.
35931 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
35932 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
35933 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
35935 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
35937 * math/auto-libm-test-out: Regenerated.
35938 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
35939 (TEST_COND_x86): Likewise.
35940 (expm1_tonearest_test_data): New array.
35941 (expm1_test_tonearest): New function.
35942 (expm1_towardzero_test_data): New array.
35943 (expm1_test_towardzero): New function.
35944 (expm1_downward_test_data): New array.
35945 (expm1_test_downward): New function.
35946 (expm1_upward_test_data): New array.
35947 (expm1_test_upward): New function.
35948 (main): Run the new test functions.
35949 * sysdeps/i386/fpu/libm-test-ulps: Update.
35950 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35952 * include/features.h: Update comment documenting feature test
35953 macros. Mention _DEFAULT_SOURCE in comment.
35954 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
35955 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
35956 _BSD_SOURCE and _SVID_SOURCE.
35957 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
35958 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
35959 !_SVID_SOURCE]: Likewise.
35960 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
35961 (__USE_POSIX_IMPLICITLY): Define.
35962 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
35963 (_POSIX_SOURCE): Undefine and redefine.
35964 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
35965 (_POSIX_C_SOURCE): Likewise.
35966 * manual/creature.texi (_DEFAULT_SOURCE): Document.
35967 (Feature Test Macros): Update documentation of default features.
35969 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
35971 * benchtests/Makefile: Add bench-strtok.
35972 * benchtests/bench-strtok.c: New file: strtok benchtest.
35974 2013-12-19 Allan McRae <allan@archlinux.org>
35976 * manual/install.texi: Suppress menu for plain text output.
35977 * INSTALL: Regenerated.
35979 2013-12-18 Brooks Moses <bmoses@google.com>
35982 * misc/getauxval.c: Include errno.h.
35983 (__getauxval): Set errno to ENOENT if the requested type is not
35985 * misc/sys/auxv.h (getauxval): Document that it may set errno;
35986 don't declare with __attribute_const__.
35987 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
35988 * manual/startup.texi: Document that getauxval sets errno.
35990 2013-12-18 Joseph Myers <joseph@codesourcery.com>
35992 * math/auto-libm-test-in: Add tests of jn and yn.
35993 * math/auto-libm-test-out: Regenerated.
35994 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
35995 (yn_test_data): Likewise.
35996 * math/gen-auto-libm-tests.c (func_calc_method): Add value
35998 (func_calc_desc): Add mpfr_if_f union field.
35999 (FUNC_mpfr_if_f): New macro.
36000 (test_functions): Add jn and yn.
36001 (calc_generic_results): Assert type of second input for
36002 mpfr_ff_f. Handle mpfr_if_f.
36003 (output_for_one_input_case): Disable all checking for arguments
36004 fitting floating-point types in case of an integer argument.
36005 * sysdeps/i386/fpu/libm-test-ulps: Update.
36006 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
36009 Don't expect fegetround reference in libm.so.
36011 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
36013 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
36014 $(config-cflags-nofma).
36016 2013-12-18 Joseph Myers <joseph@codesourcery.com>
36018 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
36019 * math/auto-libm-test-out: Regenerated.
36022 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
36023 to determine exponent and adjust argument to have exponent of -1.
36024 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
36026 * math/auto-libm-test-out: Regenerated.
36027 * sysdeps/i386/fpu/libm-test-ulps: Update.
36028 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36030 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
36032 * manual/probes.texi: Remove cases when per-thread arenas are
36035 2013-12-18 Andreas Schwab <schwab@suse.de>
36037 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
36038 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
36039 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
36040 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
36041 * sysdeps/i386/i686/multiarch/Makefile: Update.
36042 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
36044 2013-12-17 Joseph Myers <joseph@codesourcery.com>
36046 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
36047 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
36049 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
36052 Support TZ transition times < 00:00:00.
36053 This is needed for version-3 tz-format files; it supports time
36054 stamps past 2037 for America/Godthab (the only entry in the tz
36055 database for which this change is relevant).
36056 * manual/time.texi (TZ Variable): Document transition times
36057 from -167:59:59 through -00:00:01.
36058 * time/tzset.c (tz_rule): Time of day is now signed.
36059 (__tzset_parse_tz): Parse negative time of day.
36061 Document TZ transition times >= 25:00:00.
36062 * manual/time.texi (TZ Variable): Document transition times from
36063 25:00:00 through 167:59:59. These are already supported, and this
36064 support will help with version-3 tz-format files.
36066 * manual/time.texi (TZ Variable): Modernize North America example
36067 to reflect current (i.e., 2007-and-later) daylight saving rules.
36069 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
36071 2013-12-17 Joseph Myers <joseph@codesourcery.com>
36073 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
36074 * sysdeps/unix/bsd/bits/stat.h: Likewise.
36075 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
36076 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
36077 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
36078 * sysdeps/unix/bsd/bsdstat.h: Likewise.
36079 * sysdeps/unix/bsd/clock.c: Likewise.
36080 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
36081 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
36082 * sysdeps/unix/bsd/init-posix.c: Likewise.
36083 * sysdeps/unix/bsd/poll.c: Likewise.
36084 * sysdeps/unix/bsd/ptsname.c: Likewise.
36085 * sysdeps/unix/bsd/seekdir.c: Likewise.
36086 * sysdeps/unix/bsd/setegid.c: Likewise.
36087 * sysdeps/unix/bsd/seteuid.c: Likewise.
36088 * sysdeps/unix/bsd/setgid.c: Likewise.
36089 * sysdeps/unix/bsd/setrgid.c: Likewise.
36090 * sysdeps/unix/bsd/setruid.c: Likewise.
36091 * sysdeps/unix/bsd/setsid.c: Likewise.
36092 * sysdeps/unix/bsd/setuid.c: Likewise.
36093 * sysdeps/unix/bsd/sigaction.c: Likewise.
36094 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
36095 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
36096 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
36097 * sysdeps/unix/bsd/telldir.c: Likewise.
36098 * sysdeps/unix/bsd/times.c: Likewise.
36099 * sysdeps/unix/bsd/usleep.c: Likewise.
36101 * misc/Makefile (install-lib): Remove libbsd-compat.a.
36102 ($(objpfx)libbsd-compat.a): Remove rule.
36104 * include/features.h (__FAVOR_BSD): Do not define.
36105 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
36106 features conflicting with POSIX.
36107 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
36108 (_BSD_SOURCE): Remove description of not being a subset of other
36109 feature test macros.
36110 * manual/job.texi (getpgrp): Do not document BSD version.
36111 (getpgid): Do not document by reference to BSD getpgrp.
36112 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
36113 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
36114 * signal/signal.h [__FAVOR_BSD]: Likewise.
36115 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
36116 instead of making contents conditional on [__FAVOR_BSD].
36117 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
36119 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36121 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36123 2013-12-17 Joseph Myers <joseph@codesourcery.com>
36126 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
36127 values below 2**-450, not 2**-500.
36128 * math/auto-libm-test-in: Don't allow spurious underflow from
36130 * math/auto-libm-test-out: Regenerated.
36134 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
36135 values of ha and hb and sort them after adjusting subnormal
36137 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
36139 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
36140 values of ea and eb and sort them after adjusting subnormal
36142 * math/auto-libm-test-in: Do not expect some hypot tests of
36143 subnormals to fail. Add more hypot tests.
36144 * math/auto-libm-test-out: Regenerated.
36146 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
36149 * sysdeps/sh/s_fma.c: New file.
36150 * sysdeps/sh/s_fmaf.c: New file.
36151 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
36153 * sysdeps/sh/Implies: Add sh/soft-fp.
36155 2013-12-16 Roland McGrath <roland@hack.frob.com>
36157 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
36158 level of indirection to members `objname', `errstring', `malloced'.
36159 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
36160 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
36161 it as the __longjmp argument (just pass 1 instead).
36162 (_dl_catch_error): Initialize C with argument pointers and address of
36163 volatile local ERRCODE rather than copying values out of C at return.
36165 2013-12-16 Joseph Myers <joseph@codesourcery.com>
36167 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
36168 * math/auto-libm-test-out: Regenerated.
36169 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
36170 (hypot_test_data): Likewise.
36171 (pow_test_data): Likewise.
36172 (pow_tonearest_test_data): Likewise.
36173 * math/gen-auto-libm-tests.c (func_calc_method): Add value
36175 (func_calc_desc): Add mpfr_ff_f union field.
36176 (FUNC_mpfr_ff_f): New macro.
36177 (test_functions): Add atan2, hypot and pow.
36178 (special_fill_min): New function.
36179 (special_fill_minus_min): Likewise.
36180 (special_fill_min_subnorm): Likewise.
36181 (special_fill_minus_min_subnorm): Likewise.
36182 (special_real_inputs): Add min, -min, min_subnorm and
36184 (calc_generic_results): Handle mpfr_ff_f.
36185 * sysdeps/i386/fpu/libm-test-ulps: Update.
36186 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36188 2013-12-16 Will Newton <will.newton@linaro.org>
36190 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
36191 (Aligned Memory Blocks): Add documentation for aligned_alloc
36192 and suggest it as an alternative to posix_memalign.
36193 (Hooks for Malloc): Document __memalign_hook is also called
36194 for aligned_alloc. (Summary of Malloc): Add summary for
36195 aligned alloc. Document __memalign_hook is also called
36198 2013-12-16 Will Newton <will.newton@linaro.org>
36200 * manual/memory.texi (Malloc Examples): Clarify default
36201 alignment documentation. Suggest posix_memalign rather
36202 than memalign or valloc.
36203 (Aligned Memory Blocks): Remove suggestion to use memalign
36204 or valloc. Remove obsolete comment about BSD.
36205 Document memalign errno values and mark the function obsolete.
36206 Document posix_memalign returned error codes. Mark valloc
36207 as obsolete. (Hooks for Malloc): __memalign_hook is also
36208 called for posix_memalign and valloc.
36209 (Summary of Malloc): Add posix_memalign to function summary.
36210 __memalign_hook is also called for posix_memalign and valloc.
36212 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
36214 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
36218 (sloww): Use mynumber union. Expand ternary operator into
36219 if-else statements.
36220 (cslow): use mynumber union.
36222 2013-12-16 Allan McRae <allan@archlinux.org>
36224 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
36225 * configure: Regenerated.
36227 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
36230 * configure.ac: Added --enable-maintainer-mode. Check for
36231 autoconf when enabled.
36232 * configure: Regenerated.
36234 * nscd/nscd.service: New file.
36235 * nscd/nscd.tmpfiles: New file.
36237 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
36240 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
36241 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
36242 * sysdeps/x86_64/multiarch/strstr.c: ... here.
36243 (strstr): Add __strstr_sse2_unaligned ifunc.
36244 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
36245 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
36246 (strcasestr): Remove __strcasestr_sse42 ifunc.
36247 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
36248 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
36249 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
36251 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
36253 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
36254 * sysdeps/sh/bits/fenv.h: ... here.
36255 * sysdeps/sh/sh4/fpu/bits: Remove directory.
36257 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36259 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
36261 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
36262 hypotf multiarch implementations.
36263 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
36264 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
36265 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
36266 multiarch hypot for PPC64.
36267 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
36268 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
36269 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
36270 multiarch hypotf for PPC64.
36272 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
36273 modff multiarch implementations.
36274 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
36275 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
36276 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
36277 multiarch modf for PPC64.
36278 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
36279 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
36280 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
36281 multiarch modff for PPC64.
36283 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
36284 and logl multiarch implementations.
36285 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
36286 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
36287 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
36288 multiarch logb for PPC64.
36289 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
36290 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
36291 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
36292 multiarch logb for PPC64.
36293 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
36294 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
36295 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
36296 multiarch logb for PPC64.
36298 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
36299 isinff multiarch implementation.
36300 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
36302 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
36303 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
36304 multiarch isinf for PPC64.
36305 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
36307 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
36308 multiarch isinff for PPC64.
36310 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
36311 finitef multiarch implementation.
36312 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
36314 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
36315 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
36316 multiarch finite for PPC64.
36317 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
36319 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
36320 multiarch finitef for PPC64.
36322 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
36323 lrint multiarch implementation.
36324 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
36326 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
36327 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
36328 multiarch llrint for PPC64.
36329 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
36330 multiarch lrint for PPC64.
36332 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
36333 copysignf multiarch implementation.
36334 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
36336 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
36338 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
36339 multiarch copysign for PPC64.
36340 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
36341 multiarch copysignf for PPC64.
36343 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
36344 multiarch implementation.
36345 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
36347 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
36349 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
36351 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
36353 multiarch llround for PPC64.
36354 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
36355 multiarch trunc for PPC64.
36356 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
36357 multiarch truncf for PPC64.
36359 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
36360 multiarch implementation.
36361 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
36363 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
36365 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
36367 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
36369 multiarch llround for PPC64.
36370 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
36371 multiarch round for PPC64.
36372 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
36373 multiarch roundf for PPC64.
36375 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
36376 multiarch implementation.
36377 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
36379 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
36381 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
36383 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
36385 multiarch llround for PPC64.
36386 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
36387 multiarch floor for PPC64.
36388 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
36389 multiarch floorf for PPC64.
36391 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
36392 multiarch implementation.
36393 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
36395 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
36397 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
36399 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
36401 multiarch llround for PPC64.
36402 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
36403 multiarch ceil for PPC64.
36404 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
36405 multiarch ceilf for PPC64.
36407 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
36408 multiarch implementation.
36409 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
36411 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
36413 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
36415 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
36416 multiarch llround for PPC64.
36417 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
36418 multiarch lround for PPC64.
36420 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
36421 multiarch implementation.
36422 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
36423 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
36424 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
36426 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
36427 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
36428 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
36429 multiarch isnan for PPC64.
36430 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
36431 multiarch isnanf for PPC64.
36433 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
36434 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
36435 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
36436 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
36437 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
36438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
36440 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
36441 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
36442 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
36443 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
36445 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
36446 multiarch implementations.
36447 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36448 (__libc_ifunc_impl_list): Likewise.
36449 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
36450 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
36451 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
36452 multiarch stpcpy for PPC64.
36454 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
36455 multiarch implementations.
36456 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36457 (__libc_ifunc_impl_list): Likewise.
36458 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
36459 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
36460 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
36461 multiarch strcpy for PPC64.
36463 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
36464 redefine function name.
36465 (_wordcopy_fwd_dest_aligned): Likewise.
36466 (_wordcopy_bwd_aligned): Likewise.
36467 (_wordcopy_bwd_dest_aligned): Likewise.
36468 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
36469 multiarch implementations.
36470 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36471 (__libc_ifunc_impl_list): Likewise.
36472 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
36473 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
36474 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
36475 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
36476 multiarch wcscpy for PPC64.
36478 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
36479 multiarch implementations.
36480 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36481 (__libc_ifunc_impl_list): Likewise.
36482 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
36483 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
36484 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
36485 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
36486 multiarch wcscpy for PPC64.
36488 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
36489 multiarch implementations.
36490 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36491 (__libc_ifunc_impl_list): Likewise.
36492 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
36493 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
36494 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
36495 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
36496 multiarch wcsrchr for PPC64.
36498 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
36499 multiarch implementations.
36500 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36501 (__libc_ifunc_impl_list): Likewise.
36502 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
36503 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
36504 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
36505 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
36506 multiarch wcschr for PPC64.
36508 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
36509 multiarch implementations.
36510 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36511 (__libc_ifunc_impl_list): Likewise.
36512 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
36513 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
36514 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
36515 multiarch strchrnul for PPC64.
36517 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
36519 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36520 (__libc_ifunc_impl_list): Likewise.
36521 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
36522 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
36523 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
36524 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
36527 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
36529 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36530 (__libc_ifunc_impl_list): Likewise.
36531 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
36532 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
36533 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
36534 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
36537 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
36538 multiarch implementations.
36539 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36540 (__libc_ifunc_impl_list): Likewise.
36541 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
36542 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
36543 strncasecmp for PPC64.
36544 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
36545 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
36546 multiarch strncasecmp_l for PPC64.
36548 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
36549 multiarch implementations.
36550 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
36551 (__libc_ifunc_impl_list): Likewise.
36552 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
36553 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
36554 multiarch strcasecmp for PPC64.
36555 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
36557 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
36558 multiarch strcasecmp_l for PPC64.
36560 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
36562 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36563 (__libc_ifunc_impl_list): Likewise.
36564 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
36565 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
36566 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
36569 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
36571 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36572 (__libc_ifunc_impl_list): Likewise.
36573 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
36574 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
36575 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
36578 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
36580 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36581 (__libc_ifunc_impl_list): Likewise.
36582 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
36583 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
36584 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
36585 rawmemrchr for PPC64.
36587 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
36589 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36590 (__libc_ifunc_impl_list): Likewise.
36591 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
36592 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
36593 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
36596 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
36598 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36599 (__libc_ifunc_impl_list): Likewise.
36600 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
36601 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
36602 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
36605 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
36607 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36608 (__libc_ifunc_impl_list): Likewise.
36609 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
36610 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
36611 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
36614 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
36615 avoid cretion of __bzero symbol.
36616 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
36618 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
36620 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
36622 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
36623 multiarch implementations.
36624 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36625 (__libc_ifunc_impl_list): Likewise.
36626 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
36627 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
36628 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
36629 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
36631 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
36632 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
36633 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
36634 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
36635 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
36637 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
36639 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
36640 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
36642 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36643 (__libc_ifunc_impl_list): Likewise.
36644 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
36645 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
36646 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
36647 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
36650 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
36651 multiarch for POWER/PPC64.
36652 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
36653 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
36654 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
36655 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
36656 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
36657 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
36658 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
36659 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
36660 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
36663 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
36664 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
36665 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
36666 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
36667 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
36668 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
36669 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
36670 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
36671 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
36672 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
36673 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
36674 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
36675 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
36676 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
36677 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
36678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
36679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
36680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
36681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
36682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
36683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
36684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
36686 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
36688 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
36690 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
36692 * benchtests/Makefile (bench): Add exp2 and log2.
36693 (LDLIBS-bench-exp2): Add -lm.
36694 (LDLIBS-bench-log2): Likewise.
36695 * benchtests/exp2-inputs: New inputs file.
36696 * benchtests/log2-inputs: New inputs file.
36697 * benchtests/log-inputs: Add new inputs.
36698 * benchtests/tan-inputs: Likewise.
36700 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
36702 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
36704 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
36705 (csloww2): ... from here.
36707 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
36708 instead of structures.
36709 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
36710 (POLYNOMIAL): Likewise.
36711 (TAYLOR_SLOW): Likewise.
36717 (sloww1); Likewise.
36718 (sloww2): Likewise.
36719 (bsloww1): Likewise.
36720 (bsloww2): Likewise.
36721 (cslow2): Likewise.
36722 (csloww): Likewise.
36723 (csloww1): Likewise.
36724 (csloww2): Likewise.
36726 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
36728 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
36729 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
36730 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
36731 * malloc/hooks.c (realloc_check): Likewise.
36733 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
36734 * malloc/arena.c: Remove PER_THREAD conditional.
36735 [!PER_THREAD]: Remove code.
36736 (ptmalloc_unlock_all2): Likewise.
36737 (ptmalloc_init): Likewise.
36738 (_int_new_arena): Likewise.
36739 (arena_get2): Likewise.
36740 * malloc/hooks.c (__malloc_get_state): Likewise.
36741 (__malloc_set_state): Likewise.
36742 * malloc/malloc.c: Likewise.
36743 (struct malloc_state): Likewise.
36744 (struct malloc_par): Likewise.
36745 (__libc_realloc): Likewise.
36746 (__libc_mallopt): Likewise.
36748 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36750 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
36752 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
36754 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
36755 macro to a function. Check for zero perturb_byte.
36756 (_int_malloc, _int_free): Remove zero perturb_byte checks.
36758 * malloc/malloc.c: (force_reg): Remove.
36759 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
36760 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
36761 force_reg by atomic_forced_read.
36762 * malloc/arena.c (ptmalloc_init): Likewise.
36763 * malloc/hooks.c (top_check): Likewise.
36765 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36767 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36769 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
36771 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36773 2013-12-08 Joseph Myers <joseph@codesourcery.com>
36775 * math/auto-libm-test-in: Add tests of lgamma.
36776 * math/auto-libm-test-out: Regenerated.
36777 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
36778 (M_LOG_2_SQRT_PIl): Likewise.
36779 (lgamma_test_data): Use AUTO_TESTS_f_f1.
36780 * math/gen-auto-libm-tests.c (func_calc_method): Add value
36782 (func_calc_desc): Add mpfr_f_f1 union field.
36783 (ARGS1): New macro.
36791 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
36792 (test_functions): Add lgamma.
36793 (calc_generic_results): Handle mpfr_f_f1.
36794 * sysdeps/i386/fpu/libm-test-ulps: Update.
36795 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36797 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36799 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
36800 __mpn_add_n for PowerPC64/POWER7.
36801 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
36802 __mpn_sub_n for PowerPC64/POWER7.
36804 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
36805 __mpn_addmul_1 for PowerPC64.
36806 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
36807 __mpn_submul_1 for PowerPC64.
36808 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
36810 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
36813 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
36816 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
36818 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36820 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
36822 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
36823 add multiarch folders.
36824 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
36825 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
36826 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
36827 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
36828 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
36829 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
36830 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
36831 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
36832 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
36833 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
36834 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
36835 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
36836 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
36837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
36838 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
36839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
36840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
36842 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
36843 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
36844 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
36846 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
36848 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
36849 multiarch __ieee754_hypot for PowerPC32.
36850 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
36852 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
36854 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
36855 multiarch __ieee754_hypotf for PowerPC32.
36857 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
36858 long_double_symbol only if __logbl is defined.
36859 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
36860 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
36861 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
36862 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
36863 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
36864 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
36865 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
36866 path for implementation.
36867 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
36868 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
36869 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
36870 logb, and logbl multiarch implementations for PowerPC32.
36871 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
36873 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
36875 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
36876 multiarch logb for PowerPC32.
36877 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
36879 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
36881 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
36882 multiarch logbf for PowerPC32.
36883 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
36884 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
36886 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
36887 multiarch logbl implementation for PowerPC32.
36889 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
36890 and modff multiarch implementations.
36891 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
36893 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
36895 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
36896 multiarch modf for PowerPC32.
36897 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
36899 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
36901 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
36902 multiarch modff for PowerPC32.
36904 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
36905 and lrintf multiarch implementations.
36906 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
36908 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
36910 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
36911 multiarch lrint for PowerPC32.
36912 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
36913 file: multiarch lrintf for PowerPC32.
36915 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
36916 and lroundf multiarch implementations.
36917 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
36919 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
36921 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
36923 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
36924 multiarch lround for PowerPC32.
36925 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
36926 file: multiarch lroundf for PowerPC32.
36928 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
36929 copysign and copysignf multiarch implementations.
36930 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
36932 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
36934 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
36935 file: multiarch copysign for PowerPC32.
36936 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
36937 file: multiarch copysignf for PowerPC32.
36939 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
36940 and truncf multiarch implementations.
36941 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
36943 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
36945 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
36946 multiarch trunc for PowerPC32.
36947 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
36949 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
36951 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
36952 multiarch truncf for PowerPC32.
36954 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
36955 and roundf multiarch implementations.
36956 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
36958 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
36960 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
36961 multiarch round for PowerPC32.
36962 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
36964 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
36966 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
36967 multiarch roundf for PowerPC32.
36969 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
36970 and floorf multiarch implementations.
36971 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
36973 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
36975 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
36976 multiarch floor for PowerPC32.
36977 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
36979 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
36981 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
36982 multiarch floorf for PowerPC32.
36984 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
36985 and ceilf multiarch implementations.
36986 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
36988 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
36990 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
36991 multiarch ceil for PowerPC32.
36992 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
36994 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
36996 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
36997 multiarch ceilf for PowerPC32.
36999 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
37001 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
37002 FINITEF is defined.
37003 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
37004 and finitef multiarch implementations.
37005 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
37007 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
37009 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
37010 multiarch finite for PowerPC32.
37011 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
37013 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
37014 file: multiarch finitef for PowerPC32.
37016 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
37017 and isinff multiarch implementations.
37018 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
37020 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
37022 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
37023 multiarch isinf for PowerPC32.
37024 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
37026 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
37027 multiarch isinff for PowerPC32.
37029 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
37030 alias when __isnan is defined.
37031 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
37032 and isnanf multiarch implementations.
37033 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
37035 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
37037 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
37039 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
37041 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
37042 multiarch isnan for PowerPC32.
37043 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
37045 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
37047 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
37048 multiarch isnanf for PowerPC32.
37050 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
37051 and sqrtf multiarch implementations.
37052 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
37054 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
37056 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
37057 multiarch sqrt for PowerPC32.
37058 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
37060 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
37062 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
37063 multiarch sqrtf for PowerPC32.
37065 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
37066 and llroundf multiarch implementations.
37067 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
37069 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
37071 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
37073 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
37074 file: multiarch llround for PowerPC32.
37075 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
37076 file: multiarch llroundf for PowerPC32.
37078 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
37079 multiarch PowerPC32 fpu implementations.
37080 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
37082 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
37084 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
37085 multiarch llrint for PowerPC32.
37086 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
37088 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
37090 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
37093 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
37095 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
37097 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
37099 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
37101 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
37102 multiarch wordcopy for PPC32.
37103 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
37105 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
37106 (__libc_ifunc_impl_list): Likewise.
37107 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
37108 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
37109 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
37110 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
37111 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
37112 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
37114 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
37115 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
37117 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
37119 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
37121 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
37122 multiarch wcscpy for PPC32.
37123 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
37125 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
37126 (__libc_ifunc_impl_list): Likewise.
37127 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
37128 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
37129 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
37130 sysdeps/powerpc/power6/wcscpy.c.
37132 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
37133 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
37135 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
37137 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
37139 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
37140 multiarch wcsrchr for PPC32.
37141 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
37143 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
37144 (__libc_ifunc_impl_list): Likewise.
37145 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
37146 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
37147 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
37148 sysdeps/powerpc/power6/wcsrchr.c.
37150 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
37152 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
37154 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
37155 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
37156 multiarch wcschr for PPc32.
37157 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
37159 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
37160 (__libc_ifunc_impl_list): Likewise.
37161 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
37162 * sysdeps/powerpc/power6/wcschr.c: ... to here.
37163 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
37164 sysdeps/powerpc/power6/wcschr.c.
37166 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
37167 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
37169 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
37170 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
37171 file: multiarch strchr for PPC32.
37172 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
37174 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
37175 (__libc_ifunc_impl_list): Likewise.
37177 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
37179 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
37181 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
37183 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
37184 multiarch strchrnul for PPC32.
37185 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
37187 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
37188 (__libc_ifunc_impl_list): Likewise.
37190 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
37192 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
37193 multiarch strncasecmp for PPC32.
37194 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
37196 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
37197 multiarch strncasecmp_l for PPC32.
37198 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
37199 strncasecmp multiarch objects.
37200 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
37201 (__libc_ifunc_impl_list): Likewise.
37203 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
37205 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
37206 multiarch strncasecmp for PPC32.
37207 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
37209 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
37210 multiarch strcasecmp_l for PPC32.
37211 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
37213 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
37214 (__libc_ifunc_impl_list): Likewise.
37216 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
37218 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
37220 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
37221 multiarch strncmp for PPC32.
37222 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
37224 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
37225 (__libc_ifunc_impl_list): Likewise.
37227 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
37228 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
37230 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
37231 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
37232 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
37234 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
37235 (__libc_ifunc_impl_list): Likewise.
37237 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
37239 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
37241 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
37242 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
37244 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
37245 (__libc_ifunc_impl_list): Likewise.
37247 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
37249 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
37251 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
37252 multiarch rawmemchr for PPC32.
37253 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
37255 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
37256 (__libc_ifunc_impl_list): Likewise.
37258 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
37260 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
37262 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
37263 file: memrchr multiarch for PPC32.
37264 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
37266 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
37267 (__libc_ifunc_impl_list): Likewise.
37269 * string/memchr.c (__memchr): Using macro to redefine symbol name.
37270 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
37272 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
37273 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
37274 multiarch memchr for PPC32.
37275 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
37277 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
37278 (__libc_ifunc_impl_list): Likewise.
37280 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
37281 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
37283 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
37285 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
37286 file: multiarch mempcpy for PPC32.
37287 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
37289 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
37290 (__libc_ifunc_impl_list): Likewise.
37292 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
37293 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
37294 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
37295 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
37296 multiarch bzero for PPC32.
37297 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
37299 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
37301 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
37302 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
37303 file: multiarch memset for PPC32.
37304 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
37305 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
37306 memset multiarch objects.
37307 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
37308 (__libc_ifunc_impl_list): Likewise.
37310 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
37312 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
37313 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
37315 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
37316 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
37318 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
37319 (__libc_ifunc_impl_list): Likewise.
37321 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
37322 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
37323 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
37325 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
37327 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
37329 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
37330 multiarch memcpy for PPC32.
37331 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
37333 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
37334 (__libc_ifunc_impl_list): Likewise.
37336 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
37337 support multiarch for POWER/PPC32.
37338 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
37340 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
37341 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
37342 Implies file to make multiarch folder appers before the fpu and
37343 default folder for power4 configuration.
37345 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
37347 * scripts/bench.pl: Append volatile keyword to type.
37349 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
37351 * sysdeps/sh/sotruss-lib.c: New file.
37352 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
37354 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37356 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37358 2013-12-05 Joseph Myers <joseph@codesourcery.com>
37361 * math/w_tgamma.c: Include <errno.h>.
37362 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
37363 * math/w_tgammaf.c: Include <errno.h>.
37364 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
37365 * math/w_tgammal.c: Include <errno.h>.
37366 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
37367 * math/auto-libm-test-in: Do not allow missing errno on tgamma
37368 underflow. Add more tgamma tests.
37369 * math/auto-libm-test-out: Regenerated.
37370 * sysdeps/i386/fpu/libm-test-ulps: Update.
37371 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37373 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
37374 sin, sinh, tan, tanh, tgamma, y0 and y1.
37375 * math/auto-libm-test-out: Regenerated.
37376 * math/libm-test.inc (TEST_COND_x86_64): New macro.
37377 (TEST_COND_x86): Likewise.
37378 (M_E2l): Remove macro.
37380 (M_2_SQRT_PIl): Likewise.
37381 (M_SQRT_PIl): Likewise.
37382 (M_1_DIV_El): Likewise.
37383 (log_test_data): Use AUTO_TESTS_f_f.
37384 (log10_test_data): Likewise.
37385 (log1p_test_data): Likewise.
37386 (log2_test_data): Likewise.
37387 (sin_test_data): Likewise.
37388 (sin_tonearest_test_data): Likewise.
37389 (sin_towardzero_test_data): Likewise.
37390 (sin_downward_test_data): Likewise.
37391 (sin_upward_test_data): Likewise.
37392 (sinh_test_data): Likewise.
37393 (sinh_tonearest_test_data): Likewise.
37394 (sinh_towardzero_test_data): Likewise.
37395 (sinh_downward_test_data): Likewise.
37396 (sinh_upward_test_data): Likewise.
37397 (tan_test_data): Likewise.
37398 (tan_tonearest_test_data): Likewise.
37399 (tan_towardzero_test_data): Likewise.
37400 (tan_downward_test_data): Likewise.
37401 (tan_upward_test_data): Likewise.
37402 (tanh_test_data): Likewise.
37403 (tgamma_test_data): Likewise.
37404 (y0_test_data): Likewise.
37405 (y1_test_data): Likewise.
37406 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
37407 (special_real_inputs): Add pi/4.
37408 * sysdeps/i386/fpu/libm-test-ulps: Update.
37409 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37411 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37413 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
37414 "longjmp_target" static probes.
37415 (__longjmp): Rename to __longjmp_symbol.
37416 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
37417 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
37418 on which longjmp to generate.
37419 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
37420 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
37422 (__sigsetjmp): Rename to __sigsetjmp_symbol.
37423 (__sigjmp_save): Rename to __sigjmp_save_symbol.
37424 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
37425 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
37426 and __sigjmp_save_symbol based on which sigsetjmp to generated.
37427 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
37428 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
37429 __longjmp_symbol based on which __longjmp to generate.
37430 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
37432 (setjmp): Rename to setjmp_symbol.
37433 (__sigsetjmp): Rename to __sigsetjmp_symbol.
37434 (_setjmp): Rename to _setjmp_symbol.
37435 (__sigsetjmp): Rename to __sigsetjmp_symbol.
37436 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
37437 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
37438 which setjmp to generate.
37439 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
37440 "longjmp_target" static probes.
37442 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
37444 * benchtests/README: Add note about output arguments.
37445 * benchtests/bench-sincos.c: Remove file.
37446 * benchtests/sincos-inputs: New file.
37447 * scripts/bench.pl: Identify output arguments and define
37448 static variables for them.
37450 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
37453 * Makefile (INSTALL): Add install-plain.texi as the primary
37455 * manual/install-plain.texi: New file.
37456 * manual/install.texi: Include node directive only for
37457 non-plaintext output.
37459 2013-12-04 Joseph Myers <joseph@codesourcery.com>
37461 * stdlib/longlong.h: Update from GCC.
37465 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
37466 * math/w_j0f.c (y0f): Likewise.
37467 * math/w_j0l.c (__y0l): Likewise.
37468 * math/w_j1.c (y1): Likewise.
37469 * math/w_j1f.c (y1f): Likewise.
37470 * math/w_j1l.c (__y1l): Likewise.
37471 * math/w_jn.c (yn): Likewise.
37472 * math/w_jnf.c (ynf): Likewise.
37473 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
37474 Bessel function pole errors in _POSIX_ mode. Use NAN as return
37475 value for Bessel function domain errors outside _SVID_ mode.
37476 Adjust sign of return value for yn (negative integer, 0).
37477 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
37478 by zero in return for negative x and set sign appropriately for
37480 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
37481 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
37482 * math/libm-test.inc (y0_test_data): Add more tests and adjust
37483 expectations in error cases.
37484 (y1_test_data): Likewise.
37485 (yn_test_data): Likewise.
37486 * sysdeps/i386/fpu/libm-test-ulps: Update.
37487 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37489 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
37491 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
37492 "64" to "64-v1". Add "64-v2".
37493 (abi-64-options): Rename to ...
37494 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
37495 (abi-64-condition): Rename to ...
37496 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
37497 (abi-64-ld-soname): Rename to ...
37498 (abi-64-v1-ld-soname): ... this.
37499 (abi-64-v2-options): Define.
37500 (abi-64-v2-condition): Likewise.
37501 (abi-64-v2-ld-soname): Likewise.
37502 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
37503 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
37504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
37505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
37506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
37508 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
37509 Alan Modra <amodra@gmail.com>
37511 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
37512 New versions for use with the ELFv2 ABI.
37513 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
37514 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
37516 (struct La_ppc64v2_retval): Likewise.
37517 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
37518 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
37519 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
37520 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
37521 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
37522 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
37523 Do not save or restore CR.
37524 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
37525 (_dl_profile_resolve): Do no save or restore CR. Support extended
37526 return values for ELFv2 ABI. Fix location of FPR return registers.
37527 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
37528 updated values for _CALL_ELF == 2.
37529 (La_regs, La_retval, int_retval): Likewise.
37531 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
37533 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
37534 (FRAME_MIN_SIZE_PARM): Likewise.
37535 (FRAME_BACKCHAIN): Likewise.
37536 (FRAME_CR_SAVE): Likewise.
37537 (FRAME_LR_SAVE): Likewise.
37538 (FRAME_TOC_SAVE): Likewise.
37539 (FRAME_PARM_SAVE): Likewise.
37540 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
37541 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
37542 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
37543 (call_mcount_parm_offset): New macro.
37544 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
37545 (PROF): Use symbolic stack frame offsets.
37546 (TAIL_CALL_SYSCALL_ERROR): Likewise.
37547 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
37548 Redefine in terms of FRAME_MIN_SIZE.
37549 (_dl_runtime_resolve): Use symbolic stack frame offsets.
37550 (_dl_profile_resolve): Likewise. Update comment.
37551 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
37552 symbols stack frame offsets.
37553 (__sigsetjmp): Likewise.
37554 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
37555 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
37556 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
37557 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
37559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
37560 (FRAME_BACKCHAIN): Remove.
37561 (FRAME_CR_SAVE): Likewise.
37562 (FRAME_LR_SAVE): Likewise.
37563 (FRAME_COMPILER_DW): Likewise.
37564 (FRAME_LINKER_DW): Likewise.
37565 (FRAME_TOC_SAVE): Likewise.
37566 (FRAME_PARM_SAVE): Likewise.
37567 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
37568 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
37569 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
37570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
37571 (CHECK_SP): Use symbolic stack frame offsets.
37572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
37573 zone" instead of caller's parameter save area for temp storage.
37574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
37575 Likewise. Also, use symbolic stack frame offsets.
37576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
37577 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
37578 our own stack frame instead of the caller's.
37579 (__socket): Use symbolic stack frame offsets.
37581 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
37582 Alan Modra <amodra@gmail.com>
37584 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
37586 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
37587 (PPC64_LOCAL_ENTRY_OFFSET): Define.
37588 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
37590 (elf_machine_fixup_plt): Call it.
37591 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
37593 (elf_machine_rela): Update call to elf_machine_plt_conflict.
37594 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
37595 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
37596 r2 before calling target.
37598 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
37599 Alan Modra <amodra@gmail.com>
37601 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
37602 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
37603 versions of macros to support ELFv2 ABI.
37604 (LOCALENTRY): New macro.
37605 (ENTRY, EALIGN): Use it.
37606 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
37607 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
37608 fall through into ENTRY entry point.
37609 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
37610 Only define if _CALL_ELF != 2.
37612 (elf_machine_matches_host): Verify ABI version matches.
37613 (RTLD_START): Use LOCALENTRY.
37614 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
37615 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
37616 (PLT_ENTRY_WORDS): New macro.
37617 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
37618 (elf_machine_runtime_setup): Support ELFv2 ABI.
37619 (elf_machine_fixup_plt): Likewise.
37620 (elf_machine_plt_conflict): Likewise.
37621 (resolve_ifunc): Likewise.
37622 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
37623 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
37625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
37626 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
37627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
37628 (makecontext): Support ELFv2 ABI.
37629 * elf/elf.h (EF_PPC64_ABI): Define.
37631 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
37633 * sysdeps/powerpc/powerpc64/sysdep.h
37634 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
37635 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
37636 (ENTRY) [ASSEMBLER]: ... but instead here ...
37637 (EALIGN) [ASSEMBLER]: ... and here.
37638 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
37639 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
37640 (ENTRY_2) [!ASSEMBLER]: Use it.
37641 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
37642 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
37643 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
37644 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
37645 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
37646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
37647 Use PPC64_LOAD_FUNCPTR.
37649 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
37651 2013-12-04 Alan Modra <amodra@gmail.com>
37653 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
37654 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
37655 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
37656 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
37658 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
37659 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
37660 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
37661 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
37662 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
37663 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
37665 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
37667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
37668 (__makecontext): Fix incorrect CFI when backtracing out of
37669 context created via makecontext.
37670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
37671 (__setcontext): Fix incorrect CFI during switch to new context.
37672 (__novec_setcontext): Likewise.
37674 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
37677 * time/strptime_l.c (__strptime_internal): Allow modifiers
37679 * time/tst-strptime.c (day_tests): Add testcase.
37681 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
37683 * scripts/bench.pl: Skip over blank lines.
37685 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
37688 * manual/time.texi (Calendar Time): Clarify what timezone functions
37691 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37693 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37695 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
37697 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
37699 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
37700 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
37701 * debug/memset_chk.c (__memset_chk): Likewise.
37702 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
37703 * debug/strncpy_chk.c: Likewise.
37705 2013-12-03 Joseph Myers <joseph@codesourcery.com>
37709 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
37710 (__ieee754_exp): For possibly underflowing results, check size of
37711 result and force underflow exception if required.
37712 * math/auto-libm-test-in: Add more tests of exp.
37713 * math/auto-libm-test-out: Regenerated.
37714 * sysdeps/i386/fpu/libm-test-ulps: Update.
37715 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37718 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
37719 * math/w_exp2f.c (__exp2f): Likewise.
37720 * math/w_exp2l.c (__exp2l): Likewise.
37721 * math/auto-libm-test-in: Do not allow missing errno on exp2
37723 * math/auto-libm-test-out: Regenerated.
37725 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
37728 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
37729 handle filename validation.
37730 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
37733 2013-12-03 Joseph Myers <joseph@codesourcery.com>
37736 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
37737 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
37738 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
37740 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
37741 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
37742 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
37743 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
37744 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
37745 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
37746 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
37747 * math/auto-libm-test-in: Don't allow missing errno from erfc.
37748 Add more erfc tests.
37749 * math/auto-libm-test-out: Regenerated.
37750 * sysdeps/i386/fpu/libm-test-ulps: Update.
37751 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37753 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
37754 exp2, expm1, j0 and j1.
37755 * math/auto-libm-test-out: Regenerated.
37756 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
37757 (erfc_test_data): Likewise.
37758 (exp_test_data): Likewise.
37759 (exp_tonearest_test_data): Likewise.
37760 (exp_towardzero_test_data): Likewise.
37761 (exp_downward_test_data): Likewise.
37762 (exp_upward_test_data): Likewise.
37763 (exp10_test_data): Likewise.
37764 (exp2_test_data): Likewise.
37765 (expm1_test_data): Likewise.
37766 (j0_test_data): Likewise.
37767 (j1_test_data): Likewise.
37768 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
37769 (input_flag_type): Add flag_xfail_rounding.
37770 (input_flags): Add xfail-rounding.
37771 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
37772 (output_for_one_input_case): Handle flag_xfail_rounding.
37773 * sysdeps/i386/fpu/libm-test-ulps: Update.
37774 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37776 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
37779 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
37782 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
37785 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
37786 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
37787 (STAP_PROBE0): New macro.
37788 (STAP_PROBE1): Likewise.
37789 (STAP_PROBE2): Likewise.
37790 (STAP_PROBE3): Likewise.
37791 (STAP_PROBE4): Likewise.
37793 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
37795 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
37797 2013-12-02 Steve Ellcey <sellcey@mips.com>
37799 * benchtests/Makefile (bench): Add sqrt.
37800 (LDLIBS-bench-sqrt): New.
37801 * benchtests/sqrt-input: New.
37803 2013-12-02 Pavel Simerda <psimerda@redhat.com>
37805 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
37806 (GAIH_EAI): Likewise.
37807 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
37808 (gaih_inet): Likewise.
37809 (getaddrinfo): Don't use GAIH_EAI.
37811 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
37812 (struct gaih): Remove definition.
37814 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
37816 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
37817 Use HERRNOP directly.
37819 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37821 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37823 2013-11-30 Joseph Myers <joseph@codesourcery.com>
37825 * math/gen-auto-libm-tests.c (test_functions): Add more
37826 single-argument functions.
37827 (special_fill_pi_2): New function.
37828 (special_fill_minus_pi_2): Likewise.
37829 (special_fill_pi_6): Likewise.
37830 (special_fill_minus_pi_6): Likewise.
37831 (special_fill_pi_3): Likewise.
37832 (special_fill_2pi_3): Likewise.
37833 (special_fill_e): Likewise.
37834 (special_fill_1_e): Likewise.
37835 (special_fill_e_minus_1): Likewise.
37836 (special_real_inputs): Add more special inputs.
37837 (output_for_one_input_case): Do not require ERANGE on underflow to
37838 zero if round-to-nearest result does not underflow to zero, unless
37839 exact results required.
37840 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
37841 atan, atanh, cbrt, cos and cosh.
37842 * math/auto-libm-test-out: Regenerated.
37843 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
37844 (acos_tonearest_test_data): Likewise.
37845 (acos_towardzero_test_data): Likewise.
37846 (acos_downward_test_data): Likewise.
37847 (acos_upward_test_data): Likewise.
37848 (acosh_test_data): Likewise.
37849 (asin_test_data): Likewise.
37850 (asin_tonearest_test_data): Likewise.
37851 (asin_towardzero_test_data): Likewise.
37852 (asin_upward_test_data): Likewise.
37853 (asinh_test_data): Likewise.
37854 (atan_test_data): Likewise.
37855 (atanh_test_data): Likewise.
37856 (cbrt_test_data): Likewise.
37857 (cos_test_data): Likewise.
37858 (cos_tonearest_test_data): Likewise.
37859 (cos_towardzero_test_data): Likewise.
37860 (cos_downward_test_data): Likewise.
37861 (cos_upward_test_data): Likewise.
37862 (cosh_test_data): Likewise.
37863 (cosh_tonearest_test_data): Likewise.
37864 (cosh_towardzero_test_data): Likewise.
37865 (cosh_downward_test_data): Likewise.
37866 (cosh_upward_test_data): Likewise.
37867 * sysdeps/i386/fpu/libm-test-ulps: Update.
37868 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37870 2013-11-29 Joseph Myers <joseph@codesourcery.com>
37873 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
37874 * math/w_exp10f.c (__exp10f): Likewise.
37875 * math/w_exp10l.c (__exp10l): Likewise.
37876 * math/libm-test.inc (exp10_test_data): Add more tests and expect
37877 errno settings in existing tests.
37880 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
37881 precision control set to double precision.
37882 * sysdeps/i386/fpu/w_sqrt.c: New file.
37883 * math/auto-libm-test-in: Add more tests.
37884 * math/auto-libm-test-out: Update.
37886 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
37887 (sqrt_test_tonearest): New function.
37888 (sqrt_towardzero_test_data): New variable.
37889 (sqrt_test_towardzero): New function.
37890 (sqrt_downward_test_data): New variable.
37891 (sqrt_test_downward): New function.
37892 (sqrt_upward_test_data): New variable.
37893 (sqrt_test_upward): New function.
37894 (main): Call the new functions.
37896 * math/gen-auto-libm-tests.c: New file.
37897 * math/auto-libm-test-in: Likewise.
37898 * math/auto-libm-test-out: New generated file.
37899 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
37901 (%beautify): Add generated representations of zero.
37902 (top level): Set $auto_input and call parse_auto_input.
37903 (beautify): Remove trailing "f" from hex float constants.
37904 (parse_args): Handle XFAIL_TEST.
37905 (convert_condition): New function.
37906 (or_value): Likewise.
37907 (or_cond_value): Likewise.
37908 (generate_testfile): Handle AUTO_TESTS_* lines.
37909 (parse_auto_input): New function.
37910 * math/libm-test.inc (XFAIL_TEST): New macro.
37911 (ERRNO_UNCHANGED): Update value.
37912 (ERRNO_EDOM): Likewise.
37913 (ERRNO_ERANGE): Likewise.
37914 (IGNORE_RESULT): Likewise.
37915 (TEST_COND_flt_32): New macro.
37916 (TEST_COND_dbl_64): Likewise.
37917 (TEST_COND_ldbl_96_intel): Likewise.
37918 (TEST_COND_ldbl_96_m68k): Likewise.
37919 (TEST_COND_ldbl_128): Likewise.
37920 (TEST_COND_ldbl_128ibm): Likewise.
37921 (TEST_COND_long32): Likewise.
37922 (TEST_COND_long64): Likewise.
37923 (TEST_COND_before_rounding): Likewise.
37924 (TEST_COND_after_rounding): Likewise.
37925 (enable_test): Handle XFAIL_TEST flag.
37926 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
37927 with finite results.
37928 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
37929 auto-libm-test-out.
37931 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
37932 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37935 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
37936 __tls_get_addr_internal instead of __tls_get_offset in order to
37937 avoid GOT pointer dependency. Make rtld export
37938 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
37939 __tls_get_addr since we are a __tls_get_offset platform.
37940 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
37941 GOT pointer being set up before.
37942 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
37944 2013-11-28 Joseph Myers <joseph@codesourcery.com>
37946 * manual/math.texi (Errors in Math Functions): Document accuracy
37950 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
37951 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
37952 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
37953 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
37954 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
37955 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
37956 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
37957 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
37958 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
37959 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
37960 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
37961 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
37962 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
37963 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
37964 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
37965 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
37967 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
37968 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
37969 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
37970 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
37971 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
37973 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
37975 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
37977 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
37978 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
37979 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
37980 atomic-feupdateenv and flt-rounds.
37981 * sysdeps/powerpc/nofpu/Versions (libc): Add
37982 __atomic_feholdexcept, __atomic_feclearexcept,
37983 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
37984 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
37985 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
37986 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
37987 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
37989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
37992 * manual/arith.texi (FP Exceptions): Document that exceptions may
37993 not be raised when matherr is used.
37994 (Math Error Reporting): Document overflow in directed rounding
37995 modes. Document that errno may not be set when finite values are
37996 returned on overflow. Document intent to set errno on underflow
37997 only for underflow to zero.
38000 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
38001 round-to-nearest then adjust result for other rounding modes.
38002 * include/fenv.h (fegetround): Use libm_hidden_proto.
38003 * math/fegetround.c (fegetround): Use libm_hidden_def.
38004 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
38005 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
38006 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
38007 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
38009 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
38010 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
38011 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
38012 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
38014 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
38017 * nss/Versions (libnss_files): Add
38018 _nss_files_gethostbyname3_r.
38019 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
38021 (HOST_DB_LOOKUP): Remove macro.
38022 (_nss_files_gethostbyname_r): Implement function without the
38023 HOST_DB_LOOKUP macro.
38024 (_nss_files_gethostbyname2_r): Likewise.
38026 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
38028 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
38030 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
38032 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
38033 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
38036 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38038 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
38039 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
38040 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
38041 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
38042 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
38043 __fe_nomask_env_priv and attribute_hidden.
38044 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
38045 (libc_feupdateenv_test_ppc): Likewise.
38046 (libc_feresetround_ppc): Likewise.
38047 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
38048 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
38049 compat_symbol macro.
38050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
38051 (__fe_nomask_env): Likewise.
38052 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
38054 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
38056 * string/Makefile: Remove ifunc tests.
38057 * string/test-string.h: Define TEST_IFUNC.
38058 * string/test-bcopy-ifunc.c: Remove.
38059 * string/test-bzero-ifunc.c: Likewise.
38060 * string/test-memccpy-ifunc.c: Likewise.
38061 * string/test-memchr-ifunc.c: Likewise.
38062 * string/test-memcmp-ifunc.c: Likewise.
38063 * string/test-memcpy-ifunc.c: Likewise.
38064 * string/test-memmem-ifunc.c: Likewise.
38065 * string/test-memmove-ifunc.c: Likewise.
38066 * string/test-mempcpy-ifunc.c: Likewise.
38067 * string/test-memrchr-ifunc.c: Likewise.
38068 * string/test-memset-ifunc.c: Likewise.
38069 * string/test-rawmemchr-ifunc.c: Likewise.
38070 * string/test-stpcpy-ifunc.c: Likewise.
38071 * string/test-stpncpy-ifunc.c: Likewise.
38072 * string/test-strcasecmp-ifunc.c: Likewise.
38073 * string/test-strcasestr-ifunc.c: Likewise.
38074 * string/test-strcat-ifunc.c: Likewise.
38075 * string/test-strchr-ifunc.c: Likewise.
38076 * string/test-strchrnul-ifunc.c: Likewise.
38077 * string/test-strcmp-ifunc.c: Likewise.
38078 * string/test-strcpy-ifunc.c: Likewise.
38079 * string/test-strcspn-ifunc.c: Likewise.
38080 * string/test-strlen-ifunc.c: Likewise.
38081 * string/test-strncasecmp-ifunc.c: Likewise.
38082 * string/test-strncat-ifunc.c: Likewise.
38083 * string/test-strncmp-ifunc.c: Likewise.
38084 * string/test-strncpy-ifunc.c: Likewise.
38085 * string/test-strnlen-ifunc.c: Likewise.
38086 * string/test-strpbrk-ifunc.c: Likewise.
38087 * string/test-strrchr-ifunc.c: Likewise.
38088 * string/test-strspn-ifunc.c: Likewise.
38089 * string/test-strstr-ifunc.c: Likewise.
38091 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
38093 * benchtests/Makefile: Remove ifunc tests.
38094 * benchtests/bench-string.h: Define TEST_IFUNC.
38095 * benchtests/bench-bcopy-ifunc.c: Remove.
38096 * benchtests/bench-bzero-ifunc.c: Likewise.
38097 * benchtests/bench-memccpy-ifunc.c: Likewise.
38098 * benchtests/bench-memchr-ifunc.c: Likewise.
38099 * benchtests/bench-memcmp-ifunc.c: Likewise.
38100 * benchtests/bench-memcpy-ifunc.c: Likewise.
38101 * benchtests/bench-memmem-ifunc.c: Likewise.
38102 * benchtests/bench-memmove-ifunc.c: Likewise.
38103 * benchtests/bench-mempcpy-ifunc.c: Likewise.
38104 * benchtests/bench-memrchr-ifunc.c: Likewise.
38105 * benchtests/bench-memset-ifunc.c: Likewise.
38106 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
38107 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
38108 * benchtests/bench-stpcpy-ifunc.c: Likewise.
38109 * benchtests/bench-stpncpy-ifunc.c: Likewise.
38110 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
38111 * benchtests/bench-strcasestr-ifunc.c: Likewise.
38112 * benchtests/bench-strcat-ifunc.c: Likewise.
38113 * benchtests/bench-strchr-ifunc.c: Likewise.
38114 * benchtests/bench-strchrnul-ifunc.c: Likewise.
38115 * benchtests/bench-strcmp-ifunc.c: Likewise.
38116 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
38117 * benchtests/bench-strcpy-ifunc.c: Likewise.
38118 * benchtests/bench-strcspn-ifunc.c: Likewise.
38119 * benchtests/bench-strlen-ifunc.c: Likewise.
38120 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
38121 * benchtests/bench-strncat-ifunc.c: Likewise.
38122 * benchtests/bench-strncmp-ifunc.c: Likewise.
38123 * benchtests/bench-strncpy-ifunc.c: Likewise.
38124 * benchtests/bench-strnlen-ifunc.c: Likewise.
38125 * benchtests/bench-strpbrk-ifunc.c: Likewise.
38126 * benchtests/bench-strrchr-ifunc.c: Likewise.
38127 * benchtests/bench-strsep-ifunc.c: Likewise.
38128 * benchtests/bench-strspn-ifunc.c: Likewise.
38129 * benchtests/bench-strstr-ifunc.c: Likewise.
38131 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
38133 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
38135 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
38137 * resolv/netdb.h: Use __glibc_reserved instead __unused.
38138 * rt/aio.h: Likewise.
38139 * sysdeps/gnu/bits/utmp.h: Likewise.
38140 * sysdeps/gnu/bits/utmpx.h: Likewise.
38141 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
38142 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
38143 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
38144 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
38145 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
38146 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
38147 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
38148 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
38149 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
38150 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
38151 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
38152 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
38153 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
38154 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
38155 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
38156 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
38157 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
38158 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
38159 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
38160 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
38161 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
38162 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
38163 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
38164 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
38165 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
38166 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
38167 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
38168 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
38169 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
38170 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
38171 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
38172 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
38173 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
38174 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
38175 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
38176 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
38177 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
38178 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
38179 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
38180 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
38181 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
38182 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
38184 2013-11-25 Carlos O'Donell <carlos@redhat.com>
38187 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
38188 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
38190 2013-11-25 Joseph Myers <joseph@codesourcery.com>
38192 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
38193 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
38196 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38198 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
38199 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
38200 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
38201 (__fesetround): Remove define.
38202 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
38203 rounding and exceptions handling.
38204 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
38205 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
38206 (__fe_nomask_env): Likewise.
38207 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
38208 __fegetround instead of fegetround.
38209 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
38210 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
38212 2013-11-21 Roland McGrath <roland@hack.frob.com>
38214 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
38217 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
38219 2013-11-21 Meador Inge <meadori@codesourcery.com>
38222 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
38223 (encrypt_r): Likewise.
38224 * malloc/obstack.h (obstack_free): Likewise.
38225 * posix/unistd.h (encrypt): Likewise.
38227 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
38229 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
38230 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
38231 DL_CALL_DT_FINI() that call the functions directly.
38232 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
38233 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
38234 * elf/dl-fini.c: Likewise.
38236 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
38238 * malloc/hooks.c (memalign_check): Add alignment rounding.
38239 * malloc/malloc.c (_mid_memalign): New function.
38240 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
38241 Implement by calling _mid_memalign.
38242 * manual/probes.texi (Memory Allocation Probes): Remove
38243 memory_valloc_retry and memory_pvalloc_retry.
38245 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
38247 * locale/programs/locarchive.c (open_archive): Add const
38248 qualifier to ARCHIVEFNAME and copy default fname to
38252 * libio/tst-widetext.input: Rename Oriya to Odia.
38253 * locale/iso-639.def: Likewise.
38255 * manual/probes.texi (Mathematical Function Probes): Add
38256 documentation for sin, cos, asin and acos probes.
38257 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
38258 (__sin32): Add slowasin probe.
38259 (__cos32): Add slowacos probe.
38260 (__mpsin): Add slowsin probe.
38261 (__mpcos): Add slowcos probe.
38263 2013-11-19 Joseph Myers <joseph@codesourcery.com>
38266 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
38267 thread-local __sim_exceptions_thread and global
38268 __sim_exceptions_global.
38269 (__sim_disabled_exceptions): Change to thread-local
38270 __sim_disabled_exceptions_thread and global
38271 __sim_disabled_exceptions_global.
38272 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
38273 and global __sim_round_mode_global.
38274 (__simulate_exceptions): Use thread-local floating-point state and
38275 set global state from it as needed.
38276 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
38277 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
38278 __sim_round_mode_thread.
38279 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
38280 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
38281 and global __sim_exceptions_global.
38282 (__sim_disabled_exceptions): Change to thread-local
38283 __sim_disabled_exceptions_thread and global
38284 __sim_disabled_exceptions_global.
38285 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
38286 and global __sim_round_mode_global.
38287 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
38288 (SIM_SET_GLOBAL): Likewise.
38289 * sysdeps/powerpc/soft-fp/sfp-machine.h
38290 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
38291 __sim_round_mode_thread.
38292 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
38293 __sim_disabled_exceptions_thread.
38294 (__sim_exceptions): Change to __sim_exceptions_thread.
38295 (__sim_disabled_exceptions): Change to
38296 __sim_disabled_exceptions_thread.
38297 (__sim_round_mode): Change to __sim_round_mode_thread.
38298 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
38299 thread-local floating-point state and set global state from it as
38301 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
38302 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
38303 (__sim_disabled_exceptions): Remove extern declaration.
38304 (feenableexcept): Use thread-local floating-point state and set
38305 global state from it as needed.
38306 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
38307 extern declaration.
38308 (__sim_disabled_exceptions): Likewise.
38309 (__sim_round_mode): Likewise.
38310 (__fegetenv): Use thread-local floating-point state.
38311 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
38312 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
38313 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
38314 floating-point state and set global state from it as needed.
38315 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
38316 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
38317 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
38319 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
38320 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
38322 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
38323 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
38324 Use __sim_round_mode_thread.
38325 * math/test-fenv-tls.c: New file.
38326 * math/Makefile (tests): Add test-fenv-tls.
38327 ($(objpfx)test-fenv-tls): Depend on
38328 $(common-objpfx)nptl/libpthread.so.
38330 2013-11-19 Andreas Schwab <schwab@suse.de>
38332 * locale/programs/locale.c (show_info): Decode wordarray elements.
38333 * locale/categories.def (LC_MONETARY): Add element for
38334 _NL_MONETARY_CRNCYSTR.
38335 * locale/C-monetary.c (conversion_rate): New variable.
38336 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
38339 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
38341 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
38342 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
38344 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
38346 * elf/Makefile (tst-auxv): New test.
38347 * elf/tst-auxv.c: New
38348 * elf/rtld.c (dl_main): Adjust AT_EXECFN
38350 2013-11-18 Joseph Myers <joseph@codesourcery.com>
38352 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
38353 (hidden_proto): Caller changed.
38354 (hidden_tls_proto): New macro.
38355 (libc_hidden_tls_proto): Likewise.
38356 (rtld_hidden_tls_proto): Likewise.
38357 (libm_hidden_tls_proto): Likewise.
38358 (libresolv_hidden_tls_proto): Likewise.
38359 (librt_hidden_tls_proto): Likewise.
38360 (libdl_hidden_tls_proto): Likewise.
38361 (libnss_files_hidden_tls_proto): Likewise.
38362 (libnsl_hidden_tls_proto): Likewise.
38363 (libnss_nisplus_hidden_tls_proto): Likewise.
38364 (libutil_hidden_tls_proto): Likewise.
38366 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
38369 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
38370 (decompose_rpath): Defer expansion to fillin_rpath.
38371 (_dl_init_paths): Pass linkmap to fillin_rpath.
38373 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
38375 * benchtests/Makefile: Add strsep.
38376 * benchtests/bench-strsep.c: New file: strsep benchtest.
38377 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
38379 2013-11-18 Andreas Schwab <schwab@suse.de>
38381 * locale/programs/locale.c (show_info) [case byte]: Check for
38382 '\377' instead of '\177'.
38383 * locale/C-monetary.c (not_available): Always use "\377".
38384 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
38385 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
38386 detect unavailable sign_posn locale elements.
38387 * locale/localeconv.c (__localeconv): For grouping and
38388 mon_grouping handle "\177" and "\377" like no grouping.
38389 (INT_ELEM): New macro. Use it to set all numeric members.
38390 * locale/programs/ld-monetary.c (monetary_read)
38391 <tok_mon_grouping>: Normalize single -1 to the empty string.
38392 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
38395 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
38398 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
38399 when we match (nil).
38400 * stdio-common/tst-sscanf.c (struct test): Add testcase.
38402 2013-11-16 Joseph Myers <joseph@codesourcery.com>
38404 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
38405 (NO_TEST_INLINE): Update value.
38406 (ERRNO_UNCHANGED): Likewise.
38407 (ERRNO_EDOM): Likewise.
38408 (ERRNO_ERANGE): Likewise.
38409 (IGNORE_RESULT): Likewise.
38410 (check_float_internal): Check signs of NaN results if
38411 TEST_NAN_SIGN used.
38412 (check_complex): Pass TEST_NAN_SIGN flag through to second
38413 check_float_internal call.
38414 (copysign_test_data): Add tests with quiet NaNs as second
38415 argument. Use TEST_NAN_SIGN.
38416 (fabs_test_data): Add test of negative quiet NaN argument. Use
38418 (signbit_test_data): Add tests of quiet NaN argument.
38419 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
38421 * math/gen-libm-test.pl (show_exceptions): Take extra argument
38423 (parse_args): Handle function results specified as IGNORE.
38424 * math/libm-test.inc (IGNORE_RESULT): New macro.
38425 (check_float_internal): Do not check numerical result if flag
38427 (check_complex): Pass through IGNORE_RESULT to second
38428 check_float_internal call.
38429 (check_int): Do not check numerical result if flag IGNORE_RESULT
38431 (check_long): Likewise.
38432 (check_bool): Likewise.
38433 (check_longlong): Likewise.
38434 (lrint_test_data): Add tests of infinite and NaN arguments.
38435 (lrint_tonearest_test_data): Likewise.
38436 (lrint_towardzero_test_data): Likewise.
38437 (lrint_downward_test_data): Likewise.
38438 (lrint_upward_test_data): Likewise.
38439 (llrint_test_data): Likewise.
38440 (llrint_tonearest_test_data): Likewise.
38441 (llrint_towardzero_test_data): Likewise.
38442 (llrint_downward_test_data): Likewise.
38443 (llrint_upward_test_data): Likewise.
38444 (lround_test_data): Likewise.
38445 (llround_test_data): Likewise.
38447 * math/libm-test.inc (NO_TEST_INLINE): New macro.
38448 (ERRNO_UNCHANGED): Update value.
38449 (ERRNO_EDOM): Likewise.
38450 (ERRNO_ERANGE): Likewise.
38451 (NO_TEST_INLINE_FLOAT): New macro.
38452 (NO_TEST_INLINE_DOUBLE): Likewise.
38453 (enable_test): New function.
38454 (RUN_TEST_f_f): Check enable_test before running test.
38455 (RUN_TEST_2_f): Likewise.
38456 (RUN_TEST_fff_f): Likewise.
38457 (RUN_TEST_c_f): Likewise.
38458 (RUN_TEST_f_f1): Likewise.
38459 (RUN_TEST_fF_f1): Likewise.
38460 (RUN_TEST_fI_f1): Likewise.
38461 (RUN_TEST_ffI_f1): Likewise.
38462 (RUN_TEST_c_c): Likewise.
38463 (RUN_TEST_cc_c): Likewise.
38464 (RUN_TEST_f_i): Likewise.
38465 (RUN_TEST_f_i_tg): Likewise.
38466 (RUN_TEST_ff_i_tg): Likewise.
38467 (RUN_TEST_f_b): Likewise.
38468 (RUN_TEST_f_b_tg): Likewise.
38469 (RUN_TEST_f_l): Likewise.
38470 (RUN_TEST_f_L): Likewise.
38471 (RUN_TEST_fFF_11): Likewise.
38472 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
38474 (cosh_test_data): Likewise.
38475 (exp_test_data): Likewise.
38476 (expm1_test_data): Likewise.
38477 (hypot_test_data): Likewise.
38478 (pow_test_data): Likewise.
38479 (sinh_test_data): Likewise.
38480 (tanh_test_data): Likewise.
38481 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
38484 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
38485 tests with quiet NaN input and output.
38486 (acosh_test_data): Likewise.
38487 (asin_test_data): Likewise.
38488 (asinh_test_data): Likewise.
38489 (atan_test_data): Likewise.
38490 (atanh_test_data): Likewise.
38491 (atan2_test_data): Likewise.
38492 (cbrt_test_data): Likewise.
38493 (cos_test_data): Likewise.
38494 (cosh_test_data): Likewise.
38495 (erf_test_data): Likewise.
38496 (erfc_test_data): Likewise.
38497 (exp_test_data): Likewise.
38498 (exp10_test_data): Likewise.
38499 (exp2_test_data): Likewise.
38500 (expm1_test_data): Likewise.
38501 (hypot_test_data): Likewise.
38502 (j0_test_data): Likewise.
38503 (j1_test_data): Likewise.
38504 (jn_test_data): Likewise.
38505 (lgamma_test_data): Likewise.
38506 (log_test_data): Likewise.
38507 (log10_test_data): Likewise.
38508 (log1p_test_data): Likewise.
38509 (log2_test_data): Likewise.
38510 (pow_test_data): Likewise.
38511 (scalb_test_data): Likewise.
38512 (sin_test_data): Likewise.
38513 (sincos_test_data): Likewise.
38514 (sinh_test_data): Likewise.
38515 (tan_test_data): Likewise.
38516 (tanh_test_data): Likewise.
38517 (tgamma_test_data): Likewise.
38518 (y0_test_data): Likewise.
38519 (y1_test_data): Likewise.
38520 (yn_test_data): Likewise.
38523 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
38524 argument being NaN and avoid computations with second argument in
38526 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
38527 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
38528 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
38530 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
38532 * locale/iso-639.def: Add Chitwani Tharu (the).
38534 2013-11-14 Andreas Schwab <schwab@suse.de>
38536 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
38537 word instead of empty string.
38539 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
38542 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
38543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
38544 (__fe_nomask_env): Likewise.
38546 2013-11-13 Steve Ellcey <sellcey@mips.com>
38548 * benchtests/bench-timing.h: Include time.h.
38550 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
38553 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
38555 * sysdeps/unix/sysv/linux/configure: Regenerated.
38557 2013-11-13 Joseph Myers <joseph@codesourcery.com>
38560 * stdlib/strtod_l.c (round_and_return): Do not consider
38561 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
38562 exponent one less than half the least subnormal exponent.
38563 * stdlib/test-strtod-round-data: Add more tests.
38564 * stdlib/tst-strtod-round.c (tests): Regenerated.
38566 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38569 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
38570 (__fe_mask_env): Likewise.
38571 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
38572 libm_hidden_proto and add function prototype.
38573 (__fe_mask_env): Add function prototype.
38574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
38575 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
38576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
38577 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
38578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
38579 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
38581 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
38583 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
38584 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
38586 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
38588 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
38589 of htab_find_slot().
38591 2013-11-11 David S. Miller <davem@davemloft.net>
38594 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
38595 symbol in the non-vis3 case in static builds.
38596 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
38597 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
38598 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
38599 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
38601 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
38604 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
38607 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38609 * benchtests/Makefile: Add bench-strtod.
38610 * benchtests/bench-strtod.c: New file: strtod benchtest
38612 2013-11-11 Andreas Schwab <schwab@suse.de>
38615 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
38616 terminating NUL in key length.
38618 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38620 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
38621 Add artificial ODP entry for vDSO symbol for PPC64.
38622 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
38623 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
38625 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
38628 * nss/getent.c (services_keys): Recognize services starting with digit.
38630 2013-11-06 David S. Miller <davem@davemloft.net>
38633 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
38634 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
38636 2013-11-06 Will Newton <will.newton@linaro.org>
38638 * manual/memory.texi (Malloc Examples): Remove register
38639 keyword from examples.
38641 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
38643 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
38645 2013-11-04 Joseph Myers <joseph@codesourcery.com>
38648 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
38649 depending on [__GCC_IEC_559 > 0].
38650 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
38651 depending on [__GCC_IEC_559_COMPLEX > 0].
38653 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
38655 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
38658 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
38660 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
38662 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
38665 * malloc/malloc (malloc_info): Do not handle first bin as
38668 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
38670 * locale/iso-639.def: Add Central Nahuatl (nhn).
38672 2013-11-01 Bruno Haible <bruno@clisp.org>
38675 * manual/math.texi (BSD Random): Specify range upper bound as
38678 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
38680 * locale/iso-639.def: Add Meadow Mari (mhr).
38682 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
38684 [BZ #14752], [BZ #15763]
38685 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
38687 * rt/tst_shm.c: Add test for escaping directory.
38689 2013-10-31 Andreas Schwab <schwab@suse.de>
38692 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
38693 followed by 'x' as part of digit sequence.
38694 * stdio-common/tst-sscanf.c (double_tests2): New tests.
38696 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
38699 * configure.ac: allow GNU Make 4.0 and greater.
38700 * configure: Regenerated.
38702 2013-10-30 Will Newton <will.newton@linaro.org>
38705 * malloc/hooks.c (memalign_check): Limit alignment to the
38706 maximum representable power of two.
38707 * malloc/malloc.c (__libc_memalign): Likewise.
38708 * malloc/tst-memalign.c (do_test): Add test for very
38709 large alignment values.
38710 * malloc/tst-posix_memalign.c (do_test): Likewise.
38712 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
38715 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
38716 (munmap_chunk): Likewise.
38717 (mremap_chunk): Likewise.
38719 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
38722 * stdlib/div.c (div): Remove obsolete code.
38723 * stdlib/ldiv.c (ldiv): Likewise.
38724 * stdlib/lldiv.c (lldiv): Likewise.
38726 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
38729 * nss/nss_files/files-XXX.c (get_contents_ret): New
38731 (get_contents): New function.
38732 (internal_getent): Use it. Expand size of LINEBUFLEN.
38734 2013-10-30 Mike Frysinger <vapier@gentoo.org>
38736 * configure.in: Moved to ...
38737 * configure.ac: ... here. Change reference to configure.in
38739 * sysdeps/arm/preconfigure.ac: ... here.
38740 configure.in to configure.ac.
38741 * sysdeps/gnu/configure.in: Moved to ...
38742 * sysdeps/gnu/configure.ac: ... here.
38743 * sysdeps/i386/configure.in: Moved to ...
38744 * sysdeps/i386/configure.ac: ... here.
38745 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
38746 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
38747 * sysdeps/mach/configure.in: Moved to ...
38748 * sysdeps/mach/configure.ac: ... here.
38749 * sysdeps/mach/hurd/configure.in: Moved to ...
38750 * sysdeps/mach/hurd/configure.ac: ... here.
38751 * sysdeps/powerpc/configure.in: Moved to ...
38752 * sysdeps/powerpc/configure.ac: ... here.
38753 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
38754 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
38755 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
38756 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
38757 * sysdeps/s390/s390-32/configure.in: Moved to ...
38758 * sysdeps/s390/s390-32/configure.ac: ... here.
38759 * sysdeps/s390/s390-64/configure.in: Moved to ...
38760 * sysdeps/s390/s390-64/configure.ac: ... here.
38761 * sysdeps/sh/configure.in: Moved to ...
38762 * sysdeps/sh/configure.ac: ... here.
38763 * sysdeps/sparc/configure.in: Moved to ...
38764 * sysdeps/sparc/configure.ac: ... here.
38765 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
38766 * sysdeps/unix/sysv/linux/configure.ac: ... here.
38767 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
38768 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
38769 * sysdeps/x86_64/configure.in: Moved to ...
38770 * sysdeps/x86_64/configure.ac: ... here.
38771 * sysdeps/x86_64/preconfigure.in: Moved to ...
38772 * sysdeps/x86_64/preconfigure.ac: ... here.
38773 * aclocal.m4: Change reference to configure.in to configure.ac.
38774 * config.h.in: Likewise.
38775 * manual/install.texi: Likewise.
38776 * manual/maint.texi: Likewise.
38777 * Makefile: Likewise.
38778 * malloc/Makefile: Likewise.
38779 * nscd/Makefile: Likewise.
38780 * Makeconfig: Change reference to configure.in and
38781 preconfigure.in to configure.ac and preconfigure.ac
38783 * INSTALL: Regenerated.
38784 * configure: Likewise.
38785 * sysdeps/gnu/configure: Likewise.
38786 * sysdeps/i386/configure: Likewise.
38787 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
38788 * sysdeps/mach/configure: Likewise.
38789 * sysdeps/mach/hurd/configure: Likewise.
38790 * sysdeps/powerpc/configure: Likewise.
38791 * sysdeps/powerpc/powerpc32/configure: Likewise.
38792 * sysdeps/powerpc/powerpc64/configure: Likewise.
38793 * sysdeps/s390/s390-32/configure: Likewise.
38794 * sysdeps/s390/s390-64/configure: Likewise.
38795 * sysdeps/sh/configure: Likewise.
38796 * sysdeps/sparc/configure: Likewise.
38797 * sysdeps/unix/sysv/linux/configure: Likewise.
38798 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
38799 * sysdeps/x86_64/configure: Likewise.
38800 * sysdeps/x86_64/preconfigure: Likewise.
38802 2013-10-29 Andreas Schwab <schwab@suse.de>
38804 * stdio-common/Makefile (tst-swscanf-ENV): Define.
38806 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
38808 * benchtests/pow-inputs: Add new inputs.
38810 * benchtests/exp-inputs: Add new inputs.
38812 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
38813 conditional check for return value.
38814 (__cos32): Likewise.
38816 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38818 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
38819 to provide a boost for large inputs with word alignment.
38820 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
38821 implementation based on optimized PPC64 strcpy.
38822 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
38823 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
38824 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
38825 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
38827 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
38830 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
38832 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
38835 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
38836 * time/tst-strptime.c (day_tests): Add testcase.
38838 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
38841 * manual/pattern.texi: Acknowledge that fnmatch can fail.
38843 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
38846 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
38847 MAP_FAILED on error.
38849 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
38852 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
38853 heap for large requests.
38855 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
38858 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
38859 result if the result has no associated interface.
38860 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
38861 interface for all 127.X.Y.Z addresses.
38863 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
38865 * locale/iso-639.def: Add Ligurian (lij)
38867 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
38870 * sunrpc/rpc_main.c: Document rpcgen -5.
38872 2013-10-19 Michael Stahl <mstahl@redhat.com>
38874 * elf/rtld.c (do_preload): Print the reason why preloading failed.
38876 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
38879 * posix/glob.c: Match only directories when trailing slash is present.
38880 * posix/tst-gnuglob.c (my_opendir): Do not open files.
38881 (main): Add testcase.
38883 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
38886 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
38888 2013-10-18 Carlos O'Donell <carlos@redhat.com>
38890 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
38891 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
38892 AUTH_DES and cindex for FIPS 140-2.
38893 (DES Encryption): Add cindex FIPS 46-3.
38895 * locale/locarchive.h (struct locarhandle): Add fname.
38896 * locale/programs/localedef.c (main): Pass ARGV[remaining]
38897 if an optional argument was specified to --list-archive,
38899 * locale/programs/locarchive.c (show_archive_content): Take new
38900 argument fname and pass it via ah.fname to open_archive.
38901 * locale/programs/localedef.h: Update decl.
38902 (open_archive): If AH->fname is non-null, open that file
38903 rather than the default file name, and don't ignore ENOENT.
38904 (create_archive): Set AH.fname to NULL.
38905 (delete_locales_from_archive): Likewise.
38906 (add_locales_to_archive): Likewise.
38907 * locale/programs/locfile.c (write_all_categories): Likewise.
38909 2013-10-18 Joseph Myers <joseph@codesourcery.com>
38910 Aldy Hernandez <aldyh@redhat.com>
38912 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
38913 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
38914 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
38915 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
38916 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
38917 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
38918 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
38919 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
38920 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
38921 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
38922 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
38923 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
38924 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
38925 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
38926 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
38928 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
38930 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
38932 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
38934 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
38935 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
38937 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
38938 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
38939 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
38940 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
38942 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
38943 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
38944 * sysdeps/powerpc/preconfigure: Likewise.
38945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
38947 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
38948 Replace contents of file by #include of <fenv_libc.h>.
38949 * sysdeps/powerpc/soft-fp/sfp-machine.h
38950 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
38952 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
38953 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
38954 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
38955 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
38956 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
38957 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
38958 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
38959 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
38960 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
38961 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
38962 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
38963 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
38964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
38965 Allow copysignl PLT reference to be missing.
38967 2013-10-18 Richard Sandiford <richard@codesourcery.com>
38968 Joseph Myers <joseph@codesourcery.com
38971 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
38973 (add_to_tablewc): Assert sequence of wide characters is nonempty.
38975 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
38977 * elf/tst-tls-dlinfo.c: Don't include tls.h.
38978 * elf/tst-tls1.c: Likewise.
38979 * elf/tst-tls10.h: Likewise.
38980 * elf/tst-tls14.c: Likewise.
38981 * elf/tst-tls2.c: Likewise.
38982 * elf/tst-tls3.c: Likewise.
38983 * elf/tst-tls4.c: Likewise.
38984 * elf/tst-tls5.c: Likewise.
38985 * elf/tst-tls6.c: Likewise.
38986 * elf/tst-tls7.c: Likewise.
38987 * elf/tst-tls8.c: Likewise.
38988 * elf/tst-tls9.c: Likewise.
38989 * elf/tst-tlsmod1.c: Likewise.
38990 * elf/tst-tlsmod13.c: Likewise.
38991 * elf/tst-tlsmod13a.c: Likewise.
38992 * elf/tst-tlsmod14a.c: Likewise.
38993 * elf/tst-tlsmod16a.c: Likewise.
38994 * elf/tst-tlsmod16b.c: Likewise.
38995 * elf/tst-tlsmod2.c: Likewise.
38996 * elf/tst-tlsmod3.c: Likewise.
38997 * elf/tst-tlsmod4.c: Likewise.
38998 * elf/tst-tlsmod5.c: Likewise.
38999 * elf/tst-tlsmod6.c: Likewise.
39001 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
39004 * malloc/malloc.c: remove checks for statistics.
39006 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
39009 * inet/inet_net.c (inet_network): Detect additional invalid strings.
39010 * inet/tst-network.c: Add testcase.
39012 2013-10-17 Andreas Schwab <schwab@suse.de>
39015 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
39016 to determine canonical name.
39018 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
39020 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
39021 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
39022 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39023 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
39024 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39025 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
39026 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
39027 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
39028 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
39029 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
39030 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
39031 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
39032 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
39033 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
39034 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
39035 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
39036 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39037 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
39038 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
39039 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
39040 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
39041 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39042 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
39043 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
39044 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
39045 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
39046 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
39047 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
39048 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
39049 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
39050 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
39051 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39052 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
39053 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
39054 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
39055 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
39056 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
39057 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
39058 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
39059 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39060 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
39061 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
39062 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
39063 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
39064 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
39065 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
39066 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
39067 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
39068 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
39069 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
39070 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
39071 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
39072 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
39073 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
39074 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
39075 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
39076 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39077 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
39079 2013-10-17 Joseph Myers <joseph@codesourcery.com>
39082 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
39083 make result into a quiet NaN.
39085 2013-10-16 Joseph Myers <joseph@codesourcery.com>
39087 * soft-fp/adddf3.c: Fix horizontal whitespace.
39088 * soft-fp/addsf3.c: Likewise.
39089 * soft-fp/addtf3.c: Likewise.
39090 * soft-fp/divdf3.c: Likewise.
39091 * soft-fp/divsf3.c: Likewise.
39092 * soft-fp/divtf3.c: Likewise.
39093 * soft-fp/double.h: Likewise.
39094 * soft-fp/eqdf2.c: Likewise.
39095 * soft-fp/eqsf2.c: Likewise.
39096 * soft-fp/eqtf2.c: Likewise.
39097 * soft-fp/extenddftf2.c: Likewise.
39098 * soft-fp/extended.h: Likewise.
39099 * soft-fp/extendsfdf2.c: Likewise.
39100 * soft-fp/extendsftf2.c: Likewise.
39101 * soft-fp/extendxftf2.c: Likewise.
39102 * soft-fp/fixdfdi.c: Likewise.
39103 * soft-fp/fixdfsi.c: Likewise.
39104 * soft-fp/fixdfti.c: Likewise.
39105 * soft-fp/fixsfdi.c: Likewise.
39106 * soft-fp/fixsfsi.c: Likewise.
39107 * soft-fp/fixsfti.c: Likewise.
39108 * soft-fp/fixtfdi.c: Likewise.
39109 * soft-fp/fixtfsi.c: Likewise.
39110 * soft-fp/fixtfti.c: Likewise.
39111 * soft-fp/fixunsdfdi.c: Likewise.
39112 * soft-fp/fixunsdfsi.c: Likewise.
39113 * soft-fp/fixunsdfti.c: Likewise.
39114 * soft-fp/fixunssfdi.c: Likewise.
39115 * soft-fp/fixunssfsi.c: Likewise.
39116 * soft-fp/fixunssfti.c: Likewise.
39117 * soft-fp/fixunstfdi.c: Likewise.
39118 * soft-fp/fixunstfsi.c: Likewise.
39119 * soft-fp/fixunstfti.c: Likewise.
39120 * soft-fp/floatdidf.c: Likewise.
39121 * soft-fp/floatdisf.c: Likewise.
39122 * soft-fp/floatditf.c: Likewise.
39123 * soft-fp/floatsidf.c: Likewise.
39124 * soft-fp/floatsisf.c: Likewise.
39125 * soft-fp/floatsitf.c: Likewise.
39126 * soft-fp/floattidf.c: Likewise.
39127 * soft-fp/floattisf.c: Likewise.
39128 * soft-fp/floattitf.c: Likewise.
39129 * soft-fp/floatundidf.c: Likewise.
39130 * soft-fp/floatundisf.c: Likewise.
39131 * soft-fp/floatunditf.c: Likewise.
39132 * soft-fp/floatunsidf.c: Likewise.
39133 * soft-fp/floatunsisf.c: Likewise.
39134 * soft-fp/floatunsitf.c: Likewise.
39135 * soft-fp/floatuntidf.c: Likewise.
39136 * soft-fp/floatuntisf.c: Likewise.
39137 * soft-fp/floatuntitf.c: Likewise.
39138 * soft-fp/fmadf4.c: Likewise.
39139 * soft-fp/fmasf4.c: Likewise.
39140 * soft-fp/fmatf4.c: Likewise.
39141 * soft-fp/gedf2.c: Likewise.
39142 * soft-fp/gesf2.c: Likewise.
39143 * soft-fp/getf2.c: Likewise.
39144 * soft-fp/ledf2.c: Likewise.
39145 * soft-fp/lesf2.c: Likewise.
39146 * soft-fp/letf2.c: Likewise.
39147 * soft-fp/muldf3.c: Likewise.
39148 * soft-fp/mulsf3.c: Likewise.
39149 * soft-fp/multf3.c: Likewise.
39150 * soft-fp/negdf2.c: Likewise.
39151 * soft-fp/negsf2.c: Likewise.
39152 * soft-fp/negtf2.c: Likewise.
39153 * soft-fp/op-1.h: Likewise.
39154 * soft-fp/op-2.h: Likewise.
39155 * soft-fp/op-4.h: Likewise.
39156 * soft-fp/op-8.h: Likewise.
39157 * soft-fp/op-common.h: Likewise.
39158 * soft-fp/quad.h: Likewise.
39159 * soft-fp/single.h: Likewise.
39160 * soft-fp/soft-fp.h: Likewise.
39161 * soft-fp/sqrtdf2.c: Likewise.
39162 * soft-fp/sqrtsf2.c: Likewise.
39163 * soft-fp/sqrttf2.c: Likewise.
39164 * soft-fp/subdf3.c: Likewise.
39165 * soft-fp/subsf3.c: Likewise.
39166 * soft-fp/subtf3.c: Likewise.
39167 * soft-fp/truncdfsf2.c: Likewise.
39168 * soft-fp/trunctfdf2.c: Likewise.
39169 * soft-fp/trunctfsf2.c: Likewise.
39170 * soft-fp/trunctfxf2.c: Likewise.
39171 * soft-fp/unorddf2.c: Likewise.
39172 * soft-fp/unordsf2.c: Likewise.
39173 * soft-fp/unordtf2.c: Likewise.
39175 2013-10-15 Joseph Myers <joseph@codesourcery.com>
39177 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
39178 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
39180 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
39182 * elf/dl-libc.c: Clear initfini list after freeing.
39184 2013-10-14 Joseph Myers <joseph@codesourcery.com>
39186 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
39187 * soft-fp/addsf3.c: Likewise.
39188 * soft-fp/addtf3.c: Likewise.
39189 * soft-fp/divdf3.c: Likewise.
39190 * soft-fp/divsf3.c: Likewise.
39191 * soft-fp/divtf3.c: Likewise.
39192 * soft-fp/double.h: Likewise.
39193 * soft-fp/eqdf2.c: Likewise.
39194 * soft-fp/eqsf2.c: Likewise.
39195 * soft-fp/eqtf2.c: Likewise.
39196 * soft-fp/extenddftf2.c: Likewise.
39197 * soft-fp/extended.h: Likewise.
39198 * soft-fp/extendsfdf2.c: Likewise.
39199 * soft-fp/extendsftf2.c: Likewise.
39200 * soft-fp/extendxftf2.c: Likewise.
39201 * soft-fp/fixdfdi.c: Likewise.
39202 * soft-fp/fixdfsi.c: Likewise.
39203 * soft-fp/fixdfti.c: Likewise.
39204 * soft-fp/fixsfdi.c: Likewise.
39205 * soft-fp/fixsfsi.c: Likewise.
39206 * soft-fp/fixsfti.c: Likewise.
39207 * soft-fp/fixtfdi.c: Likewise.
39208 * soft-fp/fixtfsi.c: Likewise.
39209 * soft-fp/fixtfti.c: Likewise.
39210 * soft-fp/fixunsdfdi.c: Likewise.
39211 * soft-fp/fixunsdfsi.c: Likewise.
39212 * soft-fp/fixunsdfti.c: Likewise.
39213 * soft-fp/fixunssfdi.c: Likewise.
39214 * soft-fp/fixunssfsi.c: Likewise.
39215 * soft-fp/fixunssfti.c: Likewise.
39216 * soft-fp/fixunstfdi.c: Likewise.
39217 * soft-fp/fixunstfsi.c: Likewise.
39218 * soft-fp/fixunstfti.c: Likewise.
39219 * soft-fp/floatdidf.c: Likewise.
39220 * soft-fp/floatdisf.c: Likewise.
39221 * soft-fp/floatditf.c: Likewise.
39222 * soft-fp/floatsidf.c: Likewise.
39223 * soft-fp/floatsisf.c: Likewise.
39224 * soft-fp/floatsitf.c: Likewise.
39225 * soft-fp/floattidf.c: Likewise.
39226 * soft-fp/floattisf.c: Likewise.
39227 * soft-fp/floattitf.c: Likewise.
39228 * soft-fp/floatundidf.c: Likewise.
39229 * soft-fp/floatundisf.c: Likewise.
39230 * soft-fp/floatunsidf.c: Likewise.
39231 * soft-fp/floatunsisf.c: Likewise.
39232 * soft-fp/floatuntidf.c: Likewise.
39233 * soft-fp/floatuntisf.c: Likewise.
39234 * soft-fp/floatuntitf.c: Likewise.
39235 * soft-fp/fmadf4.c: Likewise.
39236 * soft-fp/fmasf4.c: Likewise.
39237 * soft-fp/fmatf4.c: Likewise.
39238 * soft-fp/gedf2.c: Likewise.
39239 * soft-fp/gesf2.c: Likewise.
39240 * soft-fp/getf2.c: Likewise.
39241 * soft-fp/ledf2.c: Likewise.
39242 * soft-fp/lesf2.c: Likewise.
39243 * soft-fp/letf2.c: Likewise.
39244 * soft-fp/muldf3.c: Likewise.
39245 * soft-fp/mulsf3.c: Likewise.
39246 * soft-fp/multf3.c: Likewise.
39247 * soft-fp/negdf2.c: Likewise.
39248 * soft-fp/negsf2.c: Likewise.
39249 * soft-fp/negtf2.c: Likewise.
39250 * soft-fp/op-1.h: Likewise.
39251 * soft-fp/op-2.h: Likewise.
39252 * soft-fp/op-4.h: Likewise.
39253 * soft-fp/op-8.h: Likewise.
39254 * soft-fp/op-common.h: Likewise.
39255 * soft-fp/quad.h: Likewise.
39256 * soft-fp/single.h: Likewise.
39257 * soft-fp/soft-fp.h: Likewise.
39258 * soft-fp/sqrtdf2.c: Likewise.
39259 * soft-fp/sqrtsf2.c: Likewise.
39260 * soft-fp/sqrttf2.c: Likewise.
39261 * soft-fp/subdf3.c: Likewise.
39262 * soft-fp/subsf3.c: Likewise.
39263 * soft-fp/subtf3.c: Likewise.
39264 * soft-fp/truncdfsf2.c: Likewise.
39265 * soft-fp/trunctfdf2.c: Likewise.
39266 * soft-fp/trunctfsf2.c: Likewise.
39267 * soft-fp/trunctfxf2.c: Likewise.
39268 * soft-fp/unorddf2.c: Likewise.
39269 * soft-fp/unordsf2.c: Likewise.
39270 * soft-fp/unordtf2.c: Likewise.
39272 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
39275 * misc/error.c (error_tail): Fix possible buffer overflow.
39277 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
39280 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
39283 2013-10-14 P. J. McDermott <pj@pehjota.net>
39286 * elf/ldd.bash.in (try_trace): New function. Delete previous code
39287 testing pipefail option.
39289 2013-10-12 Joseph Myers <joseph@codesourcery.com>
39291 * soft-fp/double.h: Indent preprocessor directives inside #if.
39292 * soft-fp/extended.h: Likewise.
39293 * soft-fp/op-2.h: Likewise.
39294 * soft-fp/op-4.h: Likewise.
39295 * soft-fp/op-common.h: Likewise.
39296 * soft-fp/quad.h: Likewise.
39297 * soft-fp/single.h: Likewise.
39298 * soft-fp/soft-fp.h: Likewise.
39300 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
39302 * iconv/iconv_prog.c: Fix typos.
39303 * stdio-common/psiginfo-data.h: Likewise.
39305 2013-10-12 Reuben Thomas <rrt@sc3d.org>
39308 * locale/setlocale.c: Fix typo.
39310 2013-10-12 Joseph Myers <joseph@codesourcery.com>
39313 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
39314 signaling NaN arguments.
39315 * soft-fp/unordsf2.c (__unordsf2): Likewise.
39316 * soft-fp/unordtf2.c (__unordtf2): Likewise.
39319 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
39320 unordered operands.
39321 * soft-fp/gesf2.c (__gesf2): Likewise.
39322 * soft-fp/getf2.c (__getf2): Likewise.
39323 * soft-fp/ledf2.c (__ledf2): Likewise.
39324 * soft-fp/lesf2.c (__lesf2): Likewise.
39325 * soft-fp/letf2.c (__letf2): Likewise.
39327 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
39328 * soft-fp/eqsf2.c (__eqsf2): Likewise.
39329 * soft-fp/eqtf2.c (__eqtf2): Likewise.
39330 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
39331 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
39332 * soft-fp/fixdfti.c (__fixdfti): Likewise.
39333 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
39334 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
39335 * soft-fp/fixsfti.c (__fixsfti): Likewise.
39336 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
39337 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
39338 * soft-fp/fixtfti.c (__fixtfti): Likewise.
39339 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
39340 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
39341 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
39342 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
39343 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
39344 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
39345 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
39346 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
39347 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
39348 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
39349 * soft-fp/floatdisf.c (__floatdisf): Likewise.
39350 * soft-fp/floatsisf.c (__floatsisf): Likewise.
39351 * soft-fp/floattidf.c (__floattidf): Likewise.
39352 * soft-fp/floattisf.c (__floattisf): Likewise.
39353 * soft-fp/floattitf.c (__floattitf): Likewise.
39354 * soft-fp/floatundidf.c (__floatundidf): Likewise.
39355 * soft-fp/floatundisf.c (__floatundisf): Likewise.
39356 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
39357 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
39358 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
39359 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
39360 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
39361 * soft-fp/gesf2.c (__gesf2): Likewise.
39362 * soft-fp/getf2.c (__getf2): Likewise.
39363 * soft-fp/ledf2.c (__ledf2): Likewise.
39364 * soft-fp/lesf2.c (__lesf2): Likewise.
39365 * soft-fp/letf2.c (__letf2): Likewise.
39367 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
39368 Undefine and redefine.
39369 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
39370 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
39371 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
39372 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
39373 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
39374 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
39375 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
39376 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
39377 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
39378 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
39379 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
39380 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
39381 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
39382 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
39383 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
39386 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
39387 without decrementing exponent if mantissa >= that for the
39388 denominator, not >.
39389 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
39390 denominator, not >. Decrement exponent in < case instead of
39391 incrementing in >= case.
39392 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
39393 without decrementing exponent if mantissa >= that for the
39394 denominator, not >.
39396 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
39397 computing saturated result for unsigned overflow.
39399 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
39400 Jeff Law <law@redhat.com>
39402 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
39403 (atan2Mp): Add systemtap probe marker.
39404 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
39405 (__ieee754_log): Add systemtap probe marker.
39406 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
39407 (atanMp): Add systemtap probe marker.
39408 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
39409 (tanMp): Add systemtap probe marker.
39410 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
39411 (__slowexp): Add systemtap probe marker.
39412 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
39413 (__slowpow): Add systemtap probe marker.
39414 * manual/probes.texi: Document probes.
39416 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
39419 * libio/fileops.c (_IO_new_file_write): Return count of bytes
39421 (_IO_new_file_xsputn): Don't return EOF if nothing has been
39423 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
39424 written to buffer but not flushed.
39425 * libio/iofwrite_u.c: Likewise.
39426 * libio/iopadn.c: Return bytes returned even if EOF was
39428 * libio/iowpadn.c: Likewise.
39429 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
39430 if _IO_padn does not write the whole buffer.
39431 [!COMPILE_WPRINTF] (PAD): Likewise.
39433 2013-10-10 David S. Miller <davem@davemloft.net>
39435 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
39438 2013-10-10 Joseph Myers <joseph@codesourcery.com>
39440 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
39441 instead of FSF address.
39442 * soft-fp/fixdfti.c: Likewise.
39443 * soft-fp/fixsfti.c: Likewise.
39444 * soft-fp/fixtfti.c: Likewise.
39445 * soft-fp/fixunsdfti.c: Likewise.
39446 * soft-fp/fixunssfti.c: Likewise.
39447 * soft-fp/fixunstfti.c: Likewise.
39448 * soft-fp/floattidf.c: Likewise.
39449 * soft-fp/floattisf.c: Likewise.
39450 * soft-fp/floattitf.c: Likewise.
39451 * soft-fp/floatuntidf.c: Likewise.
39452 * soft-fp/floatuntisf.c: Likewise.
39453 * soft-fp/floatuntitf.c: Likewise.
39454 * soft-fp/trunctfxf2.c: Likewise.
39456 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
39457 * soft-fp/fixdfti.c: Likewise.
39458 * soft-fp/fixsfti.c: Likewise.
39459 * soft-fp/fixtfti.c: Likewise.
39460 * soft-fp/fixunsdfti.c: Likewise.
39461 * soft-fp/fixunssfti.c: Likewise.
39462 * soft-fp/fixunstfti.c: Likewise.
39463 * soft-fp/floattidf.c: Likewise.
39464 * soft-fp/floattisf.c: Likewise.
39465 * soft-fp/floattitf.c: Likewise.
39466 * soft-fp/floatuntidf.c: Likewise.
39467 * soft-fp/floatuntisf.c: Likewise.
39468 * soft-fp/floatuntitf.c: Likewise.
39469 * soft-fp/trunctfxf2.c: Likewise.
39471 2013-10-10 David S. Miller <davem@davemloft.net>
39473 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39475 2013-10-10 Joseph Myers <joseph@codsourcery.com>
39477 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
39478 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
39479 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
39480 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
39481 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
39482 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
39483 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
39485 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
39486 for NaNs before doing comparisons on argument.
39487 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
39490 2013-10-10 Will Newton <will.newton@linaro.org>
39492 * malloc/hooks.c (memalign_check): Ensure the value of bytes
39493 passed to _int_memalign does not overflow.
39495 2013-10-10 Torvald Riegel <triegel@redhat.com>
39497 * scripts/bench.pl: Add include-sources directive.
39498 * benchtests/README: Update documentation.
39500 2013-10-10 Joseph Myers <joseph@codesourcery.com>
39502 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
39503 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
39504 instead of FP_INIT_ROUNDMODE.
39505 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
39506 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
39509 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
39510 copy class of input value.
39511 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
39512 not handle exceptions.
39513 * soft-fp/negsf2.c (__negsf2): Likewise.
39514 * soft-fp/negtf2.c (__negtf2): Likewise.
39515 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
39517 2013-10-09 Joseph Myers <joseph@codesourcery.com>
39519 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
39520 semicolon. From Linux kernel.
39522 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
39524 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
39526 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
39529 * manual/socket.texi: Added statement about buffer
39530 for gethostbyname2_r.
39532 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
39534 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
39535 Use .p2align directive instead, throughout.
39536 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
39537 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
39538 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
39539 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
39540 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
39541 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
39542 * sysdeps/x86_64/strchr.S: Likewise.
39543 * sysdeps/x86_64/strrchr.S: Likewise.
39545 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
39547 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
39549 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
39551 * sysdeps/generic/math_private.h (__mpsin1): Remove
39553 (__mpcos1): Likewise.
39554 (__mpsin): New argument __range_reduce.
39555 (__mpcos): Likewise.
39556 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
39557 (slow): Use __mpsin and __mpcos.
39561 (sloww1): Likewise.
39562 (sloww2): Likewise.
39563 (bsloww): Likewise.
39564 (bsloww1): Likewise.
39565 (bsloww2): Likewise.
39566 (cslow2): Likewise.
39567 (csloww): Likewise.
39568 (csloww1): Likewise.
39569 (csloww2): Likewise.
39570 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
39571 range_reduce. Merge in __mpsin1.
39572 (__mpcos): Likewise.
39573 (__mpsin1): Remove.
39574 (__mpcos1): Likewise.
39576 2013-10-07 Joseph Myers <joseph@codesourcery.com>
39578 * locale/loadlocale.c (_nl_intern_locale_data): Use
39580 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
39581 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
39582 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
39583 obstack data is appropriately aligned.
39584 (obstack_int32_grow_fast): Likewise.
39585 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
39586 * locale/programs/locfile.c (add_locale_uint32): Likewise.
39587 (add_locale_uint32_array): Likewise.
39589 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
39591 * benchtests/Makefile: Remove ARGLIST and RET variables.
39592 ($(objpfx)bench-%.c): Pass only function name to the script.
39593 * benchtests/README: Update documentation.
39594 * benchtests/acos-inputs: Add new directives.
39595 * benchtests/acosh-inputs: Likewise.
39596 * benchtests/asin-inputs: Likewise.
39597 * benchtests/asinh-inputs: Likewise.
39598 * benchtests/atan-inputs: Likewise.
39599 * benchtests/atanh-inputs: Likewise.
39600 * benchtests/cos-inputs: Likewise.
39601 * benchtests/cosh-inputs: Likewise.
39602 * benchtests/exp-inputs: Likewise.
39603 * benchtests/log-inputs: Likewise.
39604 * benchtests/pow-inputs: Likewise.
39605 * benchtests/rint-inputs: Likewise.
39606 * benchtests/sin-inputs: Likewise.
39607 * benchtests/sinh-inputs: Likewise.
39608 * benchtests/tan-inputs: Likewise.
39609 * benchtests/tanh-inputs: Likewise.
39610 * scripts/bench.pl: Add support for new directives.
39612 2013-10-07 Alan Modra <amodra@gmail.com>
39614 * README: Fix careless merge.
39616 2013-10-05 Alan Modra <amodra@gmail.com>
39618 * NEWS: Mention powerpc64le support and bugs fixed.
39619 * README: Both big-endian and little-endian powerpc64 supported.
39621 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
39623 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
39624 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
39625 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
39626 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
39628 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
39630 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
39633 2013-10-04 Joseph Myers <joseph@codesourcery.com>
39635 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
39636 Move -mhard-float appending from
39637 ports/sysdeps/powerpc/powerpc32/Makefile.
39638 [$(with-fp) = yes] (ASFLAGS): Likewise.
39639 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
39640 * sysdeps/powerpc/nofpu: Move directory from
39641 ports/sysdeps/powerpc/nofpu.
39642 * sysdeps/powerpc/soft-fp: Move directory from
39643 ports/sysdeps/powerpc/soft-fp.
39644 * sysdeps/powerpc/powerpc32/405: Move directory from
39645 ports/sysdeps/powerpc/powerpc32/405.
39646 * sysdeps/powerpc/powerpc32/440: Move directory from
39647 ports/sysdeps/powerpc/powerpc32/440.
39648 * sysdeps/powerpc/powerpc32/464: Move directory from
39649 ports/sysdeps/powerpc/powerpc32/464.
39650 * sysdeps/powerpc/powerpc32/476: Move directory from
39651 ports/sysdeps/powerpc/powerpc32/476.
39652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
39653 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
39654 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
39655 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
39656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
39657 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
39658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
39659 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
39660 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
39661 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
39662 * README: Update for powerpc-*-linux-gnu software floating point
39665 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
39666 case to powerpc/powerpc32*.
39667 * sysdeps/unix/sysv/linux/configure: Regenerated.
39669 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
39670 (_FPU_MASK_OM): Define as 0x04.
39671 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
39672 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
39674 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
39676 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
39678 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
39679 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
39681 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
39682 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
39684 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
39685 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
39686 and setcontext_e500.
39688 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
39690 * locale/iso-3166.def: Update iso-1366.def and related occurrences
39692 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
39694 * manual/threads.texi (Default Thread Attributes): Fix typo.
39696 2013-10-04 Will Newton <will.newton@linaro.org>
39698 * malloc/Makefile: Add tst-memalign.
39699 * malloc/tst-memalign.c: New file.
39701 * malloc/tst-posix_memalign.c: Add comments.
39702 (do_test): Add comments and call free on all potentially
39703 allocated pointers. Add space after cast.
39705 * malloc/tst-pvalloc.c: Add comments.
39706 (do_test): Add comments and call free on all potentially
39707 allocated pointers. Remove duplicate check for NULL pointer.
39708 Add space after cast.
39710 * malloc/tst-valloc.c: Add comments.
39711 (do_test): Add comments and call free on all potentially
39712 allocated pointers. Remove duplicate check for NULL pointer.
39713 Add space after cast.
39715 2013-10-04 Alan Modra <amodra@gmail.com>
39717 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
39718 Use stdint types in rather than __attribute__((mode())).
39719 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
39721 2013-10-04 Alan Modra <amodra@gmail.com>
39723 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
39724 Correct handling of unaligned relocs for little-endian.
39725 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
39727 2013-10-04 Alan Modra <amodra@gmail.com>
39729 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
39730 * configure: Regenerate.
39731 * nptl/shlib-versions: Powerpc*le starts at 2.18.
39732 * shlib-versions: Likewise.
39734 2013-10-04 Alan Modra <amodra@gmail.com>
39736 * string/tester.c (test_memrchr): Increment reported test cycle.
39738 2013-10-04 Alan Modra <amodra@gmail.com>
39740 * string/test-memcpy.c (do_one_test): When reporting errors, print
39741 string address and don't overrun end of string.
39743 2013-10-04 Alan Modra <amodra@gmail.com>
39745 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
39746 insrdi. Make better use of reg selection to speed exit slightly.
39747 Schedule entry path a little better. Remove useless "are we done"
39748 checks on entry to main loop. Handle wrapping around zero address.
39749 Correct main loop count. Handle single left-over word from main
39750 loop inline rather than by using loop_small. Remove extra word
39751 case in loop_small caused by wrong loop count. Add little-endian
39753 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
39754 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
39756 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
39757 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
39758 support. Avoid rlwimi.
39759 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
39761 2013-10-04 Alan Modra <amodra@gmail.com>
39763 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
39764 insrdi. Formatting.
39765 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
39766 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
39767 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
39768 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
39769 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
39770 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
39772 2013-10-04 Alan Modra <amodra@gmail.com>
39774 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
39775 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
39776 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
39777 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
39778 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
39779 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
39780 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
39781 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
39782 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
39783 use of regs. Use power7 mtocrf. Tidy function tails.
39785 2013-10-04 Alan Modra <amodra@gmail.com>
39787 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
39788 Formatting. Consistently use rXXX register defines or rN defines.
39789 Use early exit labels that avoid restoring unused non-volatile regs.
39790 Make cr field use more consistent with rWORDn compares. Rename
39791 regs used as shift registers for unaligned loop, using rN defines
39792 for short lifetime/multiple use regs.
39793 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
39794 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
39795 addi 1,1,64 to pop stack frame. Simplify return value code.
39796 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
39798 2013-10-04 Alan Modra <amodra@gmail.com>
39800 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
39801 support. Correct typos, formatting. Optimize tail. Use insrdi
39802 rather than rlwimi.
39803 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
39804 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
39805 little-endian support. Correct typos.
39806 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
39807 rather than rlwimi.
39808 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
39809 in loop and entry code to keep "and." results.
39810 (strchr): Add little-endian support. Comment. Move cntlzd
39812 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
39814 2013-10-04 Alan Modra <amodra@gmail.com>
39816 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
39817 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
39818 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
39819 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
39821 2013-10-04 Alan Modra <amodra@gmail.com>
39823 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
39824 (rTMP): Define as r11.
39825 (strcmp): Add little-endian support. Optimise tail.
39826 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
39827 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
39828 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
39829 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
39830 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
39831 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
39832 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
39834 2013-10-04 Alan Modra <amodra@gmail.com>
39836 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
39837 little-endian support. Remove unnecessary "are we done" tests.
39838 Handle "s" wrapping around zero and extremely large "size".
39839 Correct main loop count. Handle single left-over word from main
39840 loop inline rather than by using small_loop. Correct comments.
39841 Delete "zero" tail, use "end_max" instead.
39842 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
39844 2013-10-04 Alan Modra <amodra@gmail.com>
39846 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
39847 support. Don't branch over align.
39848 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
39849 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
39850 support. Rearrange tmp reg use to suit. Comment.
39851 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
39853 2013-10-04 Alan Modra <amodra@gmail.com>
39855 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
39857 2013-10-04 Alan Modra <amodra@gmail.com>
39859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
39860 conditional form of branch and link when obtaining pc.
39861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
39863 2013-10-04 Alan Modra <amodra@gmail.com>
39865 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
39867 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
39868 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
39870 2013-10-04 Alan Modra <amodra@gmail.com>
39872 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
39873 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
39874 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
39875 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
39876 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
39877 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
39878 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
39879 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
39880 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
39881 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
39883 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
39884 Alistair Popple <alistair@ozlabs.au.ibm.com>
39885 Alan Modra <amodra@gmail.com>
39888 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
39889 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
39890 _dl_hwcap access for little-endian.
39891 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
39892 destroy vmx regs when saving unaligned.
39893 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
39894 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
39895 destroy vmx regs when saving unaligned.
39897 2013-10-04 Alan Modra <amodra@gmail.com>
39899 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
39900 Don't use a union to pack hi/low value.
39902 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
39904 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
39906 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
39907 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
39908 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
39909 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
39910 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
39912 2013-10-04 Alan Modra <amodra@gmail.com>
39914 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
39915 constants to usual value for .cst8 section, and remove redundant
39917 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
39918 constant for 0x1p52. Load little-endian words of double from
39919 correct stack offsets.
39921 2013-10-04 Alan Modra <amodra@gmail.com>
39923 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
39924 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
39925 words of double from correct stack offsets.
39926 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
39927 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
39928 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
39929 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
39930 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
39931 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
39932 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
39933 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
39934 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
39935 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
39936 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
39937 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
39938 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
39939 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
39940 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
39941 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
39942 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
39944 2013-10-04 Alan Modra <amodra@gmail.com>
39946 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
39947 64-bit int/double union.
39948 (_FPU_SETCW): Likewise.
39949 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
39950 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
39952 2013-10-04 Alan Modra <amodra@gmail.com>
39954 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
39955 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
39957 2013-10-04 Alan Modra <amodra@gmail.com>
39959 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
39960 use vector int constants.
39961 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
39963 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
39965 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
39966 array with long long.
39967 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
39968 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
39969 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
39970 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
39971 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
39972 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
39973 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
39974 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
39975 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
39976 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
39977 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
39978 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
39979 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
39981 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
39983 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
39984 (__signbit): Likewise. Correct for little-endian.
39985 (__signbitl): Call __signbit.
39986 (lrint): Correct for little-endian.
39987 (lrintf): Call lrint.
39989 2013-10-04 Alan Modra <amodra@gmail.com>
39991 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
39992 union 32-bit int array member with 64-bit int array.
39993 (t515, tm256): Double rather than long double.
39994 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
39996 2013-10-04 Alan Modra <amodra@gmail.com>
39998 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
40000 (IEEE854_LONG_DOUBLE_BIAS): Delete.
40001 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
40002 version of math_ldbl.h.
40004 2013-10-04 Alan Modra <amodra@gmail.com>
40006 [BZ #15734], [BZ #15735]
40007 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
40008 all uses of ieee875 long double macros and unions. Simplify test
40009 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
40010 ldbl_extract_mantissa value for ix,iy exponents. Properly
40011 normalize after ldbl_extract_mantissa, and don't add hidden bit
40012 already handled. Don't treat low word of ieee854 mantissa like
40013 low word of IBM long double and mask off bit when testing for
40015 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
40016 all uses of ieee875 long double macros and unions. Simplify tests
40017 for 0.0L and inf. Correct double adjustment of k. Delete dead code
40018 adjusting ha,hb. Simplify code setting kld. Delete two600 and
40019 two1022, instead use their values. Recognise that tests for large
40020 "a" and small "b" are mutually exclusive. Rename vars. Comment.
40021 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
40022 Rewrite all uses of ieee875 long double macros and unions. Simplify
40023 test for 0.0L and nan. Correct negation.
40024 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
40025 ieee875 long double macros and unions. Correct output for large
40026 magnitude x. Correct absolute value calculation.
40027 (__erfcl): Likewise.
40028 * math/libm-test.inc: Add tests for errors discovered in IBM long
40029 double versions of fmodl, remainderl, erfl and erfcl.
40031 2013-10-04 Alan Modra <amodra@gmail.com>
40033 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
40034 all uses of ieee854 long double macros and unions. Simplify tests
40035 for long doubles that are fully specified by the high double.
40036 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
40038 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
40039 Remove dead code too.
40040 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
40041 (__ieee754_ynl): Likewise.
40042 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
40043 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
40044 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
40045 Remove dead code too.
40046 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
40047 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
40048 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
40049 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
40051 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
40053 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
40054 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
40055 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
40056 Comment on variable precision.
40057 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
40058 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
40060 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
40061 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
40062 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
40063 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
40064 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
40066 2013-10-04 Alan Modra <amodra@gmail.com>
40068 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
40069 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
40070 all uses of ieee854 long double macros and unions.
40071 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
40072 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
40073 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
40074 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
40075 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
40076 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
40078 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
40079 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
40080 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
40081 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
40082 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
40083 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
40084 Simplify sign and nan test too.
40085 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
40086 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
40087 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
40088 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
40090 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
40091 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
40093 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
40094 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
40095 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
40096 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
40097 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
40098 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
40100 2013-10-04 Alan Modra <amodra@gmail.com>
40102 * stdio-common/printf_size.c (__printf_size): Don't use
40103 union ieee854_long_double in fpnum union.
40104 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
40105 signbit macro to retrieve sign from long double.
40106 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
40107 retrieve sign from long double.
40108 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
40109 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
40110 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
40111 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
40112 * math/test-misc.c (main): Don't use union ieee854_long_double.
40114 2013-10-04 Alan Modra <amodra@gmail.com>
40117 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
40118 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
40119 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
40120 calculation. Remove unnecessary test for denormal exponent.
40121 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
40122 Correct handling of denormals. Avoid undefined shift behaviour.
40123 Correct normalisation of low mantissa when low double is denormal.
40124 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
40125 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
40126 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
40127 Correct normalisation of low mantissa. Test for overflow of high
40128 mantissa and normalise.
40129 (ldbl_nearbyint): Use more readable constant for two52.
40130 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
40131 (__mpn_construct_long_double): Fix test for overflow of high
40132 mantissa and correct normalisation. Avoid undefined shift.
40134 2013-10-04 Alan Modra <amodra@gmail.com>
40136 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
40137 (union ibm_extended_long_double): Define as an array of ieee754_double.
40138 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
40139 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
40140 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
40141 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
40142 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
40143 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
40144 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
40145 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
40146 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
40147 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
40148 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
40150 2013-10-03 Joseph Myers <joseph@codesourcery.com>
40152 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
40153 page size instead of calling getpagesize.
40155 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
40156 (LOCFILE_ALIGN_MASK): Likewise.
40157 (LOCFILE_ALIGN_UP): Likewise.
40158 (LOCFILE_ALIGNED_P): Likewise.
40159 * locale/programs/ld-collate.c (collate_output): Use the new
40160 macros instead of __alignof__ (int32_t).
40161 * locale/weight.h (findidx): Likewise.
40163 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
40166 * manual/string.texi: Fix strncat and wcsncat.
40168 2013-10-03 Brooks Moses <bmoses@google.com>
40171 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
40172 * Makerules: ...here, and adjust associated comments.
40174 2013-10-02 Will Newton <will.newton@linaro.org>
40176 * malloc/Makefile: Add tst-pvalloc.
40177 * malloc/tst-pvalloc.c: New file.
40179 2013-10-02 Will Newton <will.newton@linaro.org>
40181 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
40182 improve test coverage.
40184 2013-10-02 Will Newton <will.newton@linaro.org>
40186 * malloc/Makefile: Add tst-posix_memalign.
40187 * malloc/tst-posix_memalign.c: New file.
40189 2013-10-01 Eric Blake <eblake@redhat.com>
40191 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
40192 Use __THROWNL rather than __THROW on static functions.
40194 2013-09-30 Petr Machata <pmachata@redhat.com>
40196 * elf/elf.h (R_AARCH64_ABS16): New macro.
40197 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
40198 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
40199 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
40200 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
40201 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
40202 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
40203 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
40204 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
40205 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
40206 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
40207 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
40208 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
40209 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
40210 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
40211 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
40212 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
40213 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
40214 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
40215 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
40216 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
40217 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
40218 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
40219 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
40220 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
40221 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
40222 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
40223 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
40224 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
40225 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
40226 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
40227 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
40228 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
40229 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
40230 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
40231 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
40232 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
40233 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
40234 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
40235 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
40236 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
40237 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
40238 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
40239 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
40240 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
40241 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
40242 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
40243 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
40244 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
40245 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
40246 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
40247 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
40248 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
40249 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
40250 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
40251 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
40252 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
40253 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
40254 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
40255 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
40256 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
40257 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
40258 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
40259 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
40260 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
40261 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
40262 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
40263 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
40264 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
40265 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
40266 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
40267 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
40268 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
40269 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
40270 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
40271 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
40272 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
40273 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
40274 (R_AARCH64_TLSDESC_LDR): Likewise.
40275 (R_AARCH64_TLSDESC_ADD): Likewise.
40276 (R_AARCH64_TLSDESC_CALL): Likewise.
40278 2013-09-30 Andreas Schwab <schwab@suse.de>
40281 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
40282 the nss database lookup.
40283 * nscd/initgrcache.c (addinitgroupsX): Likewise.
40284 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
40286 2013-09-28 Mike Frysinger <vapier@gentoo.org>
40288 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
40290 2013-09-28 P. J. McDermott <pj@pehjota.net>
40292 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
40293 ${Bash-specific parameter/pattern/string} parameter expansion.
40294 * sysdeps/unix/make-syscalls.sh: Likewise.
40296 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
40298 * sysdeps/sh/stackguard-macros.h: New file.
40300 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
40302 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
40303 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
40304 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
40305 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
40306 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
40307 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
40309 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40311 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
40312 Fix thread ID register.
40314 2013-09-25 Joseph Myers <joseph@codesourcery.com>
40316 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
40317 [POSIX || UNIX98]: Require rather than permitting all symbols from
40319 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
40320 element of struct sched_param.
40321 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
40322 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
40323 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
40324 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
40327 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
40329 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
40330 argument calculation.
40332 2013-09-24 Joseph Myers <joseph@codesourcery.com>
40334 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
40336 [POSIX] (pthread_attr_t): Do not require type.
40337 [POSIX] (pthread_cond_t): Likewise.
40338 [POSIX] (pthread_condattr_t): Likewise.
40339 [POSIX] (pthread_key_t): Likewise.
40340 [POSIX] (pthread_mutex_t): Likewise.
40341 [POSIX] (pthread_mutexattr_t): Likewise.
40342 [POSIX] (pthread_once_t): Likewise.
40343 [POSIX] (pthread_t): Likewise.
40344 [POSIX-based standards] (pthread_atfork): Expect function.
40346 2013-09-24 Joseph Myers <joseph@codesourcery.com>
40347 Richard Sandiford <richard@codesourcery.com>
40349 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
40350 (swap_endianness_p): New extern variable.
40351 (set_big_endian): New inline function.
40352 (maybe_swap_uint32): Likewise.
40353 (maybe_swap_uint32_array): Likewise.
40354 (maybe_swap_uint32_obstack): Likewise.
40355 * locale/programs/locfile.c: Include <stdbool.h>.
40356 (swap_endianness_p): New variable.
40357 (add_locale_uint32): Call maybe_swap_uint32.
40358 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
40359 (write_locale_data): Call maybe_swap_uint32_array.
40360 * locale/programs/ld-collate.c (obstack_int32_grow): Call
40362 (obstack_int32_grow_fast): Likewise.
40363 (output_weightwc): Call maybe_swap_uint32_obstack.
40364 (collate_output): Likewise.
40365 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
40366 (OPT_LITTLE_ENDIAN): Likewise.
40367 (options): Add --little-endian and --big-endian options.
40368 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
40369 * locale/programs/locarchive.c: Include "locfile.h".
40373 (create_archive): Use the new macros to access fields of
40374 structures directly mapped from or written to locale archives.
40375 (oldlocrecentcmp): Likewise.
40376 (enlarge_archive): Likewise.
40377 (insert_name): Likewise.
40378 (add_alias): Likewise.
40379 (add_locale): Likewise.
40380 (delete_locales_from_archive): Likewise.
40381 (show_archive_content): Likewise.
40382 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
40385 2013-09-24 Roland McGrath <roland@hack.frob.com>
40387 * manual/freemanuals.texi: Updated from (newly) canonical copy at
40388 http://www.gnu.org/doc/freemanuals.texi.
40389 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
40391 2013-09-24 Will Newton <will.newton@linaro.org>
40393 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
40396 2013-09-23 Joseph Myers <joseph@codesourcery.com>
40398 * locale/hashval.h (compute_hashval): Interpret bytes of key as
40401 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
40403 * manual/threads.texi (POSIX Threads): Fix a typo.
40405 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
40408 * string/tst-strcoll-overflow.c: New test case.
40409 * string/Makefile (xtests): Add tst-strcoll-overflow.
40410 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
40411 cache if string sizes may cause integer overflow.
40414 * string/strcoll_l.c (coll_seq): New members rule, idx,
40415 save_idx and back_us.
40416 (get_next_seq_nocache): New function.
40417 (do_compare_nocache): New function.
40418 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
40421 2013-09-23 Carlos O'Donell <carlos@redhat.com>
40424 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
40425 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
40426 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
40429 * elf/Makefile (tests): Add tst-ptrguard1.
40430 (tests-static): Add tst-ptrguard1-static.
40431 (tst-ptrguard1-ARGS): Define.
40432 (tst-ptrguard1-static-ARGS): Define.
40433 * elf/tst-ptrguard1.c: New file.
40434 * elf/tst-ptrguard1-static.c: New file.
40435 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
40436 * sysdeps/i386/stackguard-macros.h: Likewise.
40437 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
40438 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
40439 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
40440 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
40441 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
40442 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
40444 2013-09-23 Hector Marco <hecmargi@upv.es>
40445 Ismael Ripoll <iripoll@disca.upv.es>
40446 Carlos O'Donell <carlos@redhat.com>
40449 * sysdeps/generic/stackguard-macros.h: Define
40450 __pointer_chk_guard_local and POINTER_CHK_GUARD.
40451 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
40452 Define __pointer_chk_guard_local.
40453 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
40454 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
40456 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
40459 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
40461 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
40463 * include/string.h (__ffs): Declare as hidden.
40464 * string/ffs.c (__ffs): Define as hidden.
40465 * sysdeps/i386/ffs.c (__ffs): Likewise.
40466 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
40467 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
40468 * sysdeps/s390/ffs.c (__ffs): Likewise.
40469 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
40471 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
40473 * NEWS: Mention malloc probes.
40475 * malloc/arena.c (new_heap): New memory_heap_new probe.
40476 (grow_heap): New memory_heap_more probe.
40477 (shrink_heap): New memory_heap_less probe.
40478 (heap_trim): New memory_heap_free probe.
40479 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
40480 (systrim): New memory_sbrk_less probe.
40481 * manual/probes.texi: Document them.
40483 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
40484 * manual/probes.texi: Document it.
40486 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
40487 (__libc_realloc): Add memory_realloc_retry probe.
40488 (__libc_memalign): Add memory_memalign_retry probe.
40489 (__libc_valloc): Add memory_valloc_retry probe.
40490 (__libc_pvalloc): Add memory_pvalloc_retry probe.
40491 (__libc_calloc): Add memory_calloc_retry probe.
40492 * manual/probes.texi: Document them.
40494 * malloc/arena.c (get_free_list): Add probe
40495 memory_arena_reuse_free_list.
40496 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
40497 and memory_arena_reuse.
40498 (arena_get2) [!PER_THREAD]: Likewise.
40499 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
40500 memory_arena_reuse_realloc.
40501 * manual/probes.texi: Document them.
40503 * malloc/malloc.c (__libc_free): Add
40504 memory_mallopt_free_dyn_thresholds probe.
40505 (__libc_mallopt): Add multiple memory_mallopt probes.
40506 * manual/probes.texi: Document them.
40508 * malloc/malloc.c: Include stap-probe.h.
40509 (__libc_mallopt): Add memory_mallopt probe.
40510 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
40511 * manual/probes.texi: New.
40512 * manual/Makefile (chapters): Add probes.
40513 * manual/threads.texi: Set next node.
40515 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
40517 [BZ #15963, #13985]
40518 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
40519 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
40520 Add `Chinese' to `nan' entry name.
40522 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
40524 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
40525 (POLYNOMIAL): Likewise.
40526 (TAYLOR_SINCOS): Likewise.
40527 (TAYLOR_SLOW): Likewise.
40528 (__sin): Use TAYLOR_SINCOS.
40530 (slow): Use TAYLOR_SLOW.
40532 (bsloww): Likewise.
40533 (csloww): Likewise.
40535 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
40537 * stdlib/strtod_l.c: Fix buffer overrun.
40539 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
40541 * benchtests/Makefile (bench): Add sincos.
40542 * benchtests/bench-sincos.c: New file.
40544 * math/libm-test.inc (cos_test_data): New test inputs.
40545 (sin_test_data): Likewise.
40547 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
40553 (sloww1): Likewise.
40554 (sloww2): Likewise.
40555 (bsloww1): Likewise.
40556 (bsloww2): Likewise.
40557 (cslow2): Likewise.
40558 (csloww1): Likewise.
40559 (csloww2): Likewise.
40561 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
40566 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
40570 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
40572 * config.h.in (HAVE_MIPS_NAN2008): New macro.
40573 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
40574 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
40575 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
40576 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
40577 * elf/cache.c (print_entry): Handle the new cache flags.
40579 2013-09-18 Joseph Myers <joseph@codesourcery.com>
40580 Aldy Hernandez <aldyh@redhat.com>
40582 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
40583 Change condition to [_SOFT_FLOAT].
40584 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
40585 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
40586 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
40587 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
40588 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
40589 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
40590 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
40591 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
40592 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
40593 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
40594 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
40595 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
40596 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
40597 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
40598 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
40599 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
40602 2013-09-18 Joseph Myers <joseph@codesourcery.com>
40604 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
40605 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
40606 (__longjmp): Use LOAD_GP to load saved GPRs.
40607 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
40608 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
40609 (__sigsetjmp): Use SAVE_GP to save GPRs.
40611 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
40612 Do not append -msoft-float.
40613 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
40615 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
40617 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
40619 2013-09-17 Joseph Myers <joseph@codesourcery.com>
40622 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
40623 (_FPU_GETCW): Use initial "__" on variable and field names but not
40624 on macro parameter name.
40625 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
40626 parentheses around reference to macro parameter.
40628 2013-09-13 Richard Sandiford <richard@codesourcery.com>
40630 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
40632 (ctype_startup): Use uint32_t in cast and sizeof for
40635 2013-09-11 Jia Liu <proljc@gmail.com>
40637 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
40639 [__FreeBSD__]: Likewise.
40641 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
40643 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
40644 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
40645 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
40646 (strchr): Remove __strchr_sse42 ifunc selection.
40647 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
40648 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
40650 2013-09-11 Will Newton <will.newton@linaro.org>
40652 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
40653 parameter to RES. Remove hardcoded 1000 value.
40654 * benchtests/bench-skeleton.c (main): Pass RES parameter
40655 to TIMING_INIT and multiply result by 1000.
40657 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40659 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40661 2013-09-11 Andreas Schwab <schwab@suse.de>
40663 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
40665 (O_TMPFILE) [__USE_GNU]: Define.
40666 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
40669 2013-09-11 Will Newton <will.newton@linaro.org>
40672 * malloc/malloc.c (__libc_memalign): Check the value of bytes
40675 2013-09-11 Will Newton <will.newton@linaro.org>
40678 * malloc/malloc.c (__libc_valloc): Check the value of bytes
40681 2013-09-11 Will Newton <will.newton@linaro.org>
40684 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
40687 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
40689 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
40690 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
40691 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
40692 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
40693 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
40695 2013-09-10 Allan McRae <allan@archlinux.org>
40698 * manual/arith.texi (Parsing of Floats): Clarify
40702 * manual/install.texi (Running make install): Mention
40704 * INSTALL: Regenerated.
40706 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
40708 * csu/init-first.c (_init): Remove the !SHARED condition around
40709 FPU control word initialization.
40710 * elf/dl-support.c (_dl_fpu_control): New variable.
40711 (_dl_aux_init) <AT_FPUCW>: Initialize it.
40712 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
40713 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
40714 * math/test-fpucw-static.c: New file.
40715 * math/test-fpucw-ieee.c: New file.
40716 * math/test-fpucw-ieee-static.c: New file.
40717 * math/Makefile (tests): Add `test-fpucw-ieee' and
40719 (tests-static): New variable.
40720 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
40722 [($(build-shared),yes)]
40723 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
40725 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
40728 2013-09-09 Allan McRae <allan@archlinux.org>
40731 * manual/string.texi (Collation Functions): Fix typo in
40733 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
40736 * stdlib/isomac.c (get_null_defines): Fix memory leak.
40739 * libio/memstream.c (open_memstream): Fix memory leak.
40740 * libio/wmemstream.c (open_wmemstream): Likewise.
40743 * nscd/netgroupcache.c: Fix nesting of ifdefs.
40745 2013-09-09 Will Newton <will.newton@linaro.org>
40747 * malloc/Makefile: Add tst-realloc to tests.
40748 * malloc/tst-realloc.c: New file.
40750 2013-09-09 Allan McRae <allan@archlinux.org>
40753 * COPYING: Update from GNU website to fix FSF address.
40754 * COPYING.LIB: Likewise.
40756 2013-09-06 David S. Miller <davem@davemloft.net>
40758 * po/zh_TW.po: Update Chinese (traditional) translation from
40759 translation project.
40761 2013-09-06 Richard Sandiford <richard@codesourcery.com>
40762 Joseph Myers <joseph@codesourcery.com>
40764 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
40766 (obstack_chunk_alloc): New macro.
40767 (obstack_chunk_free): Likewise.
40768 (record_offset): New function.
40769 (init_locale_data): Likewise.
40770 (align_locale_data): Likewise.
40771 (add_locale_empty): Likewise.
40772 (add_locale_raw_data): Likewise.
40773 (add_locale_raw_obstack): Likewise.
40774 (add_locale_string): Likewise.
40775 (add_locale_wstring): Likewise.
40776 (add_locale_uint32): Likewise.
40777 (add_locale_uint32_array): Likewise.
40778 (add_locale_char): Likewise.
40779 (start_locale_structure): Likewise.
40780 (end_locale_structure): Likewise.
40781 (start_locale_prelude): Likewise.
40782 (end_locale_prelude): Likewise.
40783 (write_locale_data): Take locale_file structure rather than an
40785 * locale/programs/locfile.h: Include "obstack.h".
40786 (struct locale_file): Change to store locale file contents instead
40788 (init_locale_data): New prototype.
40789 (align_locale_data): Likewise.
40790 (add_locale_empty): Likewise.
40791 (add_locale_raw_data): Likewise.
40792 (add_locale_raw_obstack): Likewise.
40793 (add_locale_string): Likewise.
40794 (add_locale_wstring): Likewise.
40795 (add_locale_uint32): Likewise.
40796 (add_locale_uint32_array): Likewise.
40797 (add_locale_char): Likewise.
40798 (start_locale_structure): Likewise.
40799 (end_locale_structure): Likewise.
40800 (start_locale_prelude): Likewise.
40801 (end_locale_prelude): Likewise.
40802 (write_locale_data): Update prototype.
40803 * locale/programs/3level.h (struct TABLE): Remove result field.
40804 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
40805 Use new locale_file interface.
40806 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
40807 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
40808 * locale/programs/ld-address.c (address_output): Use new
40809 locale_file interface.
40810 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
40812 (collate_finish): Don't call collseq_table_finalize.
40813 (collate_output): Use new locale_file interface.
40814 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
40816 (NO_FINALIZE): Change to NO_ADD_LOCALE.
40817 (TABLE): Move defines earlier in file.
40818 (ELEMENT): Likewise.
40819 (DEFAULT): Likewise.
40820 (wctrans_table_add): Move macro and inline function earlier in
40822 (struct wctype_table): Move type earlier in file.
40823 (add_locale_wctype_table): New static prototype.
40824 (struct locale_ctype_t): Use logical types instead of struct iovec
40825 pointers for members.
40826 (ctype_output): Use new locale_file interface.
40827 (wctype_table_finalize): Change to add_locale_wctype_table. Use
40828 new locale_file interface.
40829 (allocate_arrays): Update for use of new locale_file interface.
40830 * locale/programs/ld-identification.c (identification_output): Use
40831 new locale_file interface.
40832 * locale/programs/ld-measurement.c (measurement_output): Likewise.
40833 * locale/programs/ld-messages.c (messages_output): Likewise.
40834 * locale/programs/ld-monetary.c (monetary_output): Likewise.
40835 * locale/programs/ld-name.c (name_output): Likewise.
40836 * locale/programs/ld-numeric.c (numeric_output): Likewise.
40837 * locale/programs/ld-paper.c (paper_output): Likewise.
40838 * locale/programs/ld-telephone.c (telephone_output): Likewise.
40839 * locale/programs/ld-time.c (time_output): Likewise.
40841 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40843 * benchtests/Makefile: Add memrchr benchmark.
40844 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
40845 benchmark as memrchr.
40846 * benchtests/bench-memrchr-ifunc.c: New file.
40847 * benchtests/bench-memrchr.c: New file.
40849 2013-09-06 Will Newton <will.newton@linaro.org>
40851 * benchtests/Makefile (string-bench): Add memcpy.
40853 2013-09-05 Carlos O'Donell <carlos@redhat.com>
40854 Cong Wang <amwang@redhat.com>
40857 * sysdeps/unix/sysv/linux/bits/in.h
40858 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
40859 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
40860 before __USE_KERNEL_IPV6_DEFS uses.
40861 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
40863 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
40864 sockaddr_in6, or ipv6_mreq.
40866 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40868 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
40869 memory access for final bytes in some large inputs.
40870 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
40872 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40874 * string/test-memrchr.c: New file.
40875 * string/test-memrchr-ifunc.c: New file.
40876 * string/Makefile: Add new memrchr testcase.
40878 2013-09-05 Mike Frysinger <vapier@gentoo.org>
40880 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
40881 fanotify_init returns EPERM.
40883 2013-09-04 Joseph Myers <joseph@codesourcery.com>
40885 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
40887 (top level): Treat second token from macro or constant entries for
40888 allowed headers as allowed.
40889 * include/complex.h: Condition internal declarations on
40891 * include/fenv.h: Condition include of <stdbool.h> and internal
40892 declarations on [!_ISOMAC].
40894 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
40897 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
40899 2013-09-04 Joseph Myers <joseph@codesourcery.com>
40901 * configure.in (--enable-versioning): Remove configure option.
40902 (libc_cv_asm_symver_directive): Remove configure test.
40903 (libc_cv_ld_version_script_option): Likewise.
40904 (VERSIONING): Remove variable and AC_SUBST.
40905 (DO_VERSIONING): Remove AC_DEFINE.
40906 * configure: Regenerated.
40907 * config.h.in (DO_VERSIONING): Remove macro.
40908 * Makerules [$(versioning) = yes]: Change conditionals to
40909 [$(build-shared) = yes].
40910 * config.make.in (versioning): Remove variable.
40911 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
40912 [$(build-shared) = yes].
40913 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
40914 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
40915 * elf/Makefile [$(versioning) = yes]: Change conditionals to
40916 [$(build-shared) = yes].
40917 * extra-lib.mk [$(versioning) = yes]: Likewise.
40918 * hurd/Makefile [$(versioning) = yes]: Likewise.
40919 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
40921 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
40923 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
40924 [SHARED && !NO_HIDDEN].
40925 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
40927 [SHARED && DO_VERSIONING]: Likewise..
40928 * libio/Makefile [$(versioning) = yes]: Change conditionals to
40929 [$(build-shared) = yes].
40930 * manual/install.texi (--disable-versioning): Remove
40932 * INSTALL: Regenerated.
40933 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
40935 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
40936 [$(build-shared) = yes].
40937 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
40938 * sysdeps/i386/i686/multiarch/strstr-c.c
40939 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
40940 [SHARED && !NO_HIDDEN].
40941 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
40942 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
40943 * sysdeps/powerpc/powerpc32/dl-machine.c
40944 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
40945 * sysdeps/powerpc/powerpc32/sysdep.h
40946 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
40947 to [SHARED && PIC && !NO_HIDDEN].
40948 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
40949 conditional to [SHARED].
40951 2013-09-04 Will Newton <will.newton@linaro.org>
40953 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
40954 * benchtests/bench-string.h: Include bench-timing.h instead
40955 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
40956 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
40957 call to HP_TIMING_DIFF_INIT.
40958 * benchtests/bench-memccpy.c: Use bench-timing.h macros
40959 instead of hp-timing.h macros.
40960 * benchtests/bench-memchr.c: Likewise.
40961 * benchtests/bench-memcmp.c: Likewise.
40962 * benchtests/bench-memcpy.c: Likewise.
40963 * benchtests/bench-memmem.c: Likewise.
40964 * benchtests/bench-memmove.c: Likewise.
40965 * benchtests/bench-memset.c: Likewise.
40966 * benchtests/bench-rawmemchr.c: Likewise.
40967 * benchtests/bench-strcasecmp.c: Likewise.
40968 * benchtests/bench-strcasestr.c: Likewise.
40969 * benchtests/bench-strcat.c: Likewise.
40970 * benchtests/bench-strchr.c: Likewise.
40971 * benchtests/bench-strcmp.c: Likewise.
40972 * benchtests/bench-strcpy.c: Likewise.
40973 * benchtests/bench-strcpy_chk.c: Likewise.
40974 * benchtests/bench-strlen.c: Likewise.
40975 * benchtests/bench-strncasecmp.c: Likewise.
40976 * benchtests/bench-strncat.c: Likewise.
40977 * benchtests/bench-strncmp.c: Likewise.
40978 * benchtests/bench-strncpy.c: Likewise.
40979 * benchtests/bench-strnlen.c: Likewise.
40980 * benchtests/bench-strpbrk.c: Likewise.
40981 * benchtests/bench-strrchr.c: Likewise.
40982 * benchtests/bench-strspn.c: Likewise.
40983 * benchtests/bench-strstr.c: Likewise.
40985 2013-09-04 Will Newton <will.newton@linaro.org>
40987 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
40989 2013-09-03 Joseph Myers <joseph@codesourcery.com>
40992 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
40993 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
40994 * math/libm-test.inc (lgamma_test_data): Add more tests.
40995 * sysdeps/i386/fpu/libm-test-ulps: Update.
40996 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40998 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
41000 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
41001 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
41003 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
41004 Add strcmp-sse2-unaligned
41005 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
41007 2013-09-02 Mike Frysinger <vapier@gentoo.org>
41009 * Versions.def (libc): Add GLIBC_2.19.
41011 2013-09-02 Mike Frysinger <vapier@gentoo.org>
41013 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
41014 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
41016 2013-09-02 Joseph Myers <joseph@codesourcery.com>
41019 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
41020 intermediate calculations in recurrence.
41021 (__ieee754_ynf): Likewise.
41022 * math/libm-test.inc (jn_test_data): Do not allow spurious
41023 underflow exception. Add more tests.
41024 (yn_test_data): Add more tests.
41025 * sysdeps/i386/fpu/libm-test-ulps: Update.
41026 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41028 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
41030 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
41032 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
41034 * csu/init-first.c: Fix then/than typos.
41035 * locale/programs/ld-collate.c: Likewise.
41036 * locale/programs/linereader.h: Likewise.
41037 * manual/charset.texi: Likewise.
41038 * manual/filesys.texi: Likewise.
41039 * manual/stdio.texi: Likewise.
41040 * manual/string.texi: Likewise.
41041 * stdlib/fmtmsg.c: Likewise.
41042 * sysdeps/i386/stpncpy.S: Likewise.
41043 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
41044 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
41045 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
41046 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
41048 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
41050 * elf/dl-open.c: Fix typos.
41051 * iconvdata/gbbig5.c: Likewise.
41052 * iconvdata/iso-2022-jp.c: Likewise.
41053 * iconv/gconv_int.h: Likewise.
41054 * iconv/loop.c: Likewise.
41055 * nis/rpcsvc/nis.h: Likewise.
41056 * resolv/ns_name.c: Likewise.
41057 * stdio-common/vfscanf.c: Likewise.
41058 * streams/stropts.h: Likewise.
41059 * sunrpc/rpc_thread.c: Likewise.
41060 * sysdeps/i386/strpbrk.S: Likewise.
41061 * sysdeps/ieee754/k_standard.c: Likewise.
41062 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
41063 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
41064 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
41065 * sysdeps/mach/hurd/profil.c: Likewise.
41066 * sysdeps/s390/dl-procinfo.h: Likewise.
41067 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
41068 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
41069 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
41070 * sysdeps/x86_64/dl-trampoline.S: Likewise.
41071 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
41073 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
41075 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
41076 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
41078 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
41080 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
41081 aix specific files.
41082 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
41083 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
41084 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
41085 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
41086 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
41087 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
41088 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
41089 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
41091 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
41092 Roland McGrath <roland@hack.frob.com>
41094 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
41095 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
41097 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
41099 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
41100 __executable_start symbol instead of _start.
41102 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
41104 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
41105 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
41107 * sysdeps/gnu/ldsodefs.h: ... this new file.
41109 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
41110 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
41111 instead of ELFOSABI_LINUX.
41113 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
41114 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
41115 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
41116 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
41118 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
41119 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
41120 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
41122 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
41123 (ibm_extended_long_double): Add ieee_nan member.
41124 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
41125 (do_test): New function.
41127 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
41129 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
41130 functions, renamed from truncdfsf_test, trunctfsf_test,
41132 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
41134 (do_test): Run all these.
41136 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
41138 * argp/argp-help.c: Fix typos.
41139 * argp/argp-parse.c: Likewise.
41140 * debug/backtracesyms.c: Likewise.
41141 * elf/elf.h: Likewise.
41142 * malloc/malloc.c: Likewise.
41143 * nis/nis_print.c: Likewise.
41144 * resolv/res_comp.c: Likewise.
41145 * stdlib/stdlib.h: Likewise.
41146 * sunrpc/clnt_tcp.c: Likewise.
41147 * sunrpc/clnt_udp.c: Likewise.
41148 * sunrpc/clnt_unix.c: Likewise.
41149 * sysdeps/unix/bsd/ptsname.c: Likewise.
41150 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
41151 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
41152 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
41154 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
41156 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
41158 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
41160 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
41162 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
41163 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
41165 2013-08-27 Mike Frysinger <vapier@gentoo.org>
41168 * dlfcn/Makefile (tests): Add bug-dl-leaf.
41169 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
41170 ($(objpfx)bug-dl-leaf): New rule.
41171 ($(objpfx)bug-dl-leaf.so): Likewise.
41172 ($(objpfx)bug-dl-leaf.out): Likewise.
41173 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
41174 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
41175 * dlfcn/bug-dl-leaf.c: New test.
41176 * dlfcn/bug-dl-leaf-lib.c: Likewise.
41177 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
41178 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
41179 (dlclose): Likewise.
41180 (dlmopen): Likewise.
41182 2013-08-27 Roland McGrath <roland@hack.frob.com>
41184 * include/netdb.h [!_ISOMAC]:
41185 Don't include <tls.h>.
41186 (h_errno, __libc_h_errno): Move declaration and macros out of
41189 * include/resolv.h [_RESOLV_H_]:
41190 Don't include <tls.h>.
41191 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
41192 * resolv/res_libc.c: Don't include <tls.h>.
41193 (_res): Use __attribute__ ((nocommon)) in place of
41194 __attribute__ ((section (".bss"))).
41196 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
41197 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
41199 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
41201 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
41202 only under [SIOCGIFCONF && SIOCGIFNETMASK].
41204 * resolv/res_mkquery.c: Include <sys/time.h>.
41206 * inet/ifreq.c: Moved to ...
41207 * sysdeps/unix/ifreq.c: ... here.
41208 * inet/ifreq.c: New file, true stub version.
41210 * socket/sa_len.c: New file.
41211 * socket/Makefile (aux): Add it.
41212 * sysdeps/unix/sysv/linux/Makefile
41213 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
41214 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
41215 and #include <socket/sa_len.c>.
41216 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
41217 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
41219 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
41220 * bits/socket.h: ... here.
41222 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
41223 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
41224 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
41226 2013-08-27 Andreas Schwab <schwab@suse.de>
41229 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
41230 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
41231 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
41232 * string/test-strcasecmp.c (test_main): Run tests in several
41234 * string/test-strncasecmp.c (test_main): Likewise.
41236 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
41237 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
41238 to __strcasecmp_nonascii and __strncasecmp_nonascii.
41239 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
41240 (__strncasecmp_ssse3) [PIC]: Likewise.
41242 2013-08-26 Roland McGrath <roland@hack.frob.com>
41244 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
41246 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
41247 instead of explicitly declaring xdecrypt.
41248 * nis/nss_nis/nis-publickey.c: Likewise.
41250 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
41253 * nscd/aicache.c: Include res_hconf.h.
41254 (addhstaiX): Initialize res_hconf.
41256 2013-08-26 Andreas Schwab <schwab@suse.de>
41258 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
41259 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
41261 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
41263 * nscd/aicache.c (addhstaiX): Fix indentation.
41265 2013-08-25 Mike Frysinger <vapier@gentoo.org>
41267 * configure.ac: Quote $build_pt_chown test.
41268 * configure: Regenerated.
41270 2013-08-23 Joseph Myers <joseph@codesourcery.com>
41273 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
41274 * math/s_cexpf.c (__cexpf): Likewise.
41275 * math/s_cexpl.c (__cexpl): Likewise.
41276 * math/libm-test.inc (cexp_test_data): Correct expected return
41277 value for NaN + i0. Add another test.
41279 2013-08-22 David S. Miller <davem@davemloft.net>
41281 * po/ca.po: Update Catalan translation from translation project.
41282 * po/uk.po: Add Ukrainian translations from translation project.
41284 2013-08-21 Joseph Myers <joseph@codesourcery.com>
41287 * math/s_fdim.c (__fdim): Check for infinite arguments if result
41288 is infinite, not alongside NaN test.
41289 * math/s_fdimf.c (__fdimf): Likewise.
41290 * math/s_fdiml.c (__fdiml): Likewise.
41291 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
41292 errno is unchanged.
41294 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
41296 * argp/argp-help.c: Fix typos.
41297 * crypt/speeds.c: Likewise.
41298 * csu/check_fds.c: Likewise.
41299 * elf/dl-load.c: Likewise.
41300 * elf/dl-open.c: Likewise.
41301 * elf/reldep3.c: Likewise.
41302 * elf/reldep.c: Likewise.
41303 * elf/sprof.c: Likewise.
41304 * iconv/iconv_charmap.c: Likewise.
41305 * iconv/skeleton.c: Likewise.
41306 * iconv/strtab.c: Likewise.
41307 * io/lockf64.c: Likewise.
41308 * libio/libioP.h: Likewise.
41309 * resolv/gai_notify.c: Likewise.
41310 * resolv/ns_name.c: Likewise.
41311 * resolv/ns_samedomain.c: Likewise.
41312 * resolv/res_send.c: Likewise.
41313 * stdlib/random.c: Likewise.
41314 * sunrpc/rpc/xdr.h: Likewise.
41315 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
41316 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
41317 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
41318 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
41319 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
41320 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
41321 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
41322 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
41323 * sysdeps/mach/hurd/check_fds.c: Likewise.
41324 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
41325 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
41326 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
41327 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
41328 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
41329 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
41330 * sysdeps/pthread/aio_notify.c: Likewise.
41331 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
41332 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
41333 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
41334 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
41335 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
41337 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41339 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
41340 version if bit_Slow_SSE4_2 is set.
41341 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
41342 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
41344 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41347 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
41348 trampoline stack frame information.
41349 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
41350 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
41351 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
41352 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
41353 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
41354 * sysdeps/unix/sysv/linux/powerpc/init-first.c
41355 (_libc_vdso_platform_setup): Initialize the signal trampolines.
41356 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
41358 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
41359 interrupting a syscall and set with option SA_SIGINFO.
41361 2013-08-20 Joseph Myers <joseph@codesourcery.com>
41364 * math/s_cproj.c (__cproj): Only return an infinity if one part of
41365 argument is infinite.
41366 * math/s_cprojf.c (__cprojf): Likewise.
41367 * math/s_cprojl.c (__cprojl): Likewise.
41368 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
41369 * math/libm-test.inc (cproj_test_data): Add more tests.
41371 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
41373 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
41374 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
41375 size. Use __ffs to determine corresponding shift.
41377 2013-08-20 Joseph Myers <joseph@codesourcery.com>
41378 Roland McGrath <roland@hack.frob.com>
41380 * Makefile (INSTALL): Remove trailing blank lines from output of
41383 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41385 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
41386 Align 32 bit compat elf_greg to 8 bytes.
41388 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
41390 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
41392 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
41394 * string/strcoll_l.c (coll_seq): New structure.
41395 (get_next_seq_cached): New function.
41396 (get_next_seq): New function.
41397 (do_compare): New function.
41398 (STRCOLL): Use GNU style definition. Simplify implementation
41399 by using get_next_seq, get_next_seq_cached and do_compare.
41401 2013-08-16 Florian Weimer <fweimer@redhat.com>
41405 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
41407 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
41409 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
41410 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
41411 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
41413 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
41414 GETDENTS_64BIT_ALIGNED.
41415 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
41416 * manual/filesys.texi (Reading/Closing Directory): Document
41417 ENAMETOOLONG return value of readdir_r. Recommend readdir more
41419 * manual/conf.texi (Limits for Files): Add portability note to
41420 NAME_MAX, PATH_MAX.
41421 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
41423 2013-08-13 Andreas Schwab <schwab@suse.de>
41426 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
41428 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
41429 LDBL_MAX_EXP >= 16384]: Add tests for it.
41431 2013-08-12 David S. Miller <davem@davemloft.net>
41433 * version.h (RELEASE): Set to "development".
41434 (VERSION): Set to "2.18.90".
41435 * NEWS: Add 2.19 section.
41437 2013-08-03 David S. Miller <davem@davemloft.net>
41439 * po/ko.po: Update Korean translation from translation project.
41441 2013-08-01 David S. Miller <davem@davemloft.net>
41443 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
41444 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
41447 2013-07-30 David S. Miller <davem@davemloft.net>
41449 * po/fr.po: Update French translation from translation project.
41451 2013-07-28 David S. Miller <davem@davemloft.net>
41453 * po/cs.po: Update Czech translation from translation project.
41455 * po/sv.po: Update Swedish translation from translation project.
41457 2013-07-27 David S. Miller <davem@davemloft.net>
41459 * po/eo.po: Update Esperanto translation from translation project.
41461 * po/vi.po: Update Vietnamese translation from translation project.
41463 * po/de.po: Update German translation from translation project.
41465 2013-07-26 David S. Miller <davem@davemloft.net>
41467 * po/bg.po: Update Bulgarian translation from translation project.
41469 * po/nl.po: Update Dutch translation from translation project.
41470 * po/pl.po: Update Polish translation from translation project.
41471 * po/ru.po: Update Russian translation from translation project.
41473 2013-07-24 David S. Miller <davem@davemloft.net>
41475 * po/libc.pot: Update.
41477 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41479 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
41480 variable page size.
41481 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
41482 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
41483 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
41485 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41487 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
41489 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
41490 Andreas Schwab <schwab@suse.de>
41491 Roland McGrath <roland@hack.frob.com>
41492 Joseph Myers <joseph@codesourcery.com>
41493 Carlos O'Donell <carlos@redhat.com>
41496 * config.h.in: Define HAVE_PT_CHOWN.
41497 * config.make.in (build-pt-chown): New variable.
41498 * configure.in (--enable-pt_chown): New configure option.
41499 * configure: Regenerate.
41500 * login/Makefile: Include Makeconfig. Build pt_chown only if
41501 build-pt-chown is enabled.
41502 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
41503 pt_chown to fix pty ownership.
41504 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
41506 * manual/install.texi (Configuring and compiling): Mention
41507 --enable-pt_chown. Add @findex for grantpt.
41508 * INSTALL: Regenerate.
41510 2013-07-20 David S. Miller <davem@davemloft.net>
41512 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
41513 difference between 32-bit and 64-bit.
41515 2013-07-15 Carlos O'Donell <carlos@redhat.com>
41518 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
41519 Avoid system header dependency with -ffreestanding.
41520 ($(objpfx)bits/syscall%d): Likewise.
41522 2013-07-13 David S. Miller <davem@davemloft.net>
41524 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
41525 underflows from atanl/atan2l due to bug 15319.
41526 (casinh_test_data): Likewise.
41528 2013-07-07 David S. Miller <davem@davemloft.net>
41530 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
41532 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
41534 * sysdeps/i386/fpu/libm-test-ulps: Update.
41535 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41537 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
41539 * configure.in (--enable-lock-elision): Fix message text.
41540 * INSTALL: Regenerate.
41541 * configure: Regenerate.
41543 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41545 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41547 2013-07-03 Andreas Jaeger <aj@suse.de>
41549 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
41551 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
41552 (ptrace_peeksiginfo_args): Add.
41553 (__ptrace_peeksiginfo_flags): Add.
41554 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
41555 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
41556 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
41558 2013-07-03 Allan McRae <allan@archlinux.org>
41560 * sysdeps/i386/fpu/libm-test-ulps: Update.
41562 2013-07-02 David S. Miller <davem@davemloft.net>
41564 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41566 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
41568 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41570 2013-07-02 Joseph Myers <joseph@codesourcery.com>
41572 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
41573 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41575 2013-07-02 Andi Kleen <ak@linux.intel.com>
41577 * config.h.in (ENABLE_LOCK_ELISION): Add.
41578 * configure.in (--enable-lock-elision): Add option.
41579 * manual/install.texi: Document --enable lock elision.
41580 * configure: Regenerate
41581 * INSTALL: Regenerate.
41583 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
41585 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
41586 SSE4.2 strcasecmp for libc.a.
41587 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
41589 2013-07-02 Joseph Myers <joseph@codesourcery.com>
41592 * soft-fp/op-common.h (_FP_FMA): New macro.
41593 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
41594 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
41595 (_FP_MUL_MEAT_1_imm): ... here.
41596 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
41597 (_FP_MUL_MEAT_1_wide): ... here.
41598 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
41599 (_FP_MUL_MEAT_1_hard): ... here.
41600 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
41601 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
41602 (_FP_MUL_MEAT_2_wide): ... here.
41603 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
41604 (_FP_MUL_MEAT_2_wide_3mul): ... here.
41605 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
41606 (_FP_MUL_MEAT_2_gmp): ... here.
41607 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
41608 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
41609 (_FP_MUL_MEAT_4_wide): ... here.
41610 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
41611 (_FP_MUL_MEAT_4_gmp): ... here.
41612 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
41613 (_FP_WFRACBITS_DW_S): Likewise.
41614 (_FP_WFRACXBITS_DW_S): Likewise.
41615 (_FP_HIGHBIT_DW_S): Likewise.
41616 (FP_FMA_S): Likewise.
41617 (_FP_FRAC_HIGH_DW_S): Likewise.
41618 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
41619 (_FP_WFRACBITS_DW_D): Likewise.
41620 (_FP_WFRACXBITS_DW_D): Likewise.
41621 (_FP_HIGHBIT_DW_D): Likewise.
41622 (FP_FMA_D): Likewise.
41623 (_FP_FRAC_HIGH_DW_D): Likewise.
41624 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
41625 (_FP_WFRACBITS_DW_E): Likewise.
41626 (_FP_WFRACXBITS_DW_E): Likewise.
41627 (_FP_HIGHBIT_DW_E): Likewise.
41628 (FP_FMA_E): Likewise.
41629 (_FP_FRAC_HIGH_DW_E): Likewise.
41630 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
41631 (_FP_WFRACBITS_DW_Q): Likewise.
41632 (_FP_WFRACXBITS_DW_Q): Likewise.
41633 (_FP_HIGHBIT_DW_Q): Likewise.
41634 (FP_FMA_Q): Likewise.
41635 (_FP_FRAC_HIGH_DW_Q): Likewise.
41636 * soft-fp/fmasf4.c: New file.
41637 * soft-fp/fmadf4.c: Likewise.
41638 * soft-fp/fmatf4.c: Likewise.
41640 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41642 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
41643 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
41645 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
41647 (index_Slow_SSE4_2): Likewise.
41648 (index_Prefer_PMINUB_for_stringop): Likewise.
41649 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
41650 bit_Slow_SSE4_2 is set.
41651 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
41652 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
41654 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
41656 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
41657 rtld_global._dl_hwcap2.
41658 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
41660 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
41661 POWER8 feature descriptions defined in _dl_hwcap2.
41662 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
41663 string handling for POWER8 feature bits.
41664 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
41665 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
41666 _dl_powerpc_cap_flags.
41667 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
41668 * sysdeps/powerpc/rtld-global-offsets.sym
41669 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
41670 _dl_hwcap2 in the rtld_global_ro structure.
41672 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
41674 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
41675 hardware capabilities in support of AT_HWCAP2.
41676 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
41677 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
41679 (_dl_show_auxv): Add support for calling _dl_procinfo to display
41680 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
41681 explicitly the unknown a_type display mechanism is used.
41682 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
41683 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
41685 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
41686 to macro prototype for AT_HWCAP2 support.
41687 * sysdeps/i386/dl-procinfo.h: Likewise.
41688 * sysdeps/s390/dl-procinfo.h: Likewise.
41689 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
41690 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
41691 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
41692 return -1 for unknown a_type display fallback.
41693 * sysdeps/sparc/dl-procinfo.h: Likewise.
41694 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
41695 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
41697 2013-06-28 Joseph Myers <joseph@codesourcery.com>
41699 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
41700 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
41702 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
41705 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
41706 mprotect making __stack_prot writable.
41708 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
41709 Joseph Myers <joseph@codesourcery.com>
41711 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
41712 as being properly aligned.
41714 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
41716 * dlfcn/modstatic5.c: New file.
41717 * dlfcn/tststatic5.c: New file.
41718 * dlfcn/Makefile (tests): Add tststatic5.
41719 (tests-static): Likewise.
41720 (modules-names): Add modstatic5.
41721 (tststatic5-ENV): New variable.
41722 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
41725 * elf/dl-support.c (_dl_main_map): New variable.
41726 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
41727 (_dl_nns, _dl_load_adds): Set to 1.
41728 (_dl_initial_searchlist): Refer to _dl_main_map.
41729 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
41730 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
41731 call to _dl_get_origin.
41732 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
41734 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
41735 * dlfcn/modstatic3.c: New file.
41736 * dlfcn/tststatic3.c: New file.
41737 * dlfcn/tststatic4.c: New file.
41738 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
41739 (tests-static): Likewise.
41740 (modules-names): Add modstatic3.
41741 (tststatic3-ENV, tststatic4-ENV): New variables.
41742 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
41743 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
41745 2013-06-26 Joseph Myers <joseph@codesourcery.com>
41747 * configure.in (CC): Require GCC version 4.4 or later.
41748 * configure: Regenerated.
41749 * manual/install.texi (Tools for Compilation): Update GCC version
41751 * INSTALL: Regenerated.
41753 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41756 * string/test-memcmp.c (check2): New.
41757 (main): Call check2.
41759 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
41761 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
41764 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
41766 (dl_open_worker) [!SHARED]: ... here.
41768 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
41770 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
41772 2013-06-25 Richard Henderson <rth@redhat.com>
41774 * locale/programs/locarchive.c: Include <libc-internal.h>
41776 2013-06-25 Joseph Myers <joseph@codesourcery.com>
41778 * manual/texinfo.tex: Update to version 2013-06-21.17, with
41779 trailing whitespace removed.
41781 2013-06-24 Mike Frysinger <vapier@gentoo.org>
41784 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
41785 * locale/programs/locarchive.c: Include libc-mmap.h.
41786 (prepare_address_space): Take two new outputs (the mmap base and len).
41787 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
41789 (create_archive): Declare new mmap base and len values for
41790 prepare_address_space, and store the result in ah.
41791 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
41792 (enlarge_archive): If ah->mmap_base is not NULL, use that and
41793 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
41794 Declare new mmap base and len values for
41795 prepare_address_space, and store the result in new_ah.
41796 (open_archive): Declare new mmap base and len values for
41797 prepare_address_space, and store the result in ah.
41798 (close_archive): If ah->mmap_base is not NULL, use that and
41799 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
41800 * sysdeps/generic/libc-mmap.h: New file.
41802 2013-06-24 Mike Frysinger <vapier@gentoo.org>
41804 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
41805 (ALIGN_UP): Likewise.
41806 (PTR_ALIGN_DOWN): Likewise.
41807 (PTR_ALIGN_UP): Likewise.
41809 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
41811 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
41812 entry mapped to PPC_PLATFORM_POWER8.
41813 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
41815 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
41816 (_dl_string_platform): Add case for exporting platform position for
41818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
41819 search path to sysdeps/powerpc/powerpc32/power8 directory.
41820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
41821 search path to sysdeps/powerpc/powerpc64/power8 directory.
41822 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
41823 power7 directories.
41824 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
41825 power7 directories.
41827 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
41829 * INSTALL: Regenerate.
41831 * nscd/connections.c (nscd_init): Fix comment.
41833 2013-06-22 Joseph Myers <joseph@codesourcery.com>
41835 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
41838 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
41839 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
41841 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
41843 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
41845 (DL_DST_REQ_STATIC): Remove macro.
41847 2013-06-21 Joseph Myers <joseph@codesourcery.com>
41850 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
41851 with a shift of 0 bits.
41853 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
41855 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
41858 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
41861 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
41863 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41865 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
41866 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
41867 accepts -fno-tree-loop-distribute-patterns.
41868 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
41869 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
41871 * string/memset.c (memset): Likewise.
41872 * string/test-memmove.c (simple_memmove): Disable loop transformation
41874 * string/test-memset.c (simple_memset): Likewise.
41875 * benchtests/bench-memmove.c (simple_memmove): Likewise.
41876 * benchtests/bench-memset.c (simple_memset): Likewise.
41877 * configure: Regenerated.
41879 2013-06-20 Joseph Myers <joseph@codesourcery.com>
41881 * math/test-misc.c (main): Ignore fesetround failure when failures
41882 of subsequent rounding tests would be ignored.
41885 * math/fedisblxcpt.c (fedisableexcept): Return 0.
41886 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
41887 * math/fegetenv.c (__fegetenv): Return 0.
41888 * math/fegetexcept.c (fegetexcept): Return 0.
41889 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
41891 * math/feholdexcpt.c (feholdexcept): Return 0.
41892 * math/fesetenv.c (__fesetenv): Return 0.
41893 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
41894 argument FE_TONEAREST.
41895 * math/feupdateenv.c (__feupdateenv): Return 0.
41896 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
41898 2013-06-18 Roland McGrath <roland@hack.frob.com>
41900 * elf/rtld-Rules (rtld-compile-command.S): New variable.
41901 (rtld-compile-command.s, rtld-compile-command.c): New variables.
41902 ($(objpfx)rtld-%.os rules): Use them.
41904 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41906 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
41909 2013-06-17 Roland McGrath <roland@hack.frob.com>
41911 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
41912 length of target pattern, then descending length of dependency pattern.
41913 * configure.in (AWK): Require gawk 3.1.2 or newer.
41914 * manual/install.texi (Tools for Compilation): Say that we do.
41915 * configure: Regenerated.
41917 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
41918 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
41919 * scripts/sysd-rules.awk: ... this new script.
41920 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
41921 than a glob-style pattern.
41923 2013-06-17 Joseph Myers <joseph@codesourcery.com>
41925 * math/test-misc.c (main): Do not treat incorrectly rounded
41926 conversions as failure unless ROUNDING_TESTS passes.
41928 2013-06-15 Joseph Myers <joseph@codesourcery.com>
41931 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
41932 restore exception state around main square root computation, then
41933 check for inexactness explicitly.
41935 * math/libm-test.inc (fma_test_data): Add another test.
41937 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
41939 * manual/threads.texi (Non-POSIX Extensions): New document
41940 node. Document pthread_getattr_default_np and
41941 pthread_setattr_default_np.
41943 * Versions.def (libpthread): Add GLIBC_2.18.
41944 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
41945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
41947 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
41949 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
41951 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
41953 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
41955 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
41957 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
41959 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
41961 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
41964 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41966 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41967 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
41969 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
41970 H.J. Lu <hjl.tools@gmail.com>
41973 * sysdeps/x86_64/rtld-memset.c: Remove file.
41974 * sysdeps/x86_64/rtld-memset.S: New file.
41976 2013-06-14 Joseph Myers <joseph@codesourcery.com>
41978 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
41979 (test_in_one_mode): Take arguments for whether the rounding mode
41980 is supported for each floating-point type.
41981 (do_test): Pass new arguments to test_in_one_mode using
41984 2013-06-13 Roland McGrath <roland@hack.frob.com>
41986 * posix/tst-waitid.c (do_test): Distinguish different instances of
41987 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
41988 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
41989 before entering the kernel for waitpid.
41991 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
41993 * NEWS: Fix note on clock function precision. Text by Roland
41996 2013-06-13 Roland McGrath <roland@hack.frob.com>
41998 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
41999 it into place only when and if the sanity check passes.
42001 2013-06-13 Joseph Myers <joseph@codesourcery.com>
42003 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
42004 output for whether conversion result is exact. Take argument
42005 indicating whether type is IBM long double.
42006 (round_for_all): Change need_exact field to ibm_ld.
42007 * stdlib/tst-strtod-round.c (struct exactness): New type.
42008 (struct test): Change bool ld_ok field to struct exactness exact.
42009 (TEST): Update all definitions for change to field.
42010 (tests): Regenerate array contents.
42011 (test_in_one_mode): Take pointer to new field instead of old ld_ok
42012 field value. Check for IBM long double here.
42013 (do_test): Update calls to test_in_one_mode.
42015 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
42018 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
42019 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
42021 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42024 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
42025 generated by the compiler on loop optimizations.
42026 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
42027 general definitions.
42029 2013-06-12 Joseph Myers <joseph@codesourcery.com>
42031 * math/bug-nextafter.c: Include <math-tests.h>.
42032 (main): Only test for exceptions if EXCEPTION_TESTS is true for
42034 * math/bug-nexttoward.c: Include <math-tests.h>.
42035 (main): Only test for exceptions if EXCEPTION_TESTS is true for
42037 * math/test-misc.c: Include <math-tests.h>.
42038 (main): Only test for exceptions if EXCEPTION_TESTS is true for
42041 2013-06-12 Andreas Jaeger <aj@suse.de>
42043 * po/ia.po: Update Interlingua translation from translation
42046 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
42048 * include/fenv.h: Include stdbool.h.
42049 (struct rm_ctx): New structure.
42050 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
42052 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
42053 (SET_RESTORE_ROUNDF): Likewise.
42054 (SET_RESTORE_ROUNDL): Likewise.
42055 (SET_RESTORE_ROUND_NOEX): Likewise.
42056 (SET_RESTORE_ROUND_NOEXF): Likewise.
42057 (SET_RESTORE_ROUND_NOEXL): Likewise.
42058 (SET_RESTORE_ROUND_53BIT): Likewise.
42059 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
42060 (libc_feresetround_noexf_ctx): Likewise.
42061 (libc_feresetround_noexl_ctx): Likewise.
42062 (libc_feholdsetround_53bit_ctx): Likewise.
42063 (libc_feresetround_53bit_ctx): Likewise.
42064 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
42065 (libc_feholdexcept_setround_sse_ctx): New function.
42066 (libc_fesetenv_sse_ctx): Likewise.
42067 (libc_feupdateenv_sse_ctx): Likewise.
42068 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
42069 (libc_feholdexcept_setround_387_ctx): Likewise.
42070 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
42071 (libc_feholdsetround_387_prec_ctx): Likewise.
42072 (libc_feholdsetround_387_ctx): Likewise.
42073 (libc_feholdsetround_387_53bit_ctx): Likewise.
42074 (libc_feholdsetround_sse_ctx): Likewise.
42075 (libc_feresetround_sse_ctx): Likewise.
42076 (libc_feresetround_387_ctx): Likewise.
42077 (libc_feupdateenv_387_ctx): Likewise.
42078 (libc_feholdexcept_setroundf_ctx): Define macro.
42079 (libc_fesetenvf_ctx): Likewise.
42080 (libc_feupdateenvf_ctx): Likewise.
42081 (libc_feholdsetroundf_ctx): Likewise.
42082 (libc_feresetroundf_ctx): Likewise.
42083 (libc_feholdexcept_setround_ctx): Likewise.
42084 (libc_fesetenv_ctx): Likewise.
42085 (libc_feupdateenv_ctx): Likewise.
42086 (libc_feholdsetround_ctx): Likewise.
42087 (libc_feresetround_ctx): Likewise.
42088 (libc_feholdexcept_setroundl_ctx): Likewise.
42089 (libc_feupdateenvl_ctx): Likewise.
42090 (libc_feholdsetroundl_ctx): Likewise.
42091 (libc_feresetroundl_ctx): Likewise.
42092 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
42093 (libc_feresetround_53bit_ctx): Likewise.
42095 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
42097 * locale/iso-639.def: Convert to UTF-8.
42099 2013-06-11 Joseph Myers <joseph@codesourcery.com>
42101 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
42102 (EXCEPTION_TESTS_double): Likewise.
42103 (EXCEPTION_TESTS_long_double): Likewise.
42104 (EXCEPTION_TESTS): Likewise.
42105 * math/libm-test.inc (test_exceptions): Only test exceptions if
42106 EXCEPTION_TESTS (FLOAT).
42108 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
42110 * benchtests/Makefile (string-bench): Add strcpy_chk and
42112 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
42113 * benchtests/bench-stpcpy_chk.c: New file.
42114 * benchtests/bench-strcpy_chk-ifunc.c: New file.
42115 * benchtests/bench-strcpy_chk.c: New file.
42116 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
42118 (do_test): Likewise.
42120 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
42122 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
42123 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
42124 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
42125 with tabs where appropriate.
42126 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
42128 [PPC_PLATFORM_PPC440]: Likewise.
42129 [PPC_PLATFORM_PPC464]: Likewise.
42130 [PPC_PLATFORM_PPC476]: Likewise.
42131 (_dl_string_platform): Add support for detecting ppc405, ppc440,
42132 ppc464, and ppc476 platform strings merging from ports/
42135 2013-06-11 Andreas Schwab <schwab@suse.de>
42138 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
42139 (from_ucs4_idx): Regenerate.
42140 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
42141 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
42142 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
42143 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
42144 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
42145 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
42146 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
42147 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
42148 from FROM_LOOP and TO_LOOP specific macros.
42149 (BODY): Handle combining characters.
42150 * iconvdata/BIG5HKSCS.irreversible: Update.
42151 * iconvdata/BIG5HKSCS.precomposed: New file.
42152 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
42154 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
42156 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
42158 * include/sys/time.h: Fix indentation and add copyright header.
42160 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
42161 (do_test): Likewise.
42162 * string/test-memchr.c (do_one_test): Likewise.
42163 (do_test): Likewise.
42164 * string/test-memcmp.c (do_one_test): Likewise.
42165 (do_test): Likewise.
42166 * string/test-memcpy.c (do_one_test): Likewise.
42167 (do_test): Likewise.
42168 * string/test-memmem.c (do_one_test): Likewise.
42169 (do_test): Likewise.
42170 (do_random_tests): Likewise.
42171 * string/test-memmove.c (do_one_test): Likewise.
42172 (do_test): Likewise.
42173 * string/test-memset.c (do_one_test): Likewise.
42174 (do_test): Likewise.
42175 * string/test-rawmemchr.c (do_one_test): Likewise.
42176 (do_test): Likewise.
42177 * string/test-strcasecmp.c (do_one_test): Likewise.
42178 (do_test): Likewise.
42179 * string/test-strcasestr.c (do_one_test): Likewise.
42180 (do_test): Likewise.
42181 * string/test-strcat.c (do_one_test): Likewise.
42182 (do_test): Likewise.
42183 * string/test-strchr.c (do_one_test): Likewise.
42184 (do_test): Likewise.
42185 * string/test-strcmp.c (do_one_test): Likewise.
42186 (do_test): Likewise.
42187 * string/test-strcpy.c (do_one_test): Likewise.
42188 (do_test): Likewise.
42189 * string/test-string.h: Likewise.
42190 (test_init): Likewise.
42191 * string/test-strlen.c (do_one_test): Likewise.
42192 (do_test): Likewise.
42193 * string/test-strncasecmp.c (do_one_test): Likewise.
42194 (do_test): Likewise.
42195 * string/test-strncat.c (do_one_test): Likewise.
42196 (do_test): Likewise.
42197 * string/test-strncmp.c (do_one_test): Likewise.
42198 (do_test_limit): Likewise.
42199 (do_test): Likewise.
42200 * string/test-strncpy.c (do_one_test): Likewise.
42201 (do_test): Likewise.
42202 * string/test-strnlen.c (do_one_test): Likewise.
42203 (do_test): Likewise.
42204 * string/test-strpbrk.c (do_one_test): Likewise.
42205 (do_test): Likewise.
42206 * string/test-strrchr.c (do_one_test): Likewise.
42207 (do_test): Likewise.
42208 * string/test-strspn.c (do_one_test): Likewise.
42209 (do_test): Likewise.
42210 * string/test-strstr.c (do_one_test): Likewise.
42211 (do_test): Likewise.
42213 * benchtests/Makefile (string-bench): Add string benchmarks.
42214 * benchtests/bench-bcopy-ifunc.c: New file.
42215 * benchtests/bench-bcopy.c: New file.
42216 * benchtests/bench-bzero-ifunc.c: New file.
42217 * benchtests/bench-bzero.c: New file.
42218 * benchtests/bench-memccpy-ifunc.c: New file.
42219 * benchtests/bench-memccpy.c: New file.
42220 * benchtests/bench-memchr-ifunc.c: New file.
42221 * benchtests/bench-memchr.c: New file.
42222 * benchtests/bench-memcmp-ifunc.c: New file.
42223 * benchtests/bench-memcmp.c: New file.
42224 * benchtests/bench-memmem-ifunc.c: New file.
42225 * benchtests/bench-memmem.c: New file.
42226 * benchtests/bench-memmove-ifunc.c: New file.
42227 * benchtests/bench-memmove.c: New file.
42228 * benchtests/bench-mempcpy-ifunc.c: New file.
42229 * benchtests/bench-mempcpy.c: New file.
42230 * benchtests/bench-memset-ifunc.c: New file.
42231 * benchtests/bench-memset.c: New file.
42232 * benchtests/bench-rawmemchr-ifunc.c: New file.
42233 * benchtests/bench-rawmemchr.c: New file.
42234 * benchtests/bench-stpcpy-ifunc.c: New file.
42235 * benchtests/bench-stpcpy.c: New file.
42236 * benchtests/bench-stpncpy-ifunc.c: New file.
42237 * benchtests/bench-stpncpy.c: New file.
42238 * benchtests/bench-strcasecmp-ifunc.c: New file.
42239 * benchtests/bench-strcasecmp.c: New file.
42240 * benchtests/bench-strcasestr-ifunc.c: New file.
42241 * benchtests/bench-strcasestr.c: New file.
42242 * benchtests/bench-strcat-ifunc.c: New file.
42243 * benchtests/bench-strcat.c: New file.
42244 * benchtests/bench-strchr-ifunc.c: New file.
42245 * benchtests/bench-strchr.c: New file.
42246 * benchtests/bench-strchrnul-ifunc.c: New file.
42247 * benchtests/bench-strchrnul.c: New file.
42248 * benchtests/bench-strcmp-ifunc.c: New file.
42249 * benchtests/bench-strcmp.c: New file.
42250 * benchtests/bench-strcpy-ifunc.c: New file.
42251 * benchtests/bench-strcpy.c: New file.
42252 * benchtests/bench-strcspn-ifunc.c: New file.
42253 * benchtests/bench-strcspn.c: New file.
42254 * benchtests/bench-strlen-ifunc.c: New file.
42255 * benchtests/bench-strlen.c: New file.
42256 * benchtests/bench-strncasecmp-ifunc.c: New file.
42257 * benchtests/bench-strncasecmp.c: New file.
42258 * benchtests/bench-strncat-ifunc.c: New file.
42259 * benchtests/bench-strncat.c: New file.
42260 * benchtests/bench-strncmp-ifunc.c: New file.
42261 * benchtests/bench-strncmp.c: New file.
42262 * benchtests/bench-strncpy-ifunc.c: New file.
42263 * benchtests/bench-strncpy.c: New file.
42264 * benchtests/bench-strnlen-ifunc.c: New file.
42265 * benchtests/bench-strnlen.c: New file.
42266 * benchtests/bench-strpbrk-ifunc.c: New file.
42267 * benchtests/bench-strpbrk.c: New file.
42268 * benchtests/bench-strrchr-ifunc.c: New file.
42269 * benchtests/bench-strrchr.c: New file.
42270 * benchtests/bench-strspn-ifunc.c: New file.
42271 * benchtests/bench-strspn.c: New file.
42272 * benchtests/bench-strstr-ifunc.c: New file.
42273 * benchtests/bench-strstr.c: New file.
42275 * benchtests/Makefile: Disable parallel execution of targets.
42276 (string-bench): Add memcpy.
42277 (benchset): New variable to store a list of benchmark sets.
42278 (bench-func): Renamed from bench.
42279 (bench-set): New target.
42280 (bench): Depend on bench-func and bench-set.
42281 * benchtests/README: Add section on benchmark sets.
42282 * benchtests/bench-memcpy-ifunc.c: New file.
42283 * benchtests/bench-memcpy.c: New file.
42284 * benchtests/bench-string.h: New file.
42286 2013-06-11 Andreas Schwab <schwab@suse.de>
42289 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
42290 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
42291 values in the triple.
42292 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
42293 terminator in the group key.
42295 2013-06-11 Andreas Jaeger <aj@suse.de>
42297 * po/zh_TW.po: Update Chinese (traditional) translation from
42298 translation project.
42300 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
42302 * include/time.h (__clock_gettime): Add libc_hidden_proto.
42303 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
42304 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
42305 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
42306 (clock_getcpuclockid): Likewise.
42307 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
42308 Add weak_alias and libc_hidden_def.
42309 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
42310 * rt/clock_gettime.c (clock_gettime): Rename to
42311 __clock_gettime. Add weak_alias and libc_hidden_def.
42312 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
42313 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
42314 __clock_nanosleep. Add weak_alias and libc_hidden_def.
42315 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
42316 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
42318 * rt/clock_settime.c (clock_settime): Rename to
42319 __clock_settime. Add weak_alias and libc_hidden_def.
42320 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
42322 2013-06-10 Joseph Myers <joseph@codesourcery.com>
42324 * mach/err_boot.sub: Remove trailing whitespace.
42325 * mach/err_ipc.sub: Likewise.
42326 * mach/err_mach.sub: Likewise.
42328 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
42329 (ROUNDING_TESTS_double): Likewise.
42330 (ROUNDING_TESTS_long_double): Likewise.
42331 (ROUNDING_TESTS): Likewise.
42332 * math/libm-test.inc: Include <math-tests.h>.
42333 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
42334 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
42335 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
42336 (IF_ROUND_INIT_FE_UPWARD): Likewise.
42338 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
42340 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
42343 2013-06-08 Joseph Myers <joseph@codesourcery.com>
42345 * sysdeps/gnu/errlist.awk: Do not generate space at end of
42346 otherwise empty TRANS lines.
42347 * sysdeps/gnu/errlist.c: Regenerated.
42349 * catgets/gencat.c (error_print): Use (void) in function
42351 * crypt/crypt_util.c (__init_des): Likewise.
42352 * crypt/speeds.c (Stop): Likewise.
42354 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
42355 * inet/ruserpass.c (token): Likewise.
42356 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
42357 * intl/localealias.c (extend_alias_table): Likewise.
42358 * intl/plural-exp.c (init_germanic_plural): Likewise.
42359 * libio/fcloseall.c (__fcloseall): Likewise.
42360 * libio/genops.c (_IO_flush_all): Likewise.
42361 (_IO_flush_all_linebuffered): Likewise.
42362 (_IO_cleanup): Likewise.
42363 (_IO_iter_begin): Likewise.
42364 (_IO_iter_end): Likewise.
42365 (_IO_list_lock): Likewise.
42366 (_IO_list_unlock): Likewise.
42367 (_IO_list_resetlock): Likewise.
42368 * libio/getchar.c (getchar): Likewise.
42369 * libio/getchar_u.c (getchar_unlocked): Likewise.
42370 * libio/getwchar.c (getwchar): Likewise.
42371 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
42372 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
42373 * login/getpt.c (__getpt): Likewise.
42374 * login/tst-utmp.c (main): Likewise.
42375 * malloc/hooks.c (__malloc_check_init): Likewise.
42376 * malloc/malloc.c (__malloc_stats): Likewise.
42377 * malloc/mtrace.c (tr_break): Likewise.
42378 (mtrace): Likewise.
42379 (muntrace): Likewise.
42380 * misc/fstab.c (endfsent): Likewise.
42381 * misc/getclktck.c (__getclktck): Likewise.
42382 * misc/getdtsz.c (__getdtablesize): Likewise.
42383 * misc/gethostid.c (gethostid): Likewise.
42384 * misc/getpagesize.c (__getpagesize): Likewise.
42385 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
42386 (__get_nprocs): Likewise.
42387 (__get_phys_pages): Likewise.
42388 (__get_avphys_pages): Likewise.
42389 * misc/getttyent.c (getttyent): Likewise.
42390 (setttyent): Likewise.
42391 (endttyent): Likewise.
42392 * misc/getusershell.c (getusershell): Likewise.
42393 (endusershell): Likewise.
42394 (setusershell): Likewise.
42395 (initshells): Likewise.
42396 * misc/hsearch.c (__hdestroy): Likewise.
42397 * misc/sync.c (sync): Likewise.
42398 * misc/syslog.c (closelog_internal): Likewise.
42399 (closelog): Likewise.
42400 * misc/ttyslot.c (ttyslot): Likewise.
42401 * misc/vhangup.c (vhangup): Likewise.
42402 * posix/fork.c (__fork): Likewise.
42403 * posix/getegid.c (__getegid): Likewise.
42404 * posix/geteuid.c (__geteuid): Likewise.
42405 * posix/getgid.c (__getgid): Likewise.
42406 * posix/getpid.c (__getpid): Likewise.
42407 * posix/getppid.c (__getppid): Likewise.
42408 * posix/getuid.c (__getuid): Likewise.
42409 * posix/pause.c (pause): Likewise.
42410 * posix/setpgrp.c (setpgrp): Likewise.
42411 * posix/setsid.c (__setsid): Likewise.
42412 * posix/test-vfork.c (noop): Likewise.
42413 * resolv/gethnamaddr.c (_endhtent): Likewise.
42414 (_gethtent): Likewise.
42415 (ht_endhostent): Likewise.
42416 (gethostent): Likewise.
42417 (dns_service): Likewise.
42418 * stdlib/drand48.c (drand48): Likewise.
42419 * stdlib/lrand48.c (lrand48): Likewise.
42420 * stdlib/mrand48.c (mrand48): Likewise.
42421 * stdlib/rand.c (rand): Likewise.
42422 * stdlib/random.c (__random): Likewise.
42423 * stdlib/setenv.c (clearenv): Likewise.
42424 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
42425 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
42426 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
42427 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
42428 (__get_nprocs): Likewise.
42429 (__get_phys_pages): Likewise.
42430 (__get_avphys_pages): Likewise.
42431 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
42432 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
42433 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
42434 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
42435 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
42436 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
42437 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
42438 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
42439 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
42440 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
42441 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
42442 * sysdeps/mach/hurd/sync.c (sync): Likewise.
42443 * sysdeps/posix/clock.c (clock): Likewise.
42444 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
42445 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
42446 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
42447 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
42448 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
42449 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
42450 (__get_nprocs_conf): Likewise.
42451 (__get_phys_pages): Likewise.
42452 (__get_avphys_pages): Likewise.
42453 * time/clock.c (clock): Likewise.
42454 * time/tzset.c (__tzname_max): Likewise.
42456 2013-06-07 Joseph Myers <joseph@codesourcery.com>
42458 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
42459 (__bswap_32): Do not use "register".
42460 * crypt/crypt.c (_ufc_doit_r): Likewise.
42461 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
42462 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
42463 * gmon/gmon.c (__monstartup): Likewise.
42464 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
42465 * hurd/hurdmalloc.c (more_memory): Likewise.
42466 (malloc): Likewise.
42468 (realloc): Likewise.
42469 (malloc_fork_prepare): Likewise.
42470 (malloc_fork_parent): Likewise.
42471 (malloc_fork_child): Likewise.
42472 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
42473 (_svcauth_des): Likewise.
42474 * inet/inet_lnaof.c (inet_lnaof): Likewise.
42475 * inet/inet_net.c (inet_network): Likewise.
42476 * inet/inet_netof.c (inet_netof): Likewise.
42477 * inet/rcmd.c (__validuser2_sa): Likewise.
42478 * io/fts.c (fts_open): Likewise.
42479 (fts_load): Likewise.
42480 (fts_close): Likewise.
42481 (fts_read): Likewise.
42482 (fts_children): Likewise.
42483 (fts_build): Likewise.
42484 (fts_stat): Likewise.
42485 (fts_sort): Likewise.
42486 (fts_alloc): Likewise.
42487 (fts_lfree): Likewise.
42488 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
42489 (_IO_file_xsgetn): Likewise.
42490 (_IO_file_xsgetn_mmap): Likewise.
42491 * libio/iofopncook.c (_IO_cookie_read): Likewise.
42492 (_IO_cookie_write): Likewise.
42493 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
42494 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
42495 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
42496 * malloc/obstack.c (_obstack_begin): Likewise.
42497 (_obstack_begin_1): Likewise.
42498 (_obstack_newchunk): Likewise.
42499 (_obstack_allocated_p): Likewise.
42500 (obstack_free): Likewise.
42501 (_obstack_memory_used): Likewise.
42502 * misc/getttyent.c (getttynam): Likewise.
42503 (getttyent): Likewise.
42506 * misc/getusershell.c (initshells): Likewise.
42507 * misc/syslog.c (__vsyslog_chk): Likewise.
42508 * misc/ttyslot.c (ttyslot): Likewise.
42509 * nis/nis_hash.c (__nis_hash): Likewise.
42510 * posix/fnmatch_loop.c (FCT): Likewise.
42511 * posix/getconf.c (print_all): Likewise.
42513 * posix/getopt.c (exchange): Likewise.
42514 * posix/glob.c (globfree): Likewise.
42515 (prefix_array): Likewise.
42516 (__glob_pattern_type): Likewise.
42517 * resolv/arpa/nameser.h (NS_GET16): Likewise.
42518 (NS_GET32): Likewise.
42519 (NS_PUT16): Likewise.
42520 (NS_PUT32): Likewise.
42521 * resolv/gethnamaddr.c (getanswer): Likewise.
42522 (gethostbyname2): Likewise.
42523 (gethostbyaddr): Likewise.
42524 (_gethtent): Likewise.
42525 (_gethtbyname2): Likewise.
42526 (_gethtbyaddr): Likewise.
42527 * resolv/ns_print.c (dst_s_get_int16): Likewise.
42528 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
42529 * resolv/res_init.c (__res_vinit): Likewise.
42530 (net_mask): Likewise.
42531 * resolv/res_mkquery.c (outchar): Likewise.
42533 * stdio-common/printf_fp.c (outchar): Likewise.
42535 * stdio-common/printf_fphex.c (outchar): Likewise.
42537 * stdio-common/printf_size.c (outchar): Likewise.
42539 * stdio-common/test_rdwr.c (main): Likewise.
42540 * stdio-common/tfformat.c (matches): Likewise.
42541 * stdio-common/vfprintf.c (outchar): Likewise.
42542 (printf_unknown): Likewise.
42543 (buffered_vfprintf): Likewise.
42544 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
42545 * stdio-common/xbug.c (AppendToBuffer): Likewise.
42546 (ReadFile): Likewise.
42547 * stdlib/qsort.c (SWAP): Likewise.
42548 (_quicksort): Likewise.
42549 * stdlib/setenv.c (__add_to_environ): Likewise.
42550 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
42551 * stdlib/strtol_l.c (__strtol_l): Likewise.
42552 * stdlib/tst-strtod.c (main): Likewise.
42553 * stdlib/tst-strtol.c (main): Likewise.
42554 * stdlib/tst-strtoll.c (main): Likewise.
42555 * string/bits/string2.h (__strcmp_cc): Likewise.
42556 (__strcmp_cg): Likewise.
42557 (__strcspn_c1): Likewise.
42558 (__strcspn_c2): Likewise.
42559 (__strcspn_c3): Likewise.
42560 (__strspn_c1): Likewise.
42561 (__strspn_c2): Likewise.
42562 (__strspn_c3): Likewise.
42563 (__strsep_1c): Likewise.
42564 (__strsep_2c): Likewise.
42565 (__strsep_3c): Likewise.
42566 * string/memccpy.c (__memccpy): Likewise.
42567 * string/stpcpy.c (__stpcpy): Likewise.
42568 * string/strcmp.c (strcmp): Likewise.
42569 * string/strrchr.c (strrchr): Likewise.
42570 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
42572 * sysdeps/mach/hurd/getcwd.c
42573 (_hurd_canonicalize_directory_name_internal): Likewise.
42574 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
42575 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
42576 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
42577 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
42578 Likewise, in both definitions.
42579 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
42581 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
42582 64] (__bswap_64): Likewise.
42583 * time/test_time.c (main): Likewise.
42584 * time/tzfile.c (__tzfile_read): Likewise.
42585 (__tzfile_compute): Likewise.
42586 * time/tzset.c (__tzset_parse_tz): Likewise.
42587 (tzset_internal): Likewise.
42588 (compute_change): Likewise.
42589 * wcsmbs/wcscat.c (__wcscat): Likewise.
42590 * wcsmbs/wcschr.c (wcschr): Likewise.
42591 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
42592 * wcsmbs/wcscspn.c (wcscspn): Likewise.
42593 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
42594 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
42595 * wcsmbs/wcsspn.c (wcsspn): Likewise.
42596 * wcsmbs/wcsstr.c (wcsstr): Likewise.
42597 * wcsmbs/wmemchr.c (wmemchr): Likewise.
42598 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
42599 * wcsmbs/wmemset.c (wmemset): Likewise.
42601 2013-06-06 Joseph Myers <joseph@codesourcery.com>
42603 * scripts/config.guess: Update to version 2013-05-16.
42604 * scripts/config.sub: Update to version 2013-04-24.
42605 * scripts/install-sh: Update to version 2011-11-20.07.
42606 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
42607 * scripts/move-if-change: Update to version 2012-01-06 07:23.
42609 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
42611 * debug/fgetws_u_chk.c: Fix leading whitespaces.
42612 * elf/sln.c: Likewise.
42613 * hurd/hurd/ioctl.h: Likewise.
42614 * hurd/hurdmalloc.c: Likewise.
42615 * hurd/xattr.c: Likewise.
42616 * include/shlib-compat.h: Likewise.
42617 * inet/ruserpass.c: Likewise.
42618 * libio/iofgets_u.c: Likewise.
42619 * libio/iofgetws_u.c: Likewise.
42620 * locale/programs/ld-identification.c: Likewise.
42621 * locale/programs/ld-time.c: Likewise.
42622 * mach/msg-destroy.c: Likewise.
42623 * nss/nss_files/files-netgrp.c: Likewise.
42624 * resolv/res_data.c: Likewise.
42625 * soft-fp/op-1.h: Likewise.
42626 * soft-fp/op-2.h: Likewise.
42627 * soft-fp/op-4.h: Likewise.
42628 * soft-fp/op-common.h: Likewise.
42629 * stdio-common/printf_fphex.c: Likewise.
42630 * stdlib/strtod_l.c: Likewise.
42631 * sunrpc/rpc/clnt.h: Likewise.
42632 * sysdeps/generic/framestate.c: Likewise.
42633 * sysdeps/i386/bsd-_setjmp.S: Likewise.
42634 * sysdeps/i386/bsd-setjmp.S: Likewise.
42635 * sysdeps/i386/__longjmp.S: Likewise.
42636 * sysdeps/i386/setjmp.S: Likewise.
42637 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
42638 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
42639 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
42640 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
42641 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
42642 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
42643 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
42644 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
42645 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
42646 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
42647 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
42648 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
42649 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
42650 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
42651 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
42652 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
42653 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
42654 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
42655 * sysdeps/ieee754/support.c: Likewise.
42656 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
42657 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
42658 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
42659 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
42660 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
42661 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
42662 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
42663 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
42664 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
42665 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
42666 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
42667 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
42668 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
42669 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
42670 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
42671 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
42672 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
42673 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
42675 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
42677 * posix/transbug.c: Remove executable mode.
42679 2013-06-05 Joseph Myers <joseph@codesourcery.com>
42681 * crypt/speeds.c: Remove trailing whitespace.
42682 * dlfcn/default.c: Likewise.
42683 * elf/ifuncdep2.c: Likewise.
42684 * elf/ifuncmain1.c: Likewise.
42685 * elf/ifuncmain1vis.c: Likewise.
42686 * elf/testobj.h: Likewise.
42687 * elf/tst-stackguard1.c: Likewise.
42688 * gmon/sys/gmon.h: Likewise.
42689 * hurd/hurdmsg.c: Likewise.
42690 * hurd/new-fd.c: Likewise.
42691 * hurd/ports-get.c: Likewise.
42692 * iconvdata/ibm1008_420.c: Likewise.
42693 * inet/tst-getni1.c: Likewise.
42694 * inet/tst-getni2.c: Likewise.
42695 * libio/ioungetc.c: Likewise.
42696 * libio/wfiledoalloc.c: Likewise.
42697 * manual/libm-err-tab.pl: Likewise.
42698 * math/w_dremf.c: Likewise.
42699 * misc/ftruncate.c: Likewise.
42700 * posix/bug-glob2.c: Likewise.
42701 * posix/tst-pcre.c: Likewise.
42702 * posix/wait4.c: Likewise.
42703 * resolv/README: Likewise.
42704 * resolv/res_debug.h: Likewise.
42705 * resolv/tst-inet_ntop.c: Likewise.
42706 * setjmp/bug269-setjmp.c: Likewise.
42707 * soft-fp/extended.h: Likewise.
42708 * soft-fp/op-1.h: Likewise.
42709 * soft-fp/op-2.h: Likewise.
42710 * soft-fp/op-4.h: Likewise.
42711 * soft-fp/op-8.h: Likewise.
42712 * soft-fp/testit.c: Likewise.
42713 * stdio-common/bug16.c: Likewise.
42714 * stdlib/random.c: Likewise.
42715 * sunrpc/rpcsvc/rquota.x: Likewise.
42716 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
42717 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
42718 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
42719 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
42720 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
42721 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
42722 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
42723 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
42724 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
42725 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
42726 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
42727 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
42728 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
42729 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
42730 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
42731 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
42732 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
42733 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
42734 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
42735 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
42736 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
42737 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
42738 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
42739 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
42740 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
42741 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
42742 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
42743 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
42744 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
42745 * sysdeps/ieee754/s_lib_version.c: Likewise.
42746 * sysdeps/mach/hurd/check_fds.c: Likewise.
42747 * sysdeps/mach/hurd/getsockname.c: Likewise.
42748 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
42749 * sysdeps/mach/hurd/recvfrom.c: Likewise.
42750 * sysdeps/powerpc/bits/link.h: Likewise.
42751 * sysdeps/powerpc/dl-procinfo.c: Likewise.
42752 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
42753 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
42754 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
42755 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
42756 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
42757 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
42758 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
42759 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
42760 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
42761 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
42762 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
42763 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
42764 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
42765 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
42766 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
42767 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
42768 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
42769 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
42770 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
42771 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
42772 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
42773 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
42774 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
42775 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
42776 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
42777 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
42778 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
42779 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
42780 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
42781 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
42782 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
42783 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
42784 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
42785 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
42786 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
42787 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
42788 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
42789 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
42790 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
42791 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
42792 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
42793 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
42794 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
42795 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
42796 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
42797 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
42798 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
42799 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
42800 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
42801 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
42802 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
42803 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
42804 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
42805 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
42806 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
42807 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
42808 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
42809 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
42810 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
42811 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
42812 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
42813 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
42814 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
42815 * sysdeps/powerpc/sysdep.h: Likewise.
42816 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
42817 * sysdeps/s390/s390-64/sub_n.S: Likewise.
42818 * sysdeps/sh/dl-trampoline.S: Likewise.
42819 * sysdeps/sh/memset.S: Likewise.
42820 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
42821 * sysdeps/sh/strlen.S: Likewise.
42822 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
42823 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
42824 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
42825 * sysdeps/sparc/sparc32/rem.S: Likewise.
42826 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
42827 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
42828 * sysdeps/sparc/sparc32/strchr.S: Likewise.
42829 * sysdeps/sparc/sparc32/udiv.S: Likewise.
42830 * sysdeps/sparc/sparc32/urem.S: Likewise.
42831 * sysdeps/sparc/sparc64/add_n.S: Likewise.
42832 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
42833 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
42834 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
42835 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
42836 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
42837 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
42838 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
42839 * sysdeps/unix/bsd/times.c: Likewise.
42840 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
42841 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
42842 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
42843 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
42844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
42845 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
42846 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
42847 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
42848 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
42849 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
42850 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
42851 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
42852 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
42853 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
42854 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
42855 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
42856 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
42857 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
42858 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
42859 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
42860 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
42861 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
42862 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
42863 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
42864 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
42865 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
42866 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
42867 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
42868 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
42869 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
42870 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
42871 * sysdeps/x86_64/strcspn.S: Likewise.
42873 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
42875 * locale/C-translit.h: Revert #include <stdint.h> because this is a
42876 generated file. Regenerate properly from gen-translit.pl.
42877 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
42878 locale/C-translit.h.
42880 2013-06-05 Andreas Schwab <schwab@suse.de>
42883 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
42884 week as 6 instead of -1.
42885 * time/tst-strptime.c (day_tests): Add test case.
42887 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
42889 * sysdeps/generic/math_private.h
42890 (libc_feholdexcept_setround_53bit): Replace with
42891 libc_feholdsetround_53bit.
42892 (libc_feupdateenv_53bit): Replace with
42893 libc_feresetround_53bit.
42894 (SET_RESTORE_ROUND_53BIT): Adjust.
42896 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
42898 * string/test-strchrnul.c: Add copyright header.
42900 * posix/tst-getaddrinfo4.c: Increase test timeout.
42902 2013-06-03 Carlos O'Donell <carlos@redhat.com>
42905 * math/libm-test.inc (MAX_EXP): Remove
42907 (ulp): Use MIN_EXP - MANT_DIG.
42908 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
42910 2013-05-31 Carlos O'Donell <carlos@redhat.com>
42912 * po/be.po: Revert last change.
42913 * po/zh_CN.po: Likewise.
42914 * po/header.pot: Likewise.
42916 2013-05-31 Joseph Myers <joseph@codesourcery.com>
42918 * Makefile ($(common-objpfx)linkobj/libc.so): Define
42919 link-libc-deps to empty as target-specific variable.
42920 * Makerules (link-libc-args): New variable.
42921 (libc-for-link): Likewise.
42922 (link-libc-deps): Likewise.
42923 (lib%.so): Depend on $(link-libc-deps). Link with
42925 (build-module): Link with $(link-libc-args).
42926 (build-module-asneeded): Likewise.
42927 (build-module-helper-objlist): Filter out $(link-libc-deps) from
42929 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
42930 target-specific variable.
42931 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
42932 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
42933 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
42935 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
42937 ($(objpfx)libpcprofile.so): Likewise.
42938 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
42940 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
42941 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
42942 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
42944 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
42945 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
42946 * login/Makefile ($(objpfx)libutil.so): Likewise.
42947 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
42948 * math/Makefile ($(objpfx)libm.so): Likewise.
42949 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
42950 $(objpfx)libnsl.so): Define libc-for-link as target-specific
42951 variable instead of depending directly on libc.
42952 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
42953 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
42955 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
42957 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
42958 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
42959 ($(objpfx)libanl.so): Likewise.
42960 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
42962 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
42964 * sysdeps/i386/fpu/Makefile: Remove file.
42965 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
42966 ($(objpfx)libm.so): Remove dependency on ld.so.
42968 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
42971 * nis/yp_xdr.c (XDRMAXNAME): Define.
42972 (XDRMAXRECORD): Define.
42973 (xdr_domainname): Use XDRMAXNAME.
42974 (xdr_mapname): Likewise.
42975 (xdr_peername): Likewise.
42976 (xdr_keydat): Use XDRMAXRECORD.
42977 (xdr_valdat): Likewise.
42979 2013-05-30 Jeff Law <law@redhat.com>
42982 * manual/errno.texi (ESTALE): Update to account for more than
42983 just NFS file systems.
42984 * sysdeps/gnu/errlist.c: Regenerated.
42986 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
42989 * elf/Makefile (tests): Add tst-null-argv.
42990 (modules-names): Add tst-null-argv-lib.
42991 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
42992 (tst-null-argv-ENV): Set environment for tst-null-argv.
42993 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
42994 (RTLD_PROGNAME): New macro.
42995 * elf/tst-null-argv.c: New test case.
42996 * elf/tst-null-argv-lib.c: Library for test case.
42997 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
42998 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
42999 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
43000 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
43001 * elf/dl-init.c (call_init): Likewise.
43002 (_dl_init): Likewise.
43003 * elf/dl-load.c (print_search_path): Likewise.
43004 (_dl_map_object): Likewise.
43005 * elf/dl-lookup.c (do_lookup_x): Likewise.
43006 (add_dependency): Likewise.
43007 (_dl_lookup_symbol_x): Likewise.
43008 (_dl_debug_bindings): Likewise.
43009 * elf/dl-open.c (_dl_show_scope): Likewise.
43010 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
43011 * elf/dl-version.c (match_symbol): Likewise.
43012 (_dl_check_map_versions): Likewise.
43013 * elf/rtld.c (dl_main): Likewise.
43014 (print_unresolved): Use RTLD_PROGNAME.
43015 (print_missing_version): Likewise.
43016 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
43017 (elf_machine_rela): Likewise.
43018 * sysdeps/powerpc/powerpc32/dl-machine.c
43019 (__process_machine_rela): Likewise.
43020 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
43022 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
43024 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
43026 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
43027 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
43029 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
43031 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
43033 2013-05-28 Carlos O'Donell <carlos@redhat.com>
43035 * po/be.po: Add descriptive title.
43036 * po/zh_CN.po: Likewise.
43037 * po/header.pot: Likewise.
43039 2013-05-28 Mike Frysinger <vapier@gentoo.org>
43041 * locale/programs/locarchive.c (create_archive): Inlucde fname in
43043 (enlarge_archive): Likewise.
43045 2013-05-28 Ben North <ben@redfrontdoor.org>
43047 * manual/arith.texi (frexp): It is the magnitude of the return
43048 value which lies in [0.5, 1), not the return value itself.
43050 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43052 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43054 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
43056 * stdio-common/bug26.c (main): Correct fscanf template.
43058 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
43059 declare _dl_skip_args.
43061 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
43064 * manual/platform.texi: Add missing @end deftypefun.
43066 2013-05-24 Joseph Myers <joseph@codesourcery.com>
43069 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
43070 bit of mantissa of 2^16382.
43071 * math/libm-test.inc (hypot_test_data): Add more tests.
43073 * math/libm-test.inc: Add drem and pow10 to list of tested
43075 (pow10_test): New function.
43076 (drem_test): Likewise.
43077 (drem_test_tonearest): Likewise.
43078 (drem_test_towardzero): Likewise.
43079 (drem_test_downward): Likewise.
43080 (drem_test_upward): Likewise.
43081 (main): Call the new functions.
43083 * math/libm-test.inc (finite_test_data): Remove.
43084 (finite_test): Run tests from isfinite_test_data.
43085 (gamma_test_data): Remove.
43086 (gamma_test): Run tests from lgamma_test_data.
43087 * sysdeps/i386/fpu/libm-test-ulps: Update.
43088 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43090 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43092 * manual/platform.texi: Add PowerPC PPR function set documentation.
43093 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
43096 2013-05-24 Carlos O'Donell <carlos@redhat.com>
43098 * math/libm-test.inc (MAX_EXP): Define.
43100 (ulp): New function.
43101 (check_float_internal): Use ULPDIFF.
43102 (cpow_test): Disable failing test.
43103 (check_ulp): Test ulp() implemetnation.
43104 (main): Call check_ulp before starting tests.
43106 2013-05-24 Joseph Myers <joseph@codesourcery.com>
43108 * math/gen-libm-test.pl (generate_testfile): Do not handle
43109 START_DATA and END_DATA.
43110 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
43112 (acos_tonearest_test_data): Likewise.
43113 (acos_towardzero_test_data): Likewise.
43114 (acos_downward_test_data): Likewise.
43115 (acos_upward_test_data): Likewise.
43116 (acosh_test_data): Likewise.
43117 (asin_test_data): Likewise.
43118 (asin_tonearest_test_data): Likewise.
43119 (asin_towardzero_test_data): Likewise.
43120 (asin_downward_test_data): Likewise.
43121 (asin_upward_test_data): Likewise.
43122 (asinh_test_data): Likewise.
43123 (atan_test_data): Likewise.
43124 (atanh_test_data): Likewise.
43125 (atan2_test_data): Likewise.
43126 (cabs_test_data): Likewise.
43127 (cacos_test_data): Likewise.
43128 (cacosh_test_data): Likewise.
43129 (carg_test_data): Likewise.
43130 (casin_test_data): Likewise.
43131 (casinh_test_data): Likewise.
43132 (catan_test_data): Likewise.
43133 (catanh_test_data): Likewise.
43134 (cbrt_test_data): Likewise.
43135 (ccos_test_data): Likewise.
43136 (ccosh_test_data): Likewise.
43137 (ceil_test_data): Likewise.
43138 (cexp_test_data): Likewise.
43139 (cimag_test_data): Likewise.
43140 (clog_test_data): Likewise.
43141 (clog10_test_data): Likewise.
43142 (conj_test_data): Likewise.
43143 (copysign_test_data): Likewise.
43144 (cos_test_data): Likewise.
43145 (cos_tonearest_test_data): Likewise.
43146 (cos_towardzero_test_data): Likewise.
43147 (cos_downward_test_data): Likewise.
43148 (cos_upward_test_data): Likewise.
43149 (cosh_test_data): Likewise.
43150 (cosh_tonearest_test_data): Likewise.
43151 (cosh_towardzero_test_data): Likewise.
43152 (cosh_downward_test_data): Likewise.
43153 (cosh_upward_test_data): Likewise.
43154 (cpow_test_data): Likewise.
43155 (cproj_test_data): Likewise.
43156 (creal_test_data): Likewise.
43157 (csin_test_data): Likewise.
43158 (csinh_test_data): Likewise.
43159 (csqrt_test_data): Likewise.
43160 (ctan_test_data): Likewise.
43161 (ctan_tonearest_test_data): Likewise.
43162 (ctan_towardzero_test_data): Likewise.
43163 (ctan_downward_test_data): Likewise.
43164 (ctan_upward_test_data): Likewise.
43165 (ctanh_test_data): Likewise.
43166 (ctanh_tonearest_test_data): Likewise.
43167 (ctanh_towardzero_test_data): Likewise.
43168 (ctanh_downward_test_data): Likewise.
43169 (ctanh_upward_test_data): Likewise.
43170 (erf_test_data): Likewise.
43171 (erfc_test_data): Likewise.
43172 (exp_test_data): Likewise.
43173 (exp_tonearest_test_data): Likewise.
43174 (exp_towardzero_test_data): Likewise.
43175 (exp_downward_test_data): Likewise.
43176 (exp_upward_test_data): Likewise.
43177 (exp10_test_data): Likewise.
43178 (exp2_test_data): Likewise.
43179 (expm1_test_data): Likewise.
43180 (fabs_test_data): Likewise.
43181 (fdim_test_data): Likewise.
43182 (finite_test_data): Likewise.
43183 (floor_test_data): Likewise.
43184 (fma_test_data): Likewise.
43185 (fma_towardzero_test_data): Likewise.
43186 (fma_downward_test_data): Likewise.
43187 (fma_upward_test_data): Likewise.
43188 (fmax_test_data): Likewise.
43189 (fmin_test_data): Likewise.
43190 (fmod_test_data): Likewise.
43191 (fpclassify_test_data): Likewise.
43192 (frexp_test_data): Likewise.
43193 (gamma_test_data): Likewise.
43194 (hypot_test_data): Likewise.
43195 (ilogb_test_data): Likewise.
43196 (isfinite_test_data): Likewise.
43197 (isgreater_test_data): Likewise.
43198 (isgreaterequal_test_data): Likewise.
43199 (isinf_test_data): Likewise.
43200 (isless_test_data): Likewise.
43201 (islessequal_test_data): Likewise.
43202 (islessgreater_test_data): Likewise.
43203 (isnan_test_data): Likewise.
43204 (isnormal_test_data): Likewise.
43205 (issignaling_test_data): Likewise.
43206 (isunordered_test_data): Likewise.
43207 (j0_test_data): Likewise.
43208 (j1_test_data): Likewise.
43209 (jn_test_data): Likewise.
43210 (ldexp_test_data): Likewise.
43211 (lgamma_test_data): Likewise.
43212 (lrint_test_data): Likewise.
43213 (lrint_tonearest_test_data): Likewise.
43214 (lrint_towardzero_test_data): Likewise.
43215 (lrint_downward_test_data): Likewise.
43216 (lrint_upward_test_data): Likewise.
43217 (llrint_test_data): Likewise.
43218 (llrint_tonearest_test_data): Likewise.
43219 (llrint_towardzero_test_data): Likewise.
43220 (llrint_downward_test_data): Likewise.
43221 (llrint_upward_test_data): Likewise.
43222 (log_test_data): Likewise.
43223 (log10_test_data): Likewise.
43224 (log1p_test_data): Likewise.
43225 (log2_test_data): Likewise.
43226 (logb_test_data): Likewise.
43227 (logb_downward_test_data): Likewise.
43228 (lround_test_data): Likewise.
43229 (llround_test_data): Likewise.
43230 (modf_test_data): Likewise.
43231 (nearbyint_test_data): Likewise.
43232 (nextafter_test_data): Likewise.
43233 (nexttoward_test_data): Likewise.
43234 (pow_test_data): Likewise.
43235 (pow_tonearest_test_data): Likewise.
43236 (pow_towardzero_test_data): Likewise.
43237 (pow_downward_test_data): Likewise.
43238 (pow_upward_test_data): Likewise.
43239 (remainder_test_data): Likewise.
43240 (remainder_tonearest_test_data): Likewise.
43241 (remainder_towardzero_test_data): Likewise.
43242 (remainder_downward_test_data): Likewise.
43243 (remainder_upward_test_data): Likewise.
43244 (remquo_test_data): Likewise.
43245 (rint_test_data): Likewise.
43246 (rint_tonearest_test_data): Likewise.
43247 (rint_towardzero_test_data): Likewise.
43248 (rint_downward_test_data): Likewise.
43249 (rint_upward_test_data): Likewise.
43250 (round_test_data): Likewise.
43251 (scalb_test_data): Likewise.
43252 (scalbn_test_data): Likewise.
43253 (scalbln_test_data): Likewise.
43254 (signbit_test_data): Likewise.
43255 (sin_test_data): Likewise.
43256 (sin_tonearest_test_data): Likewise.
43257 (sin_towardzero_test_data): Likewise.
43258 (sin_downward_test_data): Likewise.
43259 (sin_upward_test_data): Likewise.
43260 (sincos_test_data): Likewise.
43261 (sinh_test_data): Likewise.
43262 (sinh_tonearest_test_data): Likewise.
43263 (sinh_towardzero_test_data): Likewise.
43264 (sinh_downward_test_data): Likewise.
43265 (sinh_upward_test_data): Likewise.
43266 (sqrt_test_data): Likewise.
43267 (tan_test_data): Likewise.
43268 (tan_tonearest_test_data): Likewise.
43269 (tan_towardzero_test_data): Likewise.
43270 (tan_downward_test_data): Likewise.
43271 (tan_upward_test_data): Likewise.
43272 (tanh_test_data): Likewise.
43273 (tgamma_test_data): Likewise.
43274 (trunc_test_data): Likewise.
43275 (y0_test_data): Likewise.
43276 (y1_test_data): Likewise.
43277 (yn_test_data): Likewise.
43278 (significand_test_data): Likewise.
43280 * math/gen-libm-test.pl (@functions): Remove variable.
43281 (generate_testfile): Don't handle START and END lines.
43282 * math/libm-test.inc (START): New macro.
43284 (END_COMPLEX): Likewise.
43285 (acos_test): Use END macro without arguments.
43286 (acos_test_tonearest): Likewise.
43287 (acos_test_towardzero): Likewise.
43288 (acos_test_downward): Likewise.
43289 (acos_test_upward): Likewise.
43290 (acosh_test): Likewise.
43291 (asin_test): Likewise.
43292 (asin_test_tonearest): Likewise.
43293 (asin_test_towardzero): Likewise.
43294 (asin_test_downward): Likewise.
43295 (asin_test_upward): Likewise.
43296 (asinh_test): Likewise.
43297 (atan_test): Likewise.
43298 (atanh_test): Likewise.
43299 (atan2_test): Likewise.
43300 (cabs_test): Likewise.
43301 (cacos_test): Use END_COMPLEX macro without arguments.
43302 (cacosh_test): Likewise.
43303 (carg_test): Use END macro without arguments.
43304 (casin_test): Use END_COMPLEX macro without arguments.
43305 (casinh_test): Likewise.
43306 (catan_test): Likewise.
43307 (catanh_test): Likewise.
43308 (cbrt_test): Use END macro without arguments.
43309 (ccos_test): Use END_COMPLEX macro without arguments.
43310 (ccosh_test): Likewise.
43311 (ceil_test): Use END macro without arguments.
43312 (cexp_test): Use END_COMPLEX macro without arguments.
43313 (cimag_test): Use END macro without arguments.
43314 (clog_test): Use END_COMPLEX macro without arguments.
43315 (clog10_test): Likewise.
43316 (conj_test): Likewise.
43317 (copysign_test): Use END macro without arguments.
43318 (cos_test): Likewise.
43319 (cos_test_tonearest): Likewise.
43320 (cos_test_towardzero): Likewise.
43321 (cos_test_downward): Likewise.
43322 (cos_test_upward): Likewise.
43323 (cosh_test): Likewise.
43324 (cosh_test_tonearest): Likewise.
43325 (cosh_test_towardzero): Likewise.
43326 (cosh_test_downward): Likewise.
43327 (cosh_test_upward): Likewise.
43328 (cpow_test): Use END_COMPLEX macro without arguments.
43329 (cproj_test): Likewise.
43330 (creal_test): Use END macro without arguments.
43331 (csin_test): Use END_COMPLEX macro without arguments.
43332 (csinh_test): Likewise.
43333 (csqrt_test): Likewise.
43334 (ctan_test): Likewise.
43335 (ctan_test_tonearest): Likewise.
43336 (ctan_test_towardzero): Likewise.
43337 (ctan_test_downward): Likewise.
43338 (ctan_test_upward): Likewise.
43339 (ctanh_test): Likewise.
43340 (ctanh_test_tonearest): Likewise.
43341 (ctanh_test_towardzero): Likewise.
43342 (ctanh_test_downward): Likewise.
43343 (ctanh_test_upward): Likewise.
43344 (erf_test): Use END macro without arguments.
43345 (erfc_test): Likewise.
43346 (exp_test): Likewise.
43347 (exp_test_tonearest): Likewise.
43348 (exp_test_towardzero): Likewise.
43349 (exp_test_downward): Likewise.
43350 (exp_test_upward): Likewise.
43351 (exp10_test): Likewise.
43352 (exp2_test): Likewise.
43353 (expm1_test): Likewise.
43354 (fabs_test): Likewise.
43355 (fdim_test): Likewise.
43356 (finite_test): Likewise.
43357 (floor_test): Likewise.
43358 (fma_test): Likewise.
43359 (fma_test_towardzero): Likewise.
43360 (fma_test_downward): Likewise.
43361 (fma_test_upward): Likewise.
43362 (fmax_test): Likewise.
43363 (fmin_test): Likewise.
43364 (fmod_test): Likewise.
43365 (fpclassify_test): Likewise.
43366 (frexp_test): Likewise.
43367 (gamma_test): Likewise.
43368 (hypot_test): Likewise.
43369 (ilogb_test): Likewise.
43370 (isfinite_test): Likewise.
43371 (isgreater_test): Likewise.
43372 (isgreaterequal_test): Likewise.
43373 (isinf_test): Likewise.
43374 (isless_test): Likewise.
43375 (islessequal_test): Likewise.
43376 (islessgreater_test): Likewise.
43377 (isnan_test): Likewise.
43378 (isnormal_test): Likewise.
43379 (issignaling_test): Likewise.
43380 (isunordered_test): Likewise.
43381 (j0_test): Likewise.
43382 (j1_test): Likewise.
43383 (jn_test): Likewise.
43384 (ldexp_test): Likewise.
43385 (lgamma_test): Likewise.
43386 (lrint_test): Likewise.
43387 (lrint_test_tonearest): Likewise.
43388 (lrint_test_towardzero): Likewise.
43389 (lrint_test_downward): Likewise.
43390 (lrint_test_upward): Likewise.
43391 (llrint_test): Likewise.
43392 (llrint_test_tonearest): Likewise.
43393 (llrint_test_towardzero): Likewise.
43394 (llrint_test_downward): Likewise.
43395 (llrint_test_upward): Likewise.
43396 (log_test): Likewise.
43397 (log10_test): Likewise.
43398 (log1p_test): Likewise.
43399 (log2_test): Likewise.
43400 (logb_test): Likewise.
43401 (logb_test_downward): Likewise.
43402 (lround_test): Likewise.
43403 (llround_test): Likewise.
43404 (modf_test): Likewise.
43405 (nearbyint_test): Likewise.
43406 (nextafter_test): Likewise.
43407 (nexttoward_test): Likewise.
43408 (pow_test): Likewise.
43409 (pow_test_tonearest): Likewise.
43410 (pow_test_towardzero): Likewise.
43411 (pow_test_downward): Likewise.
43412 (pow_test_upward): Likewise.
43413 (remainder_test): Likewise.
43414 (remainder_test_tonearest): Likewise.
43415 (remainder_test_towardzero): Likewise.
43416 (remainder_test_downward): Likewise.
43417 (remainder_test_upward): Likewise.
43418 (remquo_test): Likewise.
43419 (rint_test): Likewise.
43420 (rint_test_tonearest): Likewise.
43421 (rint_test_towardzero): Likewise.
43422 (rint_test_downward): Likewise.
43423 (rint_test_upward): Likewise.
43424 (round_test): Likewise.
43425 (scalb_test): Likewise.
43426 (scalbn_test): Likewise.
43427 (scalbln_test): Likewise.
43428 (signbit_test): Likewise.
43429 (sin_test): Likewise.
43430 (sin_test_tonearest): Likewise.
43431 (sin_test_towardzero): Likewise.
43432 (sin_test_downward): Likewise.
43433 (sin_test_upward): Likewise.
43434 (sincos_test): Likewise.
43435 (sinh_test): Likewise.
43436 (sinh_test_tonearest): Likewise.
43437 (sinh_test_towardzero): Likewise.
43438 (sinh_test_downward): Likewise.
43439 (sinh_test_upward): Likewise.
43440 (sqrt_test): Likewise.
43441 (tan_test): Likewise.
43442 (tan_test_tonearest): Likewise.
43443 (tan_test_towardzero): Likewise.
43444 (tan_test_downward): Likewise.
43445 (tan_test_upward): Likewise.
43446 (tanh_test): Likewise.
43447 (tgamma_test): Likewise.
43448 (trunc_test): Likewise.
43449 (y0_test): Likewise.
43450 (y1_test): Likewise.
43451 (yn_test): Likewise.
43452 (significand_test): Likewise.
43454 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
43457 * libio/genops.c (_IO_no_init): Initialize wide struct info.
43459 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
43462 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
43463 __ppc_mdoio and __ppc_mdoom.
43464 * manual/platform.texi: Document new functions __ppc_yield,
43465 __ppc_mdoio and __ppc_mdoom.
43467 2013-05-22 Carlos O'Donell <carlos@redhat.com>
43469 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
43470 (main): Mention "tls" pseudo-hwcap is legacy.
43471 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
43473 2013-05-22 Joseph Myers <joseph@codesourcery.com>
43475 * math/gen-libm-test.pl (parse_args): Output only string of
43476 arguments as text for test name, not full call or descriptions of
43477 tests for extra outputs.
43478 (generate_testfile): Do not pass function name to parse_args.
43479 Generate this_func variable from START.
43480 * math/libm-test.inc (struct test_f_f_data): Rename test_name
43482 (struct test_ff_f_data): Likewise.
43483 (test_ff_f_data_nexttoward): Likewise.
43484 (struct test_fi_f_data): Likewise.
43485 (struct test_fl_f_data): Likewise.
43486 (struct test_if_f_data): Likewise.
43487 (struct test_fff_f_data): Likewise.
43488 (struct test_c_f_data): Likewise.
43489 (struct test_f_f1_data): Likewise. Remove field extra_name.
43490 (struct test_fF_f1_data): Likewise.
43491 (struct test_ffI_f1_data): Likewise.
43492 (struct test_c_c_data): Rename test_name field to arg_str.
43493 (struct test_cc_c_data): Likewise.
43494 (struct test_f_i_data): Likewise.
43495 (struct test_ff_i_data): Likewise.
43496 (struct test_f_l_data): Likewise.
43497 (struct test_f_L_data): Likewise.
43498 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
43500 (COMMON_TEST_SETUP): New macro.
43501 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
43502 (COMMON_TEST_CLEANUP): Likewise.
43503 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
43504 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
43506 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
43507 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
43509 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
43510 (RUN_TEST_fff_f): Take argument string. Call new setup and
43512 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
43513 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
43515 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
43516 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
43518 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
43519 (RUN_TEST_fF_f1): Take argument string. Call new setup and
43521 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
43522 (RUN_TEST_fI_f1): Take argument string. Call new setup and
43524 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
43525 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
43527 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
43528 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
43530 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
43531 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
43533 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
43534 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
43536 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
43537 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
43539 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
43540 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
43542 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
43543 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
43545 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
43546 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
43548 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
43549 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
43551 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
43552 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
43554 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
43555 (RUN_TEST_fFF_11): Take argument string. Call new setup and
43557 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
43559 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
43561 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
43562 to _sifields.sigfault.
43563 (si_addr_lsb): Define new macro.
43564 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
43565 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
43566 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
43568 2013-05-03 Carlos O'Donell <carlos at redhat.com>
43571 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
43573 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
43575 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
43576 loading the domain.
43578 2013-05-22 Joseph Myers <joseph@codesourcery.com>
43580 * math/gen-libm-test.pl (parse_args): Do not include expected
43581 result in test name.
43582 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
43583 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
43584 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
43585 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
43586 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
43587 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43589 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
43591 * benchtests/Makefile: Sort function entries.
43593 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
43594 tanh, asinh, acosh, atanh.
43595 * benchtests/acos-inputs: New file.
43596 * benchtests/acosh-inputs: New file.
43597 * benchtests/asin-inputs: New file.
43598 * benchtests/asinh-inputs: New file.
43599 * benchtests/atanh-inputs: New file.
43600 * benchtests/cosh-inputs: New file.
43601 * benchtests/log-inputs: New file.
43602 * benchtests/sinh-inputs: New file.
43603 * benchtests/tanh-inputs: New file.
43605 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
43608 * posix/tst-getaddrinfo4.c: New test.
43609 * posix/Makefile (tests): Add it.
43611 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
43614 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
43615 when no services were used.
43616 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
43617 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
43619 2013-05-21 Andreas Schwab <schwab@suse.de>
43622 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
43623 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
43625 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
43626 redundant variable declarations and reallocation of buffer when
43627 parsing as IPv6 address. Always set NSS status when called from
43628 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
43629 buffer too small. Correct computation of needed size.
43630 * nss/Makefile (tests): Add test-digits-dots.
43631 * nss/test-digits-dots.c: New test.
43633 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
43635 * benchtests/Makefile: Remove instructions for adding
43637 * benchtests/README: New file to explain how to execute and
43638 enhance the benchmark tests.
43640 2013-05-21 Andreas Schwab <schwab@suse.de>
43643 * setjmp/Makefile (tests): Add tst-sigsetjmp.
43644 * setjmp/tst-sigsetjmp.c: New test.
43646 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
43648 * sysdeps/x86_64/memset.S (memset): New implementation.
43649 (__bzero): Likewise.
43650 (__memset_tail): New function.
43652 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
43654 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
43655 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
43656 __memcpy_sse2_unaligned ifunc selection.
43657 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
43658 Add memcpy-sse2-unaligned.S.
43659 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
43660 Add: __memcpy_sse2_unaligned.
43662 2013-05-19 Joseph Myers <joseph@codesourcery.com>
43665 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
43666 math_force_eval before restoring floating-point envrionment.
43667 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
43668 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
43670 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
43672 (__nearbyintl): Use math_force_eval before restoring
43673 floating-point environment.
43674 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
43676 * math/gen-libm-test.pl (special_functions): Remove.
43677 (parse_args): Don't handle TEST_extra. Handle functions with no
43679 * math/libm-test.inc (struct test_sincos_data): Replace with
43680 struct test_fFF_11_data.
43681 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
43682 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
43683 (sincos_test_data): Change element type to struct
43684 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
43685 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
43686 RUN_TEST_LOOP_sincos.
43687 * math/README.libm-test: Don't mention special handling of
43688 individual functions.
43689 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
43690 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
43691 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
43692 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
43693 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
43694 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43696 * math/gen-libm-test.pl (get_variable): Remove function.
43697 (parse_args): Don't show pointer parameters to call in test
43698 names. Use "extra output N" in test names for extra outputs
43699 rather than naming variables.
43701 2013-05-18 Joseph Myers <joseph@codesourcery.com>
43704 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
43705 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
43706 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
43708 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
43710 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
43713 * math/gen-libm-test.pl (@tests): Remove variable.
43714 ($count): Likewise.
43715 (new_test): Remove function.
43716 (show_exceptions): New function.
43717 (special_functions): Use show_exceptions instead of new_test.
43718 (parse_args): Likewise.
43719 (generate_testfile): Pass only function name in generated call to
43720 print_max_error or print_complex_max_error.
43721 (get_ulps): Do not handle complex tests specially.
43722 (output_test): Rename to ...
43723 (get_all_ulps_for_test): ... this. Return a string rather than
43724 printing to a file. Require ulps to be present.
43725 (output_ulps): Generate arrays rather than #defines.
43726 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
43727 (struct ulp_data): New type.
43728 (BUILD_COMPLEX_ULP): Remove macro.
43729 (compare_ulp_data): New function.
43730 (find_ulps): Likewise.
43731 (find_test_ulps): Likewise.
43732 (find_function_ulps): Likewise.
43733 (find_complex_function_ulps): Likewise.
43734 (print_max_error): Determine allowed ulps using
43735 find_function_ulps.
43736 (print_complex_max_error): Determine allowed ulps using
43737 find_complex_function_ulps.
43738 (check_float_internal): Determine max ulps using find_test_ulps.
43739 (check_float): Do not take max_ulp parameter. Update call to
43740 check_float_internal.
43741 (check_complex): Likewise.
43742 (check_int): Do not take max_ulp parameter.
43743 (check_long): Likewise.
43744 (check_bool): Likewise.
43745 (check_longlong): Likewise.
43746 (struct test_f_f_data): Remove max_ulp field.
43747 (struct test_ff_f_data): Likewise.
43748 (struct test_ff_f_data_nexttoward): Likewise.
43749 (struct test_fi_f_data): Likewise.
43750 (struct test_fl_f_data): Likewise.
43751 (struct test_if_f_data): Likewise.
43752 (struct test_fff_f_data): Likewise.
43753 (struct test_c_f_data): Likewise.
43754 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
43755 (struct test_fF_f1_data): Likewise.
43756 (struct test_ffI_f1_data): Likewise.
43757 (struct test_c_c_data): Remove max_ulp field.
43758 (struct test_cc_c_data): Likewise.
43759 (struct test_f_i_data): Likewise.
43760 (struct test_ff_i_data): Likewise.
43761 (struct test_f_l_data): Likewise.
43762 (struct test_f_L_data): Likewise.
43763 (struct test_sincos_data): Likewise.
43764 (RUN_TEST_f_f): Do not handle ulps.
43765 (RUN_TEST_LOOP_f_f): Likewise.
43766 (RUN_TEST_2_f): Likewise.
43767 (RUN_TEST_LOOP_2_f): Likewise.
43768 (RUN_TEST_fff_f): Likewise.
43769 (RUN_TEST_LOOP_fff_f): Likewise.
43770 (RUN_TEST_c_f): Likewise.
43771 (RUN_TEST_LOOP_c_f): Likewise.
43772 (RUN_TEST_f_f1): Likewise.
43773 (RUN_TEST_LOOP_f_f1): Likewise.
43774 (RUN_TEST_fF_f1): Likewise.
43775 (RUN_TEST_LOOP_fF_f1): Likewise.
43776 (RUN_TEST_fI_f1): Likewise.
43777 (RUN_TEST_LOOP_fI_f1): Likewise.
43778 (RUN_TEST_ffI_f1): Likewise.
43779 (RUN_TEST_LOOP_ffI_f1): Likewise.
43780 (RUN_TEST_c_c): Likewise.
43781 (RUN_TEST_LOOP_c_c): Likewise.
43782 (RUN_TEST_cc_c): Likewise.
43783 (RUN_TEST_LOOP_cc_c): Likewise.
43784 (RUN_TEST_f_i): Likewise.
43785 (RUN_TEST_LOOP_f_i): Likewise.
43786 (RUN_TEST_f_i_tg): Likewise.
43787 (RUN_TEST_LOOP_f_i_tg): Likewise.
43788 (RUN_TEST_ff_i_tg): Likewise.
43789 (RUN_TEST_LOOP_ff_i_tg): Likewise.
43790 (RUN_TEST_f_b): Likewise.
43791 (RUN_TEST_LOOP_f_b): Likewise.
43792 (RUN_TEST_f_b_tg): Likewise.
43793 (RUN_TEST_LOOP_f_b_tg): Likewise.
43794 (RUN_TEST_f_l): Likewise.
43795 (RUN_TEST_LOOP_f_l): Likewise.
43796 (RUN_TEST_f_L): Likewise.
43797 (RUN_TEST_LOOP_f_L): Likewise.
43798 (RUN_TEST_sincos): Likewise.
43799 (RUN_TEST_LOOP_sincos): Likewise.
43801 2013-05-17 Joseph Myers <joseph@codesourcery.com>
43805 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
43806 main case of finite arguments, set rounding mode to FE_TONEAREST
43807 and discard exceptions.
43808 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
43810 (remainder_tonearest_test_data): New variable.
43811 (remainder_test_tonearest): New function.
43812 (remainder_towardzero_test_data): New variable.
43813 (remainder_test_towardzero): New function.
43814 (remainder_downward_test_data): New variable.
43815 (remainder_test_downward): New function.
43816 (remainder_upward_test_data): New variable.
43817 (remainder_test_upward): New function.
43818 (main): Call the new test functions.
43820 * math/libm-test.inc (struct test_f_f1_data): Remove field
43822 (struct test_fF_f1_data): Likewise.
43823 (struct test_ffI_f1_data): Likewise.
43824 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
43825 based on value of EXTRA_EXPECTED.
43826 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
43827 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
43828 EXTRA_VAR based on value of EXTRA_EXPECTED.
43829 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
43830 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
43831 EXTRA_VAR based on value of EXTRA_EXPECTED.
43832 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
43833 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
43834 EXTRA_VAR based on value of EXTRA_EXPECTED.
43835 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
43836 * math/gen-libm-test.pl (parse_args): Don't output initializers
43837 for extra output values.
43839 * math/libm-test.inc (check_int): Expect result to be exactly
43840 equal to expected value and do not handle ulps.
43841 (check_long): Likewise.
43842 (check_longlong): Likewise.
43844 * math/libm-test.inc (ceil_test_data): Test for "inexact"
43846 (cimag_test_data): Likewise.
43847 (conj_test_data): Likewise.
43848 (copysign_test_data): Likewise.
43849 (cproj_test_data): Likewise.
43850 (creal_test_data): Likewise.
43851 (fabs_test_data): Likewise.
43852 (fdim_test_data): Likewise.
43853 (finite_test_data): Likewise.
43854 (floor_test_data): Likewise.
43855 (fmax_test_data): Likewise.
43856 (fmin_test_data): Likewise.
43857 (fmod_test_data): Likewise.
43858 (fpclassify_test_data): Likewise.
43859 (frexp_test_data): Likewise.
43860 (ilogb_test_data): Likewise.
43861 (isfinite_test_data): Likewise.
43862 (isgreater_test_data): Likewise.
43863 (isgreaterequal_test_data): Likewise.
43864 (isinf_test_data): Likewise.
43865 (isless_test_data): Likewise.
43866 (islessequal_test_data): Likewise.
43867 (islessgreater_test_data): Likewise.
43868 (isnan_test_data): Likewise.
43869 (isnormal_test_data): Likewise.
43870 (issignaling_test_data): Likewise.
43871 (isunordered_test_data): Likewise.
43872 (ldexp_test_data): Likewise.
43873 (lrint_test_data): Likewise.
43874 (lrint_test_data) [TEST_FLOAT]: Disable one test.
43875 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
43876 (lrint_tonearest_test_data): Test for "inexact" exceptions.
43877 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
43878 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
43879 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
43881 (lrint_towardzero_test_data): Test for "inexact" exceptions.
43882 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
43883 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
43884 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
43886 (lrint_downward_test_data): Test for "inexact" exceptions.
43887 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
43888 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
43889 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
43891 (lrint_upward_test_data): Test for "inexact" exceptions.
43892 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
43894 (llrint_test_data): Test for "inexact" exceptions.
43895 (llrint_test_data) [TEST_FLOAT]: Disable one test.
43896 (llrint_tonearest_test_data): Test for "inexact" exceptions.
43897 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
43898 (llrint_towardzero_test_data): Test for "inexact" exceptions.
43899 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
43900 (llrint_downward_test_data): Test for "inexact" exceptions.
43901 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
43902 (llrint_upward_test_data): Test for "inexact" exceptions.
43903 (logb_test_data): Likewise.
43904 (logb_downward_test_data): Likewise.
43905 (nextafter_test_data): Likewise.
43906 (nexttoward_test_data): Likewise.
43907 (remainder_test_data): Likewise.
43908 (remquo_test_data): Likewise.
43909 (scalbn_test_data): Likewise.
43910 (scalbln_test_data): Likewise.
43911 (signbit_test_data): Likewise.
43912 (sqrt_test_data): Likewise.
43913 (significand_test_data): Likewise.
43915 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
43918 * benchtests/bench-modf.c (struct args): Mark arg0 as
43920 * scripts/bench.pl: Mark members of struct args as volatile.
43922 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43925 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
43926 negative infinity on POWER6 or lower.
43927 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
43929 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
43932 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
43933 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
43934 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
43935 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
43936 (_FP_SETQNAN): New macro.
43937 (_FP_SETQNAN_SEMIRAW): Likewise.
43938 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
43939 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
43940 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
43941 (FP_EXTEND): Use _FP_FRAC_SNANP.
43942 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
43943 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
43945 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
43947 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
43950 2013-05-16 Joseph Myers <joseph@codesourcery.com>
43952 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
43953 with DIVIDE_BY_ZERO_EXCEPTION.
43954 (gamma_test_data): Likewise.
43955 (lgamma_test_data): Likewise.
43956 (log_test_data): Likewise.
43957 (log10_test_data): Likewise.
43958 (log2_test_data): Likewise.
43959 (tgamma_test_data): Likewise.
43961 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
43962 (acos_test_tonearest): Likewise.
43963 (acos_test_towardzero): Likewise.
43964 (acos_test_downward): Likewise.
43965 (acos_test_upward): Likewise.
43966 (acosh_test): Likewise.
43967 (asin_test): Likewise.
43968 (asin_test_tonearest): Likewise.
43969 (asin_test_towardzero): Likewise.
43970 (asin_test_downward): Likewise.
43971 (asin_test_upward): Likewise.
43972 (asinh_test): Likewise.
43973 (atan_test): Likewise.
43974 (atanh_test): Likewise.
43975 (atan2_test): Likewise.
43976 (cabs_test): Likewise.
43977 (cacos_test): Likewise.
43978 (cacosh_test): Likewise.
43979 (casin_test): Likewise.
43980 (casinh_test): Likewise.
43981 (catan_test): Likewise.
43982 (catanh_test): Likewise.
43983 (cbrt_test): Likewise.
43984 (ccos_test): Likewise.
43985 (ccosh_test): Likewise.
43986 (cexp_test): Likewise.
43987 (clog_test): Likewise.
43988 (clog10_test): Likewise.
43989 (cos_test): Likewise.
43990 (cos_test_tonearest): Likewise.
43991 (cos_test_towardzero): Likewise.
43992 (cos_test_downward): Likewise.
43993 (cos_test_upward): Likewise.
43994 (cosh_test): Likewise.
43995 (cosh_test_tonearest): Likewise.
43996 (cosh_test_towardzero): Likewise.
43997 (cosh_test_downward): Likewise.
43998 (cosh_test_upward): Likewise.
43999 (cpow_test): Likewise.
44000 (csin_test): Likewise.
44001 (csinh_test): Likewise.
44002 (csqrt_test): Likewise.
44003 (ctan_test): Likewise.
44004 (ctan_test_tonearest): Likewise.
44005 (ctan_test_towardzero): Likewise.
44006 (ctan_test_downward): Likewise.
44007 (ctan_test_upward): Likewise.
44008 (ctanh_test): Likewise.
44009 (ctanh_test_tonearest): Likewise.
44010 (ctanh_test_towardzero): Likewise.
44011 (ctanh_test_downward): Likewise.
44012 (ctanh_test_upward): Likewise.
44013 (erf_test): Likewise.
44014 (erfc_test): Likewise.
44015 (exp_test): Likewise.
44016 (exp_test_tonearest): Likewise.
44017 (exp_test_towardzero): Likewise.
44018 (exp_test_downward): Likewise.
44019 (exp_test_upward): Likewise.
44020 (exp10_test): Likewise.
44021 (exp2_test): Likewise.
44022 (expm1_test): Likewise.
44023 (fmod_test): Likewise.
44024 (gamma_test): Likewise.
44025 (hypot_test): Likewise.
44026 (j0_test): Likewise.
44027 (j1_test): Likewise.
44028 (jn_test): Likewise.
44029 (lgamma_test): Likewise.
44030 (log_test): Likewise.
44031 (log10_test): Likewise.
44032 (log1p_test): Likewise.
44033 (log2_test): Likewise.
44034 (logb_test_downward): Likewise.
44035 (pow_test): Likewise.
44036 (pow_test_tonearest): Likewise.
44037 (pow_test_towardzero): Likewise.
44038 (pow_test_downward): Likewise.
44039 (pow_test_upward): Likewise.
44040 (remainder_test): Likewise.
44041 (remquo_test): Likewise.
44042 (sin_test): Likewise.
44043 (sin_test_tonearest): Likewise.
44044 (sin_test_towardzero): Likewise.
44045 (sin_test_downward): Likewise.
44046 (sin_test_upward): Likewise.
44047 (sincos_test): Likewise.
44048 (sinh_test): Likewise.
44049 (sinh_test_tonearest): Likewise.
44050 (sinh_test_towardzero): Likewise.
44051 (sinh_test_downward): Likewise.
44052 (sinh_test_upward): Likewise.
44053 (sqrt_test): Likewise.
44054 (tan_test): Likewise.
44055 (tan_test_tonearest): Likewise.
44056 (tan_test_towardzero): Likewise.
44057 (tan_test_downward): Likewise.
44058 (tan_test_upward): Likewise.
44059 (tanh_test): Likewise.
44060 (tgamma_test): Likewise.
44061 (y0_test): Likewise.
44062 (y1_test): Likewise.
44063 (yn_test): Likewise.
44065 * math/gen-libm-test.pl (adjust_arg): Remove function.
44066 (special_function): Remove argument $in_func. Only handle
44067 generating output for tables of tests, not inside functions.
44068 (parse_args): Likewise.
44069 (generate_testfile): Remove variable $in_func. Update call to
44071 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
44072 (MINUS_ZERO_INIT): Rename macro to minus_zero.
44073 (PLUS_INFTY_INIT): Rename macro to plus_infty.
44074 (MINUS_INFTY_INIT): Rename macro to minus_infty.
44075 (QNAN_VALUE_INIT): Rename macro to qnan_value.
44076 (MAX_VALUE_INIT): Rename macro to max_value.
44077 (MIN_VALUE_INIT): Rename macro to min_value.
44078 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
44079 (plus_zero): Remove variable.
44080 (minus_zero): Likewise.
44081 (plus_infty): Likewise.
44082 (minus_infty): Likewise.
44083 (qnan_value): Likewise.
44084 (max_value): Likewise.
44085 (min_value): Likewise.
44086 (min_subnorm_value): Likewise.
44088 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
44090 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
44091 uint64_t or uint32_t usage.
44092 * crypt/sha256-block.c: Likewise.
44093 * crypt/sha256-crypt.c: Likewise.
44094 * crypt/sha256.c: Likewise.
44095 * crypt/sha512-block.c: Likewise.
44096 * crypt/sha512-crypt.c: Likewise.
44097 * crypt/sha512.c: Likewise.
44098 * debug/backtrace-tst.c: Likewise.
44099 * debug/pcprofiledump.c: Likewise.
44100 * elf/cache.c: Likewise.
44101 * elf/dl-cache.c: Likewise.
44102 * elf/dl-misc.c: Likewise.
44103 * elf/dl-profile.c: Likewise.
44104 * elf/dl-support.c: Likewise.
44105 * elf/ldconfig.c: Likewise.
44106 * elf/sprof.c: Likewise.
44107 * iconv/dummy-repertoire.c: Likewise.
44108 * iconv/iconv_charmap.c: Likewise.
44109 * iconv/skeleton.c: Likewise.
44110 * iconvdata/8bit-generic.c: Likewise.
44111 * iconvdata/cp737.h: Likewise.
44112 * iconvdata/cp775.h: Likewise.
44113 * iconvdata/ibm1008.h: Likewise.
44114 * iconvdata/ibm1025.h: Likewise.
44115 * iconvdata/ibm1046.h: Likewise.
44116 * iconvdata/ibm1097.h: Likewise.
44117 * iconvdata/ibm1112.h: Likewise.
44118 * iconvdata/ibm1122.h: Likewise.
44119 * iconvdata/ibm1123.h: Likewise.
44120 * iconvdata/ibm1124.h: Likewise.
44121 * iconvdata/ibm1129.h: Likewise.
44122 * iconvdata/ibm1130.h: Likewise.
44123 * iconvdata/ibm1132.h: Likewise.
44124 * iconvdata/ibm1133.h: Likewise.
44125 * iconvdata/ibm1137.h: Likewise.
44126 * iconvdata/ibm1140.h: Likewise.
44127 * iconvdata/ibm1141.h: Likewise.
44128 * iconvdata/ibm1142.h: Likewise.
44129 * iconvdata/ibm1143.h: Likewise.
44130 * iconvdata/ibm1144.h: Likewise.
44131 * iconvdata/ibm1145.h: Likewise.
44132 * iconvdata/ibm1146.h: Likewise.
44133 * iconvdata/ibm1147.h: Likewise.
44134 * iconvdata/ibm1148.h: Likewise.
44135 * iconvdata/ibm1149.h: Likewise.
44136 * iconvdata/ibm1153.h: Likewise.
44137 * iconvdata/ibm1154.h: Likewise.
44138 * iconvdata/ibm1155.h: Likewise.
44139 * iconvdata/ibm1156.h: Likewise.
44140 * iconvdata/ibm1157.h: Likewise.
44141 * iconvdata/ibm1158.h: Likewise.
44142 * iconvdata/ibm1160.h: Likewise.
44143 * iconvdata/ibm1161.h: Likewise.
44144 * iconvdata/ibm1162.h: Likewise.
44145 * iconvdata/ibm1163.h: Likewise.
44146 * iconvdata/ibm1164.h: Likewise.
44147 * iconvdata/ibm1166.h: Likewise.
44148 * iconvdata/ibm1167.h: Likewise.
44149 * iconvdata/ibm12712.h: Likewise.
44150 * iconvdata/ibm1390.h: Likewise.
44151 * iconvdata/ibm1399.h: Likewise.
44152 * iconvdata/ibm16804.h: Likewise.
44153 * iconvdata/ibm4517.h: Likewise.
44154 * iconvdata/ibm4899.h: Likewise.
44155 * iconvdata/ibm4909.h: Likewise.
44156 * iconvdata/ibm4971.h: Likewise.
44157 * iconvdata/ibm5347.h: Likewise.
44158 * iconvdata/ibm803.h: Likewise.
44159 * iconvdata/ibm856.h: Likewise.
44160 * iconvdata/ibm901.h: Likewise.
44161 * iconvdata/ibm902.h: Likewise.
44162 * iconvdata/ibm9030.h: Likewise.
44163 * iconvdata/ibm9066.h: Likewise.
44164 * iconvdata/ibm921.h: Likewise.
44165 * iconvdata/ibm922.h: Likewise.
44166 * iconvdata/ibm9448.h: Likewise.
44167 * iconvdata/isiri-3342.h: Likewise.
44168 * iconvdata/jis0201.h: Likewise.
44169 * include/link.h: Likewise.
44170 * include/netdb.h: Likewise.
44171 * inet/check_native.c: Likewise.
44172 * inet/check_pf.c: Likewise.
44173 * inet/getipv4sourcefilter.c: Likewise.
44174 * inet/getnameinfo.c: Likewise.
44175 * inet/getsourcefilter.c: Likewise.
44176 * inet/htonl.c: Likewise.
44177 * inet/setipv4sourcefilter.c: Likewise.
44178 * inet/setsourcefilter.c: Likewise.
44179 * inet/test-inet6_opt.c: Likewise.
44180 * inet/tst-network.c: Likewise.
44181 * locale/C-collate.c: Likewise.
44182 * locale/C-ctype.c: Likewise.
44183 * locale/C-time.c: Likewise.
44184 * locale/C-translit.h: Likewise.
44185 * locale/loadarchive.c: Likewise.
44186 * locale/programs/3level.h: Likewise.
44187 * locale/programs/charmap.c: Likewise.
44188 * locale/programs/charmap.h: Likewise.
44189 * locale/programs/ld-address.c: Likewise.
44190 * locale/programs/ld-collate.c: Likewise.
44191 * locale/programs/ld-ctype.c: Likewise.
44192 * locale/programs/ld-identification.c: Likewise.
44193 * locale/programs/ld-measurement.c: Likewise.
44194 * locale/programs/ld-messages.c: Likewise.
44195 * locale/programs/ld-monetary.c: Likewise.
44196 * locale/programs/ld-name.c: Likewise.
44197 * locale/programs/ld-numeric.c: Likewise.
44198 * locale/programs/ld-paper.c: Likewise.
44199 * locale/programs/ld-telephone.c: Likewise.
44200 * locale/programs/ld-time.c: Likewise.
44201 * locale/programs/linereader.c: Likewise.
44202 * locale/programs/locale.c: Likewise.
44203 * locale/programs/locarchive.c: Likewise.
44204 * locale/programs/locfile.h: Likewise.
44205 * locale/programs/repertoire.c: Likewise.
44206 * locale/programs/simple-hash.c: Likewise.
44207 * locale/programs/simple-hash.h: Likewise.
44208 * malloc/memusage.c: Likewise.
44209 * malloc/memusagestat.c: Likewise.
44210 * nis/nis_defaults.c: Likewise.
44211 * nis/nis_hash.c: Likewise.
44212 * nis/nis_print.c: Likewise.
44213 * nis/nis_xdr.c: Likewise.
44214 * nscd/connections.c: Likewise.
44215 * nscd/hstcache.c: Likewise.
44216 * nscd/nscd_gethst_r.c: Likewise.
44217 * nscd/nscd_getserv_r.c: Likewise.
44218 * nscd/nscd_helper.c: Likewise.
44219 * nscd/servicescache.c: Likewise.
44220 * nss/makedb.c: Likewise.
44221 * nss/nss_db/db-XXX.c: Likewise.
44222 * nss/nss_db/db-initgroups.c: Likewise.
44223 * nss/nss_db/db-netgrp.c: Likewise.
44224 * nss/nss_files/files-network.c: Likewise.
44225 * nss/nss_files/files-parse.c: Likewise.
44226 * posix/bug-regex5.c: Likewise.
44227 * posix/fnmatch_loop.c: Likewise.
44228 * posix/regcomp.c: Likewise.
44229 * posix/regexec.c: Likewise.
44230 * posix/tst-rfc3484-2.c: Likewise.
44231 * posix/tst-rfc3484-3.c: Likewise.
44232 * posix/tst-rfc3484.c: Likewise.
44233 * resolv/nss_dns/dns-canon.c: Likewise.
44234 * resolv/nss_dns/dns-network.c: Likewise.
44235 * resolv/res_init.c: Likewise.
44236 * resolv/res_mkquery.c: Likewise.
44237 * resolv/tst-aton.c: Likewise.
44238 * stdlib/cxa_atexit.c: Likewise.
44239 * stdlib/cxa_finalize.c: Likewise.
44240 * stdlib/gen-fpioconst.c: Likewise.
44241 * stdlib/strtol_l.c: Likewise.
44242 * string/tst-endian.c: Likewise.
44243 * sunrpc/auth_des.c: Likewise.
44244 * sunrpc/clnt_udp.c: Likewise.
44245 * sunrpc/rtime.c: Likewise.
44246 * sunrpc/svcauth_des.c: Likewise.
44247 * sunrpc/xdr.c: Likewise.
44248 * sunrpc/xdr_intXX_t.c: Likewise.
44249 * sunrpc/xdr_rec.c: Likewise.
44250 * sysdeps/generic/ldconfig.h: Likewise.
44251 * sysdeps/generic/ldsodefs.h: Likewise.
44252 * sysdeps/generic/memusage.h: Likewise.
44253 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
44254 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
44255 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
44256 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
44257 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
44258 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
44259 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
44260 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
44261 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
44262 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
44263 * sysdeps/posix/getaddrinfo.c: Likewise.
44264 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
44265 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
44266 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
44267 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
44268 * sysdeps/powerpc/test-gettimebase.c: Likewise.
44269 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
44270 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
44271 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
44272 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
44273 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
44274 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
44275 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
44276 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
44277 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
44278 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
44279 * sysdeps/x86_64/dl-tls.h: Likewise.
44280 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
44281 * time/alt_digit.c: Likewise.
44282 * time/era.c: Likewise.
44283 * wcsmbs/tst-c16c32-1.c: Likewise.
44285 2013-05-16 Joseph Myers <joseph@codesourcery.com>
44287 * math/libm-test.inc (struct test_sincos_data): New type.
44288 (RUN_TEST_LOOP_sincos): New macro.
44289 (sincos_test_data): New variable.
44290 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
44292 2013-05-16 Richard Henderson <rth@redhat.com>
44294 * math/atest-exp2.c (LIMB64): New macro.
44295 (CONSTSZ): New macro.
44296 (mp_exp1, mp_exp_m1, mp_log2): New variables.
44298 (print_mpn_fp): ... to function scope.
44299 (read_mpn_hex): Remove.
44300 (get_log2): Remove.
44301 (exp2_mpn): Use mp_log2.
44302 (main): Use mp_exp1.
44304 2013-05-16 Joseph Myers <joseph@codesourcery.com>
44306 * math/libm-test.inc: Remove comment about not testing "inexact"
44308 (INEXACT_EXCEPTION): New macro.
44309 (NO_INEXACT_EXCEPTION): Likewise.
44310 (INVALID_EXCEPTION_OK): Update value.
44311 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
44312 (OVERFLOW_EXCEPTION_OK): Likewise.
44313 (UNDERFLOW_EXCEPTION_OK): Likewise.
44314 (IGNORE_ZERO_INF_SIGN): Likewise.
44315 (ERRNO_UNCHANGED): Likewise.
44316 (ERRNO_EDOM): Likewise.
44317 (ERRNO_ERANGE): Likewise.
44318 (test_exceptions): Handle testing "inexact" exceptions.
44319 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
44320 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
44321 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
44322 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
44324 (rint_towardzero_test_data): Likewise.
44325 (rint_downward_test_data): Likewise.
44326 (rint_upward_test_data): Likewise.
44328 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
44329 with OVERFLOW_EXCEPTION.
44330 (exp10_test_data): Likewise.
44331 (exp2_test_data): Likewise.
44332 (expm1_test_data): Likewise.
44333 (lgamma_test_data): Likewise.
44334 (pow_test_data): Likewise.
44335 (tgamma_test_data): Likewise.
44336 (yn_test_data): Remove duplicate test of overflow.
44338 * math/libm-test.inc (struct test_cc_c_data): New type.
44339 (RUN_TEST_LOOP_cc_c): New macro.
44340 (cpow_test_data): New variable.
44341 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
44343 * math/libm-test.inc (struct test_f_L_data): New type.
44344 (RUN_TEST_LOOP_f_L): New macro.
44345 (llrint_test_data): New variable.
44346 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
44347 (llrint_tonearest_test_data): New variable.
44348 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
44349 (llrint_towardzero_test_data): New variable.
44350 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
44351 (llrint_downward_test_data): New variable.
44352 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
44353 (llrint_upward_test_data): New variable.
44354 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
44355 (llround_test_data): New variable.
44356 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
44358 2013-05-13 Peter Collingbourne <pcc@google.com>
44360 * math/atest-exp2.c (get_log2): Remove const attribute.
44362 2013-05-15 Joseph Myers <joseph@codesourcery.com>
44364 * math/libm-test.inc (struct test_f_l_data): New type.
44365 (RUN_TEST_LOOP_f_l): New macro.
44366 (lrint_test_data): New variable.
44367 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
44368 (lrint_tonearest_test_data): New variable.
44369 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
44370 (lrint_towardzero_test_data): New variable.
44371 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
44372 (lrint_downward_test_data): New variable.
44373 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
44374 (lrint_upward_test_data): New variable.
44375 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
44376 (lround_test_data): New variable.
44377 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
44379 2013-05-15 Peter Collingbourne <pcc@google.com>
44381 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
44382 (EXTRACT_WORDS64) Use where appropriate.
44383 (INSERT_WORDS64) Likewise.
44385 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
44386 constraints with x constraints.
44387 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
44389 * malloc/obstack.c (_obstack_compat): Add initializer.
44391 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
44393 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
44394 si_trapno and add si_addr_lsb to _sifields.sigfault.
44395 (si_trapno): Remove macro.
44396 (si_addr_lsb): Define new macro.
44397 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
44399 2013-05-15 Joseph Myers <joseph@codesourcery.com>
44401 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
44402 instead of TEST_f_l.
44403 (llrint_test_tonearest): Likewise.
44404 (llrint_test_towardzero): Likewise.
44405 (llrint_test_downward): Likewise.
44406 (llrint_test_upward): Likewise.
44407 (llround_test): Likewise.
44409 * math/libm-test.inc (struct test_f_i_data): Add comment.
44410 (RUN_TEST_LOOP_f_b): New macro.
44411 (RUN_TEST_LOOP_f_b_tg): Likewise.
44412 (finite_test_data): New variable.
44413 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
44414 (isfinite_test_data): New variable.
44415 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
44416 (isinf_test_data): New variable.
44417 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
44418 (isnan_test_data): New variable.
44419 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
44420 (isnormal_test_data): New variable.
44421 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
44422 (issignaling_test_data): New variable.
44423 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
44424 (signbit_test_data): New variable.
44425 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
44427 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
44428 with INVALID_EXCEPTION.
44429 (acosh_test_data): Likewise.
44430 (asin_test_data): Likewise.
44431 (atanh_test_data): Likewise.
44432 (fmod_test_data): Likewise.
44433 (log_test_data): Likewise.
44434 (log10_test_data): Likewise.
44435 (log2_test_data): Likewise.
44436 (pow_test_data): Likewise.
44437 (sqrt_test_data): Likewise.
44438 (y0_test_data): Likewise.
44439 (y1_test_data): Likewise.
44440 (yn_test_data): Likewise.
44442 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
44445 * math/libm-test.inc (struct test_ff_i_data): New type.
44446 (RUN_TEST_LOOP_ff_i_tg): New macro.
44447 (isgreater_test_data): New variable.
44448 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
44449 (isgreaterequal_test_data): New variable.
44450 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
44451 (isless_test_data): New variable.
44452 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
44453 (islessequal_test_data): New variable.
44454 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
44455 (islessgreater_test_data): New variable.
44456 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
44457 (isunordered_test_data): New variable.
44458 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
44460 2013-05-14 David S. Miller <davem@davemloft.net>
44462 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44464 2013-05-14 Joseph Myers <joseph@codesourcery.com>
44466 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
44468 * math/libm-test.inc (struct test_fF_f1_data): Change type of
44470 (struct test_f_i_data): Change type of max_ulp to int.
44472 * math/libm-test.inc (test_ffI_f1_data): New type.
44473 (RUN_TEST_LOOP_ffI_f1): New macro.
44474 (remquo_test_data): New variable.
44475 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
44477 * setjmp/tst-setjmp-fp.c: New file.
44478 * setjmp/Makefile (tests): Add tst-setjmp-fp.
44479 (link-libm): New variable.
44480 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
44482 * math/libm-test.inc (struct test_f_i_data): New type.
44483 (RUN_TEST_LOOP_f_i): New macro.
44484 (RUN_TEST_LOOP_f_i_tg): Likewise.
44485 (fpclassify_test_data): New variable.
44486 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
44487 (ilogb_test_data): New variable.
44488 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
44490 * math/libm-test.inc (scalbln_test): Correct function name in END
44493 * math/libm-test.inc (struct test_f_f1_data): Add comment.
44494 (RUN_TEST_LOOP_fI_f1): New macro.
44495 (frexp_test_data): New variable.
44496 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
44498 * math/libm-test.inc (struct test_fF_f1_data): New type.
44499 (RUN_TEST_LOOP_fF_f1): New macro.
44500 (modf_test_data): New variable.
44501 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
44503 * math/libm-test.inc (struct test_f_f1_data): New type.
44504 (RUN_TEST_LOOP_f_f1): New macro.
44505 (gamma_test_data): New variable.
44506 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
44507 (lgamma_test_data): New variable.
44508 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
44510 2013-05-13 Carlos O'Donell <carlos@redhat.com>
44512 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
44513 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
44514 (main): Comment "tls" pseudo-hwcap.
44516 2013-05-13 Joseph Myers <joseph@codesourcery.com>
44518 * math/libm-test.inc (struct test_fl_f_data): New type.
44519 (RUN_TEST_LOOP_fl_f): New variable.
44520 (scalbln_test_data): New variable.
44521 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
44523 * math/libm-test.inc (struct test_fi_f_data): New type.
44524 (RUN_TEST_LOOP_fi_f): New macro.
44525 (ldexp_test_data): New variable.
44526 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
44527 (scalbn_test_data): New variable.
44528 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
44530 * math/libm-test.inc (struct test_c_f_data): New type.
44531 (RUN_TEST_LOOP_c_f): New macro.
44532 (cabs_test_data): New variable.
44533 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
44534 (carg_test_data): New variable.
44535 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
44536 (cimag_test_data): New variable.
44537 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
44538 (creal_test_data): New variable.
44539 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
44541 * math/libm-test.inc (struct test_if_f_data): New type.
44542 (RUN_TEST_LOOP_if_f): New macro.
44543 (jn_test_data): New variable.
44544 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
44545 (yn_test_data): New variable.
44546 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
44548 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
44550 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44552 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
44553 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
44555 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
44557 * benchtests/Makefile (CPPFLAGS-nonlib): Add
44558 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
44559 (bench-deps): Add bench-timing.h.
44560 * benchtests-bench-skeleton.c: Include bench-timing.h.
44561 (main): Use TIMING_* macros instead of clock_gettime.
44562 * benchtests/bench-timing.h: New file.
44565 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
44566 Renamed from _LIB_VERSION.
44567 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
44569 2013-05-12 Joseph Myers <joseph@codesourcery.com>
44571 * math/libm-test.inc (struct test_fff_f_data): New type.
44572 (RUN_TEST_LOOP_fff_f): New macro.
44573 (fma_test_data): New variable.
44574 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
44575 (fma_towardzero_test_data): New variable.
44576 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
44577 (fma_downward_test_data): New variable.
44578 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
44579 (fma_upward_test_data): New variable.
44580 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
44582 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
44583 (struct test_c_c_data): New type.
44584 (RUN_TEST_LOOP_c_c): New macro.
44585 (cacos_test_data): New variable.
44586 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
44587 (cacosh_test_data): New variable.
44588 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
44589 (casin_test_data): New variable.
44590 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
44591 (casinh_test_data): New variable.
44592 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
44593 (catan_test_data): New variable.
44594 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
44595 (catanh_test_data): New variable.
44596 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
44597 (ccos_test_data): New variable.
44598 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
44599 (ccosh_test_data): New variable.
44600 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
44601 (cexp_test_data): New variable.
44602 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
44603 (clog_test_data): New variable.
44604 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
44605 (clog10_test_data): New variable.
44606 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
44607 (conj_test_data): New variable.
44608 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
44609 (cproj_test_data): New variable.
44610 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
44611 (csin_test_data): New variable.
44612 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
44613 (csinh_test_data): New variable.
44614 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
44615 (csqrt_test_data): New variable.
44616 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
44617 (ctan_test_data): New variable.
44618 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
44619 (ctan_tonearest_test_data): New variable.
44620 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
44621 (ctan_towardzero_test_data): New variable.
44622 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
44623 (ctan_downward_test_data): New variable.
44624 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
44625 (ctan_upward_test_data): New variable.
44626 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
44627 (ctanh_test_data): New variable.
44628 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
44629 (ctanh_tonearest_test_data): New variable.
44630 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
44631 (ctanh_towardzero_test_data): New variable.
44632 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
44633 (ctanh_downward_test_data): New variable.
44634 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
44635 (ctanh_upward_test_data): New variable.
44636 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
44637 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
44640 * math/libm-test.inc (struct test_ff_f_data): New type.
44641 (struct test_ff_f_data_nexttoward): Likewise.
44642 (RUN_TEST_LOOP_2_f): New macro.
44643 (RUN_TEST_LOOP_ff_f): Likewise.
44644 (atan2_test_data): New variable.
44645 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
44646 (copysign_test_data): New variable.
44647 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
44648 (fdim_test_data): New variable.
44649 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
44650 (fmax_test_data): New variable.
44651 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
44652 (fmin_test_data): New variable.
44653 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
44654 (fmod_test_data): New variable.
44655 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
44656 (hypot_test_data): New variable.
44657 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
44658 (nextafter_test_data): New variable.
44659 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
44660 (nexttoward_test_data): New variable.
44661 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
44662 (pow_test_data): New variable.
44663 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
44664 (pow_tonearest_test_data): New variable.
44665 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
44666 (pow_towardzero_test_data): New variable.
44667 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
44668 (pow_downward_test_data): New variable.
44669 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
44670 (pow_upward_test_data): New variable.
44671 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
44672 (remainder_test_data): New variable.
44673 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
44674 (scalb_test_data): New variable.
44675 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
44676 * sysdeps/i386/fpu/libm-test-ulps: Update.
44678 2013-05-11 Joseph Myers <joseph@codesourcery.com>
44680 * math/libm-test.inc (fma_test): Use max_value instead of local
44682 (nextafter_test): Likewise.
44684 * math/libm-test.inc (acos_towardzero_test_data): New variable.
44685 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
44686 (acos_downward_test_data): New variable.
44687 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
44688 (acos_upward_test_data): New variable.
44689 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
44690 (acosh_test_data): New variable.
44691 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
44692 (asin_test_data): New variable.
44693 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
44694 (asin_tonearest_test_data): New variable.
44695 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
44696 (asin_towardzero_test_data): New variable.
44697 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
44698 (asin_downward_test_data): New variable.
44699 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
44700 (asin_upward_test_data): New variable.
44701 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
44702 (asinh_test_data): New variable.
44703 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
44704 (atan_test_data): New variable.
44705 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
44706 (atanh_test_data): New variable.
44707 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
44708 (cbrt_test_data): New variable.
44709 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
44710 (ceil_test_data): New variable.
44711 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
44712 (cos_test_data): New variable.
44713 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
44714 (cos_tonearest_test_data): New variable.
44715 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
44716 (cos_towardzero_test_data): New variable.
44717 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
44718 (cos_downward_test_data): New variable.
44719 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
44720 (cos_upward_test_data): New variable.
44721 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
44722 (cosh_test_data): New variable.
44723 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
44724 (cosh_tonearest_test_data): New variable.
44725 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
44726 (cosh_towardzero_test_data): New variable.
44727 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
44728 (cosh_downward_test_data): New variable.
44729 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
44730 (cosh_upward_test_data): New variable.
44731 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
44732 (erf_test_data): New variable.
44733 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
44734 (erfc_test_data): New variable.
44735 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
44736 (exp_test_data): New variable.
44737 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
44738 (exp_tonearest_test_data): New variable.
44739 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
44740 (exp_towardzero_test_data): New variable.
44741 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
44742 (exp_downward_test_data): New variable.
44743 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
44744 (exp_upward_test_data): New variable.
44745 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
44746 (exp10_test_data): New variable.
44747 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
44748 (exp2_test_data): New variable.
44749 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
44750 (expm1_test_data): New variable.
44751 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
44752 (fabs_test_data): New variable.
44753 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
44754 (floor_test_data): New variable.
44755 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
44756 (j0_test_data): New variable.
44757 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
44758 (j1_test_data): New variable.
44759 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
44760 (log_test_data): New variable.
44761 (log_test): Run tests with RUN_TEST_LOOP_f_f.
44762 (log10_test_data): New variable.
44763 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
44764 (log1p_test_data): New variable.
44765 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
44766 (log2_test_data): New variable.
44767 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
44768 (logb_test_data): New variable.
44769 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
44770 (logb_downward_test_data): New variable.
44771 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
44772 (nearbyint_test_data): New variable.
44773 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
44774 (rint_test_data): New variable.
44775 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
44776 (rint_tonearest_test_data): New variable.
44777 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
44778 (rint_towardzero_test_data): New variable.
44779 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
44780 (rint_downward_test_data): New variable.
44781 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
44782 (rint_upward_test_data): New variable.
44783 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
44784 (round_test_data): New variable.
44785 (round_test): Run tests with RUN_TEST_LOOP_f_f.
44786 (sin_test_data): New variable.
44787 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
44788 (sin_tonearest_test_data): New variable.
44789 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
44790 (sin_towardzero_test_data): New variable.
44791 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
44792 (sin_downward_test_data): New variable.
44793 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
44794 (sin_upward_test_data): New variable.
44795 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
44796 (sinh_test_data): New variable.
44797 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
44798 (sinh_tonearest_test_data): New variable.
44799 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
44800 (sinh_towardzero_test_data): New variable.
44801 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
44802 (sinh_downward_test_data): New variable.
44803 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
44804 (sinh_upward_test_data): New variable.
44805 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
44806 (sqrt_test_data): New variable.
44807 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
44808 (tan_test_data): New variable.
44809 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
44810 (tan_tonearest_test_data): New variable.
44811 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
44812 (tan_towardzero_test_data): New variable.
44813 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
44814 (tan_downward_test_data): New variable.
44815 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
44816 (tan_upward_test_data): New variable.
44817 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
44818 (tanh_test_data): New variable.
44819 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
44820 (tgamma_test_data): New variable.
44821 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
44822 (trunc_test_data): New variable.
44823 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
44824 (y0_test_data): New variable.
44825 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
44826 (y1_test_data): New variable.
44827 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
44828 (significand_test_data): New variable.
44829 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
44831 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
44834 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
44836 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
44838 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
44840 2013-05-10 Andreas Jaeger <aj@suse.de>
44843 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
44844 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
44846 2013-05-10 Joseph Myers <joseph@codesourcery.com>
44848 * math/gen-libm-test.pl (adjust_arg): New function.
44849 (special_functions): Handle generating output in both functions
44851 (parse_args): Likewise.
44852 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
44853 $in_func argument to parse_args.
44854 * math/libm-test.inc (struct test_f_f_data): New type.
44855 (IF_ROUND_INIT_): New macro.
44856 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
44857 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
44858 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
44859 (IF_ROUND_INIT_FE_UPWARD): Likewise.
44860 (ROUND_RESTORE_): Likewise.
44861 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
44862 (ROUND_RESTORE_FE_TONEAREST): Likewise.
44863 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
44864 (ROUND_RESTORE_FE_UPWARD): Likewise.
44865 (RUN_TEST_LOOP_f_f): New macro.
44866 (acos_test_data): New variable.
44867 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
44868 (acos_tonearest_test_data): New variable.
44869 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
44871 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
44873 * benchtests/bench-skeleton.c (startup): Fix coding style.
44875 2013-05-10 Joseph Myers <joseph@codesourcery.com>
44878 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
44879 negative infinity argument.
44880 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
44881 negative infinity argument.
44882 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
44883 negative infinity argument.
44884 * math/libm-test.inc (tgamma_test): Expect errno to be set for
44887 2013-05-10 Florian Weimer <fweimer@redhat.com>
44889 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
44890 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
44891 * iconv/iconv_prog.c (main): Likewise.
44892 * locale/programs/charmap-dir.c (charmap_readdir)
44893 (fopen_uncompressed): Likewise.
44894 * locale/programs/locfile.c (siblings_uncached)
44895 (write_locale_data): Use lstat64 instead of lstat.
44896 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
44899 2013-05-10 Andreas Jaeger <aj@suse.de>
44902 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
44904 Include <locale.h>.
44906 2013-05-09 Carlos O'Donell <carlos@redhat.com>
44908 * elf/dl-close.c (_dl_close_worker): Add comments.
44910 2013-05-09 Joseph Myers <joseph@codesourcery.com>
44913 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
44915 (__ieee754_rem_pio2l): Update comments.
44918 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
44920 (__ieee754_rem_pio2l): Update comments.
44922 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
44923 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
44925 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
44928 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
44929 (M_PI_34_LOG10El): Likewise.
44930 (M_PI2_LOG10El): Likewise.
44931 (M_PI4_LOG10El): Likewise.
44932 (M_PI_LOG10El): Likewise.
44934 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44936 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44938 2013-05-08 Joseph Myers <joseph@codesourcery.com>
44940 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
44941 (MINUS_ZERO_INIT): Likewise.
44942 (PLUS_INFTY_INIT): Likewise.
44943 (MINUS_INFTY_INIT): Likewise.
44944 (QNAN_VALUE_INIT): Likewise.
44945 (MAX_VALUE_INIT): Likewise.
44946 (MIN_VALUE_INIT): Likewise.
44947 (MIN_SUBNORM_VALUE_INIT): Likewise.
44948 (plus_zero): Initialize with PLUS_ZERO_INIT.
44949 (minus_zero): Initialize with MINUS_ZERO_INIT.
44950 (plus_infty): Initialize with PLUS_INFTY_INIT.
44951 (minus_infty): Initialize with MINUS_INFTY_INIT.
44952 (qnan_value): Initialize with QNAN_VALUE_INIT.
44953 (max_value): Initialize with MAX_VALUE_INIT.
44954 (min_value): Initialize with MIN_VALUE_INIT.
44955 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
44957 * math/libm-test.inc (RUN_TEST_if_f): New macro.
44958 (jn_test): Use TEST_if_f instead of TEST_ff_f.
44959 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
44960 (yn_test): Use TEST_if_f instead of TEST_ff_f.
44962 * math/libm-test.inc (RUN_TEST_f_f): New macro.
44963 (RUN_TEST_2_f): Likewise.
44964 (RUN_TEST_ff_f): Likewise.
44965 (RUN_TEST_fi_f): Likewise.
44966 (RUN_TEST_fl_f): Likewise.
44967 (RUN_TEST_fff_f): Likewise.
44968 (RUN_TEST_c_f): Likewise.
44969 (RUN_TEST_f_f1): Likewise.
44970 (RUN_TEST_fF_f1): Likewise.
44971 (RUN_TEST_fI_f1): Likewise.
44972 (RUN_TEST_ffI_f1): Likewise.
44973 (RUN_TEST_c_c): Likewise.
44974 (RUN_TEST_cc_c): Likewise.
44975 (RUN_TEST_f_i): Likewise.
44976 (RUN_TEST_f_i_tg): Likewise.
44977 (RUN_TEST_ff_i_tg): Likewise.
44978 (RUN_TEST_f_b): Likewise.
44979 (RUN_TEST_f_b_tg): Likewise.
44980 (RUN_TEST_f_l): Likewise.
44981 (RUN_TEST_f_L): Likewise.
44982 (RUN_TEST_sincos): Likewise.
44983 * math/gen-libm-test.pl (new_test): Take new argument to indicate
44984 whether to show exceptions. Do not include ");\n" in return
44986 (special_functions): Output call to RUN_TEST_sincos instead of
44987 check_float calls. Update calls to new_test.
44988 (parse_args): Output call to single RUN_TEST_* macro instead of
44989 check_* calls and other assignments. Update calls to new_test.
44995 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
44996 input to result for tgamma overflow.
44997 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
44998 (gamma_coeff): New variable.
44999 (NCOEFF): New macro.
45000 (gamma_positive): New function.
45001 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
45002 underflow here. Use gamma_positive instead of exp (lgamma) for
45004 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
45005 (gamma_coeff): New variable.
45006 (NCOEFF): New macro.
45007 (gammaf_positive): New function.
45008 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
45009 underflow here. Use gamma_positive instead of exp (lgamma) for
45011 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
45012 (gamma_coeff): New variable.
45013 (NCOEFF): New macro.
45014 (gammal_positive): New function.
45015 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
45016 underflow here. Use gamma_positive instead of exp (lgamma) for
45018 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
45019 (gamma_coeff): New variable.
45020 (NCOEFF): New macro.
45021 (gammal_positive): New function.
45022 (__ieee754_gammal_r): Handle positive infinity, overflow and
45023 underflow here. Handle NaN the same as positive infinity. Remove
45024 check x < 0xffffffff for negative integers. Use gamma_positive
45025 instead of exp (lgamma) for other arguments.
45026 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
45027 (gamma_coeff): New variable.
45028 (NCOEFF): New macro.
45029 (gammal_positive): New function.
45030 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
45031 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
45032 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
45033 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
45034 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
45035 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
45036 * sysdeps/generic/math_private.h (__gamma_productf): New
45038 (__gamma_product): Likewise.
45039 (__gamma_productl): Likewise.
45040 * math/Makefile (libm-calls): Add gamma_product.
45041 * math/libm-test.inc (tgamma_test): Add more tests.
45042 * sysdeps/i386/fpu/libm-test-ulps: Update.
45043 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45045 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
45047 * benchtests/bench-skeleton.c (main): Preheat CPU.
45049 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
45051 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
45053 2013-05-07 Roland McGrath <roland@hack.frob.com>
45055 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
45056 and _dl_skip_args_internal.
45058 2013-05-07 Carlos O'Donell <carlos@redhat.com>
45060 * manual/message.texi (Message Translation): Talk about users.
45061 Message to key mapping impacts design.
45063 2013-05-06 Roland McGrath <roland@hack.frob.com>
45065 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
45067 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
45069 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
45070 * sysdeps/wordsize-64/glob64.c: ... here.
45072 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
45073 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
45076 * debug/getlogin_r_chk.c: Moved to ...
45077 * login/getlogin_r_chk.c: ... here.
45078 * debug/Makefile (routines): Move getlogin_r_chk to ...
45079 * login/Makefile (routines): ... here.
45080 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
45081 * login/Versions (libc: GLIBC_2.4): ... here.
45083 * io/poll.c (__poll): Renamed from poll.
45084 Add libc_hidden_def.
45085 (poll): Define as weak alias.
45087 * debug/ptsname_r_chk.c: Moved to ...
45088 * login/ptsname_r_chk.c: ... here.
45089 * debug/Makefile (routines): Move ptsname_r_chk to ...
45090 * login/Makefile (routines): ... here.
45091 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
45092 * login/Versions (libc: GLIBC_2.4): ... here.
45094 * posix/getlogin.c: Moved to ...
45095 * login/getlogin.c: ... here.
45096 * posix/getlogin_r.c: Moved to ...
45097 * login/getlogin_r.c: ... here.
45098 * posix/getlogin_r.c: Moved to ...
45099 * login/getlogin_r.c: ... here.
45100 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
45101 * login/Makefile (routines): ... here.
45102 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
45103 * login/Versions (libc: GLIBC_2.0): ... here.
45105 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
45106 (setrlimit): Define as weak alias.
45108 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
45109 Call __ names for open, ftruncate, and close.
45110 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
45111 (truncate): Define as weak alias.
45113 2013-05-06 Joseph Myers <joseph@codesourcery.com>
45115 * math/gen-libm-test.pl (parse_args): Initialize x before each
45116 test of frexp, modf and remquo.
45118 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
45119 test signgam value.
45121 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45125 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
45127 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
45129 2013-05-06 Roland McGrath <roland@hack.frob.com>
45131 * elf/dl-writev.h: New file.
45132 * elf/dl-misc.c: Include it.
45133 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
45134 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
45136 2013-05-04 Joseph Myers <joseph@codesourcery.com>
45138 * math/libm-test.inc (noXFails): Remove variable.
45139 (noXPasses): Likewise.
45140 (BUILD_COMPLEX_INT): Remove macro.
45141 (print_screen): Remove xfail argument.
45142 (print_screen_max_error): Likewise.
45143 (update_stats): Likewise.
45144 (print_max_error): Likewise. Update calls to other affected
45146 (print_complex_max_error): Likewise.
45147 (test_single_exception): Update calls to print_screen.
45148 (test_single_errno): Likewise.
45149 (check_float_internal): Remove xfail argument. Update calls to
45150 other affected functions.
45151 (check_float): Likewise.
45152 (check_complex): Likewise.
45153 (check_int): Likewise.
45154 (check_long): Likewise.
45155 (check_bool): Likewise.
45156 (check_longlong): Likewise.
45157 (main): Don't print noXFails and noXPasses.
45158 * math/gen-libm-test.pl (top level): Don't mention expected
45159 failure handling in comment.
45160 (new_test): Don't handle expected failures.
45161 (parse_args): Don't mention expected failure handling in comment.
45162 (generate_testfile): Don't handle expected failures.
45163 (parse_ulps): Likewise.
45164 (print_ulps_file): Likewise.
45165 (get_failure): Remove function.
45166 (output_test): Don't handle expected failures.
45167 * make/README.libm-test: Don't mention expected failure handling.
45169 * math/libm-test.inc (plus_zero): Make const. Add initializer.
45170 (minus_zero): Likewise.
45171 (plus_infty): Likewise.
45172 (minus_infty): Likewise.
45173 (qnan_value): Likewise.
45174 (max_value): Likewise.
45175 (min_value): Likewise.
45176 (min_subnorm_value): Likewise.
45177 (initialize): Do not initialize those variables dynamically.
45179 2013-05-03 Roland McGrath <roland@hack.frob.com>
45181 * io/open.c (__open_2): Moved to ...
45182 * io/open_2.c: ... this new file.
45183 * io/open64.c (__open64_2): Moved to ...
45184 * io/open64_2.c: ... this new file.
45185 * io/openat.c (__openat_2): Moved to ...
45186 * io/openat_2.c: ... this new file.
45187 * io/openat64.c (__openat64_2): Moved to ...
45188 * io/openat64_2.c: ... this new file.
45189 * io/Makefile (routines): Add them.
45190 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
45191 * sysdeps/unix/sysv/linux/open_2.c: File removed.
45192 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
45193 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
45194 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
45195 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
45196 (__openat64): Add hidden_ver.
45197 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
45198 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
45200 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
45201 Separately conditionalize setting of GLRO(dl_sysinfo) so
45202 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
45203 as well, but the actual setting is only under [NEED_DL_SYSINFO].
45205 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45207 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
45208 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
45210 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
45211 * sysdeps/unix/sysv/linux/powerpc/init-first.c
45212 (_libc_vdso_platform_setup): Add __vdso_time initialization.
45213 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
45214 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
45216 2013-05-03 Joseph Myers <joseph@codesourcery.com>
45218 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
45219 test signgam value.
45221 * math/libm-test.inc (hypot_test): Do not use
45222 IGNORE_ZERO_INF_SIGN.
45224 2013-05-03 Andreas Jaeger <aj@suse.de>
45226 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
45228 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
45229 (PF_MAX): Adjust for VSOCK change.
45231 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45233 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45235 2013-05-02 Carlos O'Donell <carlos@redhat.com>
45238 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
45239 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
45240 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
45242 2013-05-02 David S. Miller <davem@davemloft.net>
45244 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45246 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
45248 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
45250 2013-05-01 Roland McGrath <roland@hack.frob.com>
45252 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
45254 2013-05-01 Richard Smith <richard@metafoo.co.uk>
45257 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
45258 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
45259 Use __attribute__ ((__gnu_inline__)).
45260 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
45261 Don't use __attribute__ ((__gnu_inline__)).
45263 2013-05-01 Joseph Myers <joseph@codesourcery.com>
45266 * math/s_catan.c (__catan): Handle small real or imaginary part of
45267 input specially to avoid spurious underflow.
45268 * math/s_catanf.c (__catanf): Likewise.
45269 * math/s_catanh.c (__catanh): Likewise.
45270 * math/s_catanhf.c (__catanhf): Likewise.
45271 * math/s_catanhl.c (__catanhl): Likewise.
45272 * math/s_catanl.c (__catanl): Likewise.
45273 * math/libm-test.inc (catan_test): Add more tests.
45274 (catanh_test): Likewise.
45275 * sysdeps/i386/fpu/libm-test-ulps: Update.
45276 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45278 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45280 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45282 2013-04-30 Joseph Myers <joseph@codesourcery.com>
45285 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
45286 accurately for denominator in atan2.
45287 * math/s_catanf.c (__catanf): Likewise.
45288 * math/s_catanh.c (__catanh): Likewise.
45289 * math/s_catanhf.c (__catanhf): Likewise.
45290 * math/s_catanhl.c (__catanhl): Likewise.
45291 * math/s_catanl.c (__catanl): Likewise.
45292 * math/libm-test.inc (catan_test): Add more tests.
45293 (catanh_test): Likewise.
45294 * sysdeps/i386/fpu/libm-test-ulps: Update.
45295 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45297 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
45299 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
45301 * benchtests/Makefile (bench): Remove slow benchmarks.
45302 * benchtests/atan-inputs: Add slow benchmark inputs.
45303 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
45304 (BENCH_FUNC): Accept variant offset.
45306 * benchtests/bench-skeleton.c (main): Run benchmark for each
45308 * benchtests/cos-inputs: Add slow benchmark inputs.
45309 * benchtests/exp-inputs: Likewise.
45310 * benchtests/pow-inputs: Likewise.
45311 * benchtests/sin-inputs: Likewise.
45312 * benchtests/slowatan-inputs: Remove.
45313 * benchtests/slowatan.c: Remove.
45314 * benchtests/slowcos-inputs: Remove.
45315 * benchtests/slowcos.c: Remove.
45316 * benchtests/slowexp-inputs: Remove.
45317 * benchtests/slowexp.c: Remove.
45318 * benchtests/slowpow-inputs: Remove.
45319 * benchtests/slowpow.c: Remove.
45320 * benchtests/slowsin-inputs: Remove.
45321 * benchtests/slowsin.c: Remove.
45322 * benchtests/slowtan-inputs: Remove.
45323 * benchtests/slowtan.c: Remove.
45324 * benchtests/tan-inputs: Add slow benchmark inputs.
45325 * scripts/bench.pl: Parse comments and directives.
45327 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
45329 ($(objpfx)bench-%.c): Remove *-ITER.
45330 * benchtests/bench-modf.c: Remove definition of ITER.
45331 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
45332 (main): Loop for DURATION seconds instead of fixed number of
45334 * scripts/bench.pl: Don't expect iterations in parameters.
45336 2013-04-29 Roland McGrath <roland@hack.frob.com>
45338 * io/fchdir.c (__fchdir): Renamed from fchdir.
45339 (fchdir): Define as weak alias.
45341 2013-04-29 Joseph Myers <joseph@codesourcery.com>
45343 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
45344 (ERRNO_EDOM): Likewise.
45345 (ERRNO_ERANGE): Likewise.
45346 (noErrnoTests): New variable.
45347 (init_max_error): Set errno to 0.
45348 (test_single_errno): New function.
45349 (test_errno): Likewise.
45350 (check_float_internal): Call test_errno. Set errno to 0.
45351 (check_complex): Refer to errno tests in comment.
45352 (check_int): Call test_errno. Set errno to 0.
45353 (check_long): Likewise.
45354 (check_bool): Likewise.
45355 (check_longlong): Likewise.
45356 (cos_test): Use ERRNO_* flags for errno tests instead of
45358 (expm1_test): Likewise.
45359 (fmod_test): Likewise.
45360 (ilogb_test): Likewise.
45361 (lgamma_test): Likewise.
45362 (pow_test): Likewise.
45363 (remainder_test): Likewise.
45364 (sin_test): Likewise.
45365 (tan_test): Likewise.
45366 (yn_test): Likewise.
45367 (initialize): Set errno to 0.
45368 (main): Print number of errno tests.
45369 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
45371 2013-04-29 Andreas Jaeger <aj@suse.de>
45374 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
45378 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
45379 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
45383 * stdlib/random.c (__initstate): Return NULL if
45387 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
45388 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
45391 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45393 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45395 2013-04-29 Joseph Myers <joseph@codesourcery.com>
45397 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
45398 of individual tests.
45399 (casin_test): Likewise.
45400 (casinh_test): Likewise.
45402 2013-04-27 Joseph Myers <joseph@codesourcery.com>
45405 * math/s_catan.c (__catan): Handle arguments with large real or
45406 imaginary part separately without squaring.
45407 * math/s_catanf.c (__catanf): Likewise.
45408 * math/s_catanh.c (__catanh): Likewise.
45409 * math/s_catanhf.c (__catanhf): Likewise.
45410 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
45412 (__catanhl): Handle arguments with large real or imaginary part
45413 separately without squaring.
45414 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
45416 (__catanl): Handle arguments with large real or imaginary part
45417 separately without squaring.
45418 * math/libm-test.inc (catan_test): Add more tests.
45419 (catanh_test): Likewise.
45420 * sysdeps/i386/fpu/libm-test-ulps: Update.
45421 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45423 2013-04-27 Andreas Jaeger <aj@suse.de>
45426 * stdlib/stdlib.h: Update guards for qecvt.
45427 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
45430 2013-04-27 Allan McRae <allan@archlinux.org>
45432 * sysdeps/i386/fpu/libm-test-ulps: Update.
45434 2013-04-26 Joseph Myers <joseph@codesourcery.com>
45437 * math/s_catan.c: Include <float.h>.
45438 (__catan): Ensure underflow exception occurs for underflowed
45440 * math/s_catanf.c: Include <float.h>.
45441 (__catanf): Ensure underflow exception occurs for underflowed
45443 * math/s_catanh.c: Include <float.h>.
45444 (__catanh): Ensure underflow exception occurs for underflowed
45446 * math/s_catanhf.c: Include <float.h>.
45447 (__catanhf): Ensure underflow exception occurs for underflowed
45449 * math/s_catanhl.c: Include <float.h>.
45450 (__catanhl): Ensure underflow exception occurs for underflowed
45452 * math/s_catanl.c: Include <float.h>.
45453 (__catanl): Ensure underflow exception occurs for underflowed
45455 * math/libm-test.inc (catan_test): Add more tests.
45456 (catanh_test): Likewise.
45459 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
45460 underflowed result.
45461 * math/s_ccoshf.c (__ccoshf): Likewise.
45462 * math/s_ccoshl.c (__ccoshl): Likewise.
45463 * math/s_csin.c (__csin): Likewise.
45464 * math/s_csinf.c (__csinf): Likewise.
45465 * math/s_csinh.c (__csinh): Likewise.
45466 * math/s_csinhf.c (__csinhf): Likewise.
45467 * math/s_csinhl.c (__csinhl): Likewise.
45468 * math/s_csinl.c (__csinl): Likewise.
45469 * math/libm-test.inc (ccos_test): Add more tests.
45470 (ccosh_test): Likewise.
45471 (csin_test): Likewise.
45472 (csinh_test): Likewise.
45474 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45476 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
45477 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
45478 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
45479 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
45480 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
45481 powerpc/power5+/fpu folders.
45482 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
45485 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
45487 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45489 2013-04-25 Joseph Myers <joseph@codesourcery.com>
45491 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
45492 additions to variable.
45493 [$(config-machine) = x86_64] (modules-names): Likewise.
45494 ($(objpfx)tst-audit3): Remove dependency.
45495 ($(objpfx)tst-audit3.out): Likewise.
45496 ($(objpfx)tst-audit4): Likewise.
45497 ($(objpfx)tst-audit4.out): Likewise.
45498 ($(objpfx)tst-audit5): Likewise.
45499 ($(objpfx)tst-audit5.out): Likewise.
45500 ($(objpfx)tst-audit6): Likewise.
45501 ($(objpfx)tst-audit6.out): Likewise.
45502 ($(objpfx)tst-audit7): Likewise.
45503 ($(objpfx)tst-audit7.out): Likewise.
45504 (tst-audit3-ENV): Remove variable.
45505 (tst-audit4-ENV): Likewise.
45506 (tst-audit5-ENV): Likewise.
45507 (tst-audit6-ENV): Likewise.
45508 (tst-audit7-ENV): Likewise.
45509 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
45510 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
45511 addition to variable.
45512 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
45513 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
45514 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
45515 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
45516 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
45517 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
45518 tst-audit3, tst-audit4 and tst-audit5.
45519 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
45520 tst-audit6 and tst-audit7.
45521 [$(subdir) = elf] (modules-names): Add audit modules for those
45523 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
45524 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
45525 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
45526 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
45527 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
45528 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
45529 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
45530 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
45531 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
45532 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
45533 [$(subdir) = elf] (tst-audit3-ENV): New variable.
45534 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
45535 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
45536 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
45537 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
45538 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
45540 [$(subdir) = elf && $(config-cflags-avx) = yes]
45541 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
45542 [$(subdir) = elf && $(config-cflags-avx) = yes]
45543 (CFLAGS-tst-auditmod4a.c): Likewise.
45544 [$(subdir) = elf && $(config-cflags-avx) = yes]
45545 (CFLAGS-tst-auditmod4b.c): Likewise.
45546 [$(subdir) = elf && $(config-cflags-avx) = yes]
45547 (CFLAGS-tst-auditmod6b.c): Likewise.
45548 [$(subdir) = elf && $(config-cflags-avx) = yes]
45549 (CFLAGS-tst-auditmod6c.c): Likewise.
45550 [$(subdir) = elf && $(config-cflags-avx) = yes]
45551 (CFLAGS-tst-auditmod7b.c): Likewise.
45552 * elf/tst-audit3.c: Move to ...
45553 * sysdeps/x86_64/tst-audit3.c: ... here.
45554 * elf/tst-audit4.c: Move to ...
45555 * sysdeps/x86_64/tst-audit4.c: ... here.
45556 * elf/tst-audit5.c: Move to ...
45557 * sysdeps/x86_64/tst-audit5.c: ... here.
45558 * elf/tst-audit6.c: Move to ...
45559 * sysdeps/x86_64/tst-audit6.c: ... here.
45560 * elf/tst-audit7.c: Move to ...
45561 * sysdeps/x86_64/tst-audit7.c: ... here.
45562 * elf/tst-auditmod3a.c: Move to ...
45563 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
45564 * elf/tst-auditmod3b.c: Move to ...
45565 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
45566 * elf/tst-auditmod4a.c: Move to ...
45567 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
45568 * elf/tst-auditmod4b.c: Move to ...
45569 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
45570 * elf/tst-auditmod5a.c: Move to ...
45571 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
45572 * elf/tst-auditmod5b.c: Move to ...
45573 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
45574 * elf/tst-auditmod6a.c: Move to ...
45575 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
45576 * elf/tst-auditmod6b.c: Move to ...
45577 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
45578 * elf/tst-auditmod6c.c: Move to ...
45579 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
45580 * elf/tst-auditmod7a.c: Move to ...
45581 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
45582 * elf/tst-auditmod7b.c: Move to ...
45583 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
45585 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
45588 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
45589 define unconditionally.
45590 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
45591 define unconditionally.
45592 (INT8_C, INT16_C, etc.): Likewise.
45594 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
45596 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
45597 __ehdr_start with hidden visibility.
45599 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
45601 2013-04-24 Carlos O'Donell <carlos@redhat.com>
45603 * math/libm-test.inc (cos_test): Use accurate hex constants.
45604 (sincost_test): Likewise.
45606 2013-04-24 Joseph Myers <joseph@codesourcery.com>
45608 * math/libm-test.inc (catan_test): Add more tests.
45609 (catanh_test): Likewise.
45611 * math/s_catanf.c (__catanf): Use suffixed floating-point
45613 * math/s_catanhf.c (__catanhf): Likewise.
45614 * math/s_catanhl.c (__catanhl): Likewise.
45615 * math/s_catanl.c (__catanl): Likewise.
45618 * math/s_catan.c (__catan): Calculate imaginary part of result
45619 with log1p not log unless computing log of number close to 0.
45620 * math/s_catanf.c (__catanf): Likewise.
45621 * math/s_catanl.c (__catanl): Likewise.
45622 * math/s_catanh.c (__catanh): Calculate real part of result with
45623 log1p not log unless computing log of number close to 0.
45624 * math/s_catanhf.c (__catanhf): Likewise.
45625 * math/s_catanhl.c (__catanhl): Likewise.
45626 * math/libm-test.inc (catan_test): Add more tests.
45627 (catanh_test): Likewise.
45628 * sysdeps/i386/fpu/libm-test-ulps: Update.
45629 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45631 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
45633 * benchtests/Makefile: Mention files in which fast and slow
45634 paths of math functions are implemented.
45636 2013-04-23 Roland McGrath <roland@hack.frob.com>
45638 * sysdeps/posix/timespec_get.c: New file.
45640 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45642 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
45644 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
45646 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
45647 powerpc/power5/fpu folders.
45648 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
45649 * benchtests/Makefile: Add modf testcase.
45650 * benchtests/bench-modf.c: New file: Benchmark test for mo
45652 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
45655 * time/Makefile (tests): Add tst-strptime-whitespace.
45656 * time/strptime_l.c (get_number): Use ISSPACE.
45657 (__strptime_internal): Likewise.
45658 * time/tst-strptime-whitespace.c: New test case.
45660 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
45662 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
45664 (_nss_files_init): Set it here.
45666 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
45668 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
45669 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
45672 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
45674 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
45676 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
45678 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
45681 2013-04-21 David S. Miller <davem@davemloft.net>
45683 * po/ru.po: Update Russion translation from translation project.
45685 2013-04-17 Adam Conrad <adconrad@0c3.net>
45687 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
45690 2013-04-17 Carlos O'Donell <carlos@redhat.com>
45692 * configure.in: Remove i386 configure warning. Remove i386 case.
45693 * configure: Regenerate.
45694 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
45695 Add example to error message.
45696 * sysdeps/i386/configure: Regenerate.
45698 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
45700 * benchtests/Makefile (bench): Add cos, tan, slowcos and
45702 * benchtests/cos-inputs: New file.
45703 * benchtests/slowcos-inputs: New file.
45704 * benchtests/slowcos.c: New file.
45705 * benchtests/slowtan-inputs: New file.
45706 * benchtests/slowtan.c: New file.
45707 * benchtests/tan-inputs: New file.
45709 2013-04-16 Roland McGrath <roland@hack.frob.com>
45711 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
45714 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
45716 * benchtests/Makefile: Include cppflags-iterator.mk to add
45717 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
45719 * Makefile.in (bench-clean): New target.
45720 * benchtests/Makefile (bench-clean): Likewise.
45722 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
45724 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
45726 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
45728 * stdio-common/tstdiomisc.c: Fix coding-style violation.
45730 2013-04-15 Andreas Schwab <schwab@suse.de>
45732 * nscd/grpcache.c (cache_addgr): Properly check for short write.
45733 * nscd/initgrcache.c (addinitgroupsX): Likewise.
45734 * nscd/pwdcache.c (cache_addpw): Likewise.
45735 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
45738 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
45740 * benchtests/Makefile (bench): Write all output to
45741 bench-out.tmp together.
45743 2013-04-15 Andreas Schwab <schwab@suse.de>
45745 * nscd/nscd.c (main): Don't fork again after closing files.
45747 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
45749 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
45751 * benchtests/Rules (bench-deps): Collect dependencies into a
45752 single variable. Add Makefile to dependencies.
45753 ($(objpfx)bench-%.c): Depend on bench-deps.
45755 2013-04-12 Roland McGrath <roland@hack.frob.com>
45756 Xavier Roche <roche+kml2@exalead.com>
45759 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
45760 just that it's a file descriptor.
45761 * manual/llio.texi (Synchronizing AIO Operations): Update description
45762 for EBADF error from aio_fsync.
45764 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
45766 * Rules (bench): Move target definition...
45767 * benchtests/Makefile: ... here.
45769 2013-04-11 Carlos O'Donell <carlos@redhat.com>
45771 * math/libm-test.inc (cos_test): Fix PI/2 test.
45772 (sincos_test): Likewise.
45773 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
45774 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
45776 2013-04-11 Andreas Schwab <schwab@suse.de>
45779 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
45780 accept exponent character only when digits were seen.
45781 * stdio-common/Makefile (tests): Add bug26.
45782 * stdio-common/bug26.c: New file.
45785 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
45788 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
45790 * Makeconfig (rtld-prefix): Define built linker prefix.
45791 * Rules (run-bench): Use it.
45792 * math/Makefile (run-regen-ulps): Likewise.
45794 * Rules (bench): Remove eval.
45796 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
45797 Roland McGrath <roland@hack.frob.com>
45798 Ondrej Bilka <neleai@seznam.cz>
45801 * time/getdate.c: Include ctype.h and alloca.h.
45802 (__getdate_r): Trim leading and trailing spaces of input.
45803 * time/tst-getdate.c (tests): Add tests with leading and
45806 2013-04-08 Roland McGrath <roland@hack.frob.com>
45809 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
45810 when computing value.
45812 2013-04-06 Carlos O'Donell <carlos@redhat.com>
45814 * math/README.libm-test (How can I generate "libm-test-ulps"?):
45815 Use testrun.sh to run libm tests.
45818 * elf/dl-open.c (dl_open_worker): memset all of seen array.
45820 2013-04-06 Marko Myllynen <myllynen@redhat.com>
45823 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
45825 2013-04-06 Carlos O'Donell <carlos@redhat.com>
45827 * Makefile.in (regen-ulps): New target.
45828 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
45829 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
45830 [ifneq (no,$(PERL)] (regen-ulps): New target.
45831 [ifeq (no,$(PERL)] (regen-ulps): New target.
45832 * math/libm-test.inc (ulps_file_name): Define.
45833 (output_dir): New variable.
45834 (options): Add "output-dir" option.
45835 (parse_opt): Handle 'o' case.
45836 (main): If output_dir is non-NULL use it as a prefix
45838 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
45840 2013-04-06 Carlos O'Donell <carlos@redhat.com>
45842 [BZ #10060, #10062]
45843 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
45844 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
45845 fail configure if __sync_val_compare_and_swap is not inlined.
45846 * sysdeps/i386/configure: Regenerate.
45847 * configure.in: Build for i686 when configured for i386.
45848 * configure: Regenerate.
45849 * README: Remove i386 reference.
45851 2013-04-06 Carlos O'Donell <carlos@redhat.com>
45853 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
45854 * sysdeps/s390/s390-64/sysdep.h: Likewise.
45856 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
45858 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
45859 (lmsnanval): New variables.
45860 (F): Add conversion tests.
45861 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
45862 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
45864 * stdio-common/tstdiomisc.c (F): Properly collect individual
45867 [BZ #14686, #15336]
45868 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
45869 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
45870 Instead, use input NaN values or generate a qNaN by arithmetic
45871 operation. Also fix bugs to comply with the standard.
45872 * math/libm-test.inc (remainder_test): Add more tests.
45874 [BZ #15335, #15342]
45875 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
45876 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
45877 input NaN values or generate a qNaN by arithmetic operation.
45879 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
45882 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
45885 2013-04-03 Joseph Myers <joseph@codesourcery.com>
45888 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
45889 underflowed result.
45890 * math/s_cexpf.c (__cexpf): Likewise.
45891 * math/s_cexpl.c (__cexpl): Likewise.
45892 * math/libm-test.inc (cexp_test): Add more tests.
45894 2013-04-03 Andreas Schwab <schwab@suse.de>
45897 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
45898 order arrays from heap if bigger than alloca cutoff.
45900 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
45902 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
45903 (SNAN_TESTS_double): Refer to GCC PR56831.
45904 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
45907 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
45909 * Rules (bench): Move bench.out after the run is complete.
45911 * Rules (bench): Echo currently running benchmark.
45913 * benchtests/Makefile (bench): Add atan and slowatan.
45914 * benchtests/atan-inputs: New file.
45915 * benchtests/slowatan-inputs: New file.
45916 * benchtests/slowatan.c: New file.
45918 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
45919 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
45923 * sysdeps/unix/sysv/linux/kernel-features.h
45924 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
45925 __ASSUME_XFS_RESTRICTED_CHOWN.
45926 * sysdeps/unix/sysv/linux/pathconf.c
45927 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
45928 Save and restore errno.
45930 2013-04-02 Joseph Myers <joseph@codesourcery.com>
45933 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
45934 arguments using __kernel_casinh.
45935 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
45936 arguments using __kernel_casinhf.
45937 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
45938 arguments using __kernel_casinhl.
45939 * math/libm-test.inc (cacosh_test): Add more tests.
45940 * sysdeps/i386/fpu/libm-test-ulps: Update.
45941 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45943 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
45945 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
45946 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
45948 * bench/Makefile (bench): Add sin and slowsin.
45949 * benchtests/sin-inputs: New file.
45950 * benchtests/slowsin-inputs: New file.
45951 * benchtests/slowsin.c: New file.
45953 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
45954 (bench): Add slowexp and slowpow.
45955 (exp-ITER): Increase iterations.
45956 (pow-ITER): Likewise.
45957 * benchtests/exp-inputs: Change input.
45958 * benchtests/pow-inputs: Likewise.
45959 * benchtests/slowexp-inputs: New file.
45960 * benchtests/slowexp.c: New file.
45961 * benchtests/slowpow-inputs: New file.
45962 * benchtests/slowpow.c: New file.
45964 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45966 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
45968 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
45969 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
45970 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
45971 * benchtests/Makefile: Add rint benchtest.
45972 * benchtests/rint-inputs: Input for rint benchtest.
45974 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
45976 * Versions.def (libm): Add GLIBC_2.18.
45977 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
45978 hidden libm prototypes.
45979 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
45980 * math/Makefile (libm-calls): Add s_issignaling.
45981 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
45982 __issignalingf, __issignalingl. Adjust all libm.abilist files.
45983 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
45985 * math/math.h [__USE_GNU] (issignaling): New macro.
45986 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
45987 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
45988 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
45989 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
45990 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
45991 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
45992 * manual/arith.texi (issignaling): New section.
45993 * manual/libm-err-tab.pl (@all_functions): Update comment.
45994 * math/gen-libm-test.pl (parse_args): Apply special handling for
45996 * math/libm-test.inc (print_float, issignaling_test): New
45998 (check_float_internal): Add issignaling checks.
45999 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
46000 default definition.
46001 * sysdeps/powerpc/math-tests.h: New file.
46002 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
46004 * math/test-snan.c (TEST_FUNC): Likewise.
46006 2013-03-30 David S. Miller <davem@davemloft.net>
46008 * po/de.po: Update from translation team.
46010 2013-03-30 Joseph Myers <joseph@codesourcery.com>
46013 * math/k_casinh.c (__kernel_casinh): Handle arguments with
46014 imaginary part less than 1.0 and real part less than 0.5
46016 * math/k_casinhf.c (__kernel_casinhf): Likewise.
46017 * math/k_casinhl.c (__kernel_casinhl): Likewise.
46018 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
46019 (cacos_test): Add more tests.
46020 (casin_test): Likewise.
46021 (casinh_test): Likewise.
46022 * sysdeps/i386/fpu/libm-test-ulps: Update.
46023 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46025 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
46027 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
46028 ONE with its value.
46030 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
46031 (__pow_mp): Replace ONE and MONE with their values.
46032 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
46033 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
46034 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
46035 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
46036 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
46037 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
46039 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
46041 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
46042 (__pow_mp): Replace ZERO and MZERO with their values.
46043 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
46044 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
46045 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
46046 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
46047 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
46048 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
46051 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
46053 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
46055 2013-03-28 Roland McGrath <roland@hack.frob.com>
46057 * include/stdlib.h [!SHARED] (__call_tls_dtors):
46058 Declare with __attribute__ ((weak)).
46059 * stdlib/exit.c (__libc_atexit) [!SHARED]:
46060 Call __call_tls_dtors only if it's not NULL.
46062 2013-03-28 Roland McGrath <roland@hack.frob.com>
46064 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
46065 didn't do it already, then set _dl_phdr and _dl_phnum based on the
46066 magic __ehdr_start linker symbol if it's defined.
46067 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
46068 them up here if it was already done.
46070 * elf/dl-support.c (_dl_phdr): Make pointer to const.
46071 (_dl_aux_init): Use const in cast when setting it.
46072 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
46073 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
46074 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
46076 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
46078 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
46079 * csu/libc-tls.c: Nor here.
46080 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
46082 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
46083 (__libc_message): Never call vsyslog.
46085 2013-03-28 Alan Modra <amodra@gmail.com>
46087 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
46089 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
46092 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46095 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
46097 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46099 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
46102 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
46103 Don't add gid passed as argument.
46105 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
46107 2013-03-27 Joseph Myers <joseph@codesourcery.com>
46110 * math/k_casinh.c (__kernel_casinh): Handle arguments with
46111 imaginary part between 1.0 and 1.5 and real part less than 0.5
46113 * math/k_casinhf.c (__kernel_casinhf): Likewise.
46114 * math/k_casinhl.c (__kernel_casinhl): Likewise.
46115 * math/libm-test.inc (cacos_test): Add more tests.
46116 (casin_test): Likewise.
46117 (casinh_test): Likewise.
46118 * sysdeps/i386/fpu/libm-test-ulps: Update.
46119 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46121 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
46123 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
46126 (denorm): Likewise.
46127 (__dbl_mp): Likewise.
46128 (add_magnitudes): Likewise.
46129 (sub_magnitudes): Likewise.
46137 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
46139 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
46140 (__dubcos): Likewise.
46141 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
46142 (__ieee754_acos): Likewise.
46143 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
46144 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
46145 (__exp1): Likewise.
46146 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
46147 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
46149 (my_log2): Likewise.
46150 (checkint): Likewise.
46151 * sysdeps/ieee754/dbl-64/e_remainder.c
46152 (__ieee754_remainder): Likewise.
46153 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
46154 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
46155 (bsloww): Likewise.
46156 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
46158 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
46159 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
46160 MANTISSA_STORE_T to store computations on mantissa. Use
46161 macros for rounding and division.
46162 (denorm): Likewise.
46163 (__dbl_mp): Likewise.
46164 (add_magnitudes): Likewise.
46165 (sub_magnitudes): Likewise.
46168 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
46169 powers of two in terms of TWOPOW macro.
46170 (mp_no): Make type of mantissa as MANTISSA_T.
46171 [!RADIXI]: Define RADIXI.
46172 [!TWO52]: Define TWO52.
46173 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
46175 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46177 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
46178 llroundl symbol when building for PPC32.
46180 2013-03-24 Mark H Weaver <mhw@netris.org>
46182 * manual/arith.texi (Normalization Functions): Fix prototypes for
46183 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
46185 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46188 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
46189 high value to check if expl overflow.
46190 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
46191 to check for underflow and overflow.
46192 * math/libm-test.inc: Add exp test.
46194 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
46197 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
46200 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46202 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
46205 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
46207 * math/gen-libm-test.pl (parse_args, special_functions): Properly
46208 wrap blocks consisting of several statements.
46210 * sysdeps/generic/math-tests.h: New file.
46211 * sysdeps/i386/fpu/math-tests.h: Likewise.
46212 * math/test-snan.c: Include it.
46213 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
46215 2013-03-21 Joseph Myers <joseph@codesourcery.com>
46218 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
46219 (__ieee754_j0l): Do not improve calculations using cos of twice
46220 input for inputs above LDBL_MAX / 2.0L.
46221 (__ieee754_y0l): Likewise.
46222 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
46223 (__ieee754_j1l): Do not improve calculations using cos of twice
46224 input for inputs above LDBL_MAX / 2.0L.
46225 (__ieee754_y1l): Likewise.
46226 * math/libm-test.inc (j0_test): Add another test.
46227 (j1_test): Likewise.
46228 (y0_test): Likewise.
46229 (y1_test): Likewise.
46230 * sysdeps/i386/fpu/libm-test-ulps: Update.
46232 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
46234 * Rules ($(objpfx)bench-%.c): Include code from a C source
46237 2013-03-21 Joseph Myers <joseph@codesourcery.com>
46240 * math/k_casinh.c (__kernel_casinh): Handle arguments with
46241 imaginary part 1.0 and real part less than 0.5 specially.
46242 * math/k_casinhf.c (__kernel_casinhf): Likewise.
46243 * math/k_casinhl.c (__kernel_casinhl): Likewise.
46244 * math/libm-test.inc (cacos_test): Add more tests.
46245 (casin_test): Likewise.
46246 (casinh_test): Likewise.
46247 * sysdeps/i386/fpu/libm-test-ulps: Update.
46248 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46250 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
46252 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
46253 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
46255 2013-03-20 Joseph Myers <joseph@codesourcery.com>
46257 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
46258 * config.make.in (config-cflags-sse4): Remove variable.
46259 (config-cflags-avx): Likewise.
46260 (config-cflags-sse2avx): Likewise.
46261 (config-cflags-novzeroupper): Likewise.
46262 (config-asflags-i686): Likewise.
46263 (have-mfma4): Likewise.
46264 (have-as-vis3): Likewise.
46266 * configure.in (MIG): Do not AC_SUBST.
46267 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
46268 (libc_cv_cc_sse4): Do not AC_SUBST.
46269 (libc_cv_cc_avx): Likewise.
46270 (libc_cv_cc_sse2avx): Likewise.
46271 (libc_cv_cc_novzeroupper): Likewise.
46272 (libc_cv_cc_fma4): Likewise.
46273 (libc_cv_as_i686): Likewise.
46274 (libc_cv_sparc_as_vis3): Likewise.
46275 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
46277 (config-asflags-i686): Likewise.
46278 (config-cflags-avx): Likewise.
46279 (config-cflags-sse2avx): Likewise.
46280 (have-mfma4): Likewise.
46281 (config-cflags-novzeroupper): Likewise.
46282 * sysdeps/mach/configure.in (MIG): Likewise.
46283 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
46284 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
46286 (config-cflags-avx): Likewise.
46287 (config-cflags-sse2avx): Likewise.
46288 (have-mfma4): Likewise.
46289 (config-cflags-novzeroupper): Likewise.
46290 * configure: Regenerated.
46291 * sysdeps/i386/configure: Likewise.
46292 * sysdeps/mach/configure: Likewise.
46293 * sysdeps/sparc/configure: Likewise.
46294 * sysdeps/x86_64/configure: Likewise.
46296 2013-03-20 Roland McGrath <roland@hack.frob.com>
46299 * locale/programs/localedef.c (options): Put N_ translation marker
46300 on argument names, not just descriptions.
46302 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
46304 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
46306 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
46309 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
46311 2013-03-19 Roland McGrath <roland@hack.frob.com>
46313 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
46314 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
46315 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
46316 [!BEFORE_ABORT] (before_abort): New function.
46317 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
46318 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
46319 (writev_for_fatal): New function.
46320 (WRITEV_FOR_FATAL): New macro; call that.
46321 (backtrace_and_maps): New function.
46322 (BEFORE_ABORT): New macro; call that.
46323 (struct str_list): Type removed.
46324 (__libc_message, __libc_fatal): Functions removed.
46325 Include <sysdeps/posix/libc_fatal.c> instead.
46327 2013-03-19 Joseph Myers <joseph@codesourcery.com>
46329 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
46331 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
46334 2013-03-19 Andreas Schwab <schwab@suse.de>
46336 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
46337 * sysdeps/gnu/configure: Regenerate.
46339 * configure.in: Substitute libc_cv_rtlddir.
46340 * configure: Regenerate.
46341 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
46342 * Makeconfig (rtlddir, inst_rtlddir): New variables.
46343 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
46344 * elf/Makefile (install-others, CFLAGS-interp.c)
46345 (ldso_install, common-ldd-rewrite): Likewise.
46346 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
46347 $(inst_slibdir)/$(rtld-installed-name).
46348 * scripts/rellns-sh: Add -p option.
46349 * Makerules (make-shlib-link): Use rellns-sh to get relative name
46352 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
46354 * manual/nptl.texi: Renamed to ...
46355 * manual/threads.texi: ... this.
46356 * manual/Makefile (chapters): Update.
46358 2013-03-18 Roland McGrath <roland@hack.frob.com>
46361 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
46362 on argument names, not just descriptions.
46363 * malloc/memusagestat.c (options): Likewise.
46364 * nss/getent.c (options): Likewise.
46366 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
46369 * iconv/iconv_prog.c (options): Put N_ translation marker
46370 on argument names, not just descriptions.
46371 * iconv/iconvconfig.c (options): Likewise.
46373 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
46375 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
46376 implementation which is faster on all x86_64 architectures.
46377 Tested on AMD, Intel Nehalem, SNB, IVB.
46378 * sysdeps/x86_64/strnlen.S: Likewise.
46380 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
46381 Remove all multiarch strlen and strnlen versions.
46382 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
46383 Remove strlen and strnlen related parts.
46385 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
46386 Inline strlen part.
46387 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
46389 * sysdeps/x86_64/multiarch/strlen.S: Remove.
46390 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
46391 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
46392 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
46393 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
46394 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
46396 2013-03-17 Carlos O'Donell <carlos@redhat.com>
46398 * manual/memory.texi (Malloc Tunable Parameters):
46399 Sort parameters alphabetically. Add comments for missing entries.
46401 2013-03-17 David S. Miller <davem@davemloft.net>
46403 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46405 2013-03-16 Joseph Myers <joseph@codesourcery.com>
46408 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
46409 for arguments at most half maximum finite value.
46410 * math/libm-test.inc (j0_test): Add more tests.
46411 (j1_test): Likewise.
46412 (y0_test): Likewise.
46413 (y1_test): Likewise.
46414 * sysdeps/i386/fpu/libm-test-ulps: Update.
46415 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46418 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
46419 1 / x and functions P and Q for arguments above 0x1p256L.
46420 (__ieee754_y0l): Likewise.
46421 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
46422 (__ieee754_y1l): Likewise.
46423 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
46424 (j1_test): Likewise.
46425 (y0_test): Likewise.
46426 (y1_test): Likewise.
46428 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
46430 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
46433 2013-03-15 Roland McGrath <roland@hack.frob.com>
46435 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
46436 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
46437 zero since it's initialized to EXEC_PAGESIZE.
46439 * sysdeps/unix/sysv/linux/ldsodefs.h
46440 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
46441 * sysdeps/generic/ldsodefs.h: ... here.
46443 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
46445 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
46447 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
46449 * math/test-snan.c: Renamed from
46450 sysdeps/powerpc/fpu/test-powerpc-snan.c.
46451 * math/Makefile (tests): Add test-snan.
46452 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
46455 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
46456 SUFFIX. Initialize qNaN_var with __builtin_nan family of
46458 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
46459 __builtin_nan family of functions.
46460 * math/libm-test.inc (initialize): Initialize qnan_value with
46461 __builtin_nan family of functions.
46462 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
46464 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
46466 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
46467 storage class. Initialize qNaN_var and sNaN_var with
46468 __builtin_nan and __builtin_nans families of functions,
46471 * math/libm-test.inc (acosh_test): Also test with qNaN input.
46472 (sqrt_test): Remove duplicate test with qNaN input.
46473 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
46474 (round_test, signbit_test, significand_test): Note missing +/-Inf
46475 as well as qNaN tests.
46477 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
46478 qNaN_var. Fix a few strings, too.
46479 * math/libm-test.inc (nan_value): Rename to qnan_value.
46480 * math/gen-libm-test.pl (%beautify): Adjust to that.
46481 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
46482 * math/test-misc.c (main): Likewise.
46483 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
46484 to __qnan_bytes, and __qnan_union, respectively.
46485 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
46487 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
46488 and lqnanval, respectively.
46489 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
46490 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
46491 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
46492 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
46494 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
46495 * math/test-misc.c (main) [__x86_64__]: Enable test for long
46498 * math/test-misc.c (main): Fix copy'n'pastos.
46499 * misc/tst-efgcvt.c (special): Likewise.
46501 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
46502 Remove declarations.
46504 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
46506 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
46507 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
46508 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
46509 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
46511 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46513 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
46514 macro to return vdso values correctly in IFUNC implementations.
46515 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
46516 Optimization by using IFUNC.
46518 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
46519 Richard Henderson <rth@redhat.com>
46520 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
46522 * Makefile.in (bench): New target.
46523 * NEWS: Mention the benchmark framework.
46524 * Rules (bench): Likewise.
46525 (binaries-bench): Generate binaries for functions to
46527 * benchtests/Makefile: New makefile for benchmark tests.
46528 * benchtests/bench-skeleton.c: New skeleton file for benchmark
46530 * benchtests/exp-inputs: New input file for EXP function.
46531 * benchtests/pow-inputs: New input file for POW function.
46532 * scripts/bench.pl: New script to generate source files for
46533 benchmark programs.
46535 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
46537 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
46538 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
46539 computations on mantissa. Use macros for rounding and
46541 (denorm): Likewise.
46542 (__dbl_mp): Likewise.
46543 (add_magnitudes): Likewise.
46544 (sub_magnitudes): Likewise.
46547 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
46548 powers of two in terms of TWOPOW macro.
46549 (mp_no): Make type of mantissa as MANTISSA_T.
46550 [!RADIXI]: Define RADIXI.
46551 [!TWO52]: Define TWO52.
46552 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
46554 * manual/nptl.texi (cindex): Modify threads to pthreads.
46556 2013-03-15 Joseph Myers <joseph@codesourcery.com>
46558 * sysdeps/x86_64/preconfigure: Regenerated.
46560 2013-03-14 Joseph Myers <joseph@codesourcery.com>
46563 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
46565 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
46566 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
46568 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
46569 * math/libm-test.inc (j0_test): Do not allow one spurious
46570 underflow exception.
46571 (y1_test): Likewise.
46573 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
46575 * manual/Makefile (chapters): Add nptl.
46576 * manual/debug.texi (Debugging Support): Add link to Threads
46578 * manual/nptl.texi: New file.
46580 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
46582 2013-03-14 Petr Baudis <pasky@ucw.cz>
46584 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
46585 for non-NULL pointer before the memory validity test. Pointed
46586 out by Holger Brunck <holger.brunck@keymile.com>.
46588 2013-03-13 Andreas Schwab <schwab@suse.de>
46590 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
46593 2013-03-13 Joseph Myers <joseph@codesourcery.com>
46595 * timezone/zic.c: Update from tzcode 2013b.
46597 2013-03-12 Carlos O'Donell <carlos@redhat.com>
46599 * manual/install.texi (Configuring and compiling):
46600 Mention i686 and i586.
46601 * INSTALL: Regenerate.
46603 2013-03-12 Roland McGrath <roland@hack.frob.com>
46605 * sysdeps/init_array/elf-init.c: New file.
46607 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
46608 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
46610 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
46611 __gmon_start__ as global, but as static with a .preinit_array pointer.
46612 * sysdeps/init_array/gmon-start.c: New file. Use that.
46613 * sysdeps/init_array/crti.S: New file, empty except for comments.
46614 * sysdeps/init_array/crtn.S: Likewise.
46616 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
46618 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
46620 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46621 Remove Prefer_SSE_for_memop.
46622 * sysdeps/x86_64/multiarch/init-arch.h: Remove
46623 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
46624 HAS_PREFER_SSE_FOR_MEMOP.
46625 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
46627 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
46628 Remove bzero, memset ifunc support.
46629 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
46630 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
46631 * sysdeps/x86_64/multiarch/memset.S: Likewise.
46632 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
46634 2013-03-11 Andreas Schwab <schwab@suse.de>
46637 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
46639 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
46640 (GLIBC_2.16): Remove pthread_atfork.
46642 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
46644 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
46645 (ptestcases.h): Likewise.
46647 2013-03-08 Roland McGrath <roland@hack.frob.com>
46649 * Makeconfig ($(common-objpfx)config.status): Depend on
46650 sysdeps/*/preconfigure{,.in} too.
46652 2013-03-08 Joseph Myers <joseph@codesourcery.com>
46654 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
46655 (__free_hook): Use void * instead of __malloc_ptr_t.
46656 (__malloc_hook): Likewise.
46657 (__realloc_hook): Likewise.
46658 (__memalign_hook): Likewise.
46659 (__after_morecore_hook): Likewise.
46660 * malloc/arena.c (save_malloc_hook): Likewise.
46661 (save_free_hook): Likewise.
46662 * malloc/hooks.c (malloc_hook_ini): Likewise.
46663 (realloc_hook_ini): Likewise.
46664 (memalign_hook_ini): Likewise.
46665 * malloc/malloc.c (malloc_hook_ini): Likewise.
46666 (realloc_hook_ini): Likewise.
46667 (memalign_hook_ini): Likewise.
46668 (__free_hook): Likewise.
46669 (__malloc_hook): Likewise.
46670 (__realloc_hook): Likewise.
46671 (__memalign_hook): Likewise.
46672 (__libc_malloc): Likewise.
46673 (__libc_free): Likewise.
46674 (__libc_realloc): Likewise.
46675 (__libc_memalign): Likewise.
46676 (__libc_valloc): Likewise.
46677 (__libc_pvalloc): Likewise.
46678 (__libc_calloc): Likewise.
46679 (__posix_memalign): Likewise.
46680 * malloc/morecore.c (__sbrk): Likewise.
46681 (__default_morecore): Likewise.
46683 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
46685 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
46686 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
46687 __malloc_ptrdiff_t.
46689 * malloc/malloc.h (__malloc_size_t): Remove macro.
46690 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
46692 (old_memalign_hook): Likewise.
46693 (old_realloc_hook): Likewise.
46694 (struct hdr): Likewise.
46696 (mallochook): Likewise.
46697 (memalignhook): Likewise.
46698 (reallochook): Likewise.
46699 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
46700 (tr_old_realloc_hook): Likewise.
46701 (tr_old_memalign_hook): Likewise.
46702 (tr_mallochook): Likewise.
46703 (tr_reallochook): Likewise.
46704 (tr_memalignhook): Likewise.
46706 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46708 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
46709 default_ldbl_pack and using as default implementation.
46710 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
46712 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
46713 redundant definition.
46714 (ldbl_insert_mantissa): Likewise.
46715 (ldbl_canonicalize): Likewise.
46716 (ldbl_nearbyint): Likewise.
46717 (ldbl_pack): Rename to ldbl_pack_ppc.
46718 (ldbl_unpack): Rename to ldbl_unpack_ppc.
46719 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
46720 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
46722 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
46724 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
46725 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
46726 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
46727 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
46728 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
46729 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
46730 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
46731 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
46733 2013-03-07 Andreas Jaeger <aj@suse.de>
46735 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46738 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
46740 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
46741 Include mpa.h and declare __MPEXP.
46742 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
46743 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
46744 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
46745 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
46746 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
46747 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
46748 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
46750 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
46751 (__slowpow): Use long double EXPL and LOGL functions to
46753 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
46754 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
46755 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
46756 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
46757 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
46758 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
46760 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
46761 intermediate variable to calculate exponent.
46763 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
46767 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
46768 [!NO__SQR]: Define __sqr.
46769 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
46770 and NO__SQR. Remove all code except __mul and __sqr. Include
46771 sysdeps/ieee754/dbl-64/mpa.c.
46772 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
46775 * posix/Makefile (tests): Add tst-pathconf.
46776 * posix/tst-pathconf.c: New test case.
46777 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
46779 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
46781 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
46783 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
46785 2013-03-06 Andreas Jaeger <aj@suse.de>
46787 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
46788 definition via __MAP_ANONYMOUS.
46790 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
46791 it's not part of Linux headers.
46793 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
46794 (MAP_HUGE_MASK): Define.
46796 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
46798 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
46799 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
46801 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
46802 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
46804 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
46805 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
46807 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
46809 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
46810 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
46811 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
46812 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
46813 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
46814 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
46816 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
46819 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
46820 Handle f2fs and efivarfs.
46822 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
46825 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
46826 (EFIVARFS_MAGIC): Add.
46827 (F2FS_LINK_MAX): Add.
46829 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
46831 * stdio-common/vfprintf.c: Replace __builtin_expect with
46834 2013-03-06 Joseph Myers <joseph@codesourcery.com>
46837 * sysdeps/generic/bp-sym.h: Remove file.
46838 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
46839 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
46840 <bp-sym.h> and <bp-asm.h>.
46841 (__longjmp): Don't use BP_SYM.
46842 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
46844 (memcpy): Don't use BP_SYM.
46845 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
46846 <bp-sym.h> and <bp-asm.h>.
46847 (memcpy): Don't use BP_SYM.
46848 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
46850 (memcpy): Don't use BP_SYM.
46851 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
46853 (memset): Don't use BP_SYM.
46854 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
46855 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
46856 (__bzero): Don't use BP_SYM.
46857 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
46858 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
46859 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
46860 <bp-sym.h> and <bp-asm.h>.
46861 (memcmp): Don't use BP_SYM. Remove comment about bounded
46863 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
46864 <bp-sym.h> and <bp-asm.h>.
46865 (memcpy): Don't use BP_SYM.
46866 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
46867 <bp-sym.h> and <bp-asm.h>.
46868 (memset): Don't use BP_SYM.
46869 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
46870 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
46871 (__bzero): Don't use BP_SYM.
46872 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
46873 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
46874 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
46875 <bp-sym.h> and <bp-asm.h>.
46876 (strncmp): Don't use BP_SYM. Remove comment about bounded
46878 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
46879 <bp-sym.h> and <bp-asm.h>.
46880 (memcpy): Don't use BP_SYM.
46881 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
46882 <bp-sym.h> and <bp-asm.h>.
46883 (memset): Don't use BP_SYM.
46884 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
46885 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
46886 (__bzero): Don't use BP_SYM.
46887 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
46888 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
46889 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
46890 <bp-sym.h> and <bp-asm.h>.
46891 (__memchr): Don't use BP_SYM.
46892 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
46893 <bp-sym.h> and <bp-asm.h>.
46894 (memcmp): Don't use BP_SYM. Remove comment about bounded
46896 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
46897 <bp-sym.h> and <bp-asm.h>.
46898 (memcpy): Don't use BP_SYM.
46899 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
46900 <bp-sym.h> and <bp-asm.h>.
46901 (__mempcpy): Don't use BP_SYM.
46902 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
46903 <bp-sym.h> and <bp-asm.h>.
46904 (__memrchr): Don't use BP_SYM.
46905 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
46906 <bp-sym.h> and <bp-asm.h>.
46907 (memset): Don't use BP_SYM.
46908 (__bzero): Likewise.
46909 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
46910 <bp-sym.h> and <bp-asm.h>.
46911 (__rawmemchr): Don't use BP_SYM.
46912 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
46913 <bp-sym.h> and <bp-asm.h>.
46914 (__STRCMP): Don't use BP_SYM.
46915 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
46916 <bp-sym.h> and <bp-asm.h>.
46917 (strchr): Don't use BP_SYM.
46918 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
46919 <bp-sym.h> and <bp-asm.h>.
46920 (__strchrnul): Don't use BP_SYM.
46921 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
46922 <bp-sym.h> and <bp-asm.h>.
46923 (strlen): Don't use BP_SYM.
46924 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
46925 <bp-sym.h> and <bp-asm.h>.
46926 (strncmp): Don't use BP_SYM. Remove comment about bounded
46928 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
46929 <bp-sym.h> and <bp-asm.h>.
46930 (__strnlen): Don't use BP_SYM.
46931 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
46932 <bp-sym.h> and <bp-asm.h>.
46933 (__GI__setjmp): Don't use BP_SYM.
46934 (_setjmp): Likewise.
46935 (__sigsetjmp): Likewise.
46936 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
46937 (L(start_addresses)): Don't use BP_SYM.
46938 (_start): Likewise.
46939 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
46941 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
46942 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
46943 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
46944 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
46945 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
46947 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
46948 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
46949 about bounded pointers.
46950 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
46951 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
46952 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
46954 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
46955 about bounded pointers. Remove GKM FIXME comments.
46956 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
46957 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
46959 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
46960 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
46961 Remove GKM FIXME comments.
46962 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
46963 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
46964 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
46966 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
46967 about bounded pointers. Remove GKM FIXME comment.
46968 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
46970 (strncmp): Don't use BP_SYM. Remove comment about bounded
46972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
46973 <bp-sym.h> and <bp-asm.h>.
46974 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
46975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
46976 <bp-sym.h> and <bp-asm.h>.
46977 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
46980 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
46982 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
46985 2013-03-05 David S. Miller <davem@davemloft.net>
46987 * po/es.po: Update from translation team.
46989 2013-03-05 Andreas Jaeger <aj@suse.de>
46991 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
46992 <bits/mman-linux.h>.
46993 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
46995 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
46996 <bits/mman-linux.h> to end of file.
46997 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
46999 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
47000 <bits/mman-linux.h> to end of file.
47001 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
47003 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
47004 <bits/mman-linux.h> to end of file.
47006 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
47007 (MCL_CURRENT, MCL_FUTURE): Define here.
47009 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47012 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
47014 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
47016 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47018 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
47019 fourth parameter needed for rt_sigprocmask syscall.
47020 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
47021 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
47022 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
47023 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
47024 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
47025 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
47027 2013-03-04 Joseph Myers <joseph@codesourcery.com>
47030 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
47031 comment about bounded pointers.
47032 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
47033 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
47035 2013-03-04 Andreas Jaeger <aj@suse.de>
47037 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
47038 common definitions.
47040 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
47041 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
47042 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
47043 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
47044 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
47045 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
47047 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47050 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
47051 __ieee754_sqrl instead of __sqrl.
47053 2013-03-01 Joseph Myers <joseph@codesourcery.com>
47055 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
47056 * sysdeps/powerpc/fpu_control.h: ... here.
47057 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
47058 * sysdeps/powerpc/bits/fenvinline.h: ... here.
47059 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
47060 * sysdeps/powerpc/bits/mathinline.h: ... here.
47062 2013-03-01 Roland McGrath <roland@hack.frob.com>
47064 * elf/dl-hwcaps.c (_dl_important_hwcaps):
47065 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
47066 to just [NEED_DL_SYSINFO_DSO].
47067 * elf/dl-support.c: Likewise.
47068 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
47069 * elf/rtld.c (dl_main): Likewise.
47070 * elf/setup-vdso.h (setup_vdso): Likewise.
47071 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
47072 * sysdeps/unix/sysv/linux/dl-sysdep.c
47073 (_dl_discover_osversion): Likewise.
47075 2013-03-01 Carlos O'Donell <carlos@redhat.com>
47077 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
47078 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
47080 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
47082 * NEWS: Mention libm performance improvements and non-x86 PI
47085 * csu/libc-start.c (__pthread_initialize_minimal): Change
47086 function arguments.
47087 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
47089 2013-02-28 Joseph Myers <joseph@codesourcery.com>
47092 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
47093 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
47094 <bp-sym.h> and <bp-asm.h>.
47095 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
47096 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
47098 (memcpy): Don't use BP_SYM.
47099 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
47101 (__mpn_add_n): Don't use BP_SYM.
47102 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
47103 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
47105 (__mpn_addmul_1): Don't use BP_SYM.
47106 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
47107 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
47109 (_setjmp): Don't use BP_SYM.
47110 (__novmx_setjmp): Likewise.
47111 (__GI__setjmp): Likewise.
47112 (__vmx_setjmp): Likewise.
47113 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
47115 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
47116 (__bzero): Don't use BP_SYM.
47117 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
47118 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
47119 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
47120 <bp-sym.h> and <bp-asm.h>.
47121 (memcpy): Don't use BP_SYM.
47122 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
47123 <bp-sym.h> and <bp-asm.h>.
47124 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
47125 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
47126 <bp-sym.h> and <bp-asm.h>.
47127 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
47128 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
47130 (__mpn_lshift): Don't use BP_SYM.
47131 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
47132 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
47134 (memset): Don't use BP_SYM.
47135 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
47136 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
47137 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
47139 (__mpn_mul_1): Don't use BP_SYM.
47140 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
47141 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
47142 <bp-sym.h> and <bp-asm.h>.
47143 (memcmp): Don't use BP_SYM.
47144 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
47145 <bp-sym.h> and <bp-asm.h>.
47146 (memcpy): Don't use BP_SYM.
47147 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
47148 <bp-sym.h> and <bp-asm.h>.
47149 (memset): Don't use BP_SYM.
47150 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
47151 <bp-sym.h> and <bp-asm.h>.
47152 (strncmp): Don't use BP_SYM.
47153 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
47154 <bp-sym.h> and <bp-asm.h>.
47155 (memcpy): Don't use BP_SYM.
47156 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
47157 <bp-sym.h> and <bp-asm.h>.
47158 (memset): Don't use BP_SYM.
47159 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
47160 <bp-sym.h> and <bp-asm.h>.
47161 (__memchr): Don't use BP_SYM.
47162 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
47163 <bp-sym.h> and <bp-asm.h>.
47164 (memcmp): Don't use BP_SYM.
47165 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
47166 <bp-sym.h> and <bp-asm.h>.
47167 (memcpy): Don't use BP_SYM.
47168 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
47169 <bp-sym.h> and <bp-asm.h>.
47170 (__mempcpy): Don't use BP_SYM.
47171 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
47172 <bp-sym.h> and <bp-asm.h>.
47173 (__memrchr): Don't use BP_SYM.
47174 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
47175 <bp-sym.h> and <bp-asm.h>.
47176 (memset): Don't use BP_SYM.
47177 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
47178 <bp-sym.h> and <bp-asm.h>.
47179 (__rawmemchr): Don't use BP_SYM.
47180 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
47181 <bp-sym.h> and <bp-asm.h>.
47182 (__STRCMP): Don't use BP_SYM.
47183 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
47184 <bp-sym.h> and <bp-asm.h>.
47185 (strchr): Don't use BP_SYM.
47186 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
47187 <bp-sym.h> and <bp-asm.h>.
47188 (__strchrnul): Don't use BP_SYM.
47189 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
47190 <bp-sym.h> and <bp-asm.h>.
47191 (strlen): Don't use BP_SYM.
47192 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
47193 <bp-sym.h> and <bp-asm.h>.
47194 (strncmp): Don't use BP_SYM.
47195 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
47196 <bp-sym.h> and <bp-asm.h>.
47197 (__strnlen): Don't use BP_SYM.
47198 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
47200 (__mpn_rshift): Don't use BP_SYM.
47201 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
47202 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
47203 <bp-sym.h> and <bp-asm.h>.
47204 (__sigsetjmp): Don't use BP_SYM.
47205 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
47206 (L(start_addresses)): Don't use BP_SYM.
47207 (_start): Likewise.
47208 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
47210 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
47211 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
47212 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
47213 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
47215 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
47216 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
47217 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
47218 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
47220 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
47222 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
47223 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
47225 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
47227 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
47228 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
47229 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
47231 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
47233 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
47235 (strncmp): Don't use BP_SYM,
47236 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
47238 (__mpn_sub_n): Don't use BP_SYM.
47239 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
47240 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
47242 (__mpn_submul_1): Don't use BP_SYM.
47243 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
47244 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
47245 <bp-sym.h> and <bp-asm.h>.
47246 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
47247 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
47248 <bp-sym.h> and <bp-asm.h>.
47249 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
47252 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
47254 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
47255 Use ZK to minimize writes to Z.
47256 (sub_magnitudes): Simplify code a bit.
47257 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
47258 Use ZK to minimize writes to Z.
47259 (sub_magnitudes): Simplify code a bit.
47261 2013-02-27 Roland McGrath <roland@hack.frob.com>
47263 * csu/gmon-start.c: Add special exception to license text.
47265 2013-02-27 Richard Henderson <rth@redhat.com>
47267 * scripts/config.guess: Update from config.git.
47268 * scripts/config.sub: Likewise.
47270 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
47272 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
47274 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
47276 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
47278 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
47280 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
47282 2013-02-26 Roland McGrath <roland@hack.frob.com>
47284 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
47285 [$(build-shared = yes].
47287 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
47289 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
47290 (__mul): Reduce iterations for calculating mantissa.
47292 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
47294 (__mpranred): Likewise.
47297 * malloc/memusagestat.c (main): Draw graphs for heap and stack
47298 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
47300 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
47302 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
47303 Define __attribute__.
47305 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
47307 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
47309 * posix/regex_internal.h (__attribute): Remove.
47310 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
47311 (re_string_context_at): Likewise.
47312 (bitset_not): Use __attribute__ and mark function as possibly
47314 (bitset_merge): Likewise.
47315 (bitset_mask): Likewise.
47316 (re_string_char_size_at): Likewise.
47317 (re_string_wchar_at): Likewise.
47318 (re_string_elem_size_at): Likewise.
47320 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
47322 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
47326 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
47330 (denorm): Likewise.
47331 (__dbl_mp): Likewise.
47332 (add_magnitudes): Likewise.
47333 (sub_magnitudes): Likewise.
47337 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
47340 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
47343 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
47346 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
47347 up changes with default code.
47348 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
47351 2013-02-24 Allan McRae <allan@archlinux.org>
47353 * manual/socket.texi (The Internet Namespace): Order menu items
47354 to match that in the file.
47356 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
47357 node listing of the info page menu.
47359 2013-02-21 Joseph Myers <joseph@codesourcery.com>
47362 * sysdeps/i386/bp-asm.h: Remove file.
47363 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
47364 (PARMS): Do not use macros from bp-asm.h.
47368 (__mpn_add_n): Do not use BP_SYM
47369 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
47371 (PARMS): Do not use macros from bp-asm.h.
47374 (__mpn_addmul_1): Do not use BP_SYM
47375 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
47377 (PARMS): Do not use macros from bp-asm.h.
47378 (SIGMSK): Likewise.
47379 (_setjmp): Likewise. Do not use BP_SYM.
47380 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
47382 (PARMS): Do not use macros from bp-asm.h.
47383 (SIGMSK): Likewise.
47384 (setjmp): Likewise. Do not use BP_SYM.
47385 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
47387 (PARMS): Do not use macros from bp-asm.h.
47388 (__frexp): Do not use BP_SYM.
47390 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
47392 (PARMS): Do not use macros from bp-asm.h.
47393 (__frexpf): Do not use BP_SYM.
47394 (frexpf): Likewise.
47395 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
47397 (PARMS): Do not use macros from bp-asm.h.
47398 (__frexpl): Do not use BP_SYM.
47399 (frexpl): Likewise.
47400 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
47402 (PARMS): Do not use macros from bp-asm.h.
47403 (__remquo): Do not use BP_SYM.
47404 (remquo): Likewise.
47405 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
47407 (PARMS): Do not use macros from bp-asm.h.
47408 (__remquof): Do not use BP_SYM.
47409 (remquof): Likewise.
47410 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
47412 (PARMS): Do not use macros from bp-asm.h.
47413 (__remquol): Do not use BP_SYM.
47414 (remquol): Likewise.
47415 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
47417 (PARMS): Do not use macros from bp-asm.h.
47420 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
47421 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
47423 (PARMS): Do not use macros from bp-asm.h.
47424 (strlen): Do not use BP_SYM.
47425 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
47427 (PARMS): Do not use macros from bp-asm.h.
47431 (__mpn_add_n): Do not use BP_SYM.
47432 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
47434 (PARMS): Do not use macros from bp-asm.h.
47437 (__mpn_addmul_1): Do not use BP_SYM.
47438 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
47441 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
47443 (PARMS): Do not use macros from bp-asm.h.
47446 (__mpn_lshift): Do not use BP_SYM.
47447 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
47449 (PARMS): Do not use macros from bp-asm.h.
47453 (memcpy): Likewise. Do not use BP_SYM.
47454 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
47455 libc_hidden_def and weak_alias.
47456 (mempcpy): Do not use BP_SYM in weak_alias.
47457 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
47459 (PARMS): Do not use macros from bp-asm.h.
47462 [!BZERO_P] (CHR): Likewise.
47463 (memset): Likewise. Do not use BP_SYM.
47464 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
47466 (PARMS): Do not use macros from bp-asm.h.
47469 (__mpn_mul_1): Do not use BP_SYM.
47470 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
47472 (PARMS): Do not use macros from bp-asm.h.
47475 (__mpn_rshift): Do not use BP_SYM.
47476 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
47478 (PARMS): Do not use macros from bp-asm.h.
47481 (strchr): Likewise. Do not use BP_SYM.
47482 (index): Do not use BP_SYM in weak_alias.
47483 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
47485 (PARMS): Do not use macros from bp-asm.h.
47488 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
47489 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
47491 (PARMS): Do not use macros from bp-asm.h.
47492 (strlen): Do not use BP_SYM.
47493 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
47495 (PARMS): Do not use macros from bp-asm.h.
47499 (__mpn_sub_n): Do not use BP_SYM.
47500 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
47502 (PARMS): Do not use macros from bp-asm.h.
47505 (__mpn_submul_1): Do not use BP_SYM.
47506 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
47508 (PARMS): Do not use macros from bp-asm.h.
47512 (__mpn_add_n): Do not use BP_SYM.
47513 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
47516 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
47518 (PARMS): Do not use macros from bp-asm.h.
47521 (memcmp): Do not use BP_SYM.
47522 (bcmp): Do not use BP_SYM in weak_alias.
47523 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
47525 (PARMS): Do not use macros from bp-asm.h.
47529 (memcpy): Likewise. Do not use BP_SYM.
47530 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
47532 (PARMS): Do not use macros from bp-asm.h.
47536 (memmove): Likewise. Do not use BP_SYM.
47537 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
47539 (PARMS): Do not use macros from bp-asm.h.
47543 (__mempcpy): Likewise. Do not use BP_SYM.
47544 (mempcpy): Do not use BP_SYM in weak_alias.
47545 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
47547 (PARMS): Do not use macros from bp-asm.h.
47550 [!BZERO_P] (CHR): Likewise.
47551 (memset): Likewise. Do not use BP_SYM.
47552 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
47554 (PARMS): Do not use macros from bp-asm.h.
47556 (strcmp): Do not use BP_SYM.
47557 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
47559 (PARMS): Do not use macros from bp-asm.h.
47562 [USE_AS_STRTOK_R] (SAVE): Likewise.
47563 (FUNCTION): Likewise. Do not use BP_SYM.
47564 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
47566 (strtok_r): Likewise.
47567 (__GI___strtok_r): Likewise.
47568 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
47569 (PARMS): Do not use macros from bp-asm.h.
47572 (__mpn_lshift): Do not use BP_SYM.
47573 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
47574 (PARMS): Do not use macros from bp-asm.h.
47577 (__memchr): Do not use BP_SYM.
47578 (memchr): Do not use BP_SYM in weak_alias.
47579 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
47580 (PARMS): Do not use macros from bp-asm.h.
47583 (memcmp): Do not use BP_SYM.
47584 (bcmp): Do not use BP_SYM in weak_alias.
47585 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
47586 (PARMS): Do not use macros from bp-asm.h.
47589 (__mpn_mul_1): Do not use BP_SYM.
47590 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
47592 (PARMS): Do not use macros from bp-asm.h.
47595 (__rawmemchr): Do not use BP_SYM.
47596 (rawmemchr): Do not use BP_SYM in weak_alias.
47597 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
47598 (PARMS): Do not use macros from bp-asm.h.
47601 (__mpn_rshift): Do not use BP_SYM.
47602 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
47603 (PARMS): Do not use macros from bp-asm.h.
47604 (SIGMSK): Likewise.
47605 (__sigsetjmp): Likewise. Do not use BP_SYM.
47606 * sysdeps/i386/start.S: Do not include "bp-sym.h".
47607 (_start): Do not use BP_SYM.
47608 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
47609 (PARMS): Do not use macros from bp-asm.h.
47612 (__stpcpy): Likewise. Do not use BP_SYM.
47613 (stpcpy): Do not use BP_SYM in weak_alias.
47614 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
47616 (PARMS): Do not use macros from bp-asm.h.
47620 (__stpncpy): Likewise. Do not use BP_SYM.
47621 (stpncpy): Do not use BP_SYM in weak_alias.
47622 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
47623 (PARMS): Do not use macros from bp-asm.h.
47626 (strchr): Likewise. Do not use BP_SYM.
47627 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
47629 (PARMS): Do not use macros from bp-asm.h.
47632 (__strchrnul): Likewise. Do not use BP_SYM.
47633 (strchrnul): Do not use BP_SYM in weak_alias.
47634 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
47636 (PARMS): Do not use macros from bp-asm.h.
47638 (strcspn): Do not use BP_SYM.
47639 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
47641 (PARMS): Do not use macros from bp-asm.h.
47644 (strpbrk): Likewise. Do not use BP_SYM.
47645 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
47647 (PARMS): Do not use macros from bp-asm.h.
47650 (strrchr): Likewise. Do not use BP_SYM.
47651 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
47652 (PARMS): Do not use macros from bp-asm.h.
47654 (strspn): Do not use BP_SYM.
47655 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
47656 (PARMS): Do not use macros from bp-asm.h.
47660 (FUNCTION): Likewise. Do not use BP_SYM.
47661 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
47663 (strtok_r): Likewise.
47664 (__GI___strtok_r): Likewise.
47665 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
47666 (PARMS): Do not use macros from bp-asm.h.
47670 (__mpn_sub_n): Do not use BP_SYM.
47671 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
47673 (PARMS): Do not use macros from bp-asm.h.
47676 (__mpn_submul_1): Do not use BP_SYM.
47677 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
47679 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
47681 (PARMS): Do not use macros from bp-asm.h.
47686 (__clone): Do not use BP_SYM.
47687 (clone): Do not use BP_SYM in weak_alias.
47688 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
47690 (PARMS): Do not use macros from bp-asm.h.
47692 (__mmap64): Do not use BP_SYM.
47693 (mmap64): Do not use BP_SYM in weak_alias.
47694 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
47695 <bp-sym.h> and <bp-asm.h>.
47696 (PARMS): Do not use macros from bp-asm.h.
47697 (__posix_fadvise64_l64): Do not use BP_SYM.
47698 * sysdeps/unix/sysv/linux/i386/semtimedop.S
47699 (PARMS): Do not use macros from bp-asm.h.
47701 (semtimedop): Do not use BP_SYM.
47702 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
47705 2013-02-21 Allan McRae <allan@archlinux.org>
47707 * manual/message.texi (Charset conversion in gettext):
47708 Move @end statement to beginning of line.
47710 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
47712 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
47714 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
47717 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
47718 (denorm): Likewise.
47719 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
47720 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
47722 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47724 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
47725 tail-call to the resolved function if pltexit isn't needed.
47727 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
47729 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
47730 or Y being zero as being unlikely.
47731 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
47734 2013-02-20 Carlos O'Donell <carlos@redhat.com>
47736 * manual/nss.texi (System Databases and Name Service Switch):
47737 Remove frobnicate @pxref.
47739 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
47741 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
47742 __attribute__ ((unused)) to __attribute__ ((__unused__)).
47744 2013-02-20 Petr Machata <pmachata@redhat.com>
47746 * elf/elf.h (R_ARM_TARGET1): New macro.
47747 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
47748 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
47749 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
47750 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
47751 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
47752 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
47753 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
47754 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
47755 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
47756 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
47757 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
47758 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
47759 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
47760 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
47761 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
47762 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
47763 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
47764 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
47765 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
47766 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
47767 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
47768 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
47769 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
47770 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
47771 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
47772 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
47773 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
47774 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
47775 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
47776 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
47777 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
47778 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
47779 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
47780 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
47781 (R_ARM_THM_GOT_BREL12): Likewise.
47782 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
47783 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
47784 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
47785 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
47786 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
47787 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
47788 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
47789 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
47790 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
47792 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
47794 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
47795 __attribute_used__ to __attribute__ ((unused)).
47797 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
47799 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
47801 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
47802 comment formatting.
47803 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
47805 2013-02-19 Joseph Myers <joseph@codesourcery.com>
47808 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
47810 (ENTER): Remove both macro definitions.
47812 (CHECK_BOUNDS_LOW): Likewise.
47813 (CHECK_BOUNDS_HIGH): Likewise.
47814 (CHECK_BOUNDS_BOTH): Likewise.
47815 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
47816 (RETURN_BOUNDED_POINTER): Likewise.
47817 (RETURN_NULL_BOUNDED_POINTER): Likewise.
47818 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
47819 (POP_ERRNO_LOCATION_RETURN): Likewise.
47820 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
47821 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
47822 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
47824 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
47825 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
47826 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
47827 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
47828 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
47829 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
47830 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
47831 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
47832 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
47833 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
47834 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
47835 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
47836 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
47837 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
47839 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
47840 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
47842 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
47843 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
47844 * sysdeps/i386/i586/memset.S (memset): Likewise.
47845 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
47846 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
47847 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
47849 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
47850 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
47851 Change uses of L(2) to L(out).
47852 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
47853 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
47854 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
47855 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
47856 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
47858 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
47859 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
47861 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
47862 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
47863 (RETURN): Do not use macro LEAVE.
47864 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
47865 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
47866 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
47867 * sysdeps/i386/i686/memset.S (memset): Likewise.
47868 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
47869 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
47870 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
47871 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
47873 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
47874 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
47875 L(1_2) and L(1_3) into L(1).
47876 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
47877 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
47878 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
47879 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
47880 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
47881 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
47882 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
47883 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
47884 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
47886 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
47887 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
47888 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
47889 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
47890 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
47891 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
47892 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
47893 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
47894 * sysdeps/i386/strcspn.S (strcspn): Likewise.
47895 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
47896 * sysdeps/i386/strrchr.S (strrchr): Likewise.
47897 * sysdeps/i386/strspn.S (strspn): Likewise.
47898 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
47900 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
47901 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
47902 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
47903 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
47904 L(1_3) into L(1_1).
47905 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
47906 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
47907 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
47909 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
47911 2013-02-19 Jakub Jelinek <jakub@redhat.com>
47913 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
47916 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
47918 * math/atest-exp.c (exp_mpn): Remove ROUND.
47919 * math/atest-exp2.c (exp_mpn): Likewise.
47920 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
47922 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
47923 * stdlib/tst-tls-atexit-lib.c: Likewise.
47924 * stdlib/tst-tls-atexit.c: Likewise.
47926 2013-02-18 Mike Frysinger <vapier@gentoo.org>
47928 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
47929 and __attribute_alloc_size__.
47931 2013-02-18 Mike Frysinger <vapier@gentoo.org>
47933 * include/programs/xmalloc.h: Change __attribute_alloc_size to
47934 __attribute_alloc_size__.
47935 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
47936 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
47938 2013-02-18 Mike Frysinger <vapier@gentoo.org>
47940 * include/programs/xmalloc.h: New file.
47941 * catgets/gencat.c: Include it.
47942 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
47943 * elf/pldd.c: Likewise.
47944 * iconv/iconv_charmap.c: Likewise.
47945 * iconv/iconvconfig.c: Likewise.
47946 * iconv/strtab.c: Likewise.
47947 * locale/programs/locale.c: Likewise.
47948 * locale/programs/localedef.h: Likewise.
47949 * locale/programs/simple-hash.c: Likewise.
47950 * nscd/nscd.h: Likewise.
47951 * nss/makedb.c: Likewise.
47952 * sysdeps/generic/ldconfig.h: Likewise.
47954 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
47956 * Versions.def: Add GLIBC_2.18.
47957 * include/link.h (struct link_map): New member l_tls_dtor_count.
47958 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
47959 (__call_tls_dtors): Likewise.
47960 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
47961 __cxa_thread_atexit_impl.
47962 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
47964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
47966 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
47968 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
47970 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
47971 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
47973 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
47975 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
47976 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
47978 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
47979 (tests): Add test case tst-tls-atexit.
47980 (modules-names): Add shared library for tst-tls-atexit.
47981 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
47982 (GLIBC_PRIVATE): Add __call_tls_dtors.
47983 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
47985 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
47986 * stdlib/tst-tls-atexit.c: New test case.
47987 * stdlib/tst-tls-atexit-lib.c: New test case.
47989 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
47991 * elf/Versions (ld): Add _dl_find_dso_for_object.
47992 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
47993 * elf/dl-open.c (_dl_find_dso_for_object): New function.
47994 (dl_open_worker): Use _dl_find_dso_for_object.
47995 * elf/dl-sym.c (do_sym): Likewise.
47996 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
47998 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48000 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
48001 Syntactic changes only.
48002 (_dl_runtime_profile): Do a tail-call to the resolved function.
48004 2013-02-17 Joseph Myers <joseph@codesourcery.com>
48007 * sysdeps/x86_64/bp-asm.h: Remove file.
48008 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
48009 <bp-sym.h> and <bp-asm.h>.
48010 (__clone): Do not use BP_SYM.
48011 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
48012 <bp-sym.h> and <bp-asm.h>.
48013 * sysdeps/unix/x86_64/sysdep.S: Likewise.
48014 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
48016 (_setjmp): Do not use BP_SYM.
48017 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
48019 (setjmp): Do not use BP_SYM.
48020 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
48022 (mempcpy): Do not use BP_SYM in weak_alias.
48023 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
48025 (strchr): Do not use BP_SYM.
48026 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
48028 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
48029 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
48030 (_start): Do not use BP_SYM.
48031 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
48033 (strcat): Do not use BP_SYM.
48034 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
48036 (STRCMP): Do not use BP_SYM.
48037 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
48039 (STRCPY): Do not use BP_SYM.
48040 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
48042 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
48044 (FUNCTION): Do not use BP_SYM.
48045 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
48047 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
48049 2013-02-17 Andreas Jaeger <aj@suse.de>
48051 * time/Versions: Sort entries.
48052 * string/Versions: Likewise.
48053 * resolv/Versions: Likewise.
48054 * posix/Versions: Likewise.
48055 * iconv/Versions: Likewise.
48056 * elf/Versions: Likewise.
48057 * wcsmbs/Versions: Likewise.
48059 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
48061 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
48062 loop termination condition.
48064 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
48065 variable to calculate EZ.
48068 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
48069 the lower precision input.
48071 2013-02-15 Joseph Myers <joseph@codesourcery.com>
48074 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
48075 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
48076 (run-via-rtld-prefix): Do not handle %-bp tests.
48077 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
48078 (all-object-suffixes): Remove .ob.
48079 (bppfx): Remove variable.
48080 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
48081 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
48082 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
48083 [$(build-bounded) = yes] (libtype.ob): Likewise.
48084 * Makerules (elide-routines.ob): Remove variable.
48085 (do-tests-clean): Do not handle *-bp.out.
48086 (common-mostlyclean): Do not handle *-bp and *-bp.out.
48087 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
48088 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
48089 (tests): Do not include $(tests-bp.out).
48090 (xtests): Do not include $(xtests-bp.out).
48091 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
48092 [$(build-bounded) = yes] ($(addprefix
48093 $(objpfx),$(binaries-bounded))): Remove rule.
48094 ($(objpfx)%-bp.out): Remove rule.
48095 * config.make.in (build-bounded): Remove variable.
48096 * crypt/Makefile [$(build-bounded) = yes]
48097 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
48098 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
48099 append to variable.
48100 [$(build-bounded) = yes] (install-lib): Likewise.
48101 [$(build-bounded) = yes] (generated): Likewise.
48102 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
48104 * intl/Makefile [$(build-bounded) = yes]
48105 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
48106 * math/Makefile [$(build-bounded) = yes]
48107 ($(tests:%=$(objpfx)%-bp): Likewise.
48108 * misc/Makefile [$(build-bounded) = yes]
48109 ($(objpfx)tst-tsearch-bp): Likewise.
48110 * nptl/Makeconfig (bounded-thread-library): Remove variable.
48111 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
48113 * string/Makefile (o-objects.ob): Remove variable.
48114 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
48115 (CFLAGS-.ob): Remove variable.
48116 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
48117 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
48118 both definitions of variable.
48119 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
48120 (ASFLAGS-.ob): Remove variable.
48122 2013-02-14 Joseph Myers <joseph@codesourcery.com>
48125 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
48126 Remove __BOUNDED_POINTERS__ from condition.
48127 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
48128 * string/bits/string2.h [!__NO_STRING_INLINES &&
48129 !__BOUNDED_POINTERS__]: Likewise.
48130 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
48132 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
48133 Remove conditional code.
48134 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
48135 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
48136 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
48140 * csu/libc-start.c: Do not include <bp-sym.h>.
48141 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
48142 * elf/dl-open.c: Do not include <bp-sym.h>.
48143 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
48144 * math/fegetenv.c: Do not include <bp-sym.h>.
48145 (fegetenv): Do not use BP_SYM in versioned symbols.
48146 * nptl/sysdeps/pthread/bits/libc-lockP.h
48147 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
48149 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48150 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
48151 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48152 (__pthread_mutex_destroy): Likewise.
48153 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48154 (__pthread_mutex_lock): Likewise.
48155 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48156 (__pthread_mutex_trylock): Likewise.
48157 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48158 (__pthread_mutex_unlock): Likewise.
48159 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48160 (__pthread_mutexattr_init): Likewise.
48161 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48162 (__pthread_mutexattr_destroy): Likewise.
48163 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48164 (__pthread_mutexattr_settype): Likewise.
48165 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48166 (__pthread_rwlock_init): Likewise.
48167 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48168 (__pthread_rwlock_destroy): Likewise.
48169 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48170 (__pthread_rwlock_rdlock): Likewise.
48171 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48172 (__pthread_rwlock_tryrdlock): Likewise.
48173 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48174 (__pthread_rwlock_wrlock): Likewise.
48175 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48176 (__pthread_rwlock_trywrlock): Likewise.
48177 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48178 (__pthread_rwlock_unlock): Likewise.
48179 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48180 (__pthread_key_create): Likewise.
48181 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48182 (__pthread_setspecific): Likewise.
48183 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48184 (__pthread_getspecific): Likewise.
48185 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
48187 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48188 (_pthread_cleanup_push_defer): Likewise.
48189 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48190 (_pthread_cleanup_pop_restore): Likewise.
48191 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48192 (pthread_setcancelstate): Likewise.
48193 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
48195 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
48196 (memchr): Do not use BP_SYM in weak_alias.
48197 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
48198 (fegetenv): Do not use BP_SYM in versioned symbols.
48199 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
48200 (fesetenv): Do not use BP_SYM in versioned symbols.
48201 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
48202 (feupdateenv): Do not use BP_SYM in versioned symbols.
48203 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
48204 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
48205 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
48206 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
48207 (open64): Do not use BP_SYM in weak_alias.
48208 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
48209 (fegetenv): Do not use BP_SYM in versioned symbols.
48210 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
48211 (fesetenv): Do not use BP_SYM in versioned symbols.
48212 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
48213 (feupdateenv): Do not use BP_SYM in versioned symbols.
48214 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
48215 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
48216 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
48217 (feraiseexcept): Do not use BP_SYM in versioned symbols.
48218 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
48219 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
48220 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
48222 (__libc_start_main): Do not use BP_SYM.
48224 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
48226 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
48227 redundant return line.
48229 (denorm): Likewise.
48230 (dbl_mp): Likewise.
48231 (sub_magnitudes): Likewise.
48237 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
48239 (denorm): Likewise.
48240 (dbl_mp): Likewise.
48241 (sub_magnitudes): Likewise.
48248 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
48250 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
48251 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
48254 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
48255 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
48256 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
48257 of __mul for squares.
48258 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
48260 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
48262 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
48263 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
48265 2013-02-13 Joseph Myers <joseph@codesourcery.com>
48268 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
48270 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
48271 prototype or function definition. Rename ubp_* variables and
48272 parameters. Remove argv definitions conditional on
48273 [__BOUNDED_POINTERS__].
48274 * debug/backtrace.c (__backtrace): Do not use __unbounded.
48275 * elf/dl-runtime.c (_dl_fixup): Likewise.
48276 * include/set-hooks.h (RUN_HOOK): Likewise.
48277 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
48279 * string/strcpy.c (strcpy): Do not use __unbounded.
48280 * sysdeps/generic/frame.h (struct layout): Likewise.
48281 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
48282 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
48283 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
48284 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
48285 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
48286 (__backtrace): Likewise.
48287 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
48289 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
48290 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
48291 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
48293 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
48294 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
48295 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
48296 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
48297 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
48298 Do not use __unbounded.
48299 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
48300 Rename __unboundedrlimits parameter to rlimits in prototype.
48301 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
48302 Do not use __unbounded.
48303 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
48304 not use __ptrvalue.
48305 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
48306 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
48307 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
48308 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
48309 __ptrvalue or __unbounded.
48310 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
48311 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
48313 (__new_msgctl): Do not use __ptrvalue.
48314 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
48316 (__libc_msgrcv): Do not use __ptrvalue.
48317 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
48318 startup_info): Do not use __unbounded.
48319 (__libc_start_main): Likewise. Rename ubp_* variables and
48320 parameters. Remove argv definitions conditional on
48321 [__BOUNDED_POINTERS__].
48322 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
48324 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
48326 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
48328 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
48330 (__new_shmctl): Do not use __ptrvalue.
48331 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
48332 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
48334 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
48335 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
48336 (__libc_sigaction): Likewise.
48337 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
48338 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
48340 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
48342 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
48344 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
48346 * string/mempcpy.c: Implement by calling memcpy.
48348 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
48350 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
48352 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
48355 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
48356 values in the mantissa.
48358 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
48359 minimize writes to Z.
48360 (sub_magnitudes): Simplify code a bit.
48362 2013-02-12 Roland McGrath <roland@hack.frob.com>
48364 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
48365 from the message. The linker prefixes all warnings with that already.
48367 2013-02-12 Andreas Schwab <schwab@suse.de>
48370 * posix/regexec.c (extend_buffers): Add parameter min_len.
48371 (check_matching): Pass minimum needed length.
48372 (clean_state_log_if_needed): Likewise.
48373 (get_subexp): Likewise.
48374 * posix/Makefile (tests): Add bug-regex34.
48375 (bug-regex34-ENV): Define.
48376 * posix/bug-regex34.c: New file.
48379 * posix/regcomp.c (parse_bracket_exp): When looking up collating
48380 elements compare against the byte sequence of it, not its name.
48381 * posix/Makefile (tests): Add bug-regex35.
48382 (bug-regex35-ENV): Define.
48383 * posix/bug-regex35.c: New file.
48385 2013-02-11 Tom de Vries <tom@codesourcery.com>
48387 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
48389 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
48390 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
48391 (CHECK_EOL): Add undef.
48393 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
48395 * bits/stdlib-bsearch.h: New file.
48396 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
48397 * stdlib/stdlib.h: Likewise.
48399 2013-02-11 Roland McGrath <roland@hack.frob.com>
48401 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
48402 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
48404 * manual/search.texi (Array Search Function): Add missing const in
48406 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
48407 declaration to use rlim_t.
48408 (Basic Scheduling Functions): Remove erroneous const from
48409 sched_getparam prototype. Remove erroneous * from
48410 sched_get_priority_max and sched_get_priority_min prototypes.
48411 (Resource Usage): Fix summary @comment on vtimes to refer to
48412 sys/vtimes.h rather than vtimes.h.
48413 Add missing *s in vtimes prototype.
48414 (Limits on Resources): Fix ulimit prototype to return long int.
48415 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
48416 prototypes to use long int rather than double.
48417 (BSD Random): Fix initstate and setstate to use char *, not void *.
48418 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
48419 prototype to make second argument 'struct aiocb64 *const[]'.
48420 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
48421 (Status of AIO Operations): Remove erroneous const in aio_return and
48422 aio_return64 prototypes.
48423 (Synchronizing I/O): Fix sync prototype to return void.
48424 * manual/startup.texi (Suboptions): Remove an erroneous const in
48425 getsubopt prototype.
48426 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
48427 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
48428 use size_t rather than int.
48429 (Scanning All Users): Likewise for getpwent_r.
48430 (Setting Groups): Add missing const to setgroups prototype.
48431 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
48432 * manual/socket.texi (Host Names): Fix gethostbyaddr and
48433 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
48434 'const void *' rather than 'const char *'.
48435 (Host Address Functions): Likewise for inet_ntop.
48436 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
48437 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
48438 ssize_t for return value.
48439 (Sending Data): Likewise for send, sendto, sendmsg.
48440 (Socket Option Functions): Add a missing const in setsockopt prototype.
48441 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
48442 use wchar_t for the argument.
48443 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
48444 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
48446 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
48447 double/float/long double for second argument.
48448 Fix return types of significand, significandf, significandl.
48449 * manual/filesys.texi (Setting Permissions): Use mode_t for second
48450 argument in fchmod prototype.
48451 (File Owner): Use uid_t and gid_t in fchown prototype.
48452 (File Times): Add const to utimes, futimes, and lutimes prototypes.
48453 (Making Special Files): Use mode_t and dev_t in mknod prototype.
48454 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
48455 use 'const struct dirent **' as argument types to CMP function pointer
48457 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
48458 (File Times): Fix summary magic @comment for struct utimbuf and utime
48459 to refer to utime.h, not time.h.
48460 * manual/string.texi (Argz Functions): Add missing const in
48461 argz_extract and argz_next prototypes.
48462 (Finding Tokens in a String): Likewise for basename.
48463 (String/Array Comparison): Fix typo in wcscasecmp prototype.
48464 (Copying and Concatenation): Fix typo in wmemmove prototype.
48465 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
48466 (Signal Stack): Remove erroneous const in sigstack prototype.
48467 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
48469 (Simple Calendar Time): Likewise for stime.
48470 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
48472 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
48473 say sys/sysctl.h instead.
48474 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
48475 and vsyslog prototypes.
48477 2013-02-11 Tom de Vries <tom@codesourcery.com>
48479 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
48482 2013-02-11 Roland McGrath <roland@hack.frob.com>
48484 * misc/sys/mman.h: Fix typo in mremap comment.
48486 2013-02-08 Roland McGrath <roland@hack.frob.com>
48488 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
48489 the '\0' terminator.
48491 2013-02-08 Joseph Myers <joseph@codesourcery.com>
48494 * debug/segfault.c: Don't include <bp-checks.h>.
48495 * sysdeps/generic/bp-checks.h: Remove file.
48496 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
48497 (__GETDENTS): Don't use CHECK_N.
48498 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
48499 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
48500 (__getgroups): Don't use CHECK_N.
48501 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
48502 (setgroups): Don't use CHECK_N.
48503 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
48504 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
48505 (__libc_msgrcv): Don't use CHECK_N.
48506 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
48507 (__libc_msgsnd): Don't use CHECK_N.
48508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
48510 (__libc_pread): Don't use CHECK_N.
48511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
48512 include <bp-checks.h>.
48513 (__libc_pread64): Don't use CHECK_N.
48514 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
48515 include <bp-checks.h>.
48516 (__libc_pwrite): Don't use CHECK_N.
48517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
48518 include <bp-checks.h>.
48519 (__libc_pwrite64): Don't use CHECK_N.
48520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
48522 (__libc_pread): Don't use CHECK_N.
48523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
48524 include <bp-checks.h>.
48525 (__libc_pread64): Don't use CHECK_N.
48526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
48527 include <bp-checks.h>.
48528 (__libc_pwrite): Don't use CHECK_N.
48529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
48530 include <bp-checks.h>.
48531 (__libc_pwrite64): Don't use CHECK_N.
48532 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
48533 (do_pread): Don't use CHECK_N.
48534 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
48535 (do_pread64): Don't use CHECK_N.
48536 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
48537 (do_pwrite): Don't use CHECK_N.
48538 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
48539 (do_pwrite64): Don't use CHECK_N.
48540 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
48541 (__libc_readv): Don't use CHECK_N.
48542 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
48543 (semop): Don't use CHECK_N.
48544 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
48546 (semtimedop): Don't use CHECK_N.
48547 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
48548 (__libc_pread): Don't use CHECK_N.
48549 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
48551 (__libc_pread64): Don't use CHECK_N.
48552 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
48554 (__libc_pwrite): Don't use CHECK_N.
48555 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
48557 (__libc_pwrite64): Don't use CHECK_N.
48558 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
48560 (__libc_msgrcv): Don't use CHECK_N.
48561 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
48562 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
48563 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
48564 (__libc_writev): Don't use CHECK_N.
48566 2013-02-08 Roland McGrath <roland@hack.frob.com>
48568 * string/strcpy.c: Removed unused variable.
48570 * Makeconfig (+sysdep-includes): Define with := rather than =.
48571 Use an existing include/ subdir of each sysdeps dir before it.
48573 2013-02-08 Carlos O'Donell <carlos@redhat.com>
48575 * nscd/connection.c (register_traced_file): Comment function.
48576 [HAVE_INOTIFY] (union __inev): Define.
48577 [HAVE_INOTIFY] (inotify_check_files): New function.
48578 [HAVE_INOTIFY] (clear_db_cache): Likewise.
48579 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
48581 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
48583 2013-02-08 Carlos O'Donell <carlos@redhat.com>
48585 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
48586 loaded if not already and that a failure is permanent.
48588 2013-02-08 Carlos O'Donell <carlos@redhat.com>
48591 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
48592 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
48594 2013-02-08 Joseph Myers <joseph@codesourcery.com>
48597 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
48598 (CHECK_1_NULL_OK): Likewise.
48599 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
48600 (__fxstat): Do not use CHECK_1.
48601 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
48603 (___fxstat64): Do not use CHECK_1.
48604 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
48606 (__fxstatat): Do not use CHECK_1.
48607 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
48609 (__fxstatat64): Do not use CHECK_1.
48610 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
48612 (__fxstat): Do not use CHECK_1.
48613 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
48615 (__fxstatat): Do not use CHECK_1.
48616 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
48618 (__getresgid): Do not use CHECK_1.
48619 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
48621 (__getresuid): Do not use CHECK_1.
48622 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
48624 (__lxstat): Do not use CHECK_1.
48625 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
48627 (__old_msgctl): Do not use CHECK_1.
48628 (__new_msgctl): Likewise.
48629 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
48631 (__new_setrlimit): Do not use CHECK_1.
48632 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
48634 (__old_shmctl): Do not use CHECK_1.
48635 (__new_shmctl): Likewise.
48636 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
48638 (__xstat): Do not use CHECK_1.
48639 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
48640 (__lxstat): Do not use CHECK_1.
48641 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
48643 (___lxstat64): Do not use CHECK_1.
48644 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
48645 (__old_msgctl): Do not use CHECK_1.
48646 (__new_msgctl): Likewise.
48647 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
48649 (__gettimeofday): Do not use CHECK_1.
48650 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
48651 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
48652 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
48654 (__gettimeofday): Do not use CHECK_1.
48655 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
48656 (__old_shmctl): Do not use CHECK_1_NULL_OK.
48657 (__new_shmctl): Do not use CHECK_1.
48658 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
48660 (do_sigtimedwait): Do not use CHECK_1.
48661 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
48663 (do_sigwaitinfo): Do not use CHECK_1.
48664 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
48666 (msgctl): Do not use CHECK_1.
48667 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
48669 (shmctl): Do not use CHECK_1.
48670 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
48671 (ustat): Do not use CHECK_1.
48672 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
48674 (__fxstat): Do not use CHECK_1.
48675 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
48677 (__fxstatat): Do not use CHECK_1.
48678 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
48680 (__lxstat): Do not use CHECK_1.
48681 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
48683 (__xstat): Do not use CHECK_1.
48684 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
48685 (__xstat): Do not use CHECK_1.
48686 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
48687 (___xstat64): Do not use CHECK_1.
48690 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
48692 (CHECK_BOUNDS_HIGH): Likewise.
48693 * string/strcpy.c: Do not include <bp-checks.h>.
48694 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
48696 2013-02-07 Roland McGrath <roland@hack.frob.com>
48698 * nscd/nscd-client.h (__nscd_drop_map_ref):
48699 Add __attribute__ ((unused)).
48700 * nis/nss-nisplus.h (niserr2nss): Likewise.
48702 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
48703 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
48705 * csu/libc-tls.c (init_static_tls, init_slotinfo):
48706 Remove inline keyword.
48707 * include/rounding-mode.h (round_away): Likewise.
48708 * libio/wfileops.c (adjust_wide_data): Likewise.
48709 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
48710 (__m128i_strloadu_tolower): Likewise.
48711 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
48712 (__m128i_strloadu_tolower): Likewise.
48713 * time/mktime.c (ydhms_diff): Likewise.
48714 * locale/elem-hash.h (elem_hash): Likewise.
48715 * locale/setlocale.c (setdata): Likewise.
48716 * posix/regex_internal.h (re_string_char_size_at): Likewise.
48717 (re_string_wchar_at): Likewise.
48718 (bitset_not, bitset_merge, bitset_mask): Likewise.
48719 [!(__GNUC__ > 3)] (inline): Remove macro.
48720 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
48721 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
48722 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
48723 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
48724 * string/memcmp.c (memcmp_bytes): Likewise.
48725 * locale/programs/locarchive.c (compute_hashval): Likewise.
48726 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
48727 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
48728 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
48729 * nss/getent.c (print_rpc, print_protocols): Likewise.
48730 (print_passwd, print_group, print_aliases): Likewise.
48731 * nis/nss-nisplus.h (niserr2nss): Likewise.
48732 * nscd/connections.c (restart_p): Likewise.
48733 Change return type to bool.
48735 2013-02-05 Roland McGrath <roland@hack.frob.com>
48737 * Makeconfig (all-Depend-files): Add existing
48738 $(sorted-subdirs:=/Depend) files.
48739 (all-subdirs): Remove nss.
48740 * sysdeps/unix/inet/Subdirs: Add it here instead.
48741 * hesiod/Depend: New file.
48743 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
48744 instead of calling alloca.
48746 * io/lseek.c (__lseek): Rename to __libc_lseek.
48747 Define __lseek as an alias.
48749 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
48751 2013-02-04 Carlos O'Donell <carlos@redhat.com>
48753 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
48754 else clause and remove check for non-standard endianness.
48756 2013-02-04 David S. Miller <davem@davemloft.net>
48758 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48760 2013-02-04 Joseph Myers <joseph@codesourcery.com>
48763 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
48764 (__ubp_memchr): Remove prototype.
48765 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
48766 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
48767 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
48768 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
48769 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
48771 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
48772 (__ubp_memchr): Likewise.
48773 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
48774 (__ubp_memchr): Likewise.
48775 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
48776 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
48777 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
48778 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
48780 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
48781 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
48782 (__getcwd): Do not use CHECK_STRING.
48783 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
48785 (__real_chown): Do not use CHECK_STRING.
48786 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
48788 (fchownat): Do not use CHECK_STRING.
48789 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
48791 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
48793 (__lchown): Do not use CHECK_STRING.
48794 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
48795 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
48796 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
48797 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
48798 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
48799 include <bp-checks.h>.
48800 (truncate64): Do not use CHECK_STRING.
48801 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
48803 (__real_chown): Do not use CHECK_STRING.
48804 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
48806 (__lchown): Do not use CHECK_STRING.
48807 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
48809 (__chown): Do not use CHECK_STRING.
48810 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
48812 (truncate64): Do not use CHECK_STRING.
48813 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
48815 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
48816 (__xmknod): Do not use CHECK_STRING.
48817 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
48819 (__xmknodat): Do not use CHECK_STRING.
48820 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
48821 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
48823 2013-02-04 Andreas Schwab <schwab@suse.de>
48826 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
48827 * include/netdb.h: Likewise for h_errno.
48828 * elf/tst-stackguard1.c: Include <tls.h>.
48830 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
48832 * elf/link.h (struct link_map): Extend the l_addr comment.
48833 * include/link.h (struct link_map): Likewise.
48835 2013-02-01 Joseph Myers <joseph@codesourcery.com>
48838 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
48839 (BOUNDED_1): Remove macro.
48840 * debug/backtrace.c: Don't include <bp-checks.h>.
48841 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
48842 (__backtrace): Likewise.
48843 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
48845 (__backtrace): Don't use BOUNDED_1.
48846 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
48848 (__backtrace): Don't use BOUNDED_1.
48849 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
48850 (__backtrace): Don't use BOUNDED_1.
48851 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
48852 (shmat): Don't use BOUNDED_N.
48854 2013-01-31 Joseph Myers <joseph@codesourcery.com>
48857 * sysdeps/generic/bp-start.h: Remove file.
48858 * csu/libc-start.c: Don't include <bp-start.h>.
48859 (LIBC_START_MAIN): Set up __environ directly instead of using
48860 INIT_ARGV_and_ENVIRON.
48861 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
48865 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
48867 (CHECK_FCNTL): Likewise.
48868 (CHECK_N_PAGES): Likewise.
48871 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
48873 (CHECK_SIGSET_NULL_OK): Likewise.
48874 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
48876 (sigpending): Don't use CHECK_SIGSET.
48877 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
48879 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
48880 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
48882 (do_sigsuspend): Don't use CHECK_SIGSET.
48883 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
48885 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
48886 (do_sigwait): Don't use CHECK_SIGSET.
48887 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
48889 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
48890 include <bp-checks.h>.
48891 (sigpending): Don't use CHECK_SIGSET.
48892 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
48893 include <bp-checks.h>.
48894 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
48895 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
48897 (sigpending): Don't use CHECK_SIGSET.
48898 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
48900 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
48903 * sysdeps/generic/bp-semctl.h: Remove file.
48904 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
48905 <bp-checks.h> and <bp-semctl.h>.
48906 (__old_semctl): Don't use CHECK_SEMCTL.
48907 (__new_semctl): Likewise.
48908 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
48910 (__old_semctl): Don't use CHECK_SEMCTL.
48911 (__new_semctl): Likewise.
48912 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
48913 <bp-checks.h> and <bp-semctl.h>.
48914 (__old_semctl): Don't use CHECK_SEMCTL.
48915 (__new_semctl): Likewise.
48916 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
48917 <bp-checks.h> and <bp-semctl.h>.
48918 (semctl): Don't use CHECK_SEMCTL.
48921 * Makerules (elide-bp-thunks): Remove variable.
48922 (elide-routines.oS): Don't use $(elide-bp-thunks).
48923 (elide-routines.os): Likewise.
48924 (elide-routines.o): Likewise.
48925 (elide-routines.op): Likewise.
48926 (elide-routines.og): Likewise.
48927 (objects): Don't use $(bp-thunks).
48928 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
48930 (common-generated): Do not add s-proto-bp.d.
48931 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
48934 Do not generate makefile rules for bounded-pointer thunks.
48935 * sysdeps/generic/bp-thunks.h: Remove file.
48936 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
48937 * sysdeps/unix/s-proto-bp.S: Likewise.
48940 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
48941 parts of result separately when argument is not close to line from
48942 -i to i and one part of argument is small.
48943 * math/k_casinhf.c (__kernel_casinhf): Likewise.
48944 * math/k_casinhl.c (__kernel_casinhl): Likewise.
48945 * math/libm-test.inc (cacos_test): Add more tests.
48946 (casin_test): Likewise.
48947 (casinh_test): Likewise.
48948 * sysdeps/i386/fpu/libm-test-ulps: Update.
48949 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48951 2013-01-31 David S. Miller <davem@davemloft.net>
48953 * po/de.po: Update from translation team.
48955 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
48957 * time/tzfile.c: Include stdint.h for SIZE_MAX.
48959 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
48961 * configure.in (_AC_PROG_CC_C89): New definition.
48962 * configure: Regenerate.
48964 * configure.in (AC_PROG_CPP): New definition.
48965 * configure: Regenerate.
48967 2013-01-23 Joseph Myers <joseph@codesourcery.com>
48969 * debug/tst-backtrace.h: New file.
48970 * debug/tst-backtrace2.c: Include tst-backtrace.h.
48971 (ret): Remove variable.
48973 (FAIL): Remove macro.
48974 (NO_INLINE): Likewise.
48975 (fn1): Use match function instead of strstr.
48976 * debug/tst-backtrace3.c: Include tst-backtrace.h.
48977 (ret): Remove variable.
48979 (FAIL): Remove macro.
48980 (NO_INLINE): Likewise.
48981 (fn): Use match function instead of strstr.
48982 * debug/tst-backtrace4.c: Include tst-backtrace.h.
48983 (ret): Remove variable.
48985 (FAIL): Remove macro.
48986 (NO_INLINE): Likewise.
48987 (handle_signal): Use match function instead of strstr.
48988 * debug/tst-backtrace5.c: Include tst-backtrace.h.
48989 (ret): Remove variable.
48991 (FAIL): Remove macro.
48992 (NO_INLINE): Likewise.
48993 (handle_signal): Use match function instead of strstr.
48995 2013-01-23 Roland McGrath <roland@hack.frob.com>
48997 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
48999 2013-01-23 David S. Miller <davem@davemloft.net>
49001 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
49002 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
49003 argument of CAS if possible.
49004 * sysdeps/sparc/sparc64/bits/atomic.h
49005 (__arch_compare_and_exchange_val_32_acq): Likewise.
49006 (__arch_compare_and_exchange_val_64_acq): Likewise.
49008 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
49010 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
49011 * sysdeps/posix/ulimit.c: ... this.
49012 Include <limits.h>.
49013 * sysdeps/unix/bsd/ulimit.c: Remove file.
49015 2013-01-23 Adam Conrad <adconrad@0c3.net>
49017 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
49018 (LDFLAGS-tst-array5): Likewise.
49020 2013-01-23 Joseph Myers <joseph@codesourcery.com>
49023 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
49024 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
49025 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
49026 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
49028 2013-01-21 David S. Miller <davem@davemloft.net>
49030 * sysdeps/sparc/backtrace.c: New file.
49031 * sysdeps/sparc/sparc32/backtrace.h: New file.
49032 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
49033 * sysdeps/sparc/sparc64/backtrace.h: New file.
49034 * sysdeps/sparc/sparc64/backtrace.c: Delete.
49035 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
49038 2013-01-21 Andreas Schwab <schwab@suse.de>
49041 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
49044 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
49046 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
49048 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
49050 2013-01-18 Joseph Myers <joseph@codesourcery.com>
49051 Mark Mitchell <mark@codesourcery.com>
49052 Tom de Vries <tom@codesourcery.com>
49053 Paul Pluzhnikov <ppluzhnikov@google.com>
49055 * debug/tst-backtrace2.c: New file.
49056 * debug/tst-backtrace3.c: Likewise.
49057 * debug/tst-backtrace4.c: Likewise.
49058 * debug/tst-backtrace5.c: Likewise.
49059 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
49060 (CFLAGS-tst-backtrace3.c): Likewise.
49061 (CFLAGS-tst-backtrace4.c): Likewise.
49062 (CFLAGS-tst-backtrace5.c): Likewise.
49063 (LDFLAGS-tst-backtrace2): Likewise.
49064 (LDFLAGS-tst-backtrace3): Likewise.
49065 (LDFLAGS-tst-backtrace4): Likewise.
49066 (LDFLAGS-tst-backtrace5): Likewise.
49067 (tests): Add new tests tst-backtrace2, tst-backtrace3,
49068 tst-backtrace4 and tst-backtrace5.
49070 2013-01-18 Anton Blanchard <anton@samba.org>
49071 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
49073 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
49074 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
49075 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
49076 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
49077 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
49078 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
49079 "+r" and remove output regs list as redundant. Add explicit inline
49080 asm to specify register of return val to work around compiler codegen
49081 bug. Remove (int) cast on return value. Add return type parameter to
49082 use in macro so that this macro does not truncate return value for
49084 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
49085 pass to INTERNAL_VSYSCALL_NCS.
49086 (INLINE_VSYSCALL): Add 'long int' as return type to
49087 INTERNAL_VSYSCALL_NCS macro invocation.
49088 (INTERNAL_VSYSCALL): Add 'long int' as return type to
49089 INTERNAL_VSYSCALL_NCS macro invocation.
49090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
49092 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
49095 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
49096 Fix application of SIMD FP exception mask.
49098 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
49099 mp_no from a power of two.
49100 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
49101 __mpexp_twomm1. Use __pow_mp.
49103 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
49106 2013-01-17 David S. Miller <davem@davemloft.net>
49108 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49110 2013-01-17 Joseph Myers <joseph@codesourcery.com>
49113 * include/complex.h: Condition contents on [!_COMPLEX_H].
49114 (__kernel_casinhf): New prototype.
49115 (__kernel_casinh): Likewise.
49116 (__kernel_casinhl): Likewise.
49117 * math/Makefile (libm_calls): Add k_casinh.
49118 * math/k_casinh.c: New file.
49119 * math/k_casinhf.c: Likewise.
49120 * math/k_casinhl.c: Likewise.
49121 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
49122 finite nonzero arguments.
49123 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
49124 finite nonzero arguments.
49125 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
49126 finite nonzero arguments.
49127 * math/s_casinh.c: Do not include <float.h>.
49128 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
49129 * math/s_casinhf.c: Do not include <float.h>.
49130 (__casinhf): Move code for finite nonzero arguments to
49132 * math/s_casinhl.c: Do not include <float.h>.
49133 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
49135 (__casinhl): Move code for finite nonzero arguments to
49137 * math/libm-test.inc (cacos_test): Add more tests.
49138 * sysdeps/i386/fpu/libm-test-ulps: Update.
49139 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49141 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
49143 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
49144 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
49145 [!HAVE_MREMAP]: Remove [defined linux] case.
49146 * malloc/arena.c: Do not include <malloc-sysdep.h>.
49148 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
49150 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
49152 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
49154 * elf/elf.h (R_386_SIZE32): New relocation.
49155 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
49157 (elf_machine_rela): Likewise.
49158 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
49159 R_X86_64_SIZE64 and R_X86_64_SIZE32.
49161 2013-01-17 Joseph Myers <joseph@codesourcery.com>
49163 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
49164 (FP_FAST_FMA): Do not define.
49165 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
49166 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
49167 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
49168 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
49169 !_SOFT_FLOAT]: Likewise.
49170 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
49171 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
49173 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
49174 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
49175 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
49176 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
49177 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
49178 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
49181 2013-01-16 Andreas Schwab <schwab@suse.de>
49184 * include/stdlib.h (__mktemp): Add declaration.
49185 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
49186 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
49188 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
49190 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
49192 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
49193 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
49194 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
49196 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
49197 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
49199 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
49201 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
49202 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
49203 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
49205 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
49206 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
49208 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
49210 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
49212 2013-01-15 David S. Miller <davem@davemloft.net>
49214 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
49215 trunc{,f} to libm-sysdep_routes.
49216 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
49217 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
49219 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
49220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
49222 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
49224 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
49225 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
49226 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
49227 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
49228 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
49229 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
49230 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
49231 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
49233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
49234 nearbyint{,f} to libm-sysdep_routes.
49235 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
49236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
49238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
49240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
49242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
49244 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
49245 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
49246 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
49248 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
49249 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
49251 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
49252 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
49253 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
49255 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
49256 libc_feholdexcept and libc_fesetenv.
49258 2013-01-15 Mike Frysinger <vapier@gentoo.org>
49260 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
49262 2013-01-14 David S. Miller <davem@davemloft.net>
49264 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
49265 (SPARC_ASM_VIS2_IFUNC): Likewise.
49266 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
49267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
49268 use of 'siam' instruction.
49269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
49271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
49273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
49275 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
49276 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
49277 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
49278 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
49279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
49281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
49283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
49285 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
49287 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
49288 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
49289 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
49290 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
49291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
49293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
49294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
49295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
49297 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
49298 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
49299 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
49300 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
49301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
49302 routines to libm-sysdep_routines.
49303 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
49305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
49306 fdim/fdimf to libm-sysdep_routines.
49307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
49309 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
49310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
49312 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
49313 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
49314 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
49315 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
49316 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
49317 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
49318 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
49320 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
49322 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
49323 to optimize copies.
49325 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
49326 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
49327 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
49329 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
49330 local variable MPTWO.
49331 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
49334 2013-01-13 Mike Frysinger <vapier@gentoo.org>
49336 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
49339 2013-01-13 Mike Frysinger <vapier@gentoo.org>
49341 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
49343 2013-01-13 Mike Frysinger <vapier@gentoo.org>
49345 * manual/pattern.texi (glob_t): Document gl_flags.
49346 (glob64_t): Likewise.
49348 2013-01-11 David S. Miller <davem@davemloft.net>
49350 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
49351 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
49352 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
49353 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
49354 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
49355 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
49356 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
49357 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
49358 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
49359 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
49360 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
49361 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
49362 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
49364 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
49365 sparc V9 rather than using V8 code.
49366 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
49367 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
49369 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
49371 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
49374 2013-01-11 Roland McGrath <roland@hack.frob.com>
49377 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
49378 not in the main loop.
49379 * configure: Regenerated.
49381 2013-01-11 Joseph Myers <joseph@codesourcery.com>
49383 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
49384 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
49386 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
49387 [!__GLIBC_HAVE_LONG_LONG] case.
49388 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
49389 condition to just #else.
49390 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
49391 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
49392 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
49393 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
49395 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
49396 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
49397 #elif condition to just #else.
49398 * sysdeps/unix/sysv/linux/sys/sysmacros.h
49399 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
49400 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
49401 #elif condition to just #else.
49403 2013-01-11 Steve Ellcey <sellcey@mips.com>
49405 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
49406 (EF_MIPS_ARCH_64): Fix value.
49407 (EF_MIPS_ARCH_32R2): New.
49408 (EF_MIPS_ARCH_64R2): New.
49410 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
49412 * Makeconfig (+link-pie-before-libc): New.
49413 (+link-pie-after-libc): Likewise.
49414 (+link-pie-tests): Likewise.
49415 (+link-pie): Rewritten.
49416 (link-before-libc): Remove $(config-LDFLAGS).
49417 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
49418 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
49419 (config-LDFLAGS): Renamed to ...
49420 (rtld-LDFLAGS): This.
49421 (rtld-tests-LDFLAGS): New macro.
49422 (link-libc-rpath-link): Likewise.
49423 (link-libc-tests-rpath-link): Likewise.
49424 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
49425 (link-libc): Prepand $(link-libc-rpath-link).
49426 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
49427 (test-program-prefix): New macro.
49428 (test-via-rtld-prefix): Likewise.
49429 (test-program-cmd): Likewise.
49430 (host-test-program-cmd): Likewise.
49431 * Makefile ($(common-objpfx)testrun.sh): Replace
49432 $(run-program-prefix) with $(test-program-prefix).
49433 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
49435 ($(common-objpfx)shlib.lds): Likewise.
49436 (build-module-helper): Likewise.
49437 ($(common-objpfx)format.lds): Likewise.
49438 * Rules (binaries-pie-tests): New.
49439 (binaries-pie-notests): Likewise.
49440 (binaries-pie): Rewritten.
49441 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
49442 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
49443 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
49444 (make-test-out): Replace $(host-built-program-cmd) with
49445 $(host-test-program-cmd).
49446 * config.make.in (build-hardcoded-path-in-tests): New variable.
49447 * configure.in (--enable-hardcoded-path-in-tests): New configure
49449 (hardcoded_path_in_tests): New AC_SUBST.
49450 * configure: Regenerated.
49451 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
49452 $(built-program-cmd) with $(test-program-cmd).
49453 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
49454 (test_program_cmd): This.
49455 * elf/Makefile ($(objpfx)order.out): Run test with
49456 $(test-program-prefix).
49457 ($(objpfx)order2.out): Likewise.
49458 ($(objpfx)tst-initorder.out): Likewise.
49459 ($(objpfx)tst-initorder2.out): Likewise.
49460 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
49461 $(test-program-cmd).
49462 ($(objpfx)tst-array1-static.out): Likewise.
49463 ($(objpfx)tst-array2.out): Likewise.
49464 ($(objpfx)tst-array3.out): Likewise.
49465 ($(objpfx)tst-array4.out): Likewise.
49466 ($(objpfx)tst-array5.out): Likewise.
49467 ($(objpfx)tst-array5-static.out): Likewise.
49468 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
49469 $(test-program-cmd).
49470 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
49471 $(run-program-prefix) with $(test-program-prefix).
49472 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
49473 (test_program_prefix): This.
49474 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
49475 $(run-program-prefix) with $(test-program-prefix).
49476 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
49477 (test_program_prefix): This.
49478 * iconvdata/tst-tables.sh: Likewise.
49479 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
49480 $(run-program-prefix) with $(test-program-prefix).
49481 ($(objpfx)tst-translit.out): Likewise.
49482 ($(objpfx)tst-gettext2.out): Likewise.
49483 ($(objpfx)tst-gettext4.out): Likewise.
49484 ($(objpfx)tst-gettext6.out): Likewise.
49485 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
49486 (test_program_prefix): This.
49487 * intl/tst-gettext2.sh: Likewise.
49488 * intl/tst-gettext4.sh Likewise.
49489 * intl/tst-gettext6.sh: Likewise.
49490 * intl/tst-translit.sh: Likewise.
49491 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
49492 with $(test-program-cmd).
49493 * libio/Makefile ($(objpfx)test-freopen.out): Replace
49494 $(run-program-prefix) with $(test-program-prefix).
49495 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
49496 (test_program_prefix): This.
49497 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
49498 $(run-program-prefix) with $(test-program-prefix).
49499 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
49500 (test_program_prefix): This.
49501 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
49502 * posix/Makefile ($(objpfx)globtest.out): Replace
49503 $(run-via-rtld-prefix) and $(test-wrapper) with
49504 $(test-program-prefix) and $(test-via-rtld-prefix).
49505 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
49506 $(test-program-prefix).
49507 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
49508 $(host-test-program-cmd).
49509 (tst-spawn-ARGS): Likewise.
49510 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
49511 $(test-program-prefix).
49512 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
49513 (test_via_rtld_prefix): This.
49514 (test_wrapper): Renamed to ...
49515 (test_program_prefix): This.
49516 (run_program_prefix): Replaced by test_program_prefix.
49517 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
49518 (test_program_prefix): This.
49519 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
49520 with $(host-test-program-cmd).
49521 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
49522 $(run-program-prefix) with $(test-program-prefix).
49523 ($(objpfx)tst-printf.out): Likewise.
49524 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
49525 $(test-program-cmd).
49526 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
49527 (test_program_prefix): This.
49528 * stdio-common/tst-unbputc.sh: Likewise.
49529 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
49530 $(run-program-prefix) with $(test-program-prefix).
49531 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
49532 (test_program_prefix): This.
49533 * string/Makefile ($(objpfx)tst-svc.out): Replace
49534 $(built-program-cmd) with $(test-program-cmd).
49536 2013-01-11 Andreas Jaeger <aj@suse.de>
49539 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
49540 value. Sync with Linux 3.7.
49542 2013-01-10 David S. Miller <davem@davemloft.net>
49544 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
49545 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
49546 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
49548 2013-01-10 Roland McGrath <roland@hack.frob.com>
49550 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
49552 * configure: Regenerated.
49554 2013-01-10 David S. Miller <davem@davemloft.net>
49556 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
49557 sparc V9 rather than using V8 code.
49558 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
49559 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
49561 2013-01-10 Roland McGrath <roland@hack.frob.com>
49563 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
49564 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
49565 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
49566 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
49567 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
49568 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
49569 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
49570 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
49571 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
49572 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
49573 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
49574 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
49575 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
49576 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
49577 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
49578 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
49579 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
49580 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
49581 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
49582 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
49583 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
49584 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
49585 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
49586 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
49587 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
49588 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
49589 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
49591 2013-01-10 David S. Miller <davem@davemloft.net>
49593 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49595 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
49597 * posix/Makefile (tests-static): New variable.
49598 (tests): Add $(tests-static).
49599 (tst-exec-static-ARGS): New variable.
49600 (tst-spawn-static-ARGS): Likewise.
49601 * posix/tst-exec-static.c: New file.
49602 * posix/tst-spawn-static.c: Likewise.
49603 * posix/tst-exec.c: Support run directly.
49604 * posix/tst-spawn.c: Likewise.
49606 2013-01-10 Joseph Myers <joseph@codesourcery.com>
49608 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
49610 * math/bits/mathcalls.h (llrint): Likewise.
49611 (llround): Likewise.
49612 * stdlib/stdlib.h (struct drand48_data): Likewise.
49613 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
49614 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
49615 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
49617 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
49619 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
49620 (elf_greg_t): Likewise.
49621 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
49622 (__jmp_buf): Likewise.
49623 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
49625 (llrint): Likewise, for all definitions.
49626 (llrintl): Likewise.
49628 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
49629 Remove [__GNUC__] condition.
49630 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
49631 condition to just [__USE_ISOC99].
49632 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
49634 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
49637 * sysdeps/unix/sysv/linux/x86/bits/environments.h
49638 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
49640 (_POSIX_V6_ILP32_OFF32): Likewise.
49641 (_XBS5_ILP32_OFF32): Likewise.
49642 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
49643 (__ILP32_OFFBIG_LDFLAGS): Likewise.
49645 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
49647 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
49649 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
49650 doubles __mpexp_twomm1. Adjust usage.
49651 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
49654 2013-01-10 Andreas Schwab <schwab@suse.de>
49657 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
49658 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
49660 2013-01-09 David S. Miller <davem@davemloft.net>
49663 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
49664 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
49665 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
49666 (TCP_FASTOPEN): Define.
49667 (tcp_repair_opt): New structure.
49668 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
49670 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
49671 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
49672 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
49673 (tcp_cookie_transactions): New structure.
49675 2013-01-09 Anton Blanchard <anton@samba.org>
49677 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
49678 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
49679 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
49680 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
49682 2013-01-09 Joseph Myers <joseph@codesourcery.com>
49684 * include/features.h (__USE_ANSI): Remove.
49686 2013-01-09 Roland McGrath <roland@hack.frob.com>
49688 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
49690 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
49692 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
49694 * sysdeps/s390/fpu/libm-test-ulps: Update.
49696 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49698 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
49702 (denorm): Likewise.
49703 (__mp_dbl): Likewise.
49704 (__dbl_mp): Likewise.
49705 (add_magnitudes): Likewise.
49706 (sub_magnitudes): Likewise.
49712 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
49716 (denorm): Likewise.
49717 (__mp_dbl): Likewise.
49718 (__dbl_mp): Likewise.
49719 (add_magnitudes): Likewise.
49720 (sub_magnitudes): Likewise.
49726 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
49730 (denorm): Likewise.
49731 (__mp_dbl): Likewise.
49732 (__dbl_mp): Likewise.
49733 (add_magnitudes): Likewise.
49734 (sub_magnitudes): Likewise.
49741 2013-01-08 Joseph Myers <joseph@codesourcery.com>
49743 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
49744 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
49745 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
49746 2 && __USE_EXTERN_INLINES]: Likewise.
49748 2013-01-08 Andreas Jaeger <aj@suse.de>
49751 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
49753 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
49754 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
49756 2013-01-07 Anton Blanchard <anton@samba.org>
49758 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
49759 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
49760 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
49761 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
49762 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
49763 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
49764 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
49765 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
49766 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
49767 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
49768 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
49769 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
49770 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
49771 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
49772 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
49773 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
49774 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
49775 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
49776 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
49777 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
49778 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
49779 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
49780 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
49781 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
49782 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
49783 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
49784 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
49785 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
49786 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
49787 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
49788 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
49789 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
49790 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
49791 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
49792 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
49793 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
49794 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
49795 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
49796 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
49797 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
49798 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
49799 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
49800 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
49802 2013-01-07 Joseph Myers <joseph@codesourcery.com>
49804 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
49805 (__MALLOC_PMT): Likewise.
49806 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
49807 [__GNUC__], only on [_LIBC].
49808 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
49809 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
49810 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
49811 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
49812 forward declaration.
49813 (realloc_hook_ini): Likewise.
49814 (memalign_hook_ini): Likewise.
49815 (__libc_memalign): Do not use __MALLOC_PMT in variable
49817 (__libc_valloc): Likewise.
49818 (__libc_pvalloc): Likewise.
49819 (__libc_calloc): Likewise.
49820 (__posix_memalign): Likewise.
49823 * math/s_casinh.c: Include <float.h>.
49824 (__casinh): Do not do computation with squaring and square root
49825 for large arguments.
49826 * math/s_casinhf.c: Include <float.h>.
49827 (__casinhf): Do not do computation with squaring and square root
49828 for large arguments.
49829 * math/s_casinhl.c: Include <float.h>.
49830 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
49831 (__casinhl): Do not do computation with squaring and square root
49832 for large arguments.
49833 * math/libm-test.inc (casin_test): Add more tests.
49834 (casinh_test): Likewise.
49835 * sysdeps/i386/fpu/libm-test-ulps: Update.
49836 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49838 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
49840 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
49841 (__x86_64_raw_data_cache_size): Likewise.
49842 (__x86_64_data_cache_size_half): Likewise.
49843 (__x86_64_raw_data_cache_size_half): Likewise.
49844 (__x86_64_shared_cache_size): Likewise.
49845 (__x86_64_raw_shared_cache_size): Likewise.
49846 (__x86_64_shared_cache_size_half): Likewise.
49847 (__x86_64_raw_shared_cache_size_half): Likewise.
49848 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
49850 (__x86_data_cache_size): This.
49851 (__x86_64_raw_data_cache_size): Renamed to ...
49852 (__x86_raw_data_cache_size): This.
49853 (__x86_64_data_cache_size_half): Renamed to ...
49854 (__x86_data_cache_size_half): This.
49855 (__x86_64_raw_data_cache_size_half): Renamed to ...
49856 (__x86_raw_data_cache_size_half): This.
49857 (__x86_64_shared_cache_size): Renamed to ...
49858 (__x86_shared_cache_size): This.
49859 (__x86_64_raw_shared_cache_size): Renamed to ...
49860 (__x86_raw_shared_cache_size): This.
49861 (__x86_64_shared_cache_size_half): Renamed to ...
49862 (__x86_shared_cache_size_half): This.
49863 (__x86_64_raw_shared_cache_size_half): Renamed to ...
49864 (__x86_raw_shared_cache_size_half): This.
49865 * sysdeps/x86_64/memcpy.S: Updated.
49866 * sysdeps/x86_64/memset.S: Likewise.
49867 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
49868 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
49869 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
49871 2013-01-04 David S. Miller <davem@davemloft.net>
49873 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49875 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
49877 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
49878 1 to avoid redefinition warning.
49879 (__USE_GNU): Don't define.
49880 (init_signaling_nan): Protoize.
49882 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49884 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
49886 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
49887 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
49888 (__cpymn): Likewise.
49889 (norm): Remove commented code.
49890 (denorm): Likewise.
49891 (__mp_dbl): Likewise.
49893 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
49894 (__cpymn): Likewise.
49895 (norm): Remove commented code.
49896 (denorm): Likewise.
49897 (__mp_dbl): Likewise.
49900 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
49901 mp_no value for 1.0 and 2.0.
49902 (norm): Use RADIXI instead of radixi.d.
49903 (denorm): Likewise.
49904 (__mul): Use 0.0 instead of zero.d.
49905 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
49906 mp_no value for 1.0 and 2.0.
49907 (norm): Use RADIXI instead of radixi.d.
49908 (denorm): Likewise.
49909 (__mul): Use 0.0 instead of zero.d.
49911 2013-01-04 Joseph Myers <joseph@codesourcery.com>
49914 * math/s_casinh.c (__casinh): Reduce finite argument to first
49915 quadrant then set signs of results at the end.
49916 * math/s_casinhf.c (__casinhf): Likewise.
49917 * math/s_casinhl.c (__casinhl): Likewise.
49918 * math/libm-test.inc (casin_test): Add more tests.
49919 (casinh_test): Likewise.
49920 * sysdeps/i386/fpu/libm-test-ulps: Update.
49921 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49923 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
49925 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
49927 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
49929 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
49931 (denorm): Likewise.
49932 (__mp_dbl): Likewise.
49935 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
49936 and adjust the header comment.
49938 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
49939 variable name from declaration.
49941 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
49943 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49944 Initialize COMMON_CPUID_INDEX_7 element.
49945 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
49946 (CPUID_RTM): Likewise.
49947 (HAS_RTM): Likewise.
49948 (COMMON_CPUID_INDEX_7): New enum.
49950 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
49953 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
49954 size is zero, record memory as freed.
49956 2013-01-03 Andreas Jaeger <aj@suse.de>
49958 * po/ia.po: Add new Interlingua translation.
49960 2012-01-03 Allan McRae <allan@archlinux.org>
49962 * locale/programs/localedef.c: Fix description of '--posix' flag.
49964 2013-01-02 Joseph Myers <joseph@codesourcery.com>
49966 * NEWS: Update dates in second copyright notice.
49967 * README: Update copyright dates in example.
49968 * manual/libc.texinfo: Update copyright dates.
49969 * scripts/test-installation.pl: Update copyright date in --version
49972 * hurd/ctty-input.c: Fix copyright notice formatting.
49973 * hurd/ctty-output.c: Likewise.
49974 * hurd/dtable.c: Likewise.
49975 * hurd/hurd-raise.c: Likewise.
49976 * hurd/hurdprio.c: Likewise.
49977 * hurd/msgportdemux.c: Likewise.
49978 * misc/sys/file.h: Likewise.
49979 * misc/sys/ioctl.h: Likewise.
49980 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
49981 * sysdeps/mach/hurd/chdir.c: Likewise.
49982 * sysdeps/mach/hurd/fchdir.c: Likewise.
49983 * sysdeps/mach/hurd/rename.c: Likewise.
49984 * sysdeps/mach/hurd/rmdir.c: Likewise.
49985 * sysdeps/mach/hurd/seekdir.c: Likewise.
49986 * sysdeps/mach/hurd/setsid.c: Likewise.
49987 * sysdeps/posix/wait3.c: Likewise.
49989 * All files with FSF copyright notices: Update copyright dates
49990 using scripts/update-copyrights.
49991 * intl/plural.c: Regenerated.
49992 * locale/programs/charmap-kw.h: Likewise.
49993 * locale/programs/locfile-kw.h: Likewise.
49995 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
49997 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
50000 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
50001 calculation loop and add branch prediction.
50003 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
50004 check access beyond bounds of m1np.
50006 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
50008 (__inv): Remove local variable MPTWO to use the global
50010 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
50011 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
50013 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
50014 MP3HALFS static const.
50016 2013-01-01 David S. Miller <davem@davemloft.net>
50018 * po/ca.po: Update from translation team.
50020 2013-01-01 Joseph Myers <joseph@codesourcery.com>
50022 * scripts/update-copyrights: New file.
50023 * Makeconfig: Reformat copyright notice.
50024 * ctype/ctype.h: Likewise.
50025 * debug/swprintf_chk.c: Likewise.
50026 * elf/dl-cache.c: Likewise.
50027 * elf/dl-debug.c: Likewise.
50028 * elf/dl-object.c: Likewise.
50029 * grp/initgroups.c: Likewise.
50030 * hurd/Makefile: Likewise.
50031 * hurd/hurd/signal.h: Likewise.
50032 * hurd/hurdfault.c: Likewise.
50033 * hurd/hurdioctl.c: Likewise.
50034 * hurd/hurdlookup.c: Likewise.
50035 * hurd/intr-msg.c: Likewise.
50036 * iconv/gconv_open.c: Likewise.
50037 * libio/swprintf.c: Likewise.
50038 * locale/lc-ctype.c: Likewise.
50039 * locale/nl_langinfo.c: Likewise.
50040 * mach/Machrules: Likewise.
50041 * mach/Makefile: Likewise.
50042 * malloc/obstack.h: Likewise.
50043 * manual/Makefile: Likewise.
50044 * manual/tsort.awk: Likewise.
50045 * misc/bits/stab.def: Likewise.
50046 * nis/nis_print_group_entry.c: Likewise.
50047 * nis/nis_table.c: Likewise.
50048 * nis/nss_compat/compat-pwd.c: Likewise.
50049 * nis/nss_compat/compat-spwd.c: Likewise.
50050 * po/Makefile: Likewise.
50051 * posix/fnmatch.c: Likewise.
50052 * posix/regex.h: Likewise.
50053 * resolv/Makefile: Likewise.
50054 * resolv/nss_dns/dns-network.c: Likewise.
50055 * resolv/res_hconf.c: Likewise.
50056 * scripts/gen-sorted.awk: Likewise.
50057 * soft-fp/soft-fp.h: Likewise.
50058 * stdio-common/printf.h: Likewise.
50059 * stdlib/monetary.h: Likewise.
50060 * stdlib/random.c: Likewise.
50061 * stdlib/random_r.c: Likewise.
50062 * sysdeps/generic/Makefile: Likewise.
50063 * sysdeps/gnu/Makefile: Likewise.
50064 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
50065 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50066 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
50067 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50068 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
50069 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50070 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50071 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
50072 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
50073 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50074 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
50075 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
50076 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
50077 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
50078 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
50079 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
50080 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
50081 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
50082 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
50083 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50084 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
50085 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
50086 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
50087 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
50088 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
50089 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
50090 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
50091 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
50092 * sysdeps/mach/hurd/errnos.awk: Likewise.
50093 * sysdeps/mach/hurd/fork.c: Likewise.
50094 * sysdeps/mach/hurd/getcwd.c: Likewise.
50095 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
50096 * sysdeps/mach/hurd/mmap.c: Likewise.
50097 * sysdeps/mach/hurd/utimes.c: Likewise.
50098 * sysdeps/mach/hurd/xmknod.c: Likewise.
50099 * sysdeps/posix/profil.c: Likewise.
50100 * sysdeps/posix/readdir_r.c: Likewise.
50101 * sysdeps/powerpc/bits/mathdef.h: Likewise.
50102 * sysdeps/powerpc/bits/setjmp.h: Likewise.
50103 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
50104 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
50105 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
50106 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
50107 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
50108 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
50109 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
50110 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
50111 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
50112 * sysdeps/pthread/lio_listio.c: Likewise.
50113 * sysdeps/sparc/dl-procinfo.h: Likewise.
50114 * sysdeps/unix/i386/sysdep.S: Likewise.
50115 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
50116 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
50117 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
50118 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
50119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
50120 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
50121 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
50122 * sysdeps/unix/sysv/linux/speed.c: Likewise.
50123 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
50124 * sysdeps/wordsize-32/divdi3.c: Likewise.
50125 * time/sys/time.h: Likewise.
50126 * wcsmbs/Makefile: Likewise.
50128 2013-01-01 David S. Miller <davem@davemloft.net>
50130 * po/fr.po: Update from translation team.
50132 * catgets/gencat.c: Update copyright year.
50133 * csu/version.c: Likewise.
50134 * debug/catchsegv.sh: Likewise.
50135 * debug/pcprofiledump.c: Likewise.
50136 * debug/xtrace.sh: Likewise.
50137 * elf/ldconfig.c: Likewise.
50138 * elf/ldd.bash.in: Likewise.
50139 * elf/pldd.c: Likewise.
50140 * elf/sotruss.ksh: Likewise.
50141 * elf/sprof.c: Likewise.
50142 * iconv/iconv_prog.c: Likewise.
50143 * iconv/iconvconfig.c: Likewise.
50144 * locale/programs/locale.c: Likewise.
50145 * locale/programs/localedef.c: Likewise.
50146 * login/programs/pt_chown.c: Likewise.
50147 * malloc/memusage.sh: Likewise.
50148 * malloc/memusagestat.c: Likewise.
50149 * malloc/mtrace.pl: Likewise.
50150 * nscd/nscd.c: Likewise.
50151 * nss/getent.c: Likewise.
50152 * nss/makedb.c: Likewise.
50153 * posix/getconf.c: Likewise.
50155 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
50157 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
50160 2012-12-30 Mike Frysinger <vapier@gentoo.org>
50162 * math/bits/mathcalls.h (modf): Use __nonnull.
50164 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
50166 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
50167 (split): Use macro CN instead of the bare value.
50168 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
50170 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
50171 instead of the bare value.
50172 (power1): Likewise.
50174 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
50176 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
50178 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
50180 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
50182 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
50183 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
50184 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
50185 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
50187 2012-12-28 Andreas Jaeger <aj@suse.de>
50189 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
50190 values are from Linux 3.7.
50192 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
50193 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
50195 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
50197 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
50200 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
50202 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
50203 variables with preprocessor constants.
50204 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
50205 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
50206 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
50208 2012-12-27 Bruno Haible <bruno@clisp.org>
50211 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
50214 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
50216 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
50217 and use variable directly.
50218 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
50220 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
50222 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
50223 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
50225 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
50226 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
50227 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
50228 include directive. Remove local variable MPONE.
50229 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
50230 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
50231 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
50233 2012-12-25 David S. Miller <davem@davemloft.net>
50235 * version.h (RELEASE): Set to "development".
50236 (VERSION): Set to "2.17.90".
50237 * NEWS: Add 2.18 section.
50239 2012-12-21 David S. Miller <davem@davemloft.net>
50241 * po/hr.po: Update from translation team.
50243 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50245 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
50247 2012-12-19 Steve Ellcey <sellcey@mips.com>
50249 * NEWS: Mention new memcpy for MIPS.
50251 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
50253 * manual/contrib.texi (Contributors): Spelling correction.
50255 2012-12-15 David S. Miller <davem@davemloft.net>
50257 * po/ru.po: Update from translation team.
50259 2012-12-13 David S. Miller <davem@davemloft.net>
50261 * NEWS: Mention IFUNC testsuite enhancements.
50263 * po/pl.po: Update from translation team.
50264 * po/bg.po: Likewise.
50266 * manual/contrib.texi (Contributors): Update entries for Hongjiu
50267 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
50269 2012-12-11 David S. Miller <davem@davemloft.net>
50271 * po/sv.po: Update from translation team.
50273 * po/vi.po: Update from translation team.
50275 * po/cs.po: Update from translation team.
50277 * po/de.po: Update from translation team.
50278 * po/eo.po: Likewise.
50279 * po/nl.po: Likewise.
50281 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
50284 * manual/argp.texi (Argp Helper Functions): Move node to follow
50285 Argp Parsing State.
50288 * manual/conf.texi (Limits on File System Capacity): Mention if
50289 terminating null is included in the max size.
50291 2012-12-10 Andreas Jaeger <aj@suse.de>
50293 * po/cs.po: Update from translation team.
50295 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
50297 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
50298 void pointer and cast to uintptr_t.
50299 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
50301 * sysdeps/s390/s390-64/memcpy.S: Likewise.
50302 * sysdeps/s390/s390-64/memset.S: Likewise.
50304 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
50307 * menual/message.texi (Message Translation): Fix typos.
50308 (Helper programs for gettext): Likewise.
50310 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
50313 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
50316 2012-12-07 David S. Miller <davem@davemloft.net>
50318 * po/libc.pot: Update.
50320 2012-12-07 Richard Henderson <rth@redhat.com>
50323 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
50324 normal/normal case to before the switch.
50325 (_FP_DIV): Likewise.
50327 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
50328 Mike Frysinger <vapier@gentoo.org>
50330 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
50331 check for __NR_fadvise64_64.
50333 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
50335 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
50336 0, not just to plain "0" as a statement.
50337 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
50340 2012-12-06 Joseph Myers <joseph@codesourcery.com>
50342 * NEWS: Use sourceware.org in Bugzilla URL.
50344 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
50346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
50347 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
50349 * stdio-common/tst-put-error.c (do_test): Add newline to the
50350 padded test to ensure flush.
50352 2012-12-05 Jeff Law <law@redhat.com>
50354 * sunrpc/etc.rpc (fedfs_admin): Add entry.
50356 2012-12-05 Joseph Myers <joseph@codesourcery.com>
50358 * README: Don't refer to ports add-on as distributed separately.
50359 Mention AArch64 in list of systems supported in the ports add-on.
50361 * LICENSES: Add more non-FSF copyright and license notices.
50363 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
50366 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
50368 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
50369 10000 as width of padded output.
50371 2012-12-04 Joseph Myers <joseph@codesourcery.com>
50373 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
50375 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
50376 variable LX with __attribute__ ((unused)).
50377 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
50379 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
50380 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
50381 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
50382 with __attribute__ ((unused)).
50384 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
50386 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
50388 2012-12-04 Joseph Myers <joseph@codesourcery.com>
50390 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
50391 (CFLAGS-nldbl-acos.c): New variable.
50392 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
50393 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
50394 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
50395 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
50396 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
50397 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
50398 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
50399 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
50400 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
50401 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
50402 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
50403 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
50404 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
50405 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
50406 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
50407 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
50408 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
50409 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
50410 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
50411 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
50412 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
50413 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
50414 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
50415 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
50416 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
50417 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
50418 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
50419 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
50420 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
50421 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
50422 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
50423 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
50424 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
50425 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
50426 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
50427 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
50428 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
50429 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
50430 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
50431 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
50432 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
50433 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
50434 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
50435 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
50436 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
50437 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
50438 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
50439 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
50440 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
50441 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
50442 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
50443 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
50444 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
50445 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
50446 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
50447 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
50448 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
50449 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
50450 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
50451 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
50452 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
50453 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
50454 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
50455 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
50456 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
50457 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
50458 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
50459 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
50460 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
50461 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
50462 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
50463 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
50464 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
50465 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
50466 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
50467 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
50468 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
50469 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
50470 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
50471 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
50472 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
50473 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
50474 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
50475 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
50476 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
50477 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
50478 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
50479 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
50480 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
50481 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
50482 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
50483 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
50484 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
50485 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
50486 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
50487 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
50488 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
50490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
50491 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
50494 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
50495 whole low double instead of just low 47 bits when splitting values
50498 2012-12-03 Allan McRae <allan@archlinux.org>
50500 * manual/stdio.texi (Predefined Printf Handlers): Remove
50501 @hsep and @vsep usage.
50503 2012-12-03 Mike Frysinger <vapier@gentoo.org>
50505 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
50506 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
50508 2012-12-03 Jeff Law <law@redhat.com>
50510 * time/sys/time.h (settimeofday): Do not mark TV argument
50513 2012-12-01 Mike Frysinger <vapier@gentoo.org>
50515 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
50516 when currently writing and seek to current position when not.
50517 * libio/Makefile (tests): Remove bug-fclose1.
50518 * libio/bug-fclose1.c: Delete.
50520 2012-12-01 Joseph Myers <joseph@codesourcery.com>
50522 * manual/arith.texi (feenableexcept): Fix typo.
50523 (fedisableexcept): Likewise.
50525 2012-11-30 Roland McGrath <roland@hack.frob.com>
50527 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
50528 second, differently-typed declaration, rather than a cast.
50530 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
50532 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
50533 * include/rpc/svc.h: ... here.
50535 2012-11-30 Aurelien Jarno <aurel32@debian.org>
50538 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
50539 depending n and resplen2 to catch cases where answer
50542 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
50544 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
50545 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
50547 2012-11-29 Mike Frysinger <vapier@gentoo.org>
50549 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
50551 2012-11-29 Roland McGrath <roland@hack.frob.com>
50553 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
50555 2012-11-28 Jeff Law <law@redhat.com>
50558 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
50559 dataset_temporary. Track alloca usage into alloca_used.
50560 If dataset is large allocate and release it via malloc/free.
50562 2012-06-04 Florian Weimer <fweimer@redhat.com>
50565 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
50567 2012-11-28 David S. Miller <davem@davemloft.net>
50569 * sysdeps/sparc/fpu/libm-test-ulps: Update.
50571 2012-11-28 Joseph Myers <joseph@codesourcery.com>
50574 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
50575 of pi/2 rounded to nearest to 64 bits.
50576 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
50577 nearest to 64 bits.
50578 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
50581 2012-11-28 Jeff Law <law@redhat.com>
50582 Martin Osvald <mosvald@redhat.com>
50585 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
50586 * sunrpc/svc.c: Include time.h.
50587 (__svc_accept_failed): New function.
50588 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
50589 any reason other than EINTR, call __svc_accept_failed.
50590 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
50591 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
50593 2012-11-28 Andreas Schwab <schwab@suse.de>
50595 * scripts/abilist.awk: Also handle indirect functions in .opd
50598 2012-11-28 Joseph Myers <joseph@codesourcery.com>
50601 * sysdeps/x86/fpu/powl_helper.c: New file.
50602 * sysdeps/x86/fpu/Makefile: Likewise.
50603 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
50605 (__ieee754_powl): Use __powl_helper for finite arguments except
50606 integer exponents below 8.
50607 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
50609 (__ieee754_powl): Use __powl_helper for finite arguments except
50610 integer exponents below 8.
50611 * math/libm-test.inc (pow_test): Add more tests and enable some
50612 previously disabled tests.
50613 * sysdeps/i386/fpu/libm-test-ulps: Update.
50614 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50616 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
50617 Carlos O'Donell <carlos_odonell@mentor.com>
50619 * nss/makedb.c (is_prime): Assert that input is odd and greater
50620 than 4. Note that fact in a comment too.
50621 (next_prime): Add 4 to input.
50623 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
50626 * libio/Makefile (tests): Add test case tst-fwrite-error.
50627 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
50628 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
50629 * libio/tst-fwrite-error.c: New test case.
50631 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
50633 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
50634 before casting to void *.
50635 * include/libc-internal.h (__pointer_type): New macro.
50636 (__integer_if_pointer_type_sub): Likewise.
50637 (__integer_if_pointer_type): Likewise.
50638 (cast_to_integer): Likewise.
50639 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
50640 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
50641 before casting to atomic64_t.
50642 (atomic_exchange_acq): Likewise.
50643 (__arch_exchange_and_add_body): Likewise.
50644 (__arch_add_body): Likewise.
50645 (atomic_add_negative): Likewise.
50646 (atomic_add_zero): Likewise.
50648 2012-11-26 Joseph Myers <joseph@codesourcery.com>
50650 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
50651 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
50652 (add_fdes): Likewise.
50653 (linear_search_fdes): Likewise.
50654 (binary_search_unencoded_fdes): Likewise.
50656 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
50658 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
50660 2012-11-24 Adam Conrad <adconrad@0c3.net>
50662 * configure.in: Autodetect C++ header directories.
50663 * configure: Regenerated.
50665 2012-11-23 Mike Frysinger <vapier@gentoo.org>
50667 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
50669 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
50671 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50673 2012-11-22 Joseph Myers <joseph@codesourcery.com>
50675 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
50676 LDBL_MANT_DIG == 106]: Disable some tests.
50677 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
50679 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
50683 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
50684 input for small inputs. Return +/- pi/2 for large inputs.
50685 * math/libm-test.inc (atan_test): Add more tests.
50687 * sysdeps/generic/unwind-dw2-fde-glibc.c
50688 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
50689 __attribute__ ((unused)).
50692 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
50693 x * y if x and y are nonzero and z is zero.
50696 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
50697 nonzero exponents with absolute value below 0x1p-117 to +/-
50701 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
50702 up arguments below 2**-450, not just those below 2**-500.
50703 * math/libm-test.inc (hypot_test): Add another test.
50706 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
50707 Return a+b for ratio over 2**120, not 2**60.
50708 * math/libm-test.inc (hypot_test): Add another test.
50710 * math/libm-test.inc (clog_test): Use
50711 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
50712 (clog10_test): Likewise.
50715 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
50717 2012-11-22 Andreas Schwab <schwab@suse.de>
50719 * sysdeps/i386/fpu/libm-test-ulps: Update.
50721 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
50723 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
50724 printf output with newline.
50726 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
50729 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
50730 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
50731 -z nodlopen, -z initfirst and -z execstack support.
50732 * configure: Regenerated.
50734 * elf/elf.h (DF_1_NODIRECT): New macro.
50735 (DF_1_IGNMULDEF): Likewise.
50736 (DF_1_NOKSYMS): Likewise.
50737 (DF_1_NOHDR): Likewise.
50738 (DF_1_EDITED): Likewise.
50739 (DF_1_NORELOC): Likewise.
50740 (DF_1_SYMINTPOSE): Likewise.
50741 (DF_1_GLOBAUDIT): Likewise.
50742 (DF_1_SINGLETON): Likewise.
50743 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
50744 DT_1_SUPPORTED_MASK bits.
50745 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
50747 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
50749 * sysdeps/unix/make-syscalls.sh: Document prefixes.
50751 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
50753 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
50756 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
50757 (sendmmsg): Move declarations...
50758 * socket/sys/socket.h: ... here.
50759 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
50760 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
50762 * socket/recvmmsg.c: ... this new file.
50763 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
50764 (sendmmsg): Rename to __sendmmsg, create weak alias and make
50765 definition of __sendmmsg hidden.
50766 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
50767 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
50768 Move ENOSYS stub into and include it from...
50769 * socket/sendmmsg.c: ... this new file.
50770 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
50771 (sysdep_routines): Move recvmmsg and sendmmsg...
50772 * socket/Makefile (routines): ... here.
50773 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
50774 (GLIBC_PRIVATE): Add __sendmmsg.
50775 * include/sys/socket.h (__sendmmsg): Add declarations.
50776 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
50779 2012-11-20 Joseph Myers <joseph@codesourcery.com>
50781 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
50782 variable I1 with __attribute__ ((unused)).
50783 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
50785 2012-11-19 Joseph Myers <joseph@codesourcery.com>
50787 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
50788 DUMMY variables with __attribute__ ((unused)).
50790 * bits/byteswap.h: Include <bits/types.h>.
50791 (__bswap_64): Use __uint64_t instead of unsigned long long int.
50793 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
50795 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
50796 string_t. Do not manually set errno.
50797 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
50798 length with __strnlen. Make sure to both set errno and return it on
50801 2012-11-19 David S. Miller <davem@davemloft.net>
50803 With help from Joseph Myers.
50804 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
50805 very large arguments properly.
50806 * math/libm-test.inc (atan_test): New tests.
50807 (atan2_test): New tests.
50808 * sysdeps/sparc/fpu/libm-test-ulps: Update.
50809 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50811 2012-11-19 Joseph Myers <joseph@codesourcery.com>
50814 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
50817 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
50818 [POSIX] (EADDRNOTAVAIL): Likewise.
50819 [POSIX] (EAFNOSUPPORT): Likewise.
50820 [POSIX] (EALREADY): Likewise.
50821 [POSIX] (ECONNABORTED): Likewise.
50822 [POSIX] (ECONNREFUSED): Likewise.
50823 [POSIX] (ECONNRESET): Likewise.
50824 [POSIX] (EDESTADDRREQ): Likewise.
50825 [POSIX] (EDQUOT): Likewise.
50826 [POSIX] (EHOSTUNREACH): Likewise.
50827 [POSIX] (EIDRM): Likewise.
50828 [POSIX] (EISCONN): Likewise.
50829 [POSIX] (ELOOP): Likewise.
50830 [POSIX] (EMULTIHOP): Likewise.
50831 [POSIX] (ENETDOWN): Likewise.
50832 [POSIX] (ENETUNREACH): Likewise.
50833 [POSIX] (ENOBUFS): Likewise.
50834 [POSIX] (ENODATA): Likewise.
50835 [POSIX] (ENOLINK): Likewise.
50836 [POSIX] (ENOMSG): Likewise.
50837 [POSIX] (ENOPROTOOPT): Likewise.
50838 [POSIX] (ENOSR): Likewise.
50839 [POSIX] (ENOSTR): Likewise.
50840 [POSIX] (ENOTCONN): Likewise.
50841 [POSIX] (ENOTSOCK): Likewise.
50842 [POSIX] (EOPNOTSUPP): Likewise.
50843 [POSIX] (EOVERFLOW): Likewise.
50844 [POSIX] (EPROTO): Likewise.
50845 [POSIX] (EPROTONOSUPPORT): Likewise.
50846 [POSIX] (EPROTOTYPE): Likewise.
50847 [POSIX] (ESTALE): Likewise.
50848 [POSIX] (ETIME): Likewise.
50849 [POSIX] (ETXTBSY): Likewise.
50850 [POSIX] (EWOULDBLOCK): Likewise.
50851 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
50852 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
50853 [POSIX] (SEEK_CUR): Likewise.
50854 [POSIX] (SEEK_END): Likewise.
50855 [POSIX || UNIX98] (mode_t): Do not require.
50856 [POSIX] (off_t): Likewise.
50857 [POSIX] (pid_t): Likewise.
50858 [POSIX] (sys/stat.h): Do not allow header.
50859 [POSIX] (unistd.h): Likewise.
50860 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
50861 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
50862 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
50863 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
50865 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
50866 sigevent): Specify elements.
50867 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
50869 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
50870 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
50872 * conform/data/cpio.h-data [POSIX]: Disable whole file.
50873 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
50874 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
50875 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
50876 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
50877 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
50878 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
50879 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
50880 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
50881 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
50882 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
50883 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
50884 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
50885 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
50887 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
50889 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
50891 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
50893 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
50894 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
50895 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
50896 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
50897 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
50898 Specify lower bound on value.
50899 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
50900 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
50901 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
50902 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
50903 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
50904 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
50905 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
50906 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
50908 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
50910 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
50911 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
50912 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
50913 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
50914 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
50915 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
50916 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
50917 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
50918 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
50919 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
50920 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
50921 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
50922 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
50923 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
50924 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
50925 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
50927 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
50929 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
50930 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
50931 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
50932 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
50933 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
50934 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
50936 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
50937 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
50938 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
50939 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
50940 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
50941 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
50942 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
50944 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
50945 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
50946 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
50947 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
50948 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
50949 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
50950 specify as optional.
50951 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
50952 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
50953 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
50954 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
50955 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
50956 [XPG3] (NL_LANGMAX): Likewise.
50957 [POSIX || XPG3] (NL_MSGMAX): Likewise.
50958 [POSIX || XPG3] (NL_NMAX): Likewise.
50959 [POSIX || XPG3] (NL_SETMAX): Likewise.
50960 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
50961 [XPG3] (NZERO): Likewise.
50962 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
50963 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
50964 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
50965 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
50966 (REG_ERANGE): Expect.
50967 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
50969 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
50970 Use (void) in prototype.
50971 [POSIX] (*_t): Allow.
50972 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
50973 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
50974 (WRDE_BADVAL): Expect.
50976 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
50978 [XPG3 || XPG4] (O_RSYNC): Likewise.
50979 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
50981 [XPG3 || XPG4] (pthread_sigmask): Likewise.
50982 [XPG3 || XPG4] (sigqueue): Likewise.
50983 [XPG3 || XPG4] (sigtimedwait): Likewise.
50984 [XPG3 || XPG4] (sigwaitinfo): Likewise.
50985 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
50986 [XPG3 || XPG4] (vsnprintf): Likewise.
50987 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
50989 [XPG3 || XPG4] (blksize_t): Likewise.
50990 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
50992 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
50993 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
50994 [XPG3 || XPG4] (struct itimerspec): Likewise.
50995 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
50996 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
50997 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
50998 [XPG3 || XPG4] (clockid_t): Likewise.
50999 [XPG3 || XPG4] (timer_t): Likewise.
51000 [XPG3 || XPG4] (clock_getres): Likewise.
51001 [XPG3 || XPG4] (clock_gettime): Likewise.
51002 [XPG3 || XPG4] (clock_settime): Likewise.
51003 [XPG3 || XPG4] (nanosleep): Likewise.
51004 [XPG3 || XPG4] (timer_create): Likewise.
51005 [XPG3 || XPG4] (timer_delete): Likewise.
51006 [XPG3 || XPG4] (timer_gettime): Likewise.
51007 [XPG3 || XPG4] (timer_getoverrun): Likewise.
51008 [XPG3 || XPG4] (timer_settime): Likewise.
51009 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
51010 [XPG3 || XPG4] (getlogin_r): Likewise.
51011 [XPG3 || XPG4] (pread): Likewise.
51012 [XPG3 || XPG4] (pthread_atfork): Likewise.
51013 [XPG3 || XPG4] (pwrite): Likewise.
51016 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
51019 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
51021 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
51022 finalizing MALLSTREAM.
51024 * sysdeps/mach/hurd/syncfs.c: New file.
51026 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
51029 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
51030 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
51031 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
51032 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
51033 (_nss_dns_gethostbyname4_r): Likewise.
51034 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
51035 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
51037 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
51040 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
51042 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
51044 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
51045 * elf/cache.c (print_entry): Print ",AArch64" for
51048 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
51049 * elf/cache.c (print_entry): Print ",hard-float" for
51052 2012-11-18 David S. Miller <davem@davemloft.net>
51054 With help from Joseph Myers.
51055 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
51057 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
51059 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
51060 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
51062 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
51063 * math/libm-test.inc (y0_test): New tests.
51064 (y1_test): New tests.
51065 * sysdeps/i386/fpu/libm-test-ulps: Update.
51066 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51067 * sysdeps/sparc/fpu/libm-test-ulps: Update.
51069 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
51071 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
51073 * configure: Regenerated.
51075 2012-11-17 David S. Miller <davem@davemloft.net>
51078 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
51079 nonzero exponents with absolute value below 0x1p-128 to +/-
51082 2012-11-17 Joseph Myers <joseph@codesourcery.com>
51084 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
51086 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
51088 * posix/getconf-speclist.c: New file.
51089 * posix/posix-envs.def: Likewise.
51090 * posix/confstr.c (START_ENV_GROUP): New macro.
51091 (END_ENV_GROUP): Likewise.
51092 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
51093 (KNOWN_PRESENT_ENV_STRING): Likewise.
51094 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
51095 (UNKNOWN_ENVIRONMENT): Likewise.
51096 (confstr): Include posix-envs.def instead of handling
51097 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
51098 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
51099 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
51100 (END_ENV_GROUP): Likewise.
51101 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
51102 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
51103 (UNKNOWN_ENVIRONMENT): Likewise.
51104 (__sysconf): Include posix-envs.def instead of handling associated
51105 cases directly here.
51106 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
51107 preprocessing getconf-speclist.c rather than running getconf or
51108 generating empty file.
51110 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
51112 * scripts/check-local-headers.sh: Ignore 'mach' headers.
51114 2012-11-16 Andrej Lajovic <natrij@gmail.com>
51117 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
51119 2012-11-16 David S. Miller <davem@davemloft.net>
51121 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
51122 smaller than LDBL_EPSILON/2.0L, just return xm1.
51124 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
51126 * elf/tst-array1.c (init): Set constructor priority to 1000.
51127 (fini): Set destructor priority to 1000.
51128 * elf/tst-array2dep.c: Likewise.
51130 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
51133 * libio/fileops.c (_IO_new_file_write): Correctly return error.
51134 (_IO_new_file_xsputn): Also return EOF if none of the input
51135 data was written when overflow failed.
51136 * libio/iopadn.c (_IO_padn): Likewise.
51137 * libio/iowpadn.c (_IO_wpadn): Likewise.
51138 * stdio-common/tst-put-error.c: Add copyright notice.
51139 (do_test): Add case for printing padded string.
51140 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
51141 _IO_padn returned error.
51142 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
51143 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
51146 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
51148 * libio/libioP.h: Add comment note that the references to C++
51149 bits are now obsolete.
51151 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
51153 * math/libm-test.inc (check_complex): Use asprintf.
51155 2012-11-14 Joseph Myers <joseph@codesourcery.com>
51157 * debug/pcprofiledump.c (print_version): Update copyright year.
51158 * malloc/memusagestat.c (print_version): Likewise.
51160 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
51163 * elf/Makefile (tests): Add tst-audit8.
51164 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
51165 ($(objpfx)tst-audit8.out): New target.
51166 (tst-audit8-ENV): New variable.
51167 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
51168 audit if l_reloc_result is NULL.
51169 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
51170 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
51171 * elf/tst-audit8.c: New file.
51173 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
51175 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
51176 * misc/Makefile (CFLAGS-select.c): Define.
51177 * posix/Makefile (CFLAGS-pause.c): Define.
51179 2012-11-13 David S. Miller <davem@davemloft.net>
51181 * crypt/Makefile: Move test targets after toplevel Rules
51182 inclusion. Grab any necessary sysdep routines when linking.
51183 * crypt/md5.c (md5_process_block): Remove define, we will always
51184 name it __md5_process_block.
51185 (md5_finish_ctx): Update md5_process_block call.
51186 (md5_stream): Likewise.
51187 (md5_process_bytes): Likewise.
51188 (md5_process_block): Rename to __md5_process_block and move to ...
51189 * crypt/md5-block.c: ... here.
51190 * crypt/sha256.c (sha256_process_block): Move to ...
51191 * crypt/sha256-block.c: ... here.
51192 * crypt/sha512.c (sha512_process_block): Move to ...
51193 * crypt/sha512-block.c: ... here.
51194 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
51196 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
51197 * sysdeps/sparc/sparc64/multiarch/Makefile
51198 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
51200 (localedef-aux): Add md5 crypto assembler when in locale subdir.
51201 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
51203 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
51204 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
51205 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
51206 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
51207 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
51208 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
51209 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
51210 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
51211 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
51213 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
51214 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
51216 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
51218 2012-11-13 Joseph Myers <joseph@codesourcery.com>
51220 * timezone/tzselect.ksh: Update from tzcode git revision
51221 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
51222 * timezone/zdump.c: Likewise.
51223 * timezone/zic.c: Likewise.
51224 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
51225 in TZVERSION setting, not $(PKGVERSION).
51226 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
51227 REPORT_BUGS_TO settings.
51230 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
51233 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
51235 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
51236 detection to immediately after _FP_ROUND().
51237 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
51240 2012-11-11 David S. Miller <davem@davemloft.net>
51242 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
51244 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
51245 __close rather than their public counterparts.
51247 2012-11-10 Joseph Myers <joseph@codesourcery.com>
51249 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
51251 [UNIX98] (sem_timedwait): Do not expect.
51252 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
51253 [XPG4 || UNIX98] (sockatmark): Do not expect.
51254 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
51255 (clock_getcpuclockid): Do not expect.
51256 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
51257 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
51259 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
51260 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
51261 [UNIX98] (vwscanf): Likewise.
51262 [UNIX98] (vswscanf): Likewise.
51264 2012-11-09 Joseph Myers <joseph@codesourcery.com>
51266 * timezone/version.h: Remove file.
51267 * timezone/README: Do not refer to version.h.
51268 * timezone/Makefile ($(objpfx)zic.o): New dependency on
51269 $(objpfx)version.h.
51270 ($(objpfx)zdump.o): Likewise.
51271 ($(objpfx)version.h): New target.
51273 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
51275 * timezone/README: Don't mention modification to tzselect.ksh.
51276 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
51277 work on unmodified tzselect.ksh. Substitute version numbers in
51280 * Makefile (format-me): Remove.
51281 (INSTALL): Adjust indentation. Use commands directly instead of
51282 using $(format-me).
51284 * aclocal.m4 (ACX_PKGVERSION): New macro.
51285 (ACX_BUGURL): Likewise.
51286 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
51287 (PKGVERSION): New AC_DEFINE_UNQUOTED.
51288 (REPORT_BUGS_TO): Likewise.
51289 * configure: Regenerated.
51290 * config.h.in (PKGVERSION): New macro.
51291 (REPORT_BUGS_TO): Likewise.
51292 * config.make.in (PKGVERSION): New variable.
51293 (PKGVERSION_TEXI): Likewise.
51294 (REPORT_BUGS_TO): Likewise.
51295 (REPORT_BUGS_TEXI): Likewise.
51296 * Makefile (format-me): Use -I$(common-objpfx)manual.
51297 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
51298 ($(common-objpfx)manual/%): New target.
51299 (manual/%): Remove target.
51300 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
51301 (print_version): Use PKGVERSION.
51302 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
51303 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
51304 and REPORT_BUGS_TO.
51305 ($(objpfx)xtrace): Likewise.
51306 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
51307 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
51308 (print_version): Use PKGVERSION.
51309 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
51310 (do_version): Use PKGVERSION.
51311 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
51313 (common-ldd-rewrite): Likewise.
51314 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
51315 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
51316 (print_version): Use PKGVERSION.
51317 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
51318 * elf/pldd.c (argp_program_bug_address): Remove variable.
51319 (more_help): New function.
51320 (argp): Use more_help.
51321 (print_version): Use PKGVERSION.
51322 * elf/sln.c (main): Use PKGVERSION.
51323 (usage): Use REPORT_BUGS_TO.
51324 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
51325 (top level): Use PKGVERSION.
51326 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
51327 (print_version): Use PKGVERSION.
51328 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
51329 (print_version): Use PKGVERSION.
51330 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
51331 (print_version): Use PKGVERSION.
51332 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
51333 (print_version): Use PKGVERSION.
51334 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
51335 (print_version): Use PKGVERSION.
51336 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
51337 (print_version): Use PKGVERSION.
51338 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
51340 ($(objpfx)memusage): Likewise.
51341 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
51342 (do_version): Use PKGVERSION.
51343 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
51344 (print_version): Use PKGVERSION.
51345 * malloc/mtrace.pl ($PACKAGE): Remove variable.
51346 ($PKGVERSION): New variable.
51347 ($REPORT_BUGS_TO): Likewise.
51348 (usage): Use $REPORT_BUGS_TO.
51349 (top level): Use $PKGVERSION.
51350 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
51351 ($(objpfx)pkgvers.texi): New rule.
51352 ($(objpfx)stamp-pkgvers): Likewise.
51353 * manual/install.texi: Include pkgvers.texi.
51354 (--with-pkgversion): Document new configure option.
51355 (--with-bugurl): Likewise.
51356 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
51357 than necessarily for this particular distribution. Use
51358 REPORT_BUGS_TO for where to report bugs.
51359 * INSTALL: Regenerated.
51360 * manual/libc.texinfo: Include pkgvers.texi.
51361 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
51362 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
51363 (print_version): Use PKGVERSION.
51364 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
51365 (print_version): Use PKGVERSION.
51366 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
51367 (print_version): Use PKGVERSION.
51368 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
51369 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
51371 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
51372 (print_version): Use PKGVERSION.
51373 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
51374 (print_version): Use PKGVERSION.
51375 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
51378 * timezone/checktab.awk: Update from tzcode 2012i.
51379 * timezone/ialloc.c: Likewise.
51380 * timezone/private.h: Likewise.
51381 * timezone/scheck.c: Likewise.
51382 * timezone/tzfile.h: Likewise.
51383 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
51384 (TZVERSION): Hardcode tzcode version number.
51385 * timezone/zdump.c: Update from tzcode 2012i.
51386 * timezone/zic.c: Likewise.
51387 * timezone/version.h: New file.
51388 * timezone/README: Describe version.h. Update upstream location.
51391 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
51392 (mktemp): Enable declaration.
51393 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
51394 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
51395 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
51396 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
51398 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
51400 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
51402 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
51404 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
51406 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
51410 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
51411 offset in buffer as u_int32_t not u_long. Consistently use memcpy
51412 for copies of such integer values.
51413 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
51414 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
51416 2012-11-09 Andreas Jaeger <aj@suse.de>
51418 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
51419 definitions and declarations that are provided by
51420 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
51422 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51424 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
51425 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
51426 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
51429 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
51431 * elf/elf.h: Update comment before AArch64 relocations.
51433 2012-11-07 David S. Miller <davem@davemloft.net>
51435 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
51436 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
51437 (__start_context): Declare.
51438 (__makecontext_ret): Delete.
51439 (__makecontext): Hook up __start_context instead of
51441 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
51442 (sysdep_routines): Add __start_context when in stdlib.
51444 2012-11-07 Joseph Myers <joseph@codesourcery.com>
51446 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
51447 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
51448 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
51450 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
51451 (READELF): New variable. Use it instead of hardcoded "readelf".
51453 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
51455 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
51456 * sysdeps/x86/Makefile: Here.
51457 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
51458 * sysdeps/x86/tst-xmmymm.sh: This.
51460 2012-11-07 Joseph Myers <joseph@codesourcery.com>
51462 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
51464 [UNIX98] (pthread_barrier_t): Do not expect.
51465 [UNIX98] (pthread_barrierattr_t): Likewise.
51466 [UNIX98] (pthread_spinlock_t): Likewise.
51467 [UNIX98] (pthread_barrier_destroy): Likewise.
51468 [UNIX98] (pthread_barrier_init): Likewise.
51469 [UNIX98] (pthread_barrier_wait): Likewise.
51470 [UNIX98] (pthread_barrierattr_destroy): Likewise.
51471 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
51472 [UNIX98] (pthread_barrierattr_init): Likewise.
51473 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
51474 [UNIX98] (pthread_getcpuclockid): Likewise.
51475 [UNIX98] (pthread_mutex_timedlock): Likewise.
51476 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
51477 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
51478 [UNIX98] (pthread_sigmask): Likewise.
51479 [UNIX98] (pthread_spin_destroy): Likewise.
51480 [UNIX98] (pthread_spin_init): Likewise.
51481 [UNIX98] (pthread_spin_lock): Likewise.
51482 [UNIX98] (pthread_spin_trylock): Likewise.
51483 [UNIX98] (pthread_spin_unlock): Likewise.
51484 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
51486 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
51487 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
51488 [XPG3 || XPG4] (pthread_cond_t): Likewise.
51489 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
51490 [XPG3 || XPG4] (pthread_key_t): Likewise.
51491 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
51492 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
51493 [XPG3 || XPG4] (pthread_once_t): Likewise.
51494 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
51495 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
51496 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
51497 [XPG3 || XPG4] (pthread_t): Likewise.
51499 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
51501 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
51503 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
51504 Change function return type to int.
51506 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
51507 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
51508 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
51509 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
51510 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
51511 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
51512 [!POSIX] (posix_madvise): Likewise.
51513 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
51515 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
51516 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
51517 (mode_t): Likewise.
51518 (posix_mem_offset): Likewise.
51519 (posix_typed_mem_get_info): Likewise.
51520 (posix_typed_mem_open): Likewise.
51522 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
51523 Change condition to [XOPEN2K8].
51525 * conform/conformtest.pl: Preprocess allow-header data with -x c
51526 instead of from stdin.
51527 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
51528 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
51529 [C99-based standards] (cerfc): Likewise.
51530 [C99-based standards] (cexp2): Likewise.
51531 [C99-based standards] (cexpm1): Likewise.
51532 [C99-based standards] (clog10): Likewise.
51533 [C99-based standards] (clog1p): Likewise.
51534 [C99-based standards] (clog2): Likewise.
51535 [C99-based standards] (clgamma): Likewise.
51536 [C99-based standards] (ctgamma): Likewise.
51537 [C99-based standards] (cerff): Likewise.
51538 [C99-based standards] (cerfcf): Likewise.
51539 [C99-based standards] (cexp2f): Likewise.
51540 [C99-based standards] (cexpm1f): Likewise.
51541 [C99-based standards] (clog10f): Likewise.
51542 [C99-based standards] (clog1pf): Likewise.
51543 [C99-based standards] (clog2f): Likewise.
51544 [C99-based standards] (clgammaf): Likewise.
51545 [C99-based standards] (ctgammaf): Likewise.
51546 [C99-based standards] (cerfl): Likewise.
51547 [C99-based standards] (cerfcl): Likewise.
51548 [C99-based standards] (cexp2l): Likewise.
51549 [C99-based standards] (cexpm1l): Likewise.
51550 [C99-based standards] (clog10l): Likewise.
51551 [C99-based standards] (clog1pl): Likewise.
51552 [C99-based standards] (clog2l): Likewise.
51553 [C99-based standards] (clgammal): Likewise.
51554 [C99-based standards] (ctgammal): Likewise.
51555 * conform/data/inttypes.h-data [C99-based standards]: Include
51556 stdint.h-data. Remove all expectations for stdint.h contents.
51557 [C99-based standards] (PRI*): Do not allow.
51558 [C99-based standards] (SCN*): Likewise.
51559 [C99-based standards] (*_t): Likewise.
51560 [C99-based-standards] (PRId8): Expect macro.
51561 [C99-based-standards] (PRIi8): Likewise.
51562 [C99-based-standards] (PRIo8): Likewise.
51563 [C99-based-standards] (PRIu8): Likewise.
51564 [C99-based-standards] (PRIx8): Likewise.
51565 [C99-based-standards] (PRIX8): Likewise.
51566 [C99-based-standards] (SCNd8): Likewise.
51567 [C99-based-standards] (SCNi8): Likewise.
51568 [C99-based-standards] (SCNo8): Likewise.
51569 [C99-based-standards] (SCNu8): Likewise.
51570 [C99-based-standards] (SCNx8): Likewise.
51571 [C99-based-standards] (PRIdLEAST8): Likewise.
51572 [C99-based-standards] (PRIiLEAST8): Likewise.
51573 [C99-based-standards] (PRIoLEAST8): Likewise.
51574 [C99-based-standards] (PRIuLEAST8): Likewise.
51575 [C99-based-standards] (PRIxLEAST8): Likewise.
51576 [C99-based-standards] (PRIXLEAST8): Likewise.
51577 [C99-based-standards] (SCNdLEAST8): Likewise.
51578 [C99-based-standards] (SCNiLEAST8): Likewise.
51579 [C99-based-standards] (SCNoLEAST8): Likewise.
51580 [C99-based-standards] (SCNuLEAST8): Likewise.
51581 [C99-based-standards] (SCNxLEAST8): Likewise.
51582 [C99-based-standards] (PRIdFAST8): Likewise.
51583 [C99-based-standards] (PRIiFAST8): Likewise.
51584 [C99-based-standards] (PRIoFAST8): Likewise.
51585 [C99-based-standards] (PRIuFAST8): Likewise.
51586 [C99-based-standards] (PRIxFAST8): Likewise.
51587 [C99-based-standards] (PRIXFAST8): Likewise.
51588 [C99-based-standards] (SCNdFAST8): Likewise.
51589 [C99-based-standards] (SCNiFAST8): Likewise.
51590 [C99-based-standards] (SCNoFAST8): Likewise.
51591 [C99-based-standards] (SCNuFAST8): Likewise.
51592 [C99-based-standards] (SCNxFAST8): Likewise.
51593 [C99-based-standards] (PRId16): Likewise.
51594 [C99-based-standards] (PRIi16): Likewise.
51595 [C99-based-standards] (PRIo16): Likewise.
51596 [C99-based-standards] (PRIu16): Likewise.
51597 [C99-based-standards] (PRIx16): Likewise.
51598 [C99-based-standards] (PRIX16): Likewise.
51599 [C99-based-standards] (SCNd16): Likewise.
51600 [C99-based-standards] (SCNi16): Likewise.
51601 [C99-based-standards] (SCNo16): Likewise.
51602 [C99-based-standards] (SCNu16): Likewise.
51603 [C99-based-standards] (SCNx16): Likewise.
51604 [C99-based-standards] (PRIdLEAST16): Likewise.
51605 [C99-based-standards] (PRIiLEAST16): Likewise.
51606 [C99-based-standards] (PRIoLEAST16): Likewise.
51607 [C99-based-standards] (PRIuLEAST16): Likewise.
51608 [C99-based-standards] (PRIxLEAST16): Likewise.
51609 [C99-based-standards] (PRIXLEAST16): Likewise.
51610 [C99-based-standards] (SCNdLEAST16): Likewise.
51611 [C99-based-standards] (SCNiLEAST16): Likewise.
51612 [C99-based-standards] (SCNoLEAST16): Likewise.
51613 [C99-based-standards] (SCNuLEAST16): Likewise.
51614 [C99-based-standards] (SCNxLEAST16): Likewise.
51615 [C99-based-standards] (PRIdFAST16): Likewise.
51616 [C99-based-standards] (PRIiFAST16): Likewise.
51617 [C99-based-standards] (PRIoFAST16): Likewise.
51618 [C99-based-standards] (PRIuFAST16): Likewise.
51619 [C99-based-standards] (PRIxFAST16): Likewise.
51620 [C99-based-standards] (PRIXFAST16): Likewise.
51621 [C99-based-standards] (SCNdFAST16): Likewise.
51622 [C99-based-standards] (SCNiFAST16): Likewise.
51623 [C99-based-standards] (SCNoFAST16): Likewise.
51624 [C99-based-standards] (SCNuFAST16): Likewise.
51625 [C99-based-standards] (SCNxFAST16): Likewise.
51626 [C99-based-standards] (PRId32): Likewise.
51627 [C99-based-standards] (PRIi32): Likewise.
51628 [C99-based-standards] (PRIo32): Likewise.
51629 [C99-based-standards] (PRIu32): Likewise.
51630 [C99-based-standards] (PRIx32): Likewise.
51631 [C99-based-standards] (PRIX32): Likewise.
51632 [C99-based-standards] (SCNd32): Likewise.
51633 [C99-based-standards] (SCNi32): Likewise.
51634 [C99-based-standards] (SCNo32): Likewise.
51635 [C99-based-standards] (SCNu32): Likewise.
51636 [C99-based-standards] (SCNx32): Likewise.
51637 [C99-based-standards] (PRIdLEAST32): Likewise.
51638 [C99-based-standards] (PRIiLEAST32): Likewise.
51639 [C99-based-standards] (PRIoLEAST32): Likewise.
51640 [C99-based-standards] (PRIuLEAST32): Likewise.
51641 [C99-based-standards] (PRIxLEAST32): Likewise.
51642 [C99-based-standards] (PRIXLEAST32): Likewise.
51643 [C99-based-standards] (SCNdLEAST32): Likewise.
51644 [C99-based-standards] (SCNiLEAST32): Likewise.
51645 [C99-based-standards] (SCNoLEAST32): Likewise.
51646 [C99-based-standards] (SCNuLEAST32): Likewise.
51647 [C99-based-standards] (SCNxLEAST32): Likewise.
51648 [C99-based-standards] (PRIdFAST32): Likewise.
51649 [C99-based-standards] (PRIiFAST32): Likewise.
51650 [C99-based-standards] (PRIoFAST32): Likewise.
51651 [C99-based-standards] (PRIuFAST32): Likewise.
51652 [C99-based-standards] (PRIxFAST32): Likewise.
51653 [C99-based-standards] (PRIXFAST32): Likewise.
51654 [C99-based-standards] (SCNdFAST32): Likewise.
51655 [C99-based-standards] (SCNiFAST32): Likewise.
51656 [C99-based-standards] (SCNoFAST32): Likewise.
51657 [C99-based-standards] (SCNuFAST32): Likewise.
51658 [C99-based-standards] (SCNxFAST32): Likewise.
51659 [C99-based-standards] (PRId64): Likewise.
51660 [C99-based-standards] (PRIi64): Likewise.
51661 [C99-based-standards] (PRIo64): Likewise.
51662 [C99-based-standards] (PRIu64): Likewise.
51663 [C99-based-standards] (PRIx64): Likewise.
51664 [C99-based-standards] (PRIX64): Likewise.
51665 [C99-based-standards] (SCNd64): Likewise.
51666 [C99-based-standards] (SCNi64): Likewise.
51667 [C99-based-standards] (SCNo64): Likewise.
51668 [C99-based-standards] (SCNu64): Likewise.
51669 [C99-based-standards] (SCNx64): Likewise.
51670 [C99-based-standards] (PRIdLEAST64): Likewise.
51671 [C99-based-standards] (PRIiLEAST64): Likewise.
51672 [C99-based-standards] (PRIoLEAST64): Likewise.
51673 [C99-based-standards] (PRIuLEAST64): Likewise.
51674 [C99-based-standards] (PRIxLEAST64): Likewise.
51675 [C99-based-standards] (PRIXLEAST64): Likewise.
51676 [C99-based-standards] (SCNdLEAST64): Likewise.
51677 [C99-based-standards] (SCNiLEAST64): Likewise.
51678 [C99-based-standards] (SCNoLEAST64): Likewise.
51679 [C99-based-standards] (SCNuLEAST64): Likewise.
51680 [C99-based-standards] (SCNxLEAST64): Likewise.
51681 [C99-based-standards] (PRIdFAST64): Likewise.
51682 [C99-based-standards] (PRIiFAST64): Likewise.
51683 [C99-based-standards] (PRIoFAST64): Likewise.
51684 [C99-based-standards] (PRIuFAST64): Likewise.
51685 [C99-based-standards] (PRIxFAST64): Likewise.
51686 [C99-based-standards] (PRIXFAST64): Likewise.
51687 [C99-based-standards] (SCNdFAST64): Likewise.
51688 [C99-based-standards] (SCNiFAST64): Likewise.
51689 [C99-based-standards] (SCNoFAST64): Likewise.
51690 [C99-based-standards] (SCNuFAST64): Likewise.
51691 [C99-based-standards] (SCNxFAST64): Likewise.
51692 [C99-based-standards] (PRIdMAX): Likewise.
51693 [C99-based-standards] (PRIiMAX): Likewise.
51694 [C99-based-standards] (PRIoMAX): Likewise.
51695 [C99-based-standards] (PRIuMAX): Likewise.
51696 [C99-based-standards] (PRIxMAX): Likewise.
51697 [C99-based-standards] (PRIXMAX): Likewise.
51698 [C99-based-standards] (SCNdMAX): Likewise.
51699 [C99-based-standards] (SCNiMAX): Likewise.
51700 [C99-based-standards] (SCNoMAX): Likewise.
51701 [C99-based-standards] (SCNuMAX): Likewise.
51702 [C99-based-standards] (SCNxMAX): Likewise.
51703 [C99-based-standards] (PRIdPTR): Likewise.
51704 [C99-based-standards] (PRIiPTR): Likewise.
51705 [C99-based-standards] (PRIoPTR): Likewise.
51706 [C99-based-standards] (PRIuPTR): Likewise.
51707 [C99-based-standards] (PRIxPTR): Likewise.
51708 [C99-based-standards] (PRIXPTR): Likewise.
51709 [C99-based-standards] (SCNdPTR): Likewise.
51710 [C99-based-standards] (SCNiPTR): Likewise.
51711 [C99-based-standards] (SCNoPTR): Likewise.
51712 [C99-based-standards] (SCNuPTR): Likewise.
51713 [C99-based-standards] (SCNxPTR): Likewise.
51714 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
51716 * conform/data/stdint.h-data: Update comments to clarify
51718 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
51720 [C99-based standards] (INT8_MAX): Likewise.
51721 [C99-based standards] (INT16_MIN): Likewise.
51722 [C99-based standards] (INT16_MAX): Likewise.
51723 [C99-based standards] (INT32_MIN): Likewise.
51724 [C99-based standards] (INT32_MAX): Likewise.
51725 [C99-based standards] (INT64_MIN): Likewise.
51726 [C99-based standards] (INT64_MAX): Likewise.
51727 [C99-based standards] (UINT8_MAX): Likewise.
51728 [C99-based standards] (UINT16_MAX): Likewise.
51729 [C99-based standards] (UINT32_MAX): Likewise.
51730 [C99-based standards] (UINT64_MAX): Likewise.
51731 [C99-based standards] (INT_LEAST8_MIN): Likewise.
51732 [C99-based standards] (INT_LEAST8_MAX): Likewise.
51733 [C99-based standards] (INT_LEAST16_MIN): Likewise.
51734 [C99-based standards] (INT_LEAST16_MAX): Likewise.
51735 [C99-based standards] (INT_LEAST32_MIN): Likewise.
51736 [C99-based standards] (INT_LEAST32_MAX): Likewise.
51737 [C99-based standards] (INT_LEAST64_MIN): Likewise.
51738 [C99-based standards] (INT_LEAST64_MAX): Likewise.
51739 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
51740 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
51741 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
51742 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
51743 [C99-based standards] (INT_FAST8_MIN): Likewise.
51744 [C99-based standards] (INT_FAST8_MAX): Likewise.
51745 [C99-based standards] (INT_FAST16_MIN): Likewise.
51746 [C99-based standards] (INT_FAST16_MAX): Likewise.
51747 [C99-based standards] (INT_FAST32_MIN): Likewise.
51748 [C99-based standards] (INT_FAST32_MAX): Likewise.
51749 [C99-based standards] (INT_FAST64_MIN): Likewise.
51750 [C99-based standards] (INT_FAST64_MAX): Likewise.
51751 [C99-based standards] (UINT_FAST8_MAX): Likewise.
51752 [C99-based standards] (UINT_FAST16_MAX): Likewise.
51753 [C99-based standards] (UINT_FAST32_MAX): Likewise.
51754 [C99-based standards] (UINT_FAST64_MAX): Likewise.
51755 [C99-based standards] (INTPTR_MIN): Likewise.
51756 [C99-based standards] (INTPTR_MAX): Likewise.
51757 [C99-based standards] (UINTPTR_MAX): Likewise.
51758 [C99-based standards] (INTMAX_MIN): Likewise.
51759 [C99-based standards] (INTMAX_MAX): Likewise.
51760 [C99-based standards] (UINTMAX_MAX): Likewise.
51761 [C99-based standards] (PTRDIFF_MIN): Likewise.
51762 [C99-based standards] (PTRDIFF_MAX): Likewise.
51763 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
51764 [C99-based standards] (SIZE_MAX): Likewise.
51765 [C99-based standards] (WCHAR_MAX): Likewise.
51766 [C99-based standards] (WINT_MAX): Likewise.
51767 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
51768 constraint on value.
51769 [C99-based standards] (WCHAR_MIN): Likewise.
51770 [C99-based standards] (WINT_MIN): Likewise.
51771 [C99-based standards] (*_t): Allow.
51772 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
51773 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
51774 Include math.h-data and complex.h-data. Remove all expectations
51775 of math.h and complex.h contents.
51776 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
51778 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
51779 (struct tm): Expect tag.
51780 [C99-based-standards] (wcstof): Expect function.
51781 [C99-based-standards] (wcstold): Likewise.
51782 [C99-based-standards] (wcstoll): Likewise.
51783 [C99-based-standards] (wcstoull): Likewise.
51784 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
51785 macro-int-constant. Specify type.
51786 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
51787 constraint on value.
51788 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
51790 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
51792 [ISO C standards]: Do not allow headers.
51793 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
51794 wcs[abcdefghijklmnopqrstuvwxyz]*.
51795 [ISO C standards] (*_t): Do not allow.
51796 * conform/data/wctype.h-data [C99-based standards] (iswblank):
51798 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
51799 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
51801 [ISO C standards]: Do not allow headers.
51802 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
51803 is[abcdefghijklmnopqrstuvwxyz]*.
51804 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
51805 to[abcdefghijklmnopqrstuvwxyz]*.
51806 [ISO C standards] (*_t): Do not allow.
51807 * conform/data/stdalign.h-data: New file.
51808 * conform/data/stdbool.h-data: Likewise.
51809 * conform/data/stdnoreturn.h-data: Likewise.
51811 2012-11-07 Roland McGrath <roland@hack.frob.com>
51814 * manual/filesys.texi (Directory Entries): Typo fix.
51815 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
51817 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
51819 * elf/elf.h (EM_AARCH64): New macro.
51820 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
51821 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
51822 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
51823 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
51824 (R_AARCH64_TLSDESC): Likewise.
51825 (NT_ARM_TLS): Likewise.
51826 (NT_ARM_HW_BREAK): Likewise.
51827 (NT_ARM_HW_WATCH): Likewise.
51829 2012-11-07 Joseph Myers <joseph@codesourcery.com>
51832 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
51833 (__ieee754_powl): Saturate nonzero exponents with absolute value
51834 below 0x1p-79 to +/- 0x1p-79.
51835 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
51836 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
51837 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
51838 nonzero exponents with absolute value below 0x1p-32 to +/-
51840 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
51841 (__ieee754_powl): Saturate nonzero exponents with absolute value
51842 below 0x1p-79 to +/- 0x1p-79.
51843 * math/libm-test.inc (pow_test): Add more tests.
51845 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51847 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
51848 _dl_s390_cap_flags with kernel. Increase string length.
51849 (_dl_s390_platforms): Add z196 and zEC12.
51851 2012-11-07 Joseph Myers <joseph@codesourcery.com>
51853 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
51854 Change XOPEN21K to XOPEN2K.
51856 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
51858 * string/memmove.c: Use memcpy when possible.
51860 2012-11-06 Andreas Jaeger <aj@suse.de>
51862 * po/eo.po: Update from translation team.
51864 2012-11-06 Joseph Myers <joseph@codesourcery.com>
51867 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
51868 exponent and small x and y exponents, scale x or y up. Increase
51869 by 2 the exponent used in scaling up.
51870 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
51871 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
51872 * math/libm-test.inc (fma_test): Add more tests.
51873 (fma_test_towardzero): Likewise.
51874 (fma_test_downward): Likewise.
51875 (fma_test_upward): Likewise.
51877 2012-11-05 Joseph Myers <joseph@codesourcery.com>
51880 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
51884 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
51885 namespace for names of struct fields.
51886 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
51888 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
51889 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
51891 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
51894 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
51896 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
51898 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
51902 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
51905 2012-11-04 Joseph Myers <joseph@codesourcery.com>
51908 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
51909 definitely overflow as x * y not x * y + z.
51910 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
51911 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
51912 * math/libm-test.inc (fma_test): Add more tests.
51913 (fma_test_towardzero): Likewise.
51914 (fma_test_downward): Likewise.
51915 (fma_test_upward): Likewise.
51917 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
51921 * include/stub-tag.h: Remove file.
51922 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
51924 * manual/maint.texi (Porting): Don't reference it.
51925 * Makerules ($(objpfx)stubs): Likewise.
51926 * dirent/closedir.c: Don't include <stub-tag.h>.
51927 * dirent/dirfd.c: Likewise.
51928 * dirent/fdopendir.c: Likewise.
51929 * dirent/getdents.c: Likewise.
51930 * dirent/getdents64.c: Likewise.
51931 * dirent/opendir.c: Likewise.
51932 * dirent/readdir.c: Likewise.
51933 * dirent/readdir64.c: Likewise.
51934 * dirent/readdir64_r.c: Likewise.
51935 * dirent/readdir_r.c: Likewise.
51936 * dirent/rewinddir.c: Likewise.
51937 * dirent/seekdir.c: Likewise.
51938 * dirent/telldir.c: Likewise.
51939 * gmon/profil.c: Likewise.
51940 * grp/setgroups.c: Likewise.
51941 * inet/if_index.c: Likewise.
51942 * io/access.c: Likewise.
51943 * io/chdir.c: Likewise.
51944 * io/chmod.c: Likewise.
51945 * io/chown.c: Likewise.
51946 * io/close.c: Likewise.
51947 * io/dup.c: Likewise.
51948 * io/dup2.c: Likewise.
51949 * io/dup3.c: Likewise.
51950 * io/euidaccess.c: Likewise.
51951 * io/faccessat.c: Likewise.
51952 * io/fchdir.c: Likewise.
51953 * io/fchmod.c: Likewise.
51954 * io/fchmodat.c: Likewise.
51955 * io/fchown.c: Likewise.
51956 * io/fchownat.c: Likewise.
51957 * io/fcntl.c: Likewise.
51958 * io/flock.c: Likewise.
51959 * io/fstatfs.c: Likewise.
51960 * io/fstatfs64.c: Likewise.
51961 * io/fstatvfs.c: Likewise.
51962 * io/fstatvfs64.c: Likewise.
51963 * io/futimens.c: Likewise.
51964 * io/fxstat.c: Likewise.
51965 * io/fxstat64.c: Likewise.
51966 * io/fxstatat.c: Likewise.
51967 * io/fxstatat64.c: Likewise.
51968 * io/getcwd.c: Likewise.
51969 * io/isatty.c: Likewise.
51970 * io/lchmod.c: Likewise.
51971 * io/lchown.c: Likewise.
51972 * io/link.c: Likewise.
51973 * io/linkat.c: Likewise.
51974 * io/lseek.c: Likewise.
51975 * io/lseek64.c: Likewise.
51976 * io/lxstat64.c: Likewise.
51977 * io/mkdir.c: Likewise.
51978 * io/mkdirat.c: Likewise.
51979 * io/mkfifo.c: Likewise.
51980 * io/mkfifoat.c: Likewise.
51981 * io/open.c: Likewise.
51982 * io/open64.c: Likewise.
51983 * io/openat.c: Likewise.
51984 * io/openat64.c: Likewise.
51985 * io/pipe.c: Likewise.
51986 * io/pipe2.c: Likewise.
51987 * io/poll.c: Likewise.
51988 * io/posix_fadvise.c: Likewise.
51989 * io/posix_fadvise64.c: Likewise.
51990 * io/posix_fallocate.c: Likewise.
51991 * io/posix_fallocate64.c: Likewise.
51992 * io/read.c: Likewise.
51993 * io/readlink.c: Likewise.
51994 * io/readlinkat.c: Likewise.
51995 * io/rmdir.c: Likewise.
51996 * io/sendfile.c: Likewise.
51997 * io/sendfile64.c: Likewise.
51998 * io/statfs.c: Likewise.
51999 * io/statfs64.c: Likewise.
52000 * io/statvfs.c: Likewise.
52001 * io/statvfs64.c: Likewise.
52002 * io/symlink.c: Likewise.
52003 * io/symlinkat.c: Likewise.
52004 * io/ttyname.c: Likewise.
52005 * io/ttyname_r.c: Likewise.
52006 * io/umask.c: Likewise.
52007 * io/unlink.c: Likewise.
52008 * io/unlinkat.c: Likewise.
52009 * io/utime.c: Likewise.
52010 * io/utimensat.c: Likewise.
52011 * io/write.c: Likewise.
52012 * io/xmknod.c: Likewise.
52013 * io/xmknodat.c: Likewise.
52014 * io/xstat.c: Likewise.
52015 * io/xstat64.c: Likewise.
52016 * login/getpt.c: Likewise.
52017 * login/grantpt.c: Likewise.
52018 * login/unlockpt.c: Likewise.
52019 * math/e_acoshl.c: Likewise.
52020 * math/e_acosl.c: Likewise.
52021 * math/e_asinl.c: Likewise.
52022 * math/e_atan2l.c: Likewise.
52023 * math/e_atanhl.c: Likewise.
52024 * math/e_coshl.c: Likewise.
52025 * math/e_expl.c: Likewise.
52026 * math/e_fmodl.c: Likewise.
52027 * math/e_gammal_r.c: Likewise.
52028 * math/e_hypotl.c: Likewise.
52029 * math/e_j0l.c: Likewise.
52030 * math/e_j1l.c: Likewise.
52031 * math/e_jnl.c: Likewise.
52032 * math/e_lgammal_r.c: Likewise.
52033 * math/e_log10l.c: Likewise.
52034 * math/e_log2l.c: Likewise.
52035 * math/e_logl.c: Likewise.
52036 * math/e_powl.c: Likewise.
52037 * math/e_rem_pio2l.c: Likewise.
52038 * math/e_sinhl.c: Likewise.
52039 * math/e_sqrtl.c: Likewise.
52040 * math/fclrexcpt.c: Likewise.
52041 * math/fedisblxcpt.c: Likewise.
52042 * math/feenablxcpt.c: Likewise.
52043 * math/fegetenv.c: Likewise.
52044 * math/fegetexcept.c: Likewise.
52045 * math/fegetround.c: Likewise.
52046 * math/feholdexcpt.c: Likewise.
52047 * math/fesetenv.c: Likewise.
52048 * math/fesetround.c: Likewise.
52049 * math/feupdateenv.c: Likewise.
52050 * math/fgetexcptflg.c: Likewise.
52051 * math/fraiseexcpt.c: Likewise.
52052 * math/fsetexcptflg.c: Likewise.
52053 * math/ftestexcept.c: Likewise.
52054 * math/k_cosl.c: Likewise.
52055 * math/k_rem_pio2l.c: Likewise.
52056 * math/k_sinl.c: Likewise.
52057 * math/k_tanl.c: Likewise.
52058 * math/s_asinhl.c: Likewise.
52059 * math/s_atanl.c: Likewise.
52060 * math/s_cbrtl.c: Likewise.
52061 * math/s_erfl.c: Likewise.
52062 * math/s_expm1l.c: Likewise.
52063 * math/s_log1pl.c: Likewise.
52064 * math/s_tanhl.c: Likewise.
52065 * misc/acct.c: Likewise.
52066 * misc/brk.c: Likewise.
52067 * misc/chflags.c: Likewise.
52068 * misc/chroot.c: Likewise.
52069 * misc/fchflags.c: Likewise.
52070 * misc/fgetxattr.c: Likewise.
52071 * misc/flistxattr.c: Likewise.
52072 * misc/fremovexattr.c: Likewise.
52073 * misc/fsetxattr.c: Likewise.
52074 * misc/fsync.c: Likewise.
52075 * misc/ftruncate.c: Likewise.
52076 * misc/futimes.c: Likewise.
52077 * misc/futimesat.c: Likewise.
52078 * misc/getdomain.c: Likewise.
52079 * misc/getdtsz.c: Likewise.
52080 * misc/gethostid.c: Likewise.
52081 * misc/gethostname.c: Likewise.
52082 * misc/getloadavg.c: Likewise.
52083 * misc/getpagesize.c: Likewise.
52084 * misc/getsysstats.c: Likewise.
52085 * misc/getxattr.c: Likewise.
52086 * misc/gtty.c: Likewise.
52087 * misc/ioctl.c: Likewise.
52088 * misc/lgetxattr.c: Likewise.
52089 * misc/listxattr.c: Likewise.
52090 * misc/llistxattr.c: Likewise.
52091 * misc/lremovexattr.c: Likewise.
52092 * misc/lsetxattr.c: Likewise.
52093 * misc/lutimes.c: Likewise.
52094 * misc/madvise.c: Likewise.
52095 * misc/mincore.c: Likewise.
52096 * misc/mlock.c: Likewise.
52097 * misc/mlockall.c: Likewise.
52098 * misc/mmap.c: Likewise.
52099 * misc/mprotect.c: Likewise.
52100 * misc/msync.c: Likewise.
52101 * misc/munlock.c: Likewise.
52102 * misc/munlockall.c: Likewise.
52103 * misc/munmap.c: Likewise.
52104 * misc/preadv.c: Likewise.
52105 * misc/preadv64.c: Likewise.
52106 * misc/ptrace.c: Likewise.
52107 * misc/pwritev.c: Likewise.
52108 * misc/pwritev64.c: Likewise.
52109 * misc/readv.c: Likewise.
52110 * misc/reboot.c: Likewise.
52111 * misc/remap_file_pages.c: Likewise.
52112 * misc/removexattr.c: Likewise.
52113 * misc/revoke.c: Likewise.
52114 * misc/select.c: Likewise.
52115 * misc/setdomain.c: Likewise.
52116 * misc/setegid.c: Likewise.
52117 * misc/seteuid.c: Likewise.
52118 * misc/sethostid.c: Likewise.
52119 * misc/sethostname.c: Likewise.
52120 * misc/setregid.c: Likewise.
52121 * misc/setreuid.c: Likewise.
52122 * misc/setxattr.c: Likewise.
52123 * misc/sstk.c: Likewise.
52124 * misc/stty.c: Likewise.
52125 * misc/swapoff.c: Likewise.
52126 * misc/swapon.c: Likewise.
52127 * misc/sync.c: Likewise.
52128 * misc/syncfs.c: Likewise.
52129 * misc/syscall.c: Likewise.
52130 * misc/truncate.c: Likewise.
52131 * misc/ualarm.c: Likewise.
52132 * misc/usleep.c: Likewise.
52133 * misc/ustat.c: Likewise.
52134 * misc/utimes.c: Likewise.
52135 * misc/vhangup.c: Likewise.
52136 * misc/writev.c: Likewise.
52137 * posix/_exit.c: Likewise.
52138 * posix/alarm.c: Likewise.
52139 * posix/execve.c: Likewise.
52140 * posix/fexecve.c: Likewise.
52141 * posix/fork.c: Likewise.
52142 * posix/fpathconf.c: Likewise.
52143 * posix/getaddrinfo.c: Likewise.
52144 * posix/getegid.c: Likewise.
52145 * posix/geteuid.c: Likewise.
52146 * posix/getgid.c: Likewise.
52147 * posix/getgroups.c: Likewise.
52148 * posix/getlogin.c: Likewise.
52149 * posix/getlogin_r.c: Likewise.
52150 * posix/getpgid.c: Likewise.
52151 * posix/getpid.c: Likewise.
52152 * posix/getppid.c: Likewise.
52153 * posix/getresgid.c: Likewise.
52154 * posix/getresuid.c: Likewise.
52155 * posix/getsid.c: Likewise.
52156 * posix/getuid.c: Likewise.
52157 * posix/glob64.c: Likewise.
52158 * posix/nanosleep.c: Likewise.
52159 * posix/pathconf.c: Likewise.
52160 * posix/pause.c: Likewise.
52161 * posix/posix_madvise.c: Likewise.
52162 * posix/pread.c: Likewise.
52163 * posix/pread64.c: Likewise.
52164 * posix/pwrite.c: Likewise.
52165 * posix/pwrite64.c: Likewise.
52166 * posix/sched_getaffinity.c: Likewise.
52167 * posix/sched_getp.c: Likewise.
52168 * posix/sched_gets.c: Likewise.
52169 * posix/sched_primax.c: Likewise.
52170 * posix/sched_primin.c: Likewise.
52171 * posix/sched_rr_gi.c: Likewise.
52172 * posix/sched_setaffinity.c: Likewise.
52173 * posix/sched_setp.c: Likewise.
52174 * posix/sched_sets.c: Likewise.
52175 * posix/sched_yield.c: Likewise.
52176 * posix/setgid.c: Likewise.
52177 * posix/setlogin.c: Likewise.
52178 * posix/setpgid.c: Likewise.
52179 * posix/setresgid.c: Likewise.
52180 * posix/setresuid.c: Likewise.
52181 * posix/setsid.c: Likewise.
52182 * posix/setuid.c: Likewise.
52183 * posix/sleep.c: Likewise.
52184 * posix/spawni.c: Likewise.
52185 * posix/sysconf.c: Likewise.
52186 * posix/times.c: Likewise.
52187 * posix/wait.c: Likewise.
52188 * posix/wait3.c: Likewise.
52189 * posix/wait4.c: Likewise.
52190 * posix/waitpid.c: Likewise.
52191 * resolv/gai_sigqueue.c: Likewise.
52192 * resource/getpriority.c: Likewise.
52193 * resource/getrlimit.c: Likewise.
52194 * resource/getrusage.c: Likewise.
52195 * resource/nice.c: Likewise.
52196 * resource/setpriority.c: Likewise.
52197 * resource/setrlimit.c: Likewise.
52198 * resource/ulimit.c: Likewise.
52199 * rt/aio_cancel.c: Likewise.
52200 * rt/aio_fsync.c: Likewise.
52201 * rt/aio_read.c: Likewise.
52202 * rt/aio_sigqueue.c: Likewise.
52203 * rt/aio_suspend.c: Likewise.
52204 * rt/aio_write.c: Likewise.
52205 * rt/clock_getres.c: Likewise.
52206 * rt/clock_gettime.c: Likewise.
52207 * rt/clock_nanosleep.c: Likewise.
52208 * rt/clock_settime.c: Likewise.
52209 * rt/lio_listio.c: Likewise.
52210 * rt/mq_close.c: Likewise.
52211 * rt/mq_getattr.c: Likewise.
52212 * rt/mq_notify.c: Likewise.
52213 * rt/mq_open.c: Likewise.
52214 * rt/mq_receive.c: Likewise.
52215 * rt/mq_send.c: Likewise.
52216 * rt/mq_setattr.c: Likewise.
52217 * rt/mq_timedreceive.c: Likewise.
52218 * rt/mq_timedsend.c: Likewise.
52219 * rt/mq_unlink.c: Likewise.
52220 * rt/shm_open.c: Likewise.
52221 * rt/shm_unlink.c: Likewise.
52222 * rt/timer_create.c: Likewise.
52223 * rt/timer_delete.c: Likewise.
52224 * rt/timer_getoverr.c: Likewise.
52225 * rt/timer_gettime.c: Likewise.
52226 * rt/timer_settime.c: Likewise.
52227 * setjmp/__longjmp.c: Likewise.
52228 * setjmp/setjmp.c: Likewise.
52229 * signal/kill.c: Likewise.
52230 * signal/killpg.c: Likewise.
52231 * signal/raise.c: Likewise.
52232 * signal/sigaction.c: Likewise.
52233 * signal/sigaltstack.c: Likewise.
52234 * signal/sigblock.c: Likewise.
52235 * signal/sigignore.c: Likewise.
52236 * signal/sigintr.c: Likewise.
52237 * signal/signal.c: Likewise.
52238 * signal/sigpause.c: Likewise.
52239 * signal/sigpending.c: Likewise.
52240 * signal/sigqueue.c: Likewise.
52241 * signal/sigreturn.c: Likewise.
52242 * signal/sigset.c: Likewise.
52243 * signal/sigsetmask.c: Likewise.
52244 * signal/sigstack.c: Likewise.
52245 * signal/sigsuspend.c: Likewise.
52246 * signal/sigtimedwait.c: Likewise.
52247 * signal/sigvec.c: Likewise.
52248 * signal/sigwait.c: Likewise.
52249 * signal/sigwaitinfo.c: Likewise.
52250 * signal/sysv_signal.c: Likewise.
52251 * socket/accept.c: Likewise.
52252 * socket/accept4.c: Likewise.
52253 * socket/bind.c: Likewise.
52254 * socket/connect.c: Likewise.
52255 * socket/getpeername.c: Likewise.
52256 * socket/getsockname.c: Likewise.
52257 * socket/getsockopt.c: Likewise.
52258 * socket/isfdtype.c: Likewise.
52259 * socket/listen.c: Likewise.
52260 * socket/recv.c: Likewise.
52261 * socket/recvfrom.c: Likewise.
52262 * socket/recvmsg.c: Likewise.
52263 * socket/send.c: Likewise.
52264 * socket/sendmsg.c: Likewise.
52265 * socket/sendto.c: Likewise.
52266 * socket/setsockopt.c: Likewise.
52267 * socket/shutdown.c: Likewise.
52268 * socket/sockatmark.c: Likewise.
52269 * socket/socket.c: Likewise.
52270 * socket/socketpair.c: Likewise.
52271 * stdio-common/ctermid.c: Likewise.
52272 * stdio-common/cuserid.c: Likewise.
52273 * stdio-common/remove.c: Likewise.
52274 * stdio-common/rename.c: Likewise.
52275 * stdio-common/renameat.c: Likewise.
52276 * stdio-common/tempname.c: Likewise.
52277 * stdlib/getcontext.c: Likewise.
52278 * stdlib/makecontext.c: Likewise.
52279 * stdlib/setcontext.c: Likewise.
52280 * stdlib/swapcontext.c: Likewise.
52281 * stdlib/system.c: Likewise.
52282 * streams/fattach.c: Likewise.
52283 * streams/fdetach.c: Likewise.
52284 * streams/getmsg.c: Likewise.
52285 * streams/getpmsg.c: Likewise.
52286 * streams/putmsg.c: Likewise.
52287 * streams/putpmsg.c: Likewise.
52288 * sysdeps/unix/bsd/getpt.c: Likewise.
52289 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
52290 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
52291 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
52292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
52294 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
52295 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
52296 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
52297 * sysvipc/msgctl.c: Likewise.
52298 * sysvipc/msgget.c: Likewise.
52299 * sysvipc/msgrcv.c: Likewise.
52300 * sysvipc/msgsnd.c: Likewise.
52301 * sysvipc/semctl.c: Likewise.
52302 * sysvipc/semget.c: Likewise.
52303 * sysvipc/semop.c: Likewise.
52304 * sysvipc/semtimedop.c: Likewise.
52305 * sysvipc/shmat.c: Likewise.
52306 * sysvipc/shmctl.c: Likewise.
52307 * sysvipc/shmdt.c: Likewise.
52308 * sysvipc/shmget.c: Likewise.
52309 * termios/tcdrain.c: Likewise.
52310 * termios/tcflow.c: Likewise.
52311 * termios/tcflush.c: Likewise.
52312 * termios/tcgetattr.c: Likewise.
52313 * termios/tcgetpgrp.c: Likewise.
52314 * termios/tcsendbrk.c: Likewise.
52315 * termios/tcsetattr.c: Likewise.
52316 * termios/tcsetpgrp.c: Likewise.
52317 * time/adjtime.c: Likewise.
52318 * time/clock.c: Likewise.
52319 * time/getitimer.c: Likewise.
52320 * time/gettimeofday.c: Likewise.
52321 * time/setitimer.c: Likewise.
52322 * time/settimeofday.c: Likewise.
52323 * time/stime.c: Likewise.
52324 * time/time.c: Likewise.
52326 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
52328 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
52331 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
52333 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
52335 2012-11-03 Joseph Myers <joseph@codesourcery.com>
52338 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
52339 FE_TONEAREST before applying Dekker multiplication and Knuth
52340 addition. Clear inexact exceptions and check for exact zero
52341 results afterwards.
52342 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
52343 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
52344 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
52345 * math/libm-test.inc (fma_test): Add more tests.
52346 (fma_test_towardzero): Likewise.
52347 (fma_test_downward): Likewise.
52348 (fma_test_upward): Likewise.
52349 * sysdeps/generic/math_private.h (default_libc_fesetround): New
52351 (libc_fesetround): New macro.
52352 (libc_fesetroundf): Likewise.
52353 (libc_fesetroundl): Likewise.
52354 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
52356 (libc_fesetround_387): Likewise.
52357 (libc_fesetroundf): New macro.
52358 (libc_fesetround): Likewise.
52359 (libc_fesetroundl): Likewise.
52360 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
52362 (libc_fesetroundf): New macro.
52363 (libc_fesetround): Likewise.
52364 (libc_fesetroundl): Likewise.
52365 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
52366 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
52367 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
52369 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
52370 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
52372 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
52373 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
52375 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
52379 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
52380 integer constant usable in #if and use that to give value to enum
52382 (FE_DIVBYZERO): Likewise.
52383 (FE_UNDERFLOW): Likewise.
52384 (FE_OVERFLOW): Likewise.
52385 (FE_INVALID): Likewise.
52386 (FE_INVALID_SNAN): Likewise.
52387 (FE_INVALID_ISI): Likewise.
52388 (FE_INVALID_IDI): Likewise.
52389 (FE_INVALID_ZDZ): Likewise.
52390 (FE_INVALID_IMZ): Likewise.
52391 (FE_INVALID_COMPARE): Likewise.
52392 (FE_INVALID_SOFTWARE): Likewise.
52393 (FE_INVALID_SQRT): Likewise.
52394 (FE_INVALID_INTEGER_CONVERSION): Likewise.
52395 (FE_TONEAREST): Likewise.
52396 (FE_TOWARDZERO): Likewise.
52397 (FE_UPWARD): Likewise.
52398 (FE_DOWNWARD): Likewise.
52399 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
52400 (FE_DIVBYZERO): Likewise.
52401 (FE_OVERFLOW): Likewise.
52402 (FE_UNDERFLOW): Likewise.
52403 (FE_INEXACT): Likewise.
52404 (FE_TONEAREST): Likewise.
52405 (FE_DOWNWARD): Likewise.
52406 (FE_UPWARD): Likewise.
52407 (FE_TOWARDZERO): Likewise.
52408 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
52409 (FE_UNDERFLOW): Likewise.
52410 (FE_OVERFLOW): Likewise.
52411 (FE_DIVBYZERO): Likewise.
52412 (FE_INVALID): Likewise.
52413 (FE_TONEAREST): Likewise.
52414 (FE_TOWARDZERO): Likewise.
52415 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
52416 (FE_OVERFLOW): Likewise.
52417 (FE_UNDERFLOW): Likewise.
52418 (FE_DIVBYZERO): Likewise.
52419 (FE_INEXACT): Likewise.
52420 (FE_TONEAREST): Likewise.
52421 (FE_TOWARDZERO): Likewise.
52422 (FE_UPWARD): Likewise.
52423 (FE_DOWNWARD): Likewise.
52424 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
52425 (FE_DIVBYZERO): Likewise.
52426 (FE_OVERFLOW): Likewise.
52427 (FE_UNDERFLOW): Likewise.
52428 (FE_INEXACT): Likewise.
52429 (FE_TONEAREST): Likewise.
52430 (FE_DOWNWARD): Likewise.
52431 (FE_UPWARD): Likewise.
52432 (FE_TOWARDZERO): Likewise.
52434 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
52436 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
52438 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
52440 * scripts/cross-test-ssh.sh (command): Use newlines to separate
52441 commands. Quote $PWD.
52442 (blacklist_exports): Don't use remove_newlines. Replace "declare
52444 (remove_newlines): Remove.
52446 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
52448 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
52449 * stdlib/stdlib.h (atof): Moved to ...
52450 * include/bits/stdlib-float.h: Here. New file.
52451 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
52452 * stdlib/bits/stdlib-float.h: New file.
52453 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
52455 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
52458 2012-11-02 Joseph Myers <joseph@codesourcery.com>
52460 * conform/conformtest.pl (@headers): Add fenv.h.
52461 * conform/data/fenv.h-data: New file.
52462 * include/fenv.h [_ISOMAC]: Disable all contents of file except
52463 include of <math/fenv.h>.
52465 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
52466 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
52467 && !UNIX98]. Enables tests for XOPEN2K8.
52468 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
52469 POSIX2008]: Likewise.
52471 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
52472 (struct rusage): Do not expect type or its members.
52475 * math/math.h (FP_NAN): Define macro to integer constant usable in
52476 #if and use that to give value to enum constant.
52477 (FP_INFINITE): Likewise.
52478 (FP_ZERO): Likewise.
52479 (FP_SUBNORMAL): Likewise.
52480 (FP_NORMAL): Likewise.
52482 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
52484 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
52485 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
52488 2012-11-02 Roland McGrath <roland@hack.frob.com>
52490 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
52491 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
52492 autoconf-time if not.
52493 * configure.in: Remove AC_PREREQ.
52495 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
52497 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
52498 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
52499 of the internal implementation.
52501 2012-11-02 Joseph Myers <joseph@codesourcery.com>
52503 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
52504 except include of <misc/sys/syslog.h>.
52506 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
52508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
52509 function returns with a NULL context exit with zero.
52511 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
52513 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
52515 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
52517 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
52518 (run_program_cmd): This.
52519 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
52520 (tst_langinfo): New variable. Use it.
52522 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
52524 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
52525 floating point opcodes.
52527 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
52529 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
52532 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
52534 * sysdeps/mach/hurd/powerpc: Remove directory.
52535 * sysdeps/mach/powerpc: Likewise.
52537 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
52539 * scripts/check-local-headers.sh: Ignore c++ headers.
52541 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
52543 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
52544 __libc_cleanup_region_start argument.
52546 2012-11-01 Joseph Myers <joseph@codesourcery.com>
52550 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
52551 x * y using scaling, not as x * y + z.
52552 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
52553 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
52554 * math/libm-test.inc (fma_test): Add more tests.
52555 (fma_test_towardzero): Likewise.
52556 (fma_test_downward): Likewise.
52557 (fma_test_upward): Likewise.
52559 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
52561 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
52563 2012-10-31 Joseph Myers <joseph@codesourcery.com>
52565 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
52568 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
52570 * rt/tst-shm.c (worker): Correct checking for mmap failure.
52572 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
52574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
52576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
52579 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
52581 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
52582 Fix the order of the list for glibc 2.17.
52583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
52586 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
52588 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52590 2012-10-31 Joseph Myers <joseph@codesourcery.com>
52593 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
52594 for low part of x being zero before using __atanl (y).
52595 * math/libm-test.inc (atan2_test): Add another test.
52597 * manual/install.texi (Configuring and compiling): Document
52598 general use of test-wrapper and test-wrapper-env.
52599 * INSTALL: Regenerated.
52601 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
52602 (__fma): Do not extract and scale down low bits on after-rounding
52603 systems when result rounded to normal precision would have normal
52605 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
52606 (__fmal): Do not extract and scale down low bits on after-rounding
52607 systems when result rounded to normal precision would have normal
52609 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
52610 (__fmal): Do not extract and scale down low bits on after-rounding
52611 systems when result rounded to normal precision would have normal
52613 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
52615 (fma_test): Add more tests.
52616 (fma_test_towardzero): Likewise.
52617 (fma_test_downward): Likewise.
52618 (fma_test_upward): Likewise.
52620 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
52622 * sysdeps/i386/tininess.h: Renamed to ...
52623 * sysdeps/x86/tininess.h: This.
52624 * sysdeps/x86_64/tininess.h: Removed.
52626 2012-10-30 Joseph Myers <joseph@codesourcery.com>
52628 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
52629 input. Use $(build-program-cmd).
52630 ($(objpfx)tst-array1-static.out): Likewise.
52631 ($(objpfx)tst-array2.out): Likewise.
52632 ($(objpfx)tst-array3.out): Likewise.
52633 ($(objpfx)tst-array4.out): Likewise.
52634 ($(objpfx)tst-array5.out): Likewise.
52635 ($(objpfx)tst-array5-static.out): Likewise.
52637 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
52639 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
52642 * nss/nsswitch.h (nss_interface_function): Provide new
52643 macro for use with NSS functions.
52644 * grp/initgroups.c: Use new macro.
52645 * nss/getXXbyYY.c: Likewise.
52646 * nss/getXXbyYY_r.c: Likewise.
52647 * nss/getXXent.c: Likewise.
52648 * nss/getXXent_r.c: Likewise.
52649 * sysdeps/posix/getaddrinfo.c: Likewise.
52651 2012-10-30 Andreas Jaeger <aj@suse.de>
52653 * po/ru.po: Update Russion translation from translation project.
52655 2012-10-30 Joseph Myers <joseph@codesourcery.com>
52659 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
52660 result and shift together with sticky bit instead of replicating
52661 round-to-nearest rounding.
52662 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
52663 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
52664 * math/libm-test.inc (fma_test): Add more tests. Do not permit
52665 missing underflow exceptions.
52666 (fma_test_towardzero): Add more tests.
52667 (fma_test_downward): Likewise.
52668 (fma_test_upward): Likewise.
52671 * sysdeps/generic/tininess.h: New file.
52672 * sysdeps/i386/tininess.h: Likewise.
52673 * sysdeps/sh/tininess.h: Likewise.
52674 * sysdeps/x86_64/tininess.h: Likewise.
52675 * stdlib/tst-strtod-underflow.c: Likewise.
52676 * stdlib/tst-tininess.c: Likewise.
52677 * stdlib/strtod_l.c: Include <tininess.h>.
52678 (round_and_return): Do not set errno for exact underflow cases.
52679 Force an underflow exception when setting errno for underflow.
52680 Determine underflow based on rounding to normal precision if
52681 TININESS_AFTER_ROUNDING.
52682 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
52683 ERANGE for exact underflow cases.
52684 * stdlib/Makefile (tests): Add tst-tininess and
52685 tst-strtod-underflow.
52686 ($(objpfx)tst-tininess): Use $(link-libm).
52687 ($(objpfx)tst-strtod-underflow): Likewise.
52689 2012-10-30 Andreas Jaeger <aj@suse.de>
52692 * elf/Makefile (tests): Remove conditional for have-initfini-array
52693 since this is now always required and the variable does not exist
52695 (tests-static): Likewise.
52696 (modules-names): Likewise.
52698 * po/eo.po: Add Esperanto translation from translation project.
52700 * elf/tst-array1.c (fini_array): Make writeable so that it can be
52701 merged with constructor/destructor.
52702 (init_array): Likewise.
52703 * elf/tst-array2dep.c (fini_array): Likewise.
52704 (init_array): Likewise.
52706 2012-10-29 Mike Frysinger <vapier@gentoo.org>
52708 * manual/message.texi: Delete @cartouche tags.
52710 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
52712 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
52714 * sysdeps/mach/hurd/fsync.c: Likewise.
52716 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
52717 [_POSIX_REALTIME_SIGNALS]: Change condition to
52718 [_POSIX_REALTIME_SIGNALS > 0].
52720 2012-10-27 Andreas Jaeger <aj@suse.de>
52722 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
52723 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
52724 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
52725 [__WORDSIZE != 64]: Likewise.
52727 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
52729 * iconvdata/tst-table.sh: Remove ${SHELL}.
52730 * iconvdata/tst-tables.sh: Likewise.
52732 2012-10-25 David S. Miller <davem@davemloft.net>
52734 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
52735 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
52738 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
52740 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
52741 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
52742 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
52745 2012-10-25 Roland McGrath <roland@hack.frob.com>
52747 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
52748 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
52751 2012-10-25 Joseph Myers <joseph@codesourcery.com>
52752 Jim Blandy <jimb@codesourcery.com>
52754 * scripts/cross-test-ssh.sh: New file.
52755 * manual/install.texi (Configuring and compiling): Document use of
52757 * INSTALL: Regenerated.
52759 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
52761 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
52764 2012-10-25 Joseph Myers <joseph@codesourcery.com>
52766 * Makeconfig (run-program-prefix): Fix comment.
52768 2012-10-24 Joseph Myers <joseph@codesourcery.com>
52769 Jim Blandy <jimb@codesourcery.com>
52771 * Makeconfig (test-wrapper): New variable,
52772 (test-wrapper-env): Likewise.
52773 [$(cross-compiling) = yes && $(test-wrapper) != ""]
52774 (run-built-tests): Define to yes.
52775 (run-program-prefix): Use $(test-wrapper).
52776 (built-program-cmd): Likewise.
52777 * Rules (make-test-out): Use $(test-wrapper-env) and
52778 $(host-built-program-cmd).
52779 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
52780 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
52782 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
52783 $(test-wrapper-env) to tst-rtld-load-self.sh.
52784 ($(objpfx)order2.out): Use $(test-wrapper).
52785 ($(objpfx)tst-initorder.out): Likewise.
52786 ($(objpfx)tst-initorder2.out): Likewise.
52787 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
52788 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
52789 (test_wrapper_env): New variable. Use it to run ld.so.
52790 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
52791 Use it to run ld.so.
52792 (test_wrapper_env): Likewise.
52793 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
52794 $(test-wrapper) to run-iconv-test.sh.
52795 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
52796 (ICONV): Use $test_wrapper.
52797 * posix/Makefile ($(objpfx)globtest.out): Pass
52798 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
52799 globtest.sh, not $(run-program-prefix).
52800 * posix/globtest.sh (run_via_rtld_prefix): New variable.
52801 (test_wrapper): Likewise.
52802 (test_wrapper_env): Likewise. Use it to run globtest with HOME
52803 set together with run_via_rtld_prefix.
52804 (run_program_prefix): Define in terms of test_wrapper and
52805 run_via_rtld_prefix.
52807 2012-10-24 Roland McGrath <roland@hack.frob.com>
52809 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
52810 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
52814 * include/time.h: Remove librt_hidden_proto (clock_gettime).
52815 Declare __clock_getres, __clock_gettime, __clock_settime,
52816 __clock_nanosleep, and __clock_getcpuclockid.
52817 * rt/clock_gettime.c: Define __clock_gettime as an alias.
52818 Remove librt_hidden_def (clock_gettime).
52819 * sysdeps/unix/clock_gettime.c: Likewise.
52820 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
52821 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
52822 * rt/clock_getres.c: Define __clock_getres as an alias.
52823 * sysdeps/posix/clock_getres.c: Likewise.
52824 * rt/clock_settime.c: Define __clock_settime as an alias.
52825 * sysdeps/unix/clock_settime.c: Likewise.
52826 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
52827 * sysdeps/unix/clock_nanosleep.c: Likewise.
52828 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
52829 * rt/clock-compat.c: New file.
52830 * rt/Makefile (librt-routines): Add clock-compat and move
52831 $(clock-routines) to ...
52832 (routines): ... here, new variable.
52833 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
52834 Don't add get_clockfreq here.
52835 * rt/Versions (libc: GLIBC_2.17): New version set.
52836 Add clock_* symbols here.
52837 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
52838 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
52839 (GLIBC_2.17): Add clock_* symbols.
52840 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
52841 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
52842 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
52843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
52845 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
52847 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
52848 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
52849 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
52850 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
52851 * NEWS: Mention the move.
52853 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
52854 Use __open, __read, __close rather than their public counterparts.
52855 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
52856 (__get_clockfreq_via_cpuinfo): Likewise.
52857 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
52858 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
52860 * config.h.in (HAVE_IFUNC): New #undef.
52861 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
52863 * configure: Regenerated.
52865 2012-10-24 Mike Frysinger <vapier@gentoo.org>
52867 * configure.in: Move READELF check to start of file.
52868 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
52869 libc_cv_asm_gnu_indirect_function in the process.
52870 * configure: Regenerated.
52872 2012-10-24 Mike Frysinger <vapier@gentoo.org>
52874 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
52875 send the output to /dev/null.
52876 (libc_cv_cc_with_libunwind): Likewise.
52877 (libc_cv_as_noexecstack): Likewise.
52878 * configure: Regenerate.
52880 2012-10-24 Joseph Myers <joseph@codesourcery.com>
52882 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
52884 * posix/globtest.sh (TMPDIR): Do not set.
52885 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
52886 (testout): Likewise.
52888 2012-10-24 Andreas Jaeger <aj@suse.de>
52890 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
52891 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
52892 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
52893 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
52894 posix_fadvise64, posix_fallocate64.
52896 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
52897 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
52898 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
52900 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
52902 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
52904 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
52905 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
52906 <bits/fcntl-linux.h>.
52907 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
52909 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
52910 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
52911 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
52912 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
52913 [__WORDSIZE != 64]: Likewise.
52915 2012-10-23 Joseph Myers <joseph@codesourcery.com>
52917 * Makeconfig (run-built-tests): New variable.
52918 * Rules [$(cross-compiling) = yes]: Change condition to
52919 [$(run-built-tests) = no].
52920 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
52921 to [$(run-built-tests) = yes].
52922 * elf/Makefile [$(cross-compiling) = no]: Likewise.
52923 * grp/Makefile [$(cross-compiling) = no]: Likewise.
52924 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
52925 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
52926 * intl/Makefile [$(cross-compiling) = no]: Likewise.
52927 * io/Makefile [$(cross-compiling) = no]: Likewise.
52928 * libio/Makefile [$(cross-compiling) = no]: Likewise.
52929 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
52930 * misc/Makefile [$(cross-compiling) = no]: Likewise.
52931 * posix/Makefile [$(cross-compiling) = no]: Likewise.
52932 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
52933 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
52934 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
52935 * string/Makefile [$(cross-compiling) = no]: Likewise.
52937 * posix/Makefile ($(objpfx)globtest.out): Pass
52938 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
52939 $(rtld-installed-name).
52940 * posix/globtest.sh (elf_objpfx): Remove variable.
52941 (rtld_installed_name): Likewise.
52942 (library_path): Likewise.
52943 (run_program_prefix): New variable. Use for running globtest
52946 2012-10-23 Jim Blandy <jimb@codesourcery.com>
52947 Joseph Myers <joseph@codesourcery.com>
52949 * Makeconfig (host-built-program-cmd): New variable.
52950 * elf/Makefile (tst-stackguard1-ARGS): Use
52951 $(host-built-program-cmd).
52952 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
52953 (tst-spawn-ARGS): Likewise.
52954 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
52956 2012-10-23 Joseph Myers <joseph@codesourcery.com>
52957 Jim Blandy <jimb@codesourcery.com>
52959 * Makeconfig (run-via-rtld-prefix): New variable.
52960 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
52961 (built-program-cmd): Likewise.
52963 2012-10-22 Andreas Jaeger <aj@suse.de>
52965 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
52966 __O_RSYNC if it exists, otherwise to O_SYNC.
52968 2012-10-22 Jim Blandy <jimb@codesourcery.com>
52969 Joseph Myers <joseph@codesourcery.com>
52971 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
52973 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
52975 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
52978 2012-10-22 Andreas Jaeger <aj@suse.de>
52980 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
52982 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
52984 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52985 bits/fcntl-linux.h.
52987 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
52988 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
52990 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
52992 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
52995 2012-10-21 Jim Blandy <jimb@codesourcery.com>
52996 Joseph Myers <joseph@codesourcery.com>
52998 * config.make.in (NM): New variable.
53000 2012-10-21 Andreas Jaeger <aj@suse.de>
53002 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
53003 definitions and declarations that are provided by
53004 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
53006 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
53009 * elf/Makefile (tests-static): Add tst-leaks1-static.
53010 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
53011 ($(objpfx)tst-leaks1-static): New rule.
53012 ($(objpfx)tst-leaks1-static-mem): Likewise.
53013 (tst-leaks1-static-ENV): New macro.
53014 * elf/dl-open.c (dl_open_worker): Check the main application
53015 only if SHARED is defined.
53016 * elf/tst-leaks1-static.c: New file.
53018 2012-10-20 Andreas Jaeger <aj@suse.de>
53020 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
53021 generic values for Linux.
53022 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
53023 and declarations that are provided by <bits/fcntl-linux.h> and
53024 include <bits/fcntl-linux.h>.
53025 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
53026 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
53028 2012-10-20 Roland McGrath <roland@hack.frob.com>
53030 * io/fcntl.h: Move include of <bits/types.h> to the top and
53031 include it unconditionally.
53033 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
53035 * wcsmbs/Makefile (tests-ifunc): New variable.
53036 (tests): Add $(tests-ifunc).
53037 * wcsmbs/test-wcschr-ifunc.c: New file.
53038 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
53039 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
53040 * wcsmbs/test-wcslen-ifunc.c: Likewise.
53041 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
53042 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
53044 * string/Makefile (tests-ifunc): New variable.
53045 (tests): Add $(tests-ifunc).
53046 * string/test-memccpy.c (TEST_NAME): New macro.
53047 * string/test-memchr.c (TEST_NAME): Likewise.
53048 * string/test-memcmp.c (TEST_NAME): Likewise.
53049 * string/test-memcpy.c (TEST_NAME): Likewise.
53050 * string/test-memmem.c (TEST_NAME): Likewise.
53051 * string/test-memmove.c (TEST_NAME): Likewise.
53052 * string/test-memset.c (TEST_NAME): Likewise.
53053 * string/test-rawmemchr.c (TEST_NAME): Likewise.
53054 * string/test-stpcpy.c (TEST_NAME): Likewise.
53055 * string/test-stpncpy.c (TEST_NAME): Likewise.
53056 * string/test-strcasecmp.c (TEST_NAME): Likewise.
53057 * string/test-strcasestr.c (TEST_NAME): Likewise.
53058 * string/test-strcat.c (TEST_NAME): Likewise.
53059 * string/test-strchr.c (TEST_NAME): Likewise.
53060 * string/test-strcmp.c(TEST_NAME): Likewise.
53061 * string/test-strcpy.c (TEST_NAME): Likewise.
53062 * string/test-strcspn.c (TEST_NAME): Likewise.
53063 * string/test-strlen.c (TEST_NAME): Likewise.
53064 * string/test-strncasecmp.c (TEST_NAME): Likewise.
53065 * string/test-strncmp.c (TEST_NAME): Likewise.
53066 * string/test-strncpy.c (TEST_NAME): Likewise.
53067 * string/test-strnlen.c (TEST_NAME): Likewise.
53068 * string/test-strpbrk.c (TEST_NAME): Likewise.
53069 * string/test-strrchr.c (TEST_NAME): Likewise.
53070 * string/test-strspn.c (TEST_NAME): Likewise.
53071 * string/test-strstr.c (TEST_NAME): Likewise.
53072 * string/test-bcopy-ifunc.c: New file.
53073 * string/test-bzero-ifunc.c: Likewise.
53074 * string/test-memccpy-ifunc.c: Likewise.
53075 * string/test-memchr-ifunc.c: Likewise.
53076 * string/test-memcmp-ifunc.c: Likewise.
53077 * string/test-memcpy-ifunc.c: Likewise.
53078 * string/test-memmem-ifunc.c: Likewise.
53079 * string/test-memmove-ifunc.c: Likewise.
53080 * string/test-mempcpy-ifunc.c: Likewise.
53081 * string/test-memset-ifunc.c: Likewise.
53082 * string/test-rawmemchr-ifunc.c: Likewise.
53083 * string/test-stpcpy-ifunc.c: Likewise.
53084 * string/test-stpncpy-ifunc.c: Likewise.
53085 * string/test-strcasecmp-ifunc.c: Likewise.
53086 * string/test-strcasestr-ifunc.c: Likewise.
53087 * string/test-strcat-ifunc.c: Likewise.
53088 * string/test-strchr-ifunc.c: Likewise.
53089 * string/test-strchrnul-ifunc.c: Likewise.
53090 * string/test-strcmp-ifunc.c: Likewise.
53091 * string/test-strcpy-ifunc.c: Likewise.
53092 * string/test-strcspn-ifunc.c: Likewise.
53093 * string/test-strlen-ifunc.c: Likewise.
53094 * string/test-strncasecmp-ifunc.c: Likewise.
53095 * string/test-strncat-ifunc.c: Likewise.
53096 * string/test-strncmp-ifunc.c: Likewise.
53097 * string/test-strncpy-ifunc.c: Likewise.
53098 * string/test-strnlen-ifunc.c: Likewise.
53099 * string/test-strpbrk-ifunc.c: Likewise.
53100 * string/test-strrchr-ifunc.c: Likewise.
53101 * string/test-strspn-ifunc.c: Likewise.
53102 * string/test-strstr-ifunc.c: Likewise.
53104 * debug/Makefile (tests-ifunc): New variable.
53105 (tests): Add $(tests-ifunc).
53106 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
53107 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
53108 * debug/test-stpcpy_chk-ifunc.c: New file.
53109 * debug/test-strcpy_chk-ifunc.c: Likewise.
53111 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
53114 * elf/dl-load.c (open_verify): Retry read if the entire ELF
53115 header is not read in.
53117 2012-10-19 Joseph Myers <joseph@codesourcery.com>
53119 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
53120 script to $(SHELL) as $<. Pass $(common-objpfx) to script
53121 directly. Pass built executable to script as
53122 $(built-program-cmd).
53123 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
53124 $testprogram without using LD_LIBRARY_PATH and $ldso.
53126 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
53127 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
53128 $(rtld-installed-name).
53129 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
53130 (rtld_installed_name): Likewise.
53131 (library_path): Likewise.
53132 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
53133 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
53134 $(run-program-prefix) to tst-tables.sh.
53135 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
53136 it to run tst-table-from and tst-table-to.
53137 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
53138 Pass it to tst-table.sh.
53139 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
53140 $(run-program-prefix) to tst-gettext.sh.
53141 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
53143 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
53145 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
53146 to run tst-gettext.
53147 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
53148 to run tst-gettext2.
53149 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
53150 to run tst-translit.
53151 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
53152 $(run-program-prefix) to tst-mtrace.sh.
53153 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
53155 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
53156 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
53157 $(rtld-installed-name).
53158 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
53159 (rtld_installed_name): Likewise.
53160 (run_program_prefix): New variable. Use it to run wordexp-test.
53162 * Makeconfig (ARCH): Remove all definitions.
53163 (machine): Likewise.
53164 [ARCH]: Remove conditional code.
53165 [!objdir]: Give error.
53166 [!objdir] (objpfx): Remove.
53167 [!objdir] (common-objpfx): Likewise.
53168 [!objdir] (common-objdir): Likewise.
53169 * configure.in (config_makefile): Remove. Hardcode Makefile in
53170 AC_CONFIG_FILES call.
53171 * configure: Regenerated.
53174 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
53176 (testout): Likewise.
53178 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
53179 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
53180 $(rtld-installed-name).
53181 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
53182 (rtld_installed_name): Likwise.
53183 (runit): Remove function.
53184 (run_getconf): New variable, Use it for running getconf binary.
53186 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
53189 * string/test-memmem.c (check_result): New function.
53190 (do_one_test): Use it.
53191 (check1): New function.
53192 (test_main): Use it.
53194 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
53196 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
53198 2012-10-18 Joseph Myers <joseph@codesourcery.com>
53200 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
53201 (_G_LSEEK64): Likewise.
53202 (_G_MMAP64): Likewise.
53203 (_G_FSTAT64): Likewise.
53204 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
53205 (_G_LSEEK64): Likewise.
53206 (_G_MMAP64): Likewise.
53207 (_G_FSTAT64): Likewise.
53208 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
53209 unconditional. Call __mmap64 directly.
53210 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
53211 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
53212 __lseek64 directly.
53213 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
53214 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
53216 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
53217 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
53218 __lseek64 directly.
53219 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
53220 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
53221 __lseek64 directly.
53222 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
53223 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
53224 __lseek64 directly.
53225 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
53226 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
53227 __fxstat64 directly.
53228 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
53229 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
53231 (freopen64) [!_G_OPEN64]: Remove conditional code.
53232 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
53234 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
53235 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
53237 (ftello64) [!_G_LSEEK64]: Remove conditional code.
53238 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
53240 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
53241 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
53243 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
53244 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
53246 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
53247 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
53249 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
53250 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
53252 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
53254 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
53257 * manual/memory.texi (Malloc Tunable Parameters): Add note
53258 about free list pointers overwriting some perturb bytes.
53259 Wording suggested by Roland McGrath.
53261 2012-10-17 Joseph Myers <joseph@codesourcery.com>
53263 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
53264 (lgamma_test): Likewise.
53265 (tgamma_test): Likewise.
53267 2012-10-16 Florian Weimer <fweimer@redhat.com>
53270 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
53271 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
53273 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
53275 * NEWS: Mention BZ #14716.
53276 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
53277 when removing AVAILABLE1_USES_J macro.
53279 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
53281 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
53282 (__bswap_64): __uint64_t for unsigned 64-bit int.
53284 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
53286 * include/string.h (memmem): Declare libc hidden alias.
53287 * string/memmem.c (memmem): Define libc hidden alias.
53288 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
53289 __read, __close instead of open, read, close.
53291 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
53293 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
53294 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
53296 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
53297 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
53298 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
53300 (__rawmemchr_sse2): Likewise.
53301 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
53302 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
53303 (__strchr_sse2): Likewise.
53304 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
53305 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
53306 (__strcasecmp_sse2): Likewise.
53307 (__strncasecmp_sse2): Likewise.
53308 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
53309 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
53310 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
53311 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
53312 (__strrchr_sse2): Likewise.
53313 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
53315 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
53316 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
53317 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
53318 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
53319 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
53320 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
53321 * sysdeps/x86_64/multiarch/memset.S: Likewise.
53322 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
53323 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
53324 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
53325 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
53326 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
53327 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
53328 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
53329 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
53330 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
53331 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
53332 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
53333 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
53334 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
53335 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
53336 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
53337 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
53338 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
53339 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
53340 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
53341 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
53342 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
53343 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
53344 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
53346 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
53348 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
53349 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
53350 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
53351 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
53353 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
53355 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
53356 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
53357 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
53358 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
53360 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
53361 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
53362 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
53363 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
53364 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
53365 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
53366 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
53367 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
53368 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
53369 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
53370 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
53371 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
53372 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
53373 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
53374 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
53375 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
53376 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
53377 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
53378 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
53379 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
53380 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
53381 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
53382 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
53383 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
53384 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
53385 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
53386 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
53387 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
53388 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
53389 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
53390 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
53391 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
53392 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
53393 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
53394 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
53395 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
53396 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
53397 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
53398 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
53399 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
53400 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
53402 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
53403 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
53404 * include/ifunc-impl-list.h: New file.
53405 * misc/ifunc-impl-list.c: Likewise.
53406 * misc/Makefile (routines): Add ifunc-impl-list.
53407 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
53408 * string/test-string.h: Include <ifunc-impl-list.h>.
53409 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
53410 TEST_NAME]: New variables.
53411 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
53413 (test_init): Call __libc_ifunc_impl_list to initialize
53414 func_list if TEST_IFUNC and TEST_NAME are defined.
53416 * string/Makefile (strop-tests): Add bcopy and bzero.
53417 * string/test-bcopy.c: New file.
53418 * string/test-bzero.c: Likewise.
53419 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
53421 * string/test-memset.c: Support bzero test if TEST_BZERO is
53423 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
53425 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
53427 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
53430 2012-10-10 Joseph Myers <joseph@codesourcery.com>
53432 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
53433 * configure: Regenerated.
53435 * Makeconfig (+link-static-before-libc): Don't include
53436 $(link-static-libc).
53438 * libio/libio.h (_IO_pos_t): Remove.
53440 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
53442 * NEWS: Add note about FIPS mode. Wording suggested by Roland
53445 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
53447 * crypt/crypt-entry.c: Include fips-private.h.
53448 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
53449 * crypt/md5c-test.c (main): Tolerate disabled MD5.
53450 * sysdeps/unix/sysv/linux/fips-private.h: New file.
53451 * sysdeps/generic/fips-private.h: New file, dummy fallback.
53453 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
53455 * crypt/crypt-private.h: Include stdbool.h.
53456 (_ufc_setup_salt_r): Return bool.
53457 * crypt/crypt-entry.c: Include errno.h.
53458 (__crypt_r): Return NULL with EINVAL for bad salt.
53459 * crypt/crypt_util.c (bad_for_salt): New.
53460 (_ufc_setup_salt_r): Check that salt is long enough and within
53461 the specified alphabet.
53462 * crypt/badsalttest.c: New file.
53463 * crypt/Makefile (tests): Add it.
53464 ($(objpfx)badsalttest): New.
53466 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
53468 * NEWS: Add entry for BZ #14602.
53470 2012-10-09 Joseph Myers <joseph@codesourcery.com>
53472 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
53474 * math/libm-test.inc: Update comment listing what functions and
53476 (isgreater_test): New function.
53477 (isgreaterequal_test): Likewise.
53478 (isless_test): Likewise.
53479 (islessequal_test): Likewise.
53480 (islessgreater_test): Likewise.
53481 (isunordered_test): Likewise.
53482 (main): Call the new functions.
53484 2012-10-09 Roland McGrath <roland@hack.frob.com>
53486 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
53487 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
53488 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
53489 * sysdeps/i386/configure: Regenerated.
53490 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
53491 * sysdeps/mach/configure: Regenerated.
53492 * sysdeps/mach/hurd/configure: Regenerated.
53493 * sysdeps/powerpc/configure: Regenerated.
53494 * sysdeps/powerpc/powerpc32/configure: Regenerated.
53495 * sysdeps/powerpc/powerpc64/configure: Regenerated.
53496 * sysdeps/s390/s390-32/configure: Regenerated.
53497 * sysdeps/s390/s390-64/configure: Regenerated.
53498 * sysdeps/sh/configure: Regenerated.
53499 * sysdeps/sparc/configure: Regenerated.
53500 * sysdeps/unix/sysv/linux/configure: Regenerated.
53501 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
53502 * sysdeps/x86_64/configure: Regenerated.
53504 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
53505 defined. Don't check if MAP is NULL.
53507 2012-10-09 Joseph Myers <joseph@codesourcery.com>
53509 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
53510 (_G_stat64): Likewise.
53511 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
53512 (_G_stat64): Likewise.
53513 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
53514 instead of struct _G_stat64.
53515 * libio/fileops.c (mmap_remap_check): Likewise.
53516 (decide_maybe_mmap): Likewise.
53517 (_IO_new_file_seekoff): Likewise.
53518 (_IO_file_stat): Likewise.
53519 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
53521 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
53522 instead of struct _G_stat64.
53523 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
53525 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
53528 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
53530 (CHECK_EOL): New macro.
53531 (two_way_short_needle): Check beginning of haystack for EOL. Use
53533 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
53534 Replace with CHECK_EOL.
53535 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
53536 Replace with CHECK_EOL.
53538 2012-10-08 Joseph Myers <joseph@codesourcery.com>
53540 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
53542 * math/libm-test.inc: Update comment listing what functions and
53544 (finite_test): New function.
53545 (isinf_test): Likewise.
53546 (isnan_test): Likewise.
53547 (fpclassify_test): Test subnormal input.
53548 (isfinite_test): Likewise.
53549 (isnormal_test): Likewise.
53550 (main): Call the new functions.
53552 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
53555 * Makerules (%.dynsym): Force C locale when running
53556 $(OBJDUMP) --dynamic-syms.
53558 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
53560 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
53563 2012-10-06 David S. Miller <davem@davemloft.net>
53565 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
53566 upper 32-bits of the length value in %o2 since we use branch-on-register
53567 tests which consider the entire 64-bit register.
53569 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
53571 * string/test-strstr.c (check2): Add a test for page boundary.
53573 2012-10-05 David S. Miller <davem@davemloft.net>
53575 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
53576 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
53578 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
53580 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
53581 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
53582 and bzero when HWCAP_SPARC_CRYPTO is present.
53584 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
53587 * string/test-strstr.c (check2): New function.
53588 (test_main): Call check2.
53590 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
53592 * string/bug-strcasestr1.c (do_test): Moved to ...
53593 * string/test-strcasestr.c (check1): Here. New function.
53594 (do_one_test): Break out result checking code into ...
53595 (check_result): This. New function.
53596 (do_one_test): Call check_result.
53597 (test_main): Call check1.
53598 * string/bug-strchr1.c (do_test): Moved to ...
53599 * string/test-strchr.c (check1): Here. New function.
53600 (do_one_test): Break out result checking code into ...
53601 (check_result): This. New function.
53602 (do_one_test): Call check_result.
53603 (test_main): Call check1.
53604 * string/bug-strstr1.c (main): Moved to ...
53605 * string/test-strstr.c (check1): Here. New function.
53606 (do_one_test): Break out result checking code into ...
53607 (check_result): This. New function.
53608 (do_one_test): Call check_result.
53609 (test_main): Call check1.
53610 * string/bug-strcasestr1.c: Removed.
53611 * string/bug-strchr1.c: Likewise.
53612 * string/bug-strstr1.c: Likewise.
53614 * elf/Makefile (dl-routines): Add hwcaps.
53615 * elf/dl-support.c (_dl_important_hwcaps): Removed.
53616 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
53617 (_dl_important_hwcaps): Moved to ...
53618 * elf/dl-hwcaps.c: Here. New file.
53619 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
53622 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
53623 if IS_IN_rtld isn't defined.
53625 * elf/dl-support.c (_dl_sysinfo_map): New.
53626 Include "get-dynamic-info.h" and "setup-vdso.h".
53627 (_dl_non_dynamic_init): Call setup_vdso.
53628 * elf/dynamic-link.h: Don't include <assert.h>.
53629 (elf_get_dynamic_info): Moved to ...
53630 * elf/get-dynamic-info.h: Here. New file.
53631 * elf/dynamic-link.h: Include "get-dynamic-info.h".
53632 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
53633 * elf/setup-vdso.h: Here. New file.
53634 * elf/rtld.c: Include "setup-vdso.h".
53635 (dl_main): Call setup_vdso.
53637 2012-10-05 Joseph Myers <joseph@codesourcery.com>
53639 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
53640 creal in comment listing functions tested. List finite, isinf,
53641 isnan, isless, islessequal, isgreater, isgreaterequal,
53642 islessgreater, isunordered, lgamma_r and pow10 as functions and
53643 macros not tested. Mention which functions not tested are aliases
53644 for other functions. Fix typo. Note that signs of NaNs are not
53647 * scripts/config.guess: Update from config.git.
53648 * scripts/config.sub: Likewise.
53650 2012-10-04 Roland McGrath <roland@hack.frob.com>
53652 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
53653 * misc/madvise.c (madvise): Renamed to __madvise.
53654 Make madvise a weak alias.
53655 * include/sys/mman.h: Declare __madvise.
53656 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
53657 * sysdeps/unix/syscalls.list
53658 (madvise): Make __madvise the strong name, and madvise a weak alias.
53659 * sysdeps/unix/sysv/linux/syscalls.list
53660 (madvise, mmap): Remove redundant entries.
53661 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
53662 * malloc/malloc.c (mtrim): Likewise.
53663 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
53665 2012-10-03 Roland McGrath <roland@hack.frob.com>
53667 * sysdeps/mach/hurd/dl-cache.c: File removed.
53668 * config.h.in (USE_LDCONFIG): New #undef.
53669 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
53670 * configure: Regenerated.
53671 * elf/Makefile (dl-routines): Add dl-cache only under
53672 [$(use-ldconfig) = yes].
53673 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
53674 cache on [USE_LDCONFIG].
53675 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
53677 * elf/rtld.c (dl_main): Likewise.
53679 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
53681 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
53682 _SC_LEVEL4_CACHE_LINESIZE.
53684 2012-10-03 Roland McGrath <roland@hack.frob.com>
53686 * sysdeps/unix/bsd/confstr.h: File removed.
53688 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
53690 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
53693 2012-10-02 Roland McGrath <roland@hack.frob.com>
53695 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
53696 Make 'mapoff' field ElfW(Off) rather than off_t.
53698 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
53700 * nscd/Makefile: Remove nscd-cflags and all its users.
53701 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
53702 (CFLAGS-nonlib): Add compiler flags for nscd modules.
53705 * malloc.c (malloc_printerr): Clarify error message.
53707 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
53710 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53711 Set bit_FMA_Usable if FMA is supported.
53712 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
53714 (bit_FMA4_Usable): Updated.
53715 (index_FMA_Usable): New macro.
53716 (CPUID_FMA): Likewise.
53717 (HAS_FMA): Defined with bit_FMA_Usable.
53719 2012-10-01 Roland McGrath <roland@hack.frob.com>
53721 * bits/types.h (__swblk_t): Type removed.
53722 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
53723 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
53724 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
53725 (__SWBLK_T_TYPE): Likewise.
53726 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
53727 (__SWBLK_T_TYPE): Likewise.
53728 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
53729 (__SWBLK_T_TYPE): Likewise.
53730 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
53731 (__SWBLK_T_TYPE): Likewise.
53733 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
53734 Honza Horak <hhorak@redhat.com>
53736 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
53737 (xdr_mapname): Use YPMAXMAP as maxsize.
53738 (xdr_peername): Use YPMAXPEER as maxsize.
53739 (xdr_keydat): Use YPAXRECORD as maxsize.
53740 (xdr_valdat): Use YPMAXRECORD as maxsize.
53742 2012-10-01 Roland McGrath <roland@hack.frob.com>
53744 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
53746 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
53747 * csu/init-first.c: ... here.
53748 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
53749 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
53750 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
53751 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
53752 * sysdeps/i386/init-first.c: File removed.
53753 * sysdeps/sh/init-first.c: File removed.
53755 2012-10-01 Joseph Myers <joseph@codesourcery.com>
53758 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
53759 if x * y might underflow to zero and z is zero.
53760 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
53761 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
53762 * math/libm-test.inc (min_subnorm_value): New variable.
53763 (fma_test): Add more tests.
53764 (fma_test_towardzero): Likewise.
53765 (fma_test_downward): Likewise.
53766 (fma_test_upward): Likewise.
53767 (initialize): Set min_subnorm_value.
53769 2012-09-29 Joseph Myers <joseph@codesourcery.com>
53772 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
53774 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
53775 mode for addition resulting in exact zero.
53776 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
53777 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
53779 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
53780 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
53781 * math/libm-test.inc (fma_test): Add more tests.
53782 (fma_test_towardzero): New function.
53783 (fma_test_downward): Likewise.
53784 (fma_test_upward): Likewise.
53785 (main): Call the new functions.
53787 2012-09-28 David S. Miller <davem@davemloft.net>
53789 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
53791 2012-09-28 Roland McGrath <roland@hack.frob.com>
53793 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
53794 instead of SIGALRM.
53796 * sysdeps/gnu/_G_config.h: Moved to ...
53797 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
53798 * sysdeps/mach/hurd/_G_config.h: Moved to ...
53799 * sysdeps/generic/_G_config.h: ... here.
53801 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
53803 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
53805 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
53806 Conditionalize target on [libnss_test1.so-version].
53808 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
53810 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
53811 (elfobjdir): Move out of conditionals.
53813 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
53814 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
53815 (__nss_lookup_function): Conditionalize label remove_from_tree on
53816 [!DO_STATIC_NSS || SHARED], matching its only use.
53818 2012-09-28 David S. Miller <davem@davemloft.net>
53820 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
53821 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
53823 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
53825 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
53826 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
53827 when HWCAP_SPARC_CRYPTO is present.
53829 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
53831 * io/tst-mknodat.c: Create a FIFO instead of a socket.
53833 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
53836 * stdio-common/vfprintf.c (process_string_arg): Revert
53839 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
53841 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
53843 * stdio-common/tst-sprintf.c: Include <locale.h>
53844 (main): Test sprintf's handling of incomplete multibyte
53847 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
53849 * elf/dl-runtime.c (VERSYMIDX): Removed.
53850 * elf/dl-version.c (VERSYMIDX): Likewise.
53851 * elf/do-rel.h (VERSYMIDX): Likewise.
53852 (VALIDX): Likewise.
53853 * elf/dynamic-link.h (VERSYMIDX): Likewise.
53854 * elf/rtld.c (VALIDX): Likewise.
53855 (ADDRIDX): Likewise.
53856 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
53857 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
53858 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
53859 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
53860 (VALIDX): Likewise.
53861 (ADDRIDX): Likewise.
53863 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
53865 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
53867 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
53870 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
53872 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
53873 addresses are in the same scope as 192.0.2/24.
53874 * posix/gai.conf: Document new scope table defaults.
53876 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
53879 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
53880 for ftell. Compute offsets from write pointers instead.
53881 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
53883 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
53886 * libio/Makefile (tests): New test case tst-fseek.
53887 * libio/tst-fseek.c: New test case to verify that fseek/ftell
53888 combination works in wide mode.
53889 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
53890 state when the external buffer state changes.
53892 2012-09-27 David S. Miller <davem@davemloft.net>
53895 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
53896 pass reloc->r_addend in as the 'high' argument to
53897 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
53899 * sysdeps/sparc/fpu/libm-test-ulps: Update.
53901 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
53903 * rt/tst-aio2.c: Include <pthread.h>.
53904 * rt/tst-aio3.c: Likewise.
53906 2012-09-27 Steve Ellcey <sellcey@mips.com>
53908 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
53910 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
53912 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
53913 contents on [SHARED].
53915 2012-09-26 Marek Polacek <polacek@redhat.com>
53919 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
53920 for C++ and GCC <4.3 as well as for non GCC compilers.
53922 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
53924 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53926 2012-09-25 Roland McGrath <roland@hack.frob.com>
53928 * Makefile.in (all, install): Declare with .PHONY.
53929 Reported by Michael Hope <michael.hope@linaro.org>.
53931 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
53933 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
53934 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
53936 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
53938 (sydep_routines): Add the new and the internal functions.
53939 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
53940 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
53941 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
53942 (GLIBC_2.17): Add the new function.
53943 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
53944 (GLIBC_2.17): Likewise.
53945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
53946 (GLIBC_2.17): Likewise.
53947 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
53948 (GLIBC_2.17): Likewise.
53949 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
53951 2012-09-25 Alan Modra <amodra@gmail.com>
53953 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
53954 Add release barrier before setting once_control to say
53955 initialisation is done. Add hints on lwarx. Use macro in
53957 (clear_once_control): Add release barrier.
53959 2012-09-25 Joseph Myers <joseph@codesourcery.com>
53962 * math/s_clog.c (__clog): Handle more values close to |z| = 1
53964 * math/s_clog10.c (__clog10): Likewise.
53965 * math/s_clog10f.c (__clog10f): Likewise.
53966 * math/s_clog10l.c (__clog10l): Likewise.
53967 * math/s_clogf.c (__clogf): Likewise.
53968 * math/s_clogl.c (__clogl): Likewise.
53969 * math/Makefile (libm-calls): Add x2y2m1.
53970 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
53971 (__x2y2m1): Likewise.
53972 (__x2y2m1l): Likewise.
53973 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
53974 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
53975 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
53976 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
53977 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
53978 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
53979 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
53980 * sysdeps/i386/fpu/libm-test-ulps: Update.
53981 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53984 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
53985 int as type of variable DEPTH.
53986 (glob): Use size_t instead of int as type of variables NEWCOUNT
53989 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53991 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
53992 Add s_sincosf-sse2.
53993 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
53994 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
53995 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
53996 macros for using routine as __sincosf_ia32.
53997 Use macro for function declaration and weak_alias.
53998 * sysdeps/i386/fpu/libm-test-ulps: Update.
54000 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
54001 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54003 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
54004 subnormal argument.
54005 * math/s_cexpf.c (__cexpf): Likewise.
54006 * math/s_csinf.c (__csinf): Likewise.
54007 * math/s_csinhf.c (__csinhf): Likewise.
54008 * math/s_ctanf.c (__ctanf): Likewise.
54009 * math/s_ctanhf.c (__ctanhf): Likewise.
54010 * math/s_ccosh.c (__ccoshf): Likewise.
54011 * math/s_cexp.c (__cexpl): Likewise.
54012 * math/s_csin.c (__csin): Likewise.
54013 * math/s_csinh.c (__csinh): Likewise.
54014 * math/s_ctan.c (__ctan): Likewise.
54015 * math/s_ctanh.c (ctanh): Likewise.
54016 * math/s_ccoshl.c (__ccoshl): Likewise.
54017 * math/s_cexpl.c (__cexpl): Likewise.
54018 * math/s_csinl.c (__csinl): Likewise.
54019 * math/s_csinhl.c (__csinhl): Likewise.
54020 * math/s_ctanl.c (__ctanl): Likewise.
54021 * math/s_ctanhl.c (__ctanhl): Likewise.
54023 2012-09-25 Joseph Myers <joseph@codesourcery.com>
54025 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
54026 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
54027 (_IO_off_t): Define to __off_t, not _G_off_t.
54028 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
54029 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
54030 (_IO_wint_t): Define to wint_t, not _G_wint_t.
54031 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
54032 type of __dummy and __dummy2 fields.
54033 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
54034 (_G_ssize_t): Likewise.
54035 (_G_off_t): Likewise.
54036 (_G_pid_t): Likewise.
54037 (_G_uid_t): Likewise.
54038 (_G_wchar_t): Likewise.
54039 (_G_wint_t): Likewise.
54040 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
54041 (_G_ssize_t): Likewise.
54042 (_G_off_t): Likewise.
54043 (_G_pid_t): Likewise.
54044 (_G_uid_t): Likewise.
54045 (_G_wchar_t): Likewise.
54046 (_G_wint_t): Likewise.
54047 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
54048 (_G_ssize_t): Likewise.
54049 (_G_off_t): Likewise.
54050 (_G_pid_t): Likewise.
54051 (_G_uid_t): Likewise.
54052 (_G_wchar_t): Likewise.
54053 (_G_wint_t): Likewise.
54055 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
54057 * malloc/arena.c: Include malloc-sysdep.h.
54058 (shrink_heap): Use check_may_shrink_heap to decide if madvise
54059 is sufficient to shrink the heap or an unmap is needed.
54060 * sysdeps/generic/malloc-sysdep.h: New file. Define
54061 new function check_may_shrink_heap.
54062 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
54063 new function check_may_shrink_heap.
54065 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
54067 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
54070 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
54072 * catgets/test-gencat.sh: Add "set -e".
54073 * elf/tst-pathopt.sh: Likewise.
54074 * grp/tst_fgetgrent.sh: Likewise.
54075 * iconvdata/run-iconv-test.sh: Likewise.
54076 * intl/tst-gettext.sh: Likewise.
54077 * intl/tst-gettext2.sh: Likewise.
54078 * intl/tst-gettext4.sh: Likewise.
54079 * intl/tst-gettext6.sh: Likewise.
54080 * intl/tst-translit.sh: Likewise.
54081 * io/ftwtest-sh: Likewise.
54082 * libio/test-freopen.sh: Likewise.
54083 * malloc/tst-mtrace.sh: Likewise.
54084 * posix/globtest.sh: Likewise.
54085 * posix/tst-getconf.sh: Likewise.
54086 * posix/wordexp-tst.sh: Likewise.
54087 * stdio-common/tst-printf.sh: Likewise.
54088 * stdio-common/tst-unbputc.sh: Likewise.
54089 * stdlib/tst-fmtmsg.sh: Likewise.
54090 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
54091 * catgets/Makefile: Do not specify -e option when running
54092 testsuite shell scripts.
54093 * elf/Makefile: Likewise.
54094 * grp/Makefile: Likewise.
54095 * iconvdata/Makefile: Likewise.
54096 * intl/Makefile: Likewise.
54097 * io/Makefile: Likewise.
54098 * libio/Makefile: Likewise.
54099 * malloc/Makefile: Likewise.
54100 * posix/Makefile: Likewise.
54101 * stdio-common/Makefile: Likewise.
54102 * stdlib/Makefile: Likewise.
54103 * sysdeps/x86_64/Makefile: Likewise.
54105 * io/ftwtest-sh: Add copyright header.
54106 * posix/globtest.sh: Likewise.
54107 * posix/tst-getconf.sh: Likewise.
54108 * posix/wordexp-tst.sh: Likewise.
54109 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
54111 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
54114 * Makeconfig (+link): Defined as $(+link-static) if
54115 $(build-shared) isn't yes.
54116 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
54118 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
54120 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
54123 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
54124 new chunk size with MALLOC_ALIGN_MASK.
54126 2012-09-24 Joseph Myers <joseph@codesourcery.com>
54129 * stdio-common/printf_fphex.c: Include <stdbool.h> and
54131 (__printf_fphex): Determine rounding using get_rounding_mode and
54133 * stdio-common/tst-printf-round.c (struct hex_test): New
54135 (hex_tests): New variable.
54136 (test_hex_in_one_mode): New function.
54137 (do_test): Also run tests for hex float output.
54139 2012-09-21 Joseph Myers <joseph@codesourcery.com>
54141 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
54142 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
54143 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
54144 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
54145 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
54146 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
54147 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
54148 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
54150 2012-09-20 Joseph Myers <joseph@codesourcery.com>
54152 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
54153 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
54154 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
54155 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
54157 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
54160 * elf/rtld.c (dl_main): Limit the check for self loading to normal
54162 * elf/tst-rtld-load-self.sh: New test.
54163 * elf/Makefile: Run it.
54165 2012-09-18 Joseph Myers <joseph@codesourcery.com>
54167 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
54168 (tst-writev-ENV): Remove.
54169 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
54171 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
54173 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
54175 2012-09-17 Joseph Myers <joseph@codesourcery.com>
54177 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
54179 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
54181 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
54182 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
54183 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
54186 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
54189 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
54190 * config.make.in (have-cpp-asm-debuginfo): Removed.
54191 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
54192 * configure: Regenerated.
54194 2012-09-14 Joseph Myers <joseph@codesourcery.com>
54197 * stdio-common/printf_fp.c: Include <stdbool.h> and
54199 (___printf_fp): Determine rounding using get_rounding_mode and
54201 * stdio-common/tst-printf-round.c: New file.
54202 * stdio-common/Makefile (tests): Add tst-printf-round.
54203 (link-libm): New variable.
54204 ($(objpfx)tst-printf-round): Depend in $(link-libm).
54206 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
54209 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
54210 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
54212 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
54215 2012-09-13 Joseph Myers <joseph@codesourcery.com>
54217 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
54218 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
54219 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
54220 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
54222 2012-09-12 Joseph Myers <joseph@codesourcery.com>
54225 * include/rounding-mode.h: New file.
54226 * sysdeps/generic/get-rounding-mode.h: Likewise.
54227 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
54228 * stdlib/strtod_l.c: Include <rounding-mode.h>.
54229 (MAX_VALUE): New macro.
54230 (MIN_VALUE): Likewise.
54231 (overflow_value): New function.
54232 (underflow_value): Likewise.
54233 (round_and_return): Use overflow_value and underflow_value to
54234 determine return values in overflow and underflow cases. Use
54235 round_away to determine rounding depending on rounding mode.
54236 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
54237 determine return values in overflow and underflow cases.
54238 * stdlib/tst-strtod-round.c: Include <fenv.h>.
54239 (struct test_results): New structure.
54240 (struct test): Use struct test_results to store expected results
54241 for all rounding modes.
54242 (TEST): Include expected results for all rounding modes.
54243 (test_in_one_mode): New function.
54244 (do_test): Use test_in_one_mode to compute and check results.
54245 Check results for all rounding modes.
54246 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
54249 2012-12-09 Allan McRae <allan@archlinux.org>
54251 * sysdeps/i386/fpu/libm-test-ulps: Update
54253 2012-09-11 Joseph Myers <joseph@codesourcery.com>
54255 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
54256 (_G_int32_t): Likewise.
54257 (_G_uint16_t): Likewise.
54258 (_G_uint32_t): Likewise.
54259 (_G_HAVE_BOOL): Likewise.
54260 (_G_HAVE_ATEXIT): Likewise.
54261 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
54262 (_G_HAVE_IO_FILE_OPEN): Likewise.
54263 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
54264 (_G_int32_t): Likewise.
54265 (_G_uint16_t): Likewise.
54266 (_G_uint32_t): Likewise.
54267 (_G_HAVE_BOOL): Likewise.
54268 (_G_HAVE_ATEXIT): Likewise.
54269 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
54270 (_G_HAVE_IO_FILE_OPEN): Likewise.
54271 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
54272 (_G_int32_t): Likewise.
54273 (_G_uint16_t): Likewise.
54274 (_G_uint32_t): Likewise.
54275 (_G_HAVE_BOOL): Likewise.
54276 (_G_HAVE_ATEXIT): Likewise.
54277 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
54278 (_G_HAVE_IO_FILE_OPEN): Likewise.
54280 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
54282 * csu/libc-tls.c: Update copyright years.
54284 2012-09-10 Joseph Myers <joseph@codesourcery.com>
54286 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
54287 [!_G_USING_THUNKS]: Remove conditional code.
54288 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
54289 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
54291 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
54292 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
54293 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
54294 (_G_VTABLE_LABEL_PREFIX): Likewise.
54295 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
54296 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
54297 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
54298 (_G_VTABLE_LABEL_PREFIX): Likewise.
54299 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
54300 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
54301 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
54302 (_G_VTABLE_LABEL_PREFIX): Likewise.
54303 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
54305 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
54307 * libio/Makefile: Include ../Makeconfig before tests.
54308 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
54309 only if $(build-shared) is yes.
54311 * iconv/gconv_db.c: Update copyright years.
54313 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54315 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
54316 unwind info if defined PIC. Fix special cases description.
54317 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
54319 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
54321 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
54323 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
54325 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
54327 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
54330 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
54331 (LDLIBS-tst-chk4): This.
54332 (LDFLAGS-tst-chk5): Renamed to ...
54333 (LDLIBS-tst-chk5): This.
54334 (LDFLAGS-tst-chk6): Renamed to ...
54335 (LDLIBS-tst-chk6): This.
54336 (LDFLAGS-tst-lfschk4): Renamed to ...
54337 (LDLIBS-tst-lfschk4): This.
54338 (LDFLAGS-tst-lfschk5): Renamed to ...
54339 (LDLIBS-tst-lfschk5): This.
54340 (LDFLAGS-tst-lfschk6): Renamed to ...
54341 (LDLIBS-tst-lfschk6): This.
54343 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
54344 on $(common-objpfx)soversions.mk.
54346 2012-09-07 Joseph Myers <joseph@codesourcery.com>
54349 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
54352 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
54354 * malloc/arena.c (arena_get_retry): New function that gets
54355 another arena for the caller to try its request on.
54356 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
54357 current arena cannot fulfill the request.
54358 (__libc_memalign): Likewise.
54359 (__libc_memalign): Likewise.
54360 (__libc_pvalloc): Likewise.
54361 (__libc_calloc): Likewise.
54363 2012-09-05 John Tobey <john.tobey@gmail.com>
54366 * manual/arith.texi (Operations on Complex): Fix description
54367 of carg branch cut.
54369 2012-09-06 Joseph Myers <joseph@codesourcery.com>
54372 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
54376 * manual/memory.texi (Memory): Make order of menu items match
54379 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
54381 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
54382 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
54383 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
54385 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
54387 * csu/libc-tls.c (static_dtv): Renamed to ...
54388 (_dl_static_dtv): This. Make it global.
54389 (_dl_initial_dtv): Removed.
54390 (__libc_setup_tls): Updated.
54391 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
54392 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
54395 2012-09-06 Petr Machata <pmachata@redhat.com>
54397 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
54398 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
54399 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
54400 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
54402 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
54405 * csu/libc-tls.c (_dl_initial_dtv): New variable.
54406 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
54409 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
54412 * Makeconfig (link-static-before-libc): Replace $(+prector)
54414 (link-static-after-libc): Replace $(+postctor) with
54416 (link-bounded): Replace $(+prector)/$(+postctor) with
54417 $(+prectorT)/$(+postctorT).
54418 (+prectorT): New macro.
54419 (+postctorT): Likewise.
54421 2012-09-06 Joseph Myers <joseph@codesourcery.com>
54423 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
54424 (round_str): Handle values above the maximum for IBM long double
54426 * stdlib/tst-strtod-round.c (tests): Regenerated.
54428 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54430 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
54432 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
54433 zarch_nohighgprs around the zarch optimized routines.
54434 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
54435 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
54436 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
54439 2012-09-05 David S. Miller <davem@davemloft.net>
54441 * sysdeps/sparc/fpu/libm-test-ulps: Update.
54443 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
54444 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
54445 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
54446 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
54449 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
54451 * malloc/arena.c: Fold copyright years.
54452 * malloc/mcheck.c, malloc/memusage.c: Likewise.
54454 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
54456 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
54458 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
54460 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
54462 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
54464 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
54465 change internal state upon failure.
54467 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
54469 * malloc/mcheck.c (mcheck_check_all): Fix typo.
54470 * malloc/memusage.c (mmap): Likewise.
54471 (mmap64, mremap): Likewise. Adjust name in comment.
54473 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
54475 * libio/fileops.c: Fix typos in comments.
54476 * libio/oldfileops.c: Likewise.
54477 * libio/wfileops.c: Likewise.
54479 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
54482 * malloc/Makefile (tests): Add tst-malloc-usable test case.
54483 (tst-malloc-usable-ENV): Set environment for test case.
54484 * malloc/hooks.c (malloc_check_get_size): New function to get
54486 * malloc/malloc.c (musable): Use malloc_check_get_size.
54487 * malloc/tst-malloc-usable.c: New test case.
54489 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
54491 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
54493 2012-09-05 Allan McRae <allan@archlinux.org>
54496 * configure.in (CXX_SYSINCLUDES): Use compiler output to
54497 determine header location.
54498 * configure: Regenerated.
54500 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
54502 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
54504 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
54505 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
54507 (test): Regenerate.
54509 2012-09-04 David S. Miller <davem@davemloft.net>
54511 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
54512 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
54513 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
54515 2012-09-04 Florian Weimer <fweimer@redhat.com>
54517 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
54520 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
54522 2012-09-04 Joseph Myers <joseph@codesourcery.com>
54525 * libio/iogetdelim.c: Include <limits.h>.
54526 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
54527 + len + 1 would overflow.
54529 2012-09-03 Andreas Jaeger <aj@suse.de>
54531 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54532 * sysdeps/i386/fpu/libm-test-ulps: Update.
54534 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54536 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
54537 Add s_sinf-sse2, s_conf-sse2.
54539 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
54540 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
54541 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
54542 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
54544 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
54545 for using routine as __sinf_ia32.
54546 Use macro for function declaration and weak_alias.
54547 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
54548 for using routine as __cosf_ia32.
54549 Use macro for function declaration and weak_alias.
54551 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
54552 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
54554 * sysdeps/x86_64/fpu/s_sinf.S: New file.
54555 * sysdeps/x86_64/fpu/s_cosf.S: New file.
54556 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54558 * math/libm-test.inc (cos_test): Add more test cases.
54559 (sin_test): Likewise.
54560 (sincos_test): Likewise.
54562 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54564 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
54565 (IFUNC_RESOLVE): Make pointers to the specialized implementations
54567 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
54569 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
54572 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
54573 first element of the GOT.
54574 (elf_machine_load_address): Return the difference between
54575 the runtime address of _DYNAMIC and elf_machine_dynamic ().
54577 2012-09-01 Allan McRae <allan@archlinux.org>
54580 * configure.in (AWK): Require gawk version 3.0 or later.
54581 * configure: Regenerated.
54583 2012-09-01 Joseph Myers <joseph@codesourcery.com>
54585 * sysdeps/unix/sysv/linux/kernel-features.h
54586 (__ASSUME_POSIX_CPU_TIMERS): Remove.
54587 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
54588 [__NR_clock_getres]: Make code unconditional.
54589 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
54590 (clock_getcpuclockid): Remove code left unreachable by removal of
54592 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
54593 code unconditional.
54594 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
54595 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
54596 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
54597 Make code unconditional.
54598 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
54599 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
54600 * sysdeps/unix/sysv/linux/clock_settime.c
54601 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
54603 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
54604 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
54606 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
54609 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
54610 scripts/test-installation.pl.
54612 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
54613 and $ld_so_version if it is set.
54615 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
54618 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
54619 failure if reading from procfs failed.
54620 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
54622 2012-08-27 Joseph Myers <joseph@codesourcery.com>
54624 * sysdeps/unix/sysv/linux/kernel-features.h
54625 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
54626 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
54627 Remove conditional code.
54628 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
54629 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
54630 Remove conditional code.
54631 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
54632 * sysdeps/unix/sysv/linux/i386/fxstat.c
54633 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
54634 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
54635 * sysdeps/unix/sysv/linux/i386/fxstatat.c
54636 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
54637 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
54638 * sysdeps/unix/sysv/linux/i386/lxstat.c
54639 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
54640 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
54641 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
54642 Remove conditional code.
54643 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
54644 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
54645 Remove conditional code.
54646 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
54647 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
54648 <kernel-features.h>.
54649 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
54651 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
54652 Remove conditional code.
54653 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
54654 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
54655 Remove conditional.
54657 2012-08-27 Mike Frysinger <vapier@gentoo.org>
54660 * NEWS: Add fixed bug number.
54662 2012-08-27 Joseph Myers <joseph@codesourcery.com>
54665 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
54666 underflowing exponent in case of negative sign.
54667 * stdlib/tst-strtod-round-data: Add more tests.
54668 * stdlib/tst-strtod-round.c (tests): Regenerated.
54671 * stdlib/strtod_l.c (NDIG): Remove.
54672 (HEXNDIG): Likewise.
54673 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
54674 smallest representable value.
54675 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
54676 lie within an exact representation of 1/2 ulp of the result.
54677 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
54679 (TENS_P9_IDX): Define unconditionally.
54680 (TENS_P9_SIZE): Likewise.
54681 (TENS_P10_IDX): Likewise.
54682 (TENS_P10_SIZE): Likewise.
54683 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
54684 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
54685 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
54686 entries for 10^2^13 and 10^2^14.
54687 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
54688 (TENS_P13_IDX): Define.
54689 (TENS_P13_SIZE): Likewise.
54690 (TENS_P14_IDX): Likewise.
54691 (TENS_P14_SIZE): Likewise.
54692 (_fpioconst_pow10): Change array size to
54693 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
54695 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
54696 1024]: Add entries for 10^2^13 and 10^2^14.
54697 [LAST_POW10 > _LAST_POW10]: Remove #error.
54698 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
54699 (_fpioconst_pow10): Change array size to
54700 FPIOCONST_POW10_ARRAY_SIZE.
54701 * stdlib/gen-fpioconst.c: New file.
54702 * stdlib/gen-tst-strtod-round.c: Likewise.
54703 * stdlib/tst-strtod-round-data: Likewise.
54704 * stdlib/tst-strtod-round.c: Likewise.
54705 * stdlib/Makefile (tests): Add tst-strtod-round.
54708 * stdlib/strtod_l.c: Include <stdint.h>.
54709 (NDEBUG): Do not define.
54710 (round_and_return): Change EXPONENT parameter to type intmax_t.
54711 Rearrange calculations to avoid internal overflow possibilities.
54712 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
54713 Rearrange calculations to avoid internal overflow possibilities.
54714 Assert that number fits inside MPNSIZE limbs.
54715 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
54716 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
54717 calculations and add assertions to avoid internal overflow
54718 possibilities. Add casts to avoid signed/unsigned operations.
54719 * stdlib/tst-strtod-overflow.c: New file.
54720 * stdlib/Makefile (tests): Add tst-strtod-overflow.
54722 2012-08-25 Marek Polacek <polacek@redhat.com>
54724 * time/time.h: Fix some typos in comments.
54726 2012-08-23 Roland McGrath <roland@hack.frob.com>
54728 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
54729 * posix/tst-rfc3484-2.c: Likewise.
54730 * posix/tst-rfc3484-3.c: Likewise.
54732 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
54734 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
54735 (EF_ARM_ABI_FLOAT_HARD): Likewise.
54737 2012-08-23 Joseph Myers <joseph@codesourcery.com>
54739 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
54740 #include of fxstatat64.c.
54742 2012-08-22 Roland McGrath <roland@hack.frob.com>
54744 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
54745 * shadow/getspent_r.c: Likewise.
54746 * shadow/getspnam.c: Likewise.
54747 * shadow/getspnam_r.c: Likewise.
54748 * gshadow/getsgent.c: Likewise.
54749 * gshadow/getsgent_r.c: Likewise.
54750 * gshadow/getsgnam.c: Likewise.
54751 * gshadow/getsgnam_r.c: Likewise.
54752 * inet/getnetbyad.c: Likewise.
54753 * inet/getnetbyad_r.c: Likewise.
54754 * inet/getnetbynm.c: Likewise.
54755 * inet/getnetbynm_r.c: Likewise.
54756 * inet/getnetent.c: Likewise.
54757 * inet/getnetent_r.c: Likewise.
54758 * inet/getproto.c: Likewise.
54759 * inet/getproto_r.c: Likewise.
54760 * inet/getprtent.c: Likewise.
54761 * inet/getprtent_r.c: Likewise.
54762 * inet/getprtname.c: Likewise.
54763 * inet/getprtname_r.c: Likewise.
54764 * inet/getrpcbyname.c: Likewise.
54765 * inet/getrpcbyname_r.c: Likewise.
54766 * inet/getrpcbynumber.c: Likewise.
54767 * inet/getrpcbynumber_r.c: Likewise.
54768 * inet/getrpcent.c: Likewise.
54769 * inet/getrpcent_r.c: Likewise.
54770 * inet/getaliasent.c: Likewise.
54771 * inet/getaliasent_r.c: Likewise.
54772 * inet/getaliasname.c: Likewise.
54773 * inet/getaliasname_r.c: Likewise.
54774 * nscd/getgrgid_r.c: Likewise.
54775 * nscd/getgrnam_r.c: Likewise.
54776 * nscd/gethstbyad_r.c: Likewise.
54777 * nscd/gethstbynm3_r.c: Likewise.
54778 * nscd/getpwnam_r.c: Likewise.
54779 * nscd/getpwuid_r.c: Likewise.
54780 * nscd/getsrvbynm_r.c: Likewise.
54781 * nscd/getsrvbypt_r.c: Likewise.
54782 * nscd/gai.c: Likewise.
54784 * configure.in (build_nscd): New substituted variable, set
54785 by --disable-build-nscd and defaults to $use_nscd.
54786 * configure: Regenerated.
54787 * config.make.in (build-nscd): New substituted variable.
54788 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
54789 Change conditional to require [$(build-nscd) = yes] as well.
54790 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
54793 * configure.in (use_nscd): New substituted variable, set by
54794 --disable-nscd. If enabled, define USE_NSCD.
54795 * configure: Regenerated.
54796 * config.h.in: Add USE_NSCD.
54797 * config.make.in (use-nscd): New substituted variable.
54798 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
54799 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
54800 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
54801 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
54802 (CFLAGS-getgrnam_r.c): Likewise.
54803 (CFLAGS-initgroups.c): Likewise.
54804 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
54805 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
54807 * inet/getnetgrent_r.c
54808 (nscd_setnetgrent): New function, broken out of ...
54809 (setnetgrent): ... here. Call it.
54810 (innetgr): Conditionalize nscd bits on [USE_NSCD].
54811 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
54812 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
54813 * nscd/Makefile (routines, aux): Move definitions after include of
54814 Makeconfig. Conditionalize on [$(use-nscd) != no].
54815 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
54816 Conditionalize on [USE_NSCD].
54817 (is_nscd, nscd_init_cb): Likewise.
54818 (nss_load_library): Conditionalize init callback on [USE_NSCD].
54819 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
54820 * nss/nss_db/db-init.c: Likewise.
54821 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
54823 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
54824 (make_request): Use it.
54825 (cache_valid_p): New function.
54826 (__check_pf): Use it.
54827 * NEWS: Add item for --disable-nscd.
54829 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
54831 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
54832 to support sed >= 4.2.1-20-ga9bf076.
54833 * configure: Regenerated.
54835 2012-08-22 Roland McGrath <roland@hack.frob.com>
54837 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
54838 Conditionalize whole body on [IREL].
54840 2012-08-22 Jeff Law <law@redhat.com>
54843 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
54844 if the family is PF_UNSPEC.
54846 2012-08-22 Mike Frysinger <vapier@gentoo.org>
54848 * Makerules (lib-version): Rename from V.
54849 (install-lib-nosubdir): Change V to lib-version.
54851 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
54854 * powerpc32/power6/wcschr.c: New file.
54855 * powerpc32/power6/wcscpy.c: New file.
54856 * powerpc32/power6/wcsrchr.c: New file.
54857 * powerpc64/power6/wcschr.c: New file.
54858 * powerpc64/power6/wcscpy.c: New file.
54859 * powerpc64/power6/wcsrchr.c: New file.
54861 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
54863 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
54864 (two_way_short_needle): Use it.
54865 * string/strstr.c (AVAILABLE1_USES_J): Define.
54866 * string/strcasestr.c: Likewise.
54868 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
54870 * string/strcasestr.c (TOLOWER): Make side-effect safe.
54873 * NEWS: Add an entry.
54874 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
54875 define their defaults.
54876 (two_way_short_needle): Detect end-of-string on-the-fly.
54877 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
54878 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
54879 * string/bug-strcasestr1.c: New test.
54880 * string/Makefile: Run it.
54882 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
54885 * string/str-two-way.h (two_way_short_needle): Optimize matching of
54886 the first character.
54888 2012-08-21 Roland McGrath <roland@hack.frob.com>
54890 * csu/elf-init.c (__libc_csu_irel): Function removed.
54891 * csu/libc-start.c (apply_irel): New function.
54892 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
54894 2012-08-21 Joseph Myers <joseph@codesourcery.com>
54896 * sysdeps/unix/sysv/linux/kernel-features.h
54897 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
54898 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
54899 <kernel-features.h>.
54900 [__NR_fadvise64_64]: Make code unconditional.
54901 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
54902 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
54903 !__NR_fadvise64_64)]: Likewise.
54904 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
54905 !__NR_fadvise64_64))]: Likewise.
54906 [__NR_fadvise64]: Make code unconditional.
54907 [!__NR_fadvise64]: Remove conditional code.
54908 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
54909 <kernel-features.h>.
54910 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
54912 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
54914 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
54915 not include <kernel-features.h>.
54916 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
54918 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
54920 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
54921 include <kernel-features.h>.
54922 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
54924 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
54927 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
54929 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
54930 slight instruction rearrangements per scrollpipe analysis.
54931 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
54933 2012-08-20 Roland McGrath <roland@hack.frob.com>
54935 * manual/syslog.texi (syslog; vsyslog, closelog):
54936 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
54937 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
54939 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
54940 DSOCAPS to match condition on defining it.
54942 2012-08-20 Joseph Myers <joseph@codesourcery.com>
54944 * sysdeps/unix/sysv/linux/kernel-features.h
54945 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
54946 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
54947 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
54948 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
54949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
54950 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
54951 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
54952 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
54953 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
54954 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
54956 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
54957 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
54959 * sysdeps/unix/sysv/linux/kernel-features.h
54960 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
54961 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
54963 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
54964 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
54965 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
54966 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
54967 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
54968 Make code unconditional.
54969 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
54970 (__mmap64) [!__NR_mmap2]: Likewise.
54971 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
54972 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
54973 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
54974 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
54975 [__NR_mmap2]: Make code unconditional.
54976 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
54977 (__mmap64) [!__NR_mmap2]: Likewise.
54979 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54981 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
54983 2012-08-18 Andreas Jaeger <aj@suse.de>
54985 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
54987 2012-08-18 Mike Frysinger <vapier@gentoo.org>
54989 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
54990 * include/unistd.h (__have_sock_cloexec): Likewise.
54991 (__have_pipe2): Likewise.
54992 (__have_dup3): Likewise.
54994 2012-08-18 Mike Frysinger <vapier@gentoo.org>
54997 * include/unistd.h (__have_pipe2): Change define into an extern int.
54998 (__have_dup3): Likewise.
54999 * socket/have_sock_cloexec.c: Include fcntl.h.
55000 (__have_pipe2): New variable.
55001 (__have_dup3): Likewise.
55003 2012-08-17 Mike Frysinger <vapier@gentoo.org>
55005 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
55007 2012-08-17 Marek Polacek <polacek@redhat.com>
55009 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
55010 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
55012 2012-08-17 Roland McGrath <roland@hack.frob.com>
55014 * configure.in: Add AC_SUBST for sysheaders.
55015 * configure: Regenerated.
55016 * config.make.in (sysheaders): New substituted variable.
55018 * sysdeps/unix/mkfifo.c: Moved ...
55019 * sysdeps/posix/mkfifo.c: ... here.
55020 * sysdeps/unix/mkfifoat.c: Moved ...
55021 * sysdeps/posix/mkfifoat.c: ... here.
55023 * sysdeps/unix/utime.c: Moved ...
55024 * sysdeps/posix/utime.c: ... here.
55026 * sysdeps/unix/time.c: Moved ...
55027 * sysdeps/posix/time.c: ... here.
55028 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
55029 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
55031 * sysdeps/unix/nice.c: Moved ...
55032 * sysdeps/posix/nice.c: ... here.
55034 * sysdeps/unix/alarm.c: Moved ...
55035 * sysdeps/posix/alarm.c: ... here.
55037 * intl/Makefile ($(codeset_mo)): Depend on the input file.
55039 2012-08-17 Jeff Law <law@redhat.com>
55041 * intl/Makefile (codeset_mo): New variable.
55042 ($(codeset_mo)): New target.
55043 (tst-codeset.out): Depend on that. Remove explicit rule.
55044 (tst-gettext3.out, tst-gettext5.out): Likewise.
55045 (LOCPATH-ENV, tst-codeset-ENV): New variables.
55046 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
55047 * intl/tst-codeset.sh: Remove.
55048 * intl/tst-gettext3.sh: Likewise.
55049 * intl/tst-gettext5.sh: Likewise.
55051 2012-08-17 Roland McGrath <roland@hack.frob.com>
55053 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
55054 * sysdeps/unix/syscalls.list: ... here.
55056 * sysdeps/posix/getaddrinfo.c
55057 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
55058 (gaiconf_init, gaiconf_reload): Use them.
55059 [!_STATBUF_ST_NSEC]
55060 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
55061 Define using time_t rather than struct timespec.
55063 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
55064 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
55066 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
55068 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
55069 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
55072 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
55073 __libc_cleanup_push argument.
55075 * bits/param.h: New file.
55076 * misc/sys/param.h: New file.
55077 * include/sys/param.h: New file.
55078 * misc/Makefile (headers): Add bits/param.h.
55079 * sysdeps/generic/sys/param.h: File removed.
55080 * sysdeps/unix/sysv/linux/bits/param.h: New file.
55081 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
55082 * sysdeps/mach/hurd/bits/param.h: New file.
55083 * sysdeps/mach/hurd/sys/param.h: File removed.
55085 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
55088 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
55090 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
55091 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
55094 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
55095 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
55096 rather than -D_IO_MTSAFE_IO conditionally.
55097 * stdio-common/Makefile (CPPFLAGS): Likewise.
55098 * wcsmbs/Makefile (CPPFLAGS): Likewise.
55099 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
55100 Use $(libio-mtsafe).
55101 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
55102 of -D_IO_MTSAFE_IO.
55103 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
55104 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
55105 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
55106 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
55107 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
55108 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
55109 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
55110 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
55111 (CFLAGS-fread_u_chk.c): Likewise.
55112 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
55113 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
55114 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
55115 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
55116 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
55117 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
55118 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
55119 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
55120 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
55122 * libio/Makefile: Test [$(libc-reentrant) = yes]
55123 instead of [$(filter %REENTRANT, $(defines)) nonempty].
55126 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
55127 * sysdeps/pthread/configure: File removed.
55128 * sysdeps/pthread/Makeconfig: New file.
55129 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
55130 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
55132 2012-08-16 Gary Benson <gbenson@redhat.com>
55134 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
55135 unmapping the first object in a namespace.
55137 2012-08-16 Roland McGrath <roland@hack.frob.com>
55139 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
55140 (__internal_setnetgrent): ... this. Add internal_function to
55141 definition. Add libc_hidden_def.
55142 (setnetgrent): Update caller.
55143 (internal_endnetgrent): Renamed to ...
55144 (__internal_endnetgrent): ... this. Add internal_function to
55145 definition. Add libc_hidden_def.
55146 (endnetgrent): Update caller.
55147 (internal_getnetgrent_r): Renamed to ...
55148 (__internal_getnetgrent_r): ... this. Add internal_function to
55149 definition. Add libc_hidden_def.
55150 (__getnetgrent_r): Update caller.
55151 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
55153 2012-08-16 Joseph Myers <joseph@codesourcery.com>
55155 * stdlib/longlong.h: Update from GCC.
55157 2012-08-16 Roland McGrath <roland@hack.frob.com>
55159 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
55160 on _QL, which is set by umul_ppmm but never used.
55161 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
55162 variables, which are set by GMP macros but never used.
55163 * stdio-common/_itowa.c (_itowa): Likewise.
55164 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
55165 * stdlib/mod_1.c (mpn_mod_1): Likewise.
55167 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
55169 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
55170 struct La_sh_regs is not constant.
55171 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
55172 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
55173 and struct La_sparc64_regs are not constant.
55175 2012-08-16 Joseph Myers <joseph@codesourcery.com>
55177 * sysdeps/unix/sysv/linux/kernel-features.h
55178 (__ASSUME_POSIX_TIMERS): Remove.
55179 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
55180 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
55181 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
55182 Make code unconditional.
55183 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
55184 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
55185 Make code unconditional.
55186 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
55187 * sysdeps/unix/sysv/linux/clock_nanosleep.c
55188 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
55189 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
55190 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
55191 Make code unconditional.
55192 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
55193 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
55194 (__libc_missing_posix_timers): Remove.
55196 2012-08-15 Roland McGrath <roland@hack.frob.com>
55198 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
55199 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
55201 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
55203 * elf/dl-sym.c: Include <stdlib.h>.
55205 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
55206 constants, which avoids warnings in 32-bit builds.
55208 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
55209 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
55211 * misc/lseek.c: File moved to ...
55212 * io/lseek.c: ... here.
55214 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
55216 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
55217 shifting LEN more than 31 bits at once.
55219 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55222 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
55223 segmentation fault for a case of two empty input strings.
55224 * string/test-strncasecmp.c (check1): Renamed to...
55225 (bz12205): ...this.
55226 (bz14195): Add new testcase for two empty input strings and N > 0.
55227 (test_main): Call new testcase, adapt for renamed function.
55229 2012-08-15 Andreas Jaeger <aj@suse.de>
55232 * crypt/md5test2.c: New test, based on test supplied by Serge
55233 Belyshev <belyshev@depni.sinp.msu.ru>.
55234 * crypt/Makefile (xtests): Add md5test-giant..
55235 * crypt/Makefile ($(objpfx)md5test-giant): Add.
55237 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
55240 * crypt/md5.c (md5_process_block): Don't assume the buffer
55241 length is less than 2**32.
55242 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
55243 length is less than 2**64.
55245 2012-08-15 Roland McGrath <roland@hack.frob.com>
55247 * string/str-two-way.h: Include <sys/param.h>.
55248 (MAX): Macro removed.
55250 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
55251 Move #define and #undef of memmove to just before and after
55252 including <string.h>.
55254 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
55255 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
55256 and after including <string.h>. Move declarations of
55257 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
55258 to before #include "string/memmove.c".
55260 * include/dirent.h: Declare __getdirentries.
55262 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
55263 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
55265 2012-08-14 Mike Frysinger <vapier@gentoo.org>
55267 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
55268 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
55269 * sysdeps/i386/configure: Regenerated.
55270 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
55271 STABS_CURRENT_FILE, and STABS_FUN.
55272 (END): Remove call to STABS_FUN_END.
55273 (STABS_CURRENT_FILE1): Delete.
55274 (STABS_CURRENT_FILE): Likewise.
55275 (STABS_FUN): Likewise.
55276 (STABS_FUN_END): Likewise.
55277 (STABS_FUN2): Likewise.
55278 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
55279 * sysdeps/x86_64/configure: Regenerated.
55281 2012-08-14 Roland McGrath <roland@hack.frob.com>
55283 * elf/dl-open.c: Include <atomic.h>.
55284 * elf/dl-lookup.c: Likewise.
55286 2012-08-14 Joseph Myers <joseph@codesourcery.com>
55288 * sysdeps/unix/sysv/linux/kernel-features.h
55289 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
55290 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
55292 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
55294 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
55295 condition on __ASSUME_CLONE_THREAD_FLAGS.
55297 2012-08-14 Andreas Jaeger <aj@suse.de>
55299 * sysdeps/i386/fpu/libm-test-ulps: Update.
55301 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
55303 * include/atomic.h (atomic_exchange_and_add): Split into ...
55304 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
55307 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
55309 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55311 2012-08-13 Jeff Law <law@redhat.com>
55313 * manual/stdio.texi (snprintf): Clarify handling of the trailing
55314 null byte in the output string.
55316 2012-08-10 Joseph Myers <joseph@codesourcery.com>
55318 * sysdeps/unix/sysv/linux/kernel-features.h
55319 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
55320 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
55321 (__ASSUME_ARG_MAX_STACK_BASED): Define.
55322 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
55323 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
55324 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
55325 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
55327 2012-08-09 Jeff Law <law@redhat.com>
55330 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
55331 When avoid_arena is set, don't retry in the that arena. Pick the
55332 next one, whatever it might be.
55333 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
55334 (arena_lock): Pass in new parameter to arena_get2.
55335 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
55337 (__libc_malloc): Unify retrying after main arena failure with
55338 __libc_memalign version.
55339 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
55341 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
55344 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
55345 to __redirect_strstr.
55346 (__strstr_sse42): Use typeof __redirect_strstr.
55347 (__strstr_ia32): Likewise.
55348 (__libc_strstr): New prototype.
55349 (strstr): Renamed to ...
55350 (__libc_strstr): This.
55351 (strstr): New strong alias of __libc_strstr.
55352 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
55353 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
55356 (__libc_time): New prototype.
55357 (time_ifunc): Replace time with __libc_time.
55358 (time): New strong alias and hidden definition of __libc_time.
55359 (__GI_time): Remove strong alias.
55360 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
55361 Include <stddef.h>.
55362 (memmove): Redefined to __redirect_memmove.
55363 (__memmove_sse2): Use typeof __redirect_memmove.
55364 (__memmove_ssse3): Likewise.
55365 (__memmove_ssse3_back): Likewise.
55366 (__libc_memmove): New prototype.
55367 (memmove): Renamed to ...
55368 (__libc_memmove): This.
55369 (memmove): New strong alias of __libc_memmove.
55371 2012-08-08 Mark Salter <msalter@redhat.com>
55374 (R_MN10300_TLS_GD): Define.
55375 (R_MN10300_TLS_LD): Likewise.
55376 (R_MN10300_TLS_LDO): Likewise.
55377 (R_MN10300_TLS_GOTIE): Likewise.
55378 (R_MN10300_TLS_IE): Likewise.
55379 (R_MN10300_TLS_LE): Likewise.
55380 (R_MN10300_TLS_DTPMOD): Likewise.
55381 (R_MN10300_TLS_DTPOFF): Likewise.
55382 (R_MN10300_TLS_TPOFF): Likewise.
55383 (R_MN10300_SYM_DIFF): Likewise.
55384 (R_MN10300_ALIGN): Likewise.
55385 (R_MN10300_NUM): Update.
55387 2012-08-08 Joseph Myers <joseph@codesourcery.com>
55389 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
55392 2012-08-08 Roland McGrath <roland@hack.frob.com>
55394 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
55396 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
55397 sysdeps/unix -> sysdeps/posix move.
55398 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
55400 2012-08-07 Allan McRae <allan@archlinux.org>
55403 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
55404 (SUNOS_CPP): Likewise.
55405 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
55407 (open_input): Call CPP using execvp.
55409 2012-08-07 Joseph Myers <joseph@codesourcery.com>
55411 * sysdeps/unix/sysv/linux/kernel-features.h
55412 (__ASSUME_PROT_GROWSUPDOWN): Remove.
55413 (__ASSUME_NO_CLONE_DETACHED): Likewise.
55414 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
55415 (__ASSUME_WAITID_SYSCALL): Likewise.
55416 * sysdeps/unix/sysv/linux/dl-execstack.c
55417 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
55418 code unconditional.
55419 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
55421 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
55422 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
55423 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
55425 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
55427 [__ASSUME_WAITID_SYSCALL]: Likewise.
55428 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
55430 2012-08-07 Roland McGrath <roland@hack.frob.com>
55432 * sysdeps/unix/closedir.c: Renamed to ...
55433 * sysdeps/posix/closedir.c: ... here.
55434 * sysdeps/unix/dirfd.c: Renamed to ...
55435 * sysdeps/posix/dirfd.c: ... here.
55436 * sysdeps/unix/dirstream.h: Renamed to ...
55437 * sysdeps/posix/dirstream.h: ... here.
55438 * sysdeps/unix/fdopendir.c: Renamed to ...
55439 * sysdeps/posix/fdopendir.c: ... here.
55440 * sysdeps/unix/opendir.c: Renamed to ...
55441 * sysdeps/posix/opendir.c: ... here.
55442 * sysdeps/unix/readdir.c: Renamed to ...
55443 * sysdeps/posix/readdir.c: ... here.
55444 * sysdeps/unix/readdir_r.c: Renamed to ...
55445 * sysdeps/posix/readdir_r.c: ... here.
55446 * sysdeps/unix/rewinddir.c: Renamed to ...
55447 * sysdeps/posix/rewinddir.c: ... here.
55448 * sysdeps/unix/seekdir.c: Renamed to ...
55449 * sysdeps/posix/seekdir.c: ... here.
55450 * sysdeps/unix/telldir.c: Renamed to ...
55451 * sysdeps/posix/telldir.c: ... here.
55452 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
55453 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
55454 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
55455 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
55457 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
55458 * bits/fcntl.h: ... here.
55460 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
55462 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
55463 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
55464 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
55465 (struct flock): Move l_start, l_len to the beginning.
55466 Use __pid_t for l_pid.
55467 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
55468 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
55469 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
55470 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
55471 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
55472 [__USE_LARGEFILE64] (struct flock64): New type.
55473 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
55475 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
55476 * bits/dirent.h: ... here.
55478 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
55479 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
55481 2012-08-07 Joseph Myers <joseph@codesourcery.com>
55483 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
55484 Change from 2.6.0 to 2.6.16.
55485 * sysdeps/unix/sysv/linux/configure: Regenerated.
55486 * sysdeps/unix/sysv/linux/kernel-features.h
55487 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
55488 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
55490 (__ASSUME_UTIMES): Likewise.
55491 (__ASSUME_CLONE_STOPPED): Remove.
55492 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
55493 architectures, not kernel version.
55494 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
55495 (__ASSUME_NO_CLONE_DETACHED): Likewise.
55496 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
55497 (__ASSUME_WAITID_SYSCALL): Likewise.
55498 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
55499 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
55500 * README: State 2.6.16 as minimum Linux kernel version. Do not
55501 refer to older versions.
55503 2012-08-06 Roland McGrath <roland@hack.frob.com>
55505 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
55506 Define alphasort64 as an alias.
55507 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
55508 Define versionsort64 as an alias.
55509 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
55510 Define scandir64 as an alias.
55511 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
55512 Define scandirat64 as an alias.
55513 * dirent/alphasort64.c (alphasort64):
55514 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
55515 * dirent/versionsort64.c: Likewise.
55516 * dirent/scandir64.c: Likewise.
55517 * dirent/scandirat64.c: Likewise.
55518 * sysdeps/wordsize-64/alphasort.c: File removed.
55519 * sysdeps/wordsize-64/alphasort64.c: File removed.
55520 * sysdeps/wordsize-64/scandir.c: File removed.
55521 * sysdeps/wordsize-64/scandir64.c: File removed.
55522 * sysdeps/wordsize-64/scandirat.c: File removed.
55523 * sysdeps/wordsize-64/scandirat64.c: File removed.
55524 * sysdeps/wordsize-64/versionsort.c: File removed.
55525 * sysdeps/wordsize-64/versionsort64.c: File removed.
55526 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
55527 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
55528 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
55529 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
55530 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
55531 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
55532 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
55533 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
55535 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
55536 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
55537 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
55538 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
55539 [defined __arch64__ || defined __sparcv9]
55540 (__INO_T_MATCHES_INO64_T): New macro.
55541 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
55542 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
55543 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
55544 * sysdeps/unix/sysv/linux/bits/dirent.h
55545 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
55546 (_DIRENT_MATCHES_DIRENT64): New macro.
55548 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
55549 Define lockf64 as an alias.
55550 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
55551 Define fseeko64 as an alias.
55552 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
55553 Define ftello64 as an alias.
55554 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
55555 Define _IO_fgetpos64 and fgetpos64 as aliases.
55556 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
55557 Define _IO_fsetpos64 and fsetpos64 as aliases.
55558 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
55559 Conditionalize body on this.
55560 * libio/fseeko64.c: Likewise.
55561 * libio/ftello64.c: Likewise.
55562 * libio/iofgetpos64.c: Likewise.
55563 * libio/iofsetpos64.c: Likewise.
55564 * sysdeps/wordsize-64/lockf.c: File removed.
55565 * sysdeps/wordsize-64/lockf64.c: File removed.
55566 * sysdeps/wordsize-64/fseeko.c: File removed.
55567 * sysdeps/wordsize-64/fseeko64.c: File removed.
55568 * sysdeps/wordsize-64/ftello.c: File removed.
55569 * sysdeps/wordsize-64/ftello64.c: File removed.
55570 * sysdeps/wordsize-64/iofgetpos.c: File removed.
55571 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
55572 * sysdeps/wordsize-64/iofsetpos.c: File removed.
55573 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
55574 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
55575 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
55576 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
55577 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
55578 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
55579 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
55580 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
55581 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
55582 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
55583 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
55585 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
55586 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
55587 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
55588 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
55589 [defined __arch64__ || defined __sparcv9]
55590 (__OFF_T_MATCHES_OFF64_T): New macro.
55591 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
55592 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
55593 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
55594 (__OFF_T_MATCHES_OFF64_T): New macro.
55596 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
55598 * stdlib/secure-getenv.c (__secure_getenv): Replace
55599 GLIBC_2_16 with GLIBC_2_17.
55601 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
55603 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
55604 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
55606 2012-08-03 David S. Miller <davem@davemloft.net>
55608 * sysdeps/sparc/fpu/libm-test-ulps: Update.
55610 2012-08-03 Joseph Myers <joseph@codesourcery.com>
55612 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
55614 (__ASSUME_CORRECT_SI_PID): Likewise.
55615 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
55616 (__ASSUME_TMPFS_NAME): Likewise.
55617 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
55618 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
55619 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
55620 (HAVE_AUX_SECURE): Make definition unconditional.
55621 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
55622 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
55624 2012-08-03 Roland McGrath <roland@hack.frob.com>
55626 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
55627 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
55628 * sysdeps/mach/hurd/eloop-threshold.h: New file.
55629 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
55630 __eloop_threshold instead of SYMLOOP_MAX.
55632 * sysdeps/generic/eloop-threshold.h: New file.
55633 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
55635 * elf/chroot_canon.c (chroot_canon): Likewise.
55637 2012-08-03 Joseph Myers <joseph@codesourcery.com>
55640 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
55641 Change to 2.6.0 everywhere.
55642 * sysdeps/unix/sysv/linux/configure: Regenerated.
55643 * sysdeps/unix/sysv/linux/kernel-features.h
55644 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
55645 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
55647 (__ASSUME_POSIX_TIMERS): Define unconditionally.
55648 (__ASSUME_FUTEX_REQUEUE): Remove.
55649 (__ASSUME_STATFS64): Define unconditionally.
55650 (__ASSUME_AT_SECURE): Likewise.
55651 (__ASSUME_CORRECT_SI_PID): Likewise.
55652 (__ASSUME_TGKILL): Define without depending on kernel version for
55654 (__ASSUME_UTIMES): Likewise.
55655 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
55657 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
55658 (__ASSUME_TMPFS_NAME): Likewise.
55659 * README: Update reference to Linux kernel versions.
55661 2012-08-02 Marek Polacek <polacek@redhat.com>
55664 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
55665 libc_cv_asm_type_prefix with %.
55666 * configure: Regenerated.
55667 * include/libc-symbols.h: Remove comment about
55668 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
55669 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
55670 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
55671 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
55672 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
55673 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
55674 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
55675 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
55676 * elf/tst-unique2mod1.c: Likewise.
55677 * elf/tst-unique1mod2.c: Likewise.
55678 * elf/tst-unique1mod1.c: Likewise.
55679 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
55680 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
55681 Replace ASM_TYPE_DIRECTIVE with .type.
55682 * sysdeps/s390/s390-64/sysdep.h: Likewise.
55683 * sysdeps/i386/sysdep.h: Likewise.
55684 * sysdeps/x86_64/sysdep.h: Likewise.
55685 * sysdeps/sh/sysdep.h: Likewise.
55686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
55687 Do not define ASM_TYPE_DIRECTIVE.
55688 * sysdeps/powerpc/sysdep.h: Likewise.
55689 * sysdeps/powerpc/powerpc32/sysdep.h:
55690 Replace ASM_TYPE_DIRECTIVE with .type.
55691 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
55692 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
55693 * sysdeps/i386/fpu/e_powf.S: Likewise.
55694 * sysdeps/i386/fpu/e_expl.S: Likewise.
55695 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
55696 * sysdeps/i386/fpu/e_acosh.S: Likewise.
55697 * sysdeps/i386/fpu/e_pow.S: Likewise.
55698 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
55699 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
55700 * sysdeps/i386/fpu/s_expm1.S: Likewise.
55701 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
55702 * sysdeps/i386/fpu/e_log2.S: Likewise.
55703 * sysdeps/i386/fpu/e_log2l.S: Likewise.
55704 * sysdeps/i386/fpu/e_scalb.S: Likewise.
55705 * sysdeps/i386/fpu/e_powl.S: Likewise.
55706 * sysdeps/i386/fpu/e_log10f.S: Likewise.
55707 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
55708 * sysdeps/i386/fpu/e_logl.S: Likewise.
55709 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
55710 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
55711 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
55712 * sysdeps/i386/fpu/e_log2f.S: Likewise.
55713 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
55714 * sysdeps/i386/fpu/e_log.S: Likewise.
55715 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
55716 * sysdeps/i386/fpu/e_logf.S: Likewise.
55717 * sysdeps/i386/fpu/e_log10l.S: Likewise.
55718 * sysdeps/i386/fpu/e_atanh.S: Likewise.
55719 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
55720 * sysdeps/i386/fpu/e_log10.S: Likewise.
55721 * sysdeps/i386/fpu/s_frexp.S: Likewise.
55722 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
55723 * sysdeps/i386/fpu/s_asinh.S: Likewise.
55724 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
55725 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
55726 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
55727 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
55728 * sysdeps/i386/i686/strtok.S: Likewise.
55729 * sysdeps/i386/i386-mcount.S: Likewise.
55730 * sysdeps/i386/strtok.S: Likewise.
55731 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
55732 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
55733 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
55734 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
55735 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
55736 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
55737 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
55738 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
55739 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
55740 * sysdeps/x86_64/_mcount.S: Likewise.
55741 * sysdeps/x86_64/strtok.S: Likewise.
55742 * sysdeps/sh/_mcount.S: Likewise.
55744 2012-08-01 Roland McGrath <roland@hack.frob.com>
55746 * libio/iofopen.c: Include <fcntl.h>.
55747 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
55748 (_IO_fopen64, fopen64): Define as aliases.
55749 * libio/iofopen64.c: Include <fcntl.h>.
55750 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
55751 Conditionalize body on this.
55752 * sysdeps/wordsize-64/iofopen.c: File removed.
55753 * sysdeps/wordsize-64/iofopen64.c: File removed.
55755 2012-08-01 Marek Polacek <polacek@redhat.com>
55757 * libc/Makeconfig: Use elf in place of binfmt-subdir.
55758 Use dlfcn directly instead of a variable.
55759 (binfmt-subdir): Do not define.
55762 2012-08-01 Joseph Myers <joseph@codesourcery.com>
55764 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
55765 Remove all definitions.
55766 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
55767 <kernel-features.h>.
55768 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
55769 (miss_F_GETOWN_EX): Remove all definitions.
55770 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
55772 [!__ASSUME_FCNTL64]: Remove conditional code.
55773 [__ASSUME_FCNTL64]: Make code unconditional.
55774 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
55775 <kernel-features.h>.
55776 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
55777 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
55778 (lockf64) [__NR_fcntl64]: Make code unconditional.
55779 (lockf64) [__ASSUME_FCNTL64]: Likewise.
55781 * sysdeps/unix/sysv/linux/kernel-features.h
55782 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
55783 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
55784 Make code unconditional.
55785 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
55786 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
55787 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
55788 [__NR_vfork]: Make code unconditional.
55789 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
55790 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
55791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
55792 [__NR_vfork]: Make code unconditional.
55793 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
55794 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
55796 2012-08-01 Roland McGrath <roland@hack.frob.com>
55798 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
55799 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
55801 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
55802 Define mkstemp64 as an alias.
55803 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
55804 Define mkstemps64 as an alias.
55805 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
55806 Define mkostemp64 as an alias.
55807 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
55808 Define mkostemps64 as an alias.
55809 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
55810 Conditionalize body on this.
55811 * misc/mkostemp64.c: Likewise.
55812 * misc/mkostemps64.c: Likewise.
55813 * misc/mkstemps64.c: Likewise.
55814 * sysdeps/wordsize-64/mkstemp64.c: File removed.
55815 * sysdeps/wordsize-64/mkostemp64.c: File removed.
55816 * sysdeps/wordsize-64/mkostemp.c: File removed.
55817 * sysdeps/wordsize-64/mkstemp.c: File removed.
55818 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
55819 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
55820 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
55821 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
55824 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
55825 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
55826 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
55827 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
55829 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
55830 compat_symbol macros from <shlib-compat.h> rather than the underlying
55831 default_symbol_version and symbol_version macros, so that DEFAULT
55832 lines in shlib-versions are respected.
55833 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
55835 2012-08-01 Florian Weimer <fweimer@redhat.com>
55837 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
55838 Declare with warn_unused_result.
55839 (setgid, setregid, setegid, setresgid): Likewise.
55840 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
55842 * WUR-REPORT: Remove set*id functions.
55844 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
55846 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
55848 2012-07-31 Roland McGrath <roland@hack.frob.com>
55851 * include/sys/socket.h (__libc_accept, __libc_accept4):
55852 Add attribute_hidden.
55853 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
55855 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
55857 * inet/getnetgrent_r.c (setup): Likewise.
55859 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
55861 2012-07-31 David S. Miller <davem@davemloft.net>
55863 * sysdeps/sparc/fpu/libm-test-ulps: Update.
55865 2012-07-31 Joseph Myers <joseph@codesourcery.com>
55868 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
55869 value between 1.0 and 2.0 and smaller part has absolute value less
55871 * math/s_clog10.c (__clog10): Likewise.
55872 * math/s_clog10f.c (__clog10f): Likewise.
55873 * math/s_clog10l.c (__clog10l): Likewise.
55874 * math/s_clogf.c (__clogf): Likewise.
55875 * math/s_clogl.c (__clogl): Likewise.
55876 * math/libm-test.inc (clog_test): Add more tests.
55877 (clog10_test): Likewise.
55878 * sysdeps/i386/fpu/libm-test-ulps: Update.
55879 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55881 2012-07-31 Florian Weimer <fweimer@redhat.com>
55883 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
55884 Exit with zero in case no suitable GID is found, and write a
55885 message to standard error.
55887 2012-07-30 Roland McGrath <roland@hack.frob.com>
55889 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
55891 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
55892 (MAXPATHLEN): Removed.
55893 (NOGROUP, NODEV): New macros.
55894 (setbit, clrbit, isset, isclr): New macros.
55895 (howmany, roundup, powerof2): New macros.
55896 (DEV_BSIZE): New macro.
55898 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
55899 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
55901 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
55902 definition on [!__NO_LONG_DOUBLE_MATH].
55904 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
55905 PTR_MANGLE and PTR_DEMANGLE.
55907 * socket/accept4.c (accept4): Rename to __libc_accept4.
55908 Define accept4 as a weak alias.
55910 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
55911 on [_DIRENT_HAVE_D_TYPE].
55912 * io/ftw.c (ftw_dir): Likewise.
55914 * io/xmknod.c (__xmknod): Don't check PATH for being null.
55916 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
55918 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
55919 Use the BSD numbers rather than the arbitrary ones we had.
55920 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
55921 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
55922 (SIGXCPU, SIGXFSZ): New macros.
55925 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
55926 initializer on [_LIBC_REENTRANT].
55928 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
55929 definitions inside [_POSIX_MAPPED_FILES].
55931 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
55933 * dirent/opendir.c: Include <fcntl.h>.
55935 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
55936 (__libc_getspecific): Likewise.
55937 (__libc_key_create): Likewise.
55939 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
55940 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
55941 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
55942 (tmpfile64): Define as alias.
55943 * sysdeps/wordsize-64/tmpfile.c: File removed.
55944 * sysdeps/wordsize-64/tmpfile64.c: File removed.
55945 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
55946 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
55948 * stdio-common/vfscanf.c: Include <stdbool.h>.
55949 * nss/makedb.c: Likewise.
55950 * stdio-common/_i18n_number.h: Likewise.
55951 * argp/argp-help.c: Likewise.
55952 * posix/wordexp.c: Likewise.
55953 * sysdeps/posix/spawni.c: Likewise.
55954 * nss/nss_files/files-initgroups.c: Likewise.
55955 * stdio-common/reg-modifier.c: Include <stdlib.h>.
55956 * nss/nss_files/files-initgroups.c: Likewise.
55957 * nss/nss_db/db-netgrp.c: Likewise.
55958 * nss/nss_db/db-initgroups.c: Likewise.
55959 * io/fchmodat.c: Include <sys/stat.h>.
55961 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
55962 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
55964 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
55967 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
55968 Add multiple inclusion protection.
55970 2012-07-27 David S. Miller <davem@davemloft.net>
55972 * sysdeps/sparc/fpu/libm-test-ulps: Update.
55974 2012-07-27 Gary Benson <gbenson@redhat.com>
55977 * elf/rtld.c: Include <stap-probe.h>.
55978 (dl_main): Added static probes "init_start" and "init_complete".
55979 * elf/dl-load.c: Include <stap-probe.h>.
55980 (lose): Take new parameter "nsid".
55981 Added static probe "map_failed".
55982 (_dl_map_object_from_fd): Pass namespace id to lose.
55983 Added static probe "map_start".
55984 (open_verify): Pass namespace id to lose.
55985 * elf/dl-open.c: Include <stap-probe.h>.
55986 (dl_open_worker) Added static probes "map_complete", "reloc_start"
55987 and "reloc_complete".
55988 * elf/dl-close.c: Include <stap-probe.h>.
55989 (_dl_close_worker): Added static probes "unmap_start" and
55991 * elf/rtld-debugger-interface.txt: New file documenting the above.
55993 2012-07-26 Roland McGrath <roland@hack.frob.com>
55995 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
55996 rather than a string variable.
55997 * sunrpc/rpc_main.c (h_output): Likewise.
55998 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
56000 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
56002 * inet/check_native.c: New file.
56004 2012-07-26 Joseph Myers <joseph@codesourcery.com>
56007 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
56008 if larger part has absolute value 1.0.
56009 * math/s_clog10.c (__clog10): Likewise.
56010 * math/s_clog10f.c (__clog10f): Likewise.
56011 * math/s_clog10l.c (__clog10l): Likewise.
56012 * math/s_clogf.c (__clogf): Likewise.
56013 * math/s_clogl.c (__clogl): Likewise.
56014 * math/libm-test.inc (clog_test): Add more tests.
56015 (clog10_test): Likewise.
56016 * sysdeps/i386/fpu/libm-test-ulps: Update.
56017 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56019 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
56020 (pltexit): Likewise.
56021 (La_regs): Likewise.
56022 (La_retval): Likewise.
56023 (int_retval): Likewise.
56024 Update #error for removed macros to refer only to definitions in
56026 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
56028 (pltexit): Likewise.
56029 (La_regs): Likewise.
56030 (La_retval): Likewise.
56031 (int_retval): Likewise.
56032 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
56034 (pltexit): Likewise.
56035 (La_regs): Likewise.
56036 (La_retval): Likewise.
56037 (int_retval): Likewise.
56038 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
56040 (pltexit): Likewise.
56041 (La_regs): Likewise.
56042 (La_retval): Likewise.
56043 (int_retval): Likewise.
56044 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
56046 (pltexit): Likewise.
56047 (La_regs): Likewise.
56048 (La_retval): Likewise.
56049 (int_retval): Likewise.
56050 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
56052 (pltexit): Likewise.
56053 (La_regs): Likewise.
56054 (La_retval): Likewise.
56055 (int_retval): Likewise.
56056 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
56058 (pltexit): Likewise.
56059 (La_regs): Likewise.
56060 (La_retval): Likewise.
56061 (int_retval): Likewise.
56062 * sysdeps/generic/tst-audit.h: Update comment to refer only to
56063 macro definitions in tst-audit.h.
56064 * sysdeps/i386/tst-audit.h: New file.
56065 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
56066 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
56067 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
56068 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
56069 * sysdeps/sh/tst-audit.h: Likewise.
56070 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
56071 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
56072 * sysdeps/x86_64/tst-audit.h: Likewise.
56074 2012-07-26 Andreas Jaeger <aj@suse.de>
56076 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
56079 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
56080 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
56081 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
56083 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
56084 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
56085 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
56087 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
56090 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
56092 (si_call_addr, si_syscall, si_arch): Define new macro.
56093 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
56095 (si_call_addr, si_syscall, si_arch): Define new marcro.
56096 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
56098 (si_call_addr, si_syscall, si_arch): Define new macro.
56099 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
56101 (si_call_addr, si_syscall, si_arch): Define new macro.
56103 2012-07-25 Joseph Myers <joseph@codesourcery.com>
56106 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
56107 Change to 2.4.21 where previously 2.4.1.
56108 * sysdeps/unix/sysv/linux/configure: Regenerated.
56109 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
56110 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
56111 Linux kernel version.
56112 (__ASSUME_STD_AUXV): Remove.
56113 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
56115 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
56116 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
56117 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
56118 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
56119 (__ASSUME_NETLINK_SUPPORT): Likewise.
56120 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
56121 (__no_netlink_support): Remove conditional definition.
56122 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
56124 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
56125 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
56126 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
56127 (if_nameindex_ioctl): Remove.
56128 (if_nameindex_netlink): Do not handle __no_netlink_support.
56129 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
56131 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
56132 Remove conditional code.
56133 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
56135 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
56137 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
56138 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
56139 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
56141 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
56142 [!__ASSUME_STD_AUXV]: Remove conditional code.
56143 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
56144 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
56145 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
56146 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
56147 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
56148 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
56150 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
56151 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
56152 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
56153 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
56155 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
56156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
56157 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
56159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
56160 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
56162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
56163 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
56164 code unconditional.
56165 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
56167 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
56169 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
56171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
56172 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
56174 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
56176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
56177 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
56178 code unconditional.
56179 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
56181 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
56183 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
56185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
56186 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
56187 code unconditional.
56188 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
56190 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
56192 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
56195 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
56197 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
56198 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
56199 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
56200 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
56201 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
56202 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
56203 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
56204 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
56205 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
56206 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
56207 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
56208 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
56209 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
56210 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
56211 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
56212 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
56213 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
56214 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
56215 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
56216 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
56217 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
56218 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
56219 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
56221 2012-07-25 Florian Weimer <fweimer@redhat.com>
56223 * Versions.def: Add GLIBC_2.17.
56224 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
56225 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
56226 Introduce __libc_secure_getenv.
56227 * stdlib/Versions (2.17): Add secure_getenv
56228 (GLIBC_PRIVATE): Add __libc_secure_getenv.
56229 * stdlib/secure-getenv.c: Rename __secure_getenv to
56230 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
56231 symbol __secure_getenv for GLIBC_2.0.
56232 * stdlib/tst-secure-getenv.c: New.
56233 * stdlib/Makefile (tests): Add testcase.
56234 * manual/startup.texi (Environment Access): Document
56236 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
56237 __libc_secure_getenv.
56238 * inet/ruserpass.c (ruserpass): Likewise.
56239 * malloc/mtrace.c (mtrace): Likewise.
56240 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
56241 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
56242 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
56243 * sysdeps/posix/tempname.c: Likewise. Evaluate
56244 HAVE_SECURE_GETENV.
56245 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
56246 __secure_getenv to __libc_secure_getenv.
56247 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
56248 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
56250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
56252 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
56253 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
56254 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
56255 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
56256 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
56257 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
56258 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
56260 2012-07-25 Joseph Myers <joseph@codesourcery.com>
56262 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
56263 (struct La_i86_retval): Likewise.
56264 (struct La_x86_64_regs): Likewise.
56265 (struct La_x86_64_retval): Likewise.
56266 (struct La_x32_regs): Likewise.
56267 (struct La_x32_retval): Likewise.
56268 (struct La_ppc32_regs): Likewise.
56269 (struct La_ppc32_retval): Likewise.
56270 (struct La_ppc64_regs): Likewise.
56271 (struct La_ppc64_retval): Likewise.
56272 (struct La_sh_regs): Likewise.
56273 (struct La_sh_retval): Likewise.
56274 (struct La_s390_32_regs): Likewise.
56275 (struct La_s390_32_retval): Likewise.
56276 (struct La_s390_64_regs): Likewise.
56277 (struct La_s390_64_retval): Likewise.
56278 (struct La_sparc32_regs): Likewise.
56279 (struct La_sparc32_retval): Likewise.
56280 (struct La_sparc64_regs): Likewise.
56281 (struct La_sparc64_retval): Likewise.
56282 (struct audit_ifaces): Remove architecture-specific pltenter and
56284 * sysdeps/i386/ldsodefs.h: New file.
56285 * sysdeps/powerpc/ldsodefs.h: Likewise.
56286 * sysdeps/s390/ldsodefs.h: Likewise.
56287 * sysdeps/sh/ldsodefs.h: Likewise.
56288 * sysdeps/sparc/ldsodefs.h: Likewise.
56289 * sysdeps/x86_64/ldsodefs.h: Likewise.
56291 2012-07-25 Marek Polacek <polacek@redhat.com>
56294 * math/libm-test.inc (yn_test): Add another test.
56295 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
56296 to ERANGE when the result is +-Inf.
56297 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
56298 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
56299 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
56300 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
56302 2012-07-24 Joseph Myers <joseph@codesourcery.com>
56304 * conform/data/time.h-data (NULL): Use macro-constant. Require
56306 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
56308 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
56310 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
56312 * configure.in <sysdeps resolving>: Correct printing
56314 * configure: Regenerate.
56316 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
56318 * math/w_ilogb.c: Include <limits.h>.
56319 * math/w_ilogbl.c: Likewise.
56321 2012-07-20 Joseph Myers <joseph@codesourcery.com>
56323 * manual/lang.texi (__va_copy): Document primarily as ISO C99
56324 va_copy. Document allowing for unavailable va_copy only as
56325 pre-C99 compatibility.
56326 * manual/string.texi (Copying and Concatenation): Use va_copy
56327 instead of __va_copy in concat example.
56329 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
56331 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
56332 (__sendto): Use create_address_port. Initialize APORT and deallocate
56335 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
56336 with O_NOLINK passed to __file_name_lookup.
56338 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
56339 with O_NOLINK passed to __file_name_lookup.
56341 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
56342 negative N or less than NGIDS.
56344 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
56345 type to string_t. Set ERANGE as errno and return it if NAME is not big
56346 enough. Use memcpy instead of strncpy.
56348 2012-07-20 Joseph Myers <joseph@codesourcery.com>
56350 * elf/Makefile (check-data): Remove.
56351 (localplt.data): New vpath directive.
56352 ($(objpfx)check-localplt.out): Use localplt.data from vpath
56353 instead of $(check-data).
56354 * scripts/data/localplt-generic.data: Move to ...
56355 * sysdeps/generic/localplt.data: ... here.
56356 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
56357 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
56358 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
56359 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
56361 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
56362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
56364 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
56365 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
56367 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
56368 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
56370 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
56371 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
56373 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
56374 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
56377 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56379 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
56380 PPC32 and PPC64 files.
56381 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
56382 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
56384 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
56386 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
56387 __makecontext_ret to ...
56388 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
56389 ... here and call exit if uc_link is NULL. New file.
56390 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
56391 __makecontext_ret.S.
56392 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
56393 __makecontext_ret to ...
56394 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
56395 ... here and call exit if uc_link is NULL. New file.
56396 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
56397 __makecontext_ret.S.
56399 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
56401 * elf/elf.h (R_390_IRELATIVE): New definition.
56402 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
56403 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
56404 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
56405 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
56406 (elf_machine_lazy_rel): Likewise.
56407 * sysdeps/s390/dl-irel.h: New file.
56408 * sysdeps/s390/s390-64/memcpy.S: New asm code.
56409 * sysdeps/s390/s390-64/memset.S: New asm code.
56410 * sysdeps/s390/s390-64/memcmp.S: New asm code.
56411 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
56412 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
56413 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
56414 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
56415 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
56416 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
56417 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
56418 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
56419 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
56420 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
56421 * sysdeps/s390/s390-32/memcpy.S: New asm code.
56422 * sysdeps/s390/s390-32/memset.S: New asm code.
56423 * sysdeps/s390/s390-32/memcmp.S: New asm code.
56425 2012-07-17 Marek Polacek <polacek@redhat.com>
56428 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
56429 * sysdeps/s390/s390-64/configure.in: Likewise.
56430 * sysdeps/sparc/configure.in: Likewise.
56431 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
56432 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
56433 * sysdeps/i386/configure.in: Likewise.
56434 * sysdeps/x86_64/configure.in: Likewise.
56435 * sysdeps/sh/configure.in: Likewise.
56436 * sysdeps/s390/s390-32/configure: Regenerated.
56437 * sysdeps/s390/s390-64/configure: Likewise.
56438 * sysdeps/x86_64/configure: Likewise.
56439 * sysdeps/sh/configure: Likewise.
56440 * sysdeps/powerpc/powerpc64/configure: Likewise.
56441 * sysdeps/powerpc/powerpc32/configure: Likewise.
56442 * sysdeps/sparc/configure: Likwise.
56443 * sysdeps/i386/configure: Likewise.
56445 * elf/dl-open.c: Comment fixes.
56447 2012-07-17 Joseph Myers <joseph@codesourcery.com>
56449 * Makefile [CXX] (check-data): Remove.
56450 [CXX] (c++-types.data): New vpath directive.
56451 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
56452 vpath. Do not allow for C++ type data being missing.
56453 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
56454 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
56455 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
56456 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
56457 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
56458 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
56459 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
56460 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
56462 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
56463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
56465 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
56466 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
56468 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
56469 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
56471 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
56472 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
56474 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
56475 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
56477 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
56478 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
56480 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
56481 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
56483 * elf/tls-macros.h (TLS_LE): Move architecture-specific
56484 definitions to architecture-specific files.
56485 (TLS_IE): Likewise.
56486 (TLS_LD): Likewise.
56487 (TLS_GD): Likewise.
56488 * sysdeps/i386/tls-macros.h: New file.
56489 * sysdeps/powerpc/tls-macros.h: Likewise.
56490 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
56491 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
56492 * sysdeps/sh/tls-macros.h: Likewise.
56493 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
56494 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
56495 * sysdeps/x86_64/tls-macros.h: Likewise.
56497 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
56499 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
56500 zero value for regular exit case.
56502 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
56503 (__start_context): Preserve zero value for regular exit case.
56505 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
56506 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
56508 * manual/setjmp.texi (setcontext): Clarify normal process
56509 termination when uc_link is the null pointer.
56510 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
56513 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
56515 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
56516 preprocessor. Test for each exception mask separately.
56518 2012-07-16 Andreas Jaeger <aj@suse.de>
56520 * po/ru.po: Update from translation team.
56522 2012-07-15 Joseph Myers <joseph@codesourcery.com>
56524 * conform/data/string.h-data (NULL): Use macro-constant. Require
56526 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
56527 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
56528 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
56529 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
56530 [ISO || ISO99 || ISO11] (*_t): Do not allow.
56532 2012-07-13 Andreas Jaeger <aj@suse.de>
56534 * po/fr.po: Update from translation team.
56536 2012-07-12 Marek Polacek <polacek@redhat.com>
56539 * math/libm-test.inc (yn_test): Add test for BZ #14173.
56540 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
56543 2012-07-12 Joseph Myers <joseph@codesourcery.com>
56546 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
56547 Change to 2.4.1 where previously 2.4.0.
56548 * sysdeps/unix/sysv/linux/configure: Regenerated.
56549 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
56550 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
56552 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
56553 (__ASSUME_AT_CLKTCK): Remove.
56554 (__ASSUME_AT_PAGESIZE): Likewise.
56555 (__ASSUME_AT_XID): Likewise.
56556 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
56557 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
56558 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
56560 (HAVE_AUX_PAGESIZE): Likewise.
56561 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
56562 [__ASSUME_AT_CLKTCK]: Make code unconditional.
56563 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
56565 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
56568 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
56569 the temporary buffer used to invoke __gethostbyname2_r,
56570 __gethostbyaddr_r and gethostbyname4_r to make room for struct
56571 host_data / struct gaih_addrtuple.
56572 * resolv/nss_dns/dns-host.c (global scope): Move definition of
56573 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
56574 header file nss/nsswitch.h.
56575 * nss/nsswitch.h (global scope): Add definition of implementation
56576 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
56577 resolv/nss_dns/dns-host.c).
56579 2012-07-11 Andreas Jaeger <aj@suse.de>
56581 * po/fr.po: Update from translation team.
56583 * po/sv.po: Update from translation team
56584 * po/fr.po: Another update from translation team.
56586 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56588 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
56589 for subnormals or multiply small sinh result by itself.
56590 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
56591 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56593 2012-07-11 David S. Miller <davem@davemloft.net>
56595 * sysdeps/sparc/fpu/libm-test-ulps: Update.
56597 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
56600 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
56601 (INTERNAL_MARK): Shift it here.
56603 2012-07-10 Marek Polacek <polacek@redhat.com>
56606 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
56607 libc_cv_asm_global_directive with .globl.
56608 * configure: Regenerated.
56609 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
56611 * sysdeps/i386/configure: Regenerated.
56612 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
56614 * sysdeps/x86_64/configure: Regenerated.
56615 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
56616 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
56617 * elf/tst-unique2mod2.c: Likewise.
56618 * elf/tst-unique2mod1.c: Likewise.
56619 * elf/tst-unique1mod2.c: Likewise.
56620 * elf/tst-unique1mod1.c: Likewise.
56621 * sysdeps/s390/s390-32/sysdep.h: Likewise.
56622 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
56623 * sysdeps/s390/s390-64/sysdep.h: Likewise.
56624 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
56625 * sysdeps/mach/sysdep.h: Likewise.
56626 * sysdeps/i386/sysdep.h: Likewise.
56627 * sysdeps/i386/i386-mcount.S: Likewise.
56628 * sysdeps/x86_64/_mcount.S: Likewise.
56629 * sysdeps/x86_64/sysdep.h: Likewise.
56630 * sysdeps/sh/_mcount.S: Likewise.
56631 * sysdeps/sh/sysdep.h: Likewise.
56632 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
56633 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
56634 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
56635 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
56636 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
56637 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
56638 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
56639 * locale/localeinfo.h: Likewise.
56640 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
56641 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
56643 2012-07-09 Roland McGrath <roland@hack.frob.com>
56646 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
56648 * manual/message.texi (The Uniforum approach): Likewise.
56649 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
56650 (glibc iconv Implementation): Likewise.
56652 2012-07-09 Joseph Myers <joseph@codesourcery.com>
56655 * math/s_clog.c (__clog): Avoid scaling a value down where that
56656 could result in underflow.
56657 * math/s_clog10.c (__clog10): Likewise.
56658 * math/s_clog10f.c (__clog10f): Likewise.
56659 * math/s_clog10l.c (__clog10l): Likewise.
56660 * math/s_clogf.c (__clogf): Likewise.
56661 * math/s_clogl.c (__clogl): Likewise.
56662 * math/libm-test.inc (clog_test): Add more tests.
56663 (clog10_test): Likewise.
56664 * sysdeps/i386/fpu/libm-test-ulps: Update.
56665 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56667 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
56670 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
56671 by 7 not 8 to examine high bit of fractional part.
56674 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
56675 for call to __mcount_internal.
56676 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
56677 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
56678 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
56680 2012-07-06 Joseph Myers <joseph@codesourcery.com>
56683 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
56684 approximation for values within 0x1p-13f of an odd multiple of
56686 * math/libm-test.inc (tan_test): Do not allow spurious underflow
56687 exception. Add more tests.
56688 * sysdeps/i386/fpu/libm-test-ulps: Update.
56691 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
56692 inputs and return -1 for them. Do not check for +Inf in case not
56693 reachable for +Inf.
56694 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
56695 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
56696 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
56697 and return -1 for them. Do not check for +Inf in case not
56698 reachable for +Inf.
56699 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
56701 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
56702 and return -1 for them. Do not check for +Inf in case not
56703 reachable for +Inf.
56704 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
56705 spurious underflow.
56706 * sysdeps/i386/fpu/libm-test-ulps: Update.
56707 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56709 2012-07-06 Mike Frysinger <vapier@gentoo.org>
56711 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
56713 2012-07-05 Joseph Myers <joseph@codesourcery.com>
56717 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
56718 could result in spurious underflow. Scale down values above
56719 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
56720 * math/s_csqrtf.c (__csqrtf): Likewise.
56721 * math/s_csqrtl.c (__csqrtl): Likewise.
56722 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
56723 spurious underflow.
56724 * sysdeps/i386/fpu/libm-test-ulps: Update.
56725 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56727 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
56729 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
56731 * catgets/xopen-msg.awk: New file.
56732 * catgets/xopen-msg.sed: Removed.
56734 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
56736 * intl/po2test.awk: New file.
56737 * intl/po2test.sed: Removed.
56739 2012-07-04 Joseph Myers <joseph@codesourcery.com>
56742 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
56743 or multiply small sinh result by itself.
56744 * math/s_ctanf.c (__ctanf): Likewise.
56745 * math/s_ctanh.c (__ctanh): Likewise.
56746 * math/s_ctanhf.c (__ctanhf): Likewise.
56747 * math/s_ctanhl.c (__ctanhl): Likewise.
56748 * math/s_ctanl.c (__ctanl): Likewise.
56749 * math/libm-test.inc (ctan_test_tonearest): New function.
56750 (ctan_test_towardzero): Likewise.
56751 (ctan_test_downward): Likewise.
56752 (ctan_test_upward): Likewise.
56753 (ctanh_test_tonearest): Likewise.
56754 (ctanh_test_towardzero): Likewise.
56755 (ctanh_test_downward): Likewise.
56756 (ctanh_test_upward): Likewise.
56757 (main): Call these new functions.
56758 * sysdeps/i386/fpu/libm-test-ulps: Update.
56759 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56761 2012-07-03 Mike Frysinger <vapier@gentoo.org>
56763 * .gitignore: Delete /ports entry.
56765 2012-07-03 Andreas Jaeger <aj@suse.de>
56767 * po/bg.po: Update from translation team.
56768 * po/cs.po: Likewise.
56769 * po/de.po: Likewise.
56770 * po/hr.po: Likewise.
56771 * po/nl.pl: Likewise.
56772 * po/pl.po: Likewise.
56773 * po/vi.po: Likewise.
56775 2012-07-03 Joseph Myers <joseph@codesourcery.com>
56777 * Makeconfig [!+link] (+link-before-libc): New variable.
56778 [!+link] (+link-after-libc): Likewise.
56779 [!+link] (+link-tests): Likewise.
56780 [!+link] (+link): Define in terms of $(+link-before-libc) and
56781 $(+link-after-libc).
56782 [!+link-static] (+link-static-before-libc): New variable.
56783 [!+link-static] (+link-static-after-libc): Likewise.
56784 [!+link-static] (+link-static-tests): Likewise.
56785 [!+link-static] (+link-static): Define in terms of
56786 $(+link-static-before-libc) and $(+link-static-after-libc).
56787 [build-shared] (link-libc-before-gnulib): New variable.
56788 [build-shared] (link-libc-tests): Likewise.
56789 [build-shared] (link-libc): Define in terms of
56790 $(link-libc-before-gnulib).
56791 [!build-shared] (link-libc-tests): New variable.
56792 (link-libc-static-tests): New variable.
56793 [!gnulib] (gnulib-arch): New variable.
56794 [!gnulib] (gnulib-tests): Likewise.
56795 [!gnulib] (static-gnulib-arch): Likewise.
56796 [!gnulib] (static-gnulib-tests): Likewise.
56797 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
56798 Define with "=" instead of ":=".
56799 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
56800 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
56801 * Rules (binaries-all-notests): New variable.
56802 (binaries-all-tests): Likewise.
56803 (binaries-static-notests): Likewise.
56804 (binaries-static-tests): Likewise.
56805 (binaries-all): Define using $(binaries-all-notests) and
56806 $(binaries-all-tests).
56807 (binaries-static): Define using $(binaries-static-notests) and
56808 $(binaries-static-tests).
56809 (binaries-shared-tests): New variable.
56810 (binaries-shared-notests): Likewise.
56811 (binaries-shared): Remove variable.
56812 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
56813 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
56814 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
56815 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
56816 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
56817 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
56818 * elf/Makefile (sln-modules): New variable.
56819 (extra-objs): Add $(sln-modules:=.o).
56820 (ldconfig-modules): Add static-stubs.
56821 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
56822 * elf/static-stubs.c: New file.
56825 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
56826 by 7 not 8 to examine high bit of fractional part. Use volatile
56827 variables when splitting into final array of floats if
56828 __FLT_EVAL_METHOD__ != 0.
56829 * math/libm-test.inc (cos_test): Add another test.
56830 (sin_test): Likewise.
56831 * sysdeps/i386/fpu/libm-test-ulps: Update.
56834 * math/libm-test.inc (cosh_test): Add more tests.
56836 * version.h (RELEASE): Set to "development".
56837 (VERSION): Set to "2.16.90".
56839 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
56841 * NEWS: Update copyright. Remove last-updated date.
56842 Mention math library bug fixes and timezone data changes.
56843 * README: Mention GNU/Hurd, x32, and HPPA support status.
56845 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
56847 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
56849 2012-06-27 Andreas Jaeger <aj@suse.de>
56851 * manual/contrib.texi (Contributors): Add Samuel Thibault.
56853 2012-06-25 Andreas Jaeger <aj@suse.de>
56855 * sysdeps/s390/fpu/libm-test-ulps: Update.
56857 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
56858 Thomas Schwinge <thomas@codesourcery.com>
56860 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
56861 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
56862 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
56865 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
56867 * sysdeps/mach/start.c: Remove file.
56868 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
56869 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
56870 * sysdeps/sh/init-first.c: Likewise.
56872 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
56873 registers for frame unwinding purposes, add CFI directives.
56874 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
56875 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
56876 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
56879 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
56880 __fortify_fail returning.
56881 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
56883 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
56884 sysdeps/sh/____longjmp_chk.S.
56885 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
56886 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
56887 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
56888 (gen-as-const-headers): Append sigaltstack-offsets.sym.
56890 * sysdeps/sh/abort-instr.h: New file.
56891 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
56892 process in case exit returns.
56894 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
56895 initialize the GOT register before use.
56897 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
56898 calculation of ARGC > 4.
56900 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
56901 meaningful names to some local labels.
56903 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
56904 Kaz Kojima <kkojima@rr.iij4u.or.jp>
56906 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
56907 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
56908 (__arch_compare_and_exchange_val_16_acq): Likewise.
56909 (__arch_compare_and_exchange_val_32_acq): Likewise.
56910 (atomic_exchange_and_add): Fix gUSA sequence.
56911 (atomic_add): Likewise.
56912 (atomic_add_negative): Likewise.
56913 (atomic_add_zero): Likewise.
56914 (atomic_bit_test_set): Likewise.
56916 2012-06-22 Andreas Schwab <schwab@redhat.com>
56919 * include/link.h (struct link_map): Add l_free_initfini.
56920 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
56922 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
56923 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
56924 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
56927 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
56929 * configure.in: Use AC_LANG_SOURCE.
56930 * configure: Regenerate.
56932 2012-06-22 Roland McGrath <roland@hack.frob.com>
56934 * configure.in (libc_cv_localstatedir): New substituted variable.
56935 * configure: Regenerated.
56936 * config.make.in (localstatedir): New variable, substituted from
56937 libc_cv_localstatedir.
56938 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
56939 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
56940 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
56941 * sysdeps/gnu/configure: Regenerated.
56943 2012-06-21 Jeff Law <law@redhat.com>
56946 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
56947 free. Simplify list management for _LIBC case.
56949 2012-06-21 Joseph Myers <joseph@codesourcery.com>
56952 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
56953 Clear sign bit of 64-bit integer value before comparing against
56956 * sysdeps/mach/configure: Regenerated.
56958 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
56961 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
56963 2012-06-21 Jeff Law <law@redhat.com>
56966 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
56967 uint16_t for elements in the "seen" array to avoid char overflows.
56968 * elf/dl-fini.c (_dl_sort_fini): Likewise.
56969 * elf/dl-open.c (dl_open_worker): Likewise.
56971 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
56973 * scripts/list-sources.sh: Scan PORTS for translations.
56974 * po/libc.pot: Regenerated.
56976 2012-06-21 Andreas Jaeger <aj@suse.de>
56979 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
56981 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
56982 * bits/byteswap-16.h (__bswap_16): Likewise.
56983 * bits/byteswap.h (__bswap_constant_16): Likewise.
56985 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
56988 * sysdeps/i386/fpu_control.h: Removed.
56989 * sysdeps/x86_64/fpu_control.h: Moved to ...
56990 * sysdeps/x86/fpu_control.h: Here.
56992 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
56993 (_FPU_SETCW): Likewise.
56995 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
56998 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
56999 * sysdeps/x86/fpu/bits/mathinline.h: This.
57000 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
57004 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
57005 functions if __x86_64__ is defined.
57007 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
57009 * string/endian.h: Add !__ASSEMBLER__ condition for including
57010 conversion interfaces.
57012 2012-06-15 Joseph Myers <joseph@codesourcery.com>
57015 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
57016 of ABS(x) in calculating zero to negative powers other than odd
57018 * math/libm-test.inc (pow_test): Add more tests.
57020 2012-06-15 Andreas Jaeger <aj@suse.de>
57022 * manual/contrib.texi (Contributors): Update entry of Liubov
57023 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
57026 2012-06-15 Cyril Hrubis <metan@ucw.cz>
57028 * string/string.h: Add __wur to GNU version of strerror_r.
57030 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
57033 * string/Makefile (tests): Add tst-strtok_r.
57034 * string/tst-strtok_r.c: New file.
57035 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
57036 RAX_LP/RDX_LP on SAVE_PTR.
57038 2012-06-14 Roland McGrath <roland@hack.frob.com>
57040 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
57042 2012-06-14 Joseph Myers <joseph@codesourcery.com>
57044 * libm_test.inc (csqrt_test): Allow more spurious underflow
57046 (j0_test): Likewise.
57047 (j1_test): Likewise.
57048 (y0_test): Likewise.
57049 (y1_test): Likewise.
57051 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
57053 * po/Makefile (libc.pot): Use UTF-8 charset.
57055 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
57058 Suppress sign-conversion warning from FD_SET.
57059 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
57060 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
57061 not unsigned long int.
57062 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
57064 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
57068 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
57069 __extern_always_inline instead of __extern_inline.
57070 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
57071 (__signbit): Likewise.
57072 (__signbitl): Support C++ namespace.
57073 (lrintf): New inline function.
57075 (llrintf): Likewise.
57076 (llrint): Likewise.
57086 (floorf): Likewise.
57087 (nearbyint): Likewise.
57088 (nearbyintf): Likewise.
57090 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
57092 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
57093 non-default versions.
57095 2012-06-11 Roland McGrath <roland@hack.frob.com>
57098 * manual/argp.texi (Argp): Reword argp_parse description slightly.
57100 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
57102 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
57103 (FE_UPWARD, FE_DOWNWARD): Don't define.
57104 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
57105 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
57107 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
57109 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
57110 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
57112 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
57114 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
57115 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
57116 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
57117 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
57119 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
57122 * sysdeps/i386/fpu/bits/fenv.h: Removed.
57123 * sysdeps/i386/fpu/Implies: New file.
57124 * sysdeps/x86_64/fpu/Implies: Likewise.
57125 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
57126 * sysdeps/x86/fpu/bits/fenv.h: This.
57128 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
57131 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
57134 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
57135 character 0xffff that matches the last element of the
57138 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57140 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
57143 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57145 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
57146 values higher than 25.6283.
57148 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57150 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
57151 subnormal exponent extraction and add some __builtin_expect.
57152 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
57153 Fix for subnormal mantissa calculation.
57155 2012-06-04 Mike Frysinger <vapier@gentoo.org>
57157 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
57158 cpu2 is -1 and errno is not ENOSYS.
57160 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
57163 * sysdeps/i386/i486/bits/string.h: Renamed to ...
57164 * sysdeps/x86/bits/string.h: This.
57165 * sysdeps/x86_64/bits/string.h: Removed.
57167 * sysdeps/i386/i486/bits/string.h: Define inline functions only
57168 if not compiling for x86-64, but compiling for >= i486.
57170 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
57171 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
57173 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
57174 New macro from Linux kernel 3.4.0.
57175 (FP_XSTATE_MAGIC2): Likewise.
57176 (FP_XSTATE_MAGIC2_SIZE): Likewise.
57177 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
57178 (struct _fpx_sw_bytes): New struct.
57179 (struct _xsave_hdr): Likewise.
57180 (struct _ymmh_state): Likewise.
57181 (struct _xstate): Likewise.
57183 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
57184 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
57185 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
57186 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
57187 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
57188 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
57190 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
57191 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
57192 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
57193 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
57194 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
57195 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
57197 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
57200 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
57201 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
57202 (sysdep_headers): Include sys/platform/ppc.h.
57203 * sysdeps/powerpc/test-gettimebase.c: Test for
57204 __ppc_get_timebase() to catch future ISA opcode/insn changes.
57205 * manual/Makefile (appendices): Include platform.texi.
57206 * manual/contrib.texi (Contributors): Update @node pointers.
57207 * manual/maint.texi (Maintenance): Likewise.
57208 (Platform): New node.
57209 * manual/platform.texi: New file. Document the new features.
57211 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
57212 Jakub Jelinek <jakub@redhat.com>
57215 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
57216 where __builtin_expect is unavailable.
57218 2012-06-03 David S. Miller <davem@davemloft.net>
57220 * stdlib/longlong.h: Updated from GCC.
57222 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
57225 * sysdeps/powerpc/powerpc32/mcount.c: New file.
57226 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
57228 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
57229 (GLIBC_2.16): Likewise.
57231 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
57233 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
57235 2012-06-01 Joseph Myers <joseph@codesourcery.com>
57237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
57238 (default-abi): New variable.
57239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
57240 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
57242 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
57244 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
57246 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
57249 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
57250 definition. Document in comment.
57252 2012-06-01 David S. Miller <davem@davemloft.net>
57254 * stdlib/longlong.h: Updated from GCC.
57256 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
57259 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
57260 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
57261 sys/debugreg.h sys/io.h here.
57262 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
57263 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
57265 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
57266 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
57267 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
57268 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
57269 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
57270 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
57272 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
57273 Define only if __x86_64__ is defined.
57275 2012-06-01 Joseph Myers <joseph@codesourcery.com>
57278 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
57279 Use int64_t for variable i.
57280 * math/libm-test.inc (fmod_test): Add more tests.
57282 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
57283 z computation is not scheduled after fetestexcept.
57284 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
57285 Use math_force_eval instead of asm to ensure calculation scheduled
57286 before exception test.
57287 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
57288 Ensure a1 + u.d computation is not scheduled after fetestexcept.
57290 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
57292 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
57293 computation is not scheduled after fetestexcept.
57295 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
57298 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
57299 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
57301 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57303 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
57304 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
57306 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
57309 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
57311 (__WCHAR_MIN): Support __WORDSIZE == 64.
57312 (__WCHAR_MAX): Likewise.
57314 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
57315 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
57318 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
57319 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
57322 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
57323 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
57325 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
57326 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
57328 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
57329 Defined to 1 if __x86_64__ isn't defined.
57330 (_STAT_VER_LINUX_OLD): New.
57331 (st_atime): Remove duplicate.
57332 (st_mtime): Likewise.
57333 (st_ctime): Likewise.
57335 2012-05-31 David S. Miller <davem@davemloft.net>
57337 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
57340 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
57342 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
57346 * elf/dl-reloc.c: Include <_itoa.h>.
57347 (_dl_reloc_bad_type): Remove use of INTUSE.
57348 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
57349 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
57350 * stdio-common/psiginfo.c (psiginfo): Likewise.
57351 * stdio-common/psignal.c (psignal): Likewise.
57352 * string/strsignal.c (strsignal): Likewise.
57353 * include/signal.h (_sys_siglist): Declare hidden proto.
57354 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
57355 INTVARDEF with libc_hidden_data_def.
57356 * stdio-common/itoa-udigits.c: Likewise.
57357 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
57358 (_itoa_lower_digits_internal): Remove declaration.
57359 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
57360 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
57361 (_sys_sigabbrev_internal): Remove aliases.
57362 (_sys_siglist): Define hidden alias.
57364 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
57366 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
57369 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
57372 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
57373 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
57375 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
57376 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
57377 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
57378 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
57379 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
57380 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
57382 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
57383 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
57384 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
57386 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
57394 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
57395 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
57396 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
57398 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
57399 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
57400 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
57401 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
57402 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
57403 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
57405 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
57406 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
57408 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
57409 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
57411 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
57412 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
57413 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
57415 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
57416 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
57418 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
57420 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
57421 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
57422 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
57424 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
57426 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
57428 2012-05-31 Joseph Myers <joseph@codesourcery.com>
57430 * math/math.h (M_El): Use two more decimal places.
57431 (M_LOG2El): Likewise.
57432 (M_LOG10El): Likewise.
57433 (M_LN2l): Likewise.
57434 (M_LN10l): Likewise.
57436 (M_PI_2l): Likewise.
57437 (M_PI_4l): Likewise.
57438 (M_1_PIl): Likewise.
57439 (M_2_PIl): Likewise.
57440 (M_2_SQRTPIl): Likewise.
57441 (M_SQRT2l): Likewise.
57442 (M_SQRT1_2l): Likewise.
57444 2012-05-31 David S. Miller <davem@davemloft.net>
57446 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
57447 values between float registers.
57448 * sysdeps/sparc/sparc64/memset.S: Likewise.
57449 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
57451 2012-05-31 Mike Frysinger <vapier@gentoo.org>
57453 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
57454 -D_FORTIFY_SOURCE=1.
57455 (CPPFLAGS-tst-longjmp_chk.c): Define.
57456 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
57457 (CPPFLAGS-tst-longjmp_chk2.c): Define.
57458 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
57459 CFLAGS-tst-wchar-h.c.
57461 2012-05-31 Marek Polacek <polacek@redhat.com>
57464 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
57465 __endmntent_internal): Remove declaration.
57466 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
57467 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
57468 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
57470 2012-05-30 David S. Miller <davem@davemloft.net>
57472 * sysdeps/sparc/sparc32/soft-fp/q_util.c
57473 (___Q_simulate_exceptions): Use real FP ops rather than writing
57475 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
57478 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
57481 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
57482 * sysdeps/x86/bits/xtitypes.h: This.
57484 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
57485 * sysdeps/x86/bits/wordsize.h: This.
57487 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
57488 * sysdeps/x86/bits/huge_vall.h: This.
57490 * sysdeps/i386/bits/select.h: Removed.
57491 * sysdeps/x86_64/bits/select.h: Renamed to ...
57492 * sysdeps/x86/bits/select.h: This.
57494 * sysdeps/i386/bits/setjmp.h: Removed.
57495 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
57496 * sysdeps/x86/bits/setjmp.h: This.
57498 * sysdeps/i386/bits/mathdef.h: Removed.
57499 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
57500 * sysdeps/x86/bits/mathdef.h: This.
57502 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
57505 * include/sys/socket.h (__connect_internal)
57506 (__libc_sa_len_internal): Remove declaration.
57507 (__connect, __libc_sa_len): Declare hidden_proto.
57508 (SA_LEN): Remove use of INTUSE.
57509 * socket/connect.c: Add libc_hidden_def.
57510 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
57511 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
57512 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
57514 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
57515 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
57516 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
57517 of adding _internal alias.
57519 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
57522 * sysdeps/i386/bits/link.h: Removed.
57523 * sysdeps/i386/bits/linkmap.h: Likewise.
57524 * sysdeps/x86_64/bits/link.h: Renamed to ...
57525 * sysdeps/x86/bits/link.h: This.
57526 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
57527 * sysdeps/x86/bits/linkmap.h: This.
57529 * sysdeps/i386/bits/endian.h: Removed.
57530 * sysdeps/x86_64/bits/endian.h: Renamed to ...
57531 * sysdeps/x86/bits/endian.h: This.
57533 * sysdeps/i386/bits/byteswap.h: Removed.
57534 * sysdeps/i386/bits/byteswap-16.h: Likewise.
57535 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
57536 * sysdeps/x86/bits/byteswap.h: This.
57537 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
57538 * sysdeps/x86/bits/byteswap-16.h: This.
57539 * sysdeps/i386/Implies: Add x86.
57540 * sysdeps/x86_64/Implies: Likewise.
57542 2012-05-30 David S. Miller <davem@davemloft.net>
57544 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
57545 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
57546 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
57547 (FP_TRAPPING_EXCEPTIONS): Define.
57548 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
57549 (FP_TRAPPING_EXCEPTIONS): Define.
57550 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
57551 subnormals only when inexact has been signalled or underflow
57552 exceptions are enabled.
57553 (_FP_PACK_CANONICAL): Likewise.
57555 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
57558 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
57559 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
57561 2012-05-30 Richard Henderson <rth@twiddle.net>
57563 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
57564 with #ifndef NOT_IN_libc.
57566 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
57567 marked to avoid plt entry.
57569 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
57572 * Makeconfig (default-abi): New macro.
57573 (abi-includes): Likewise.
57574 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
57575 $(abi-$(default-abi)-lib-soname) for soname if defined.
57576 ($(common-objpfx)gnu/lib-names.stmp): Generate from
57578 * Makefile (installed-stubs): Likewise.
57579 * include/stubs-biarch.h: Removed.
57580 * scripts/lib-names.awk: Only handle one library at a time.
57581 * scripts/soversions.awk: Remove WORDSIZE support.
57582 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
57584 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
57586 (syscall-list-default-condition): Likewise.
57587 (syscall-list-default-condition): Likewise.
57588 (syscall-list-includes): Likewise.
57589 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
57590 syscall-list-* with abi-*. Handle undefined abi-variants.
57591 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
57592 * sysdeps/unix/sysv/linux/i386/Implies: New file.
57593 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
57594 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
57595 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
57596 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
57598 (syscall-list-32-options): Likewise.
57599 (syscall-list-32-condition): Likewise.
57600 (syscall-list-64-options): Likewise.
57601 (syscall-list-64-condition): Likewise.
57602 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
57604 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
57607 (abi-64-ld-soname): New macro.
57608 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
57609 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
57612 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
57613 * sysdeps/x86_64/x32/shlib-versions: Likewise.
57615 2012-05-30 Joseph Myers <joseph@codesourcery.com>
57617 * sysdeps/unix/sysv/linux/kernel-features.h
57618 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
57619 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
57620 include <kernel-features.h>.
57621 [!__NR_ftruncate64]: Remove conditional code.
57622 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
57623 [__NR_ftruncate64]: Make code unconditional.
57624 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
57625 * sysdeps/unix/sysv/linux/truncate64.c: Do not
57626 include <kernel-features.h>.
57627 [!__NR_ftruncate64]: Remove conditional code.
57628 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
57629 [__NR_ftruncate64]: Make code unconditional.
57630 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
57631 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
57632 include <kernel-features.h>.
57633 [!__NR_ftruncate64]: Remove conditional code.
57634 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
57635 [__NR_ftruncate64]: Make code unconditional.
57636 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
57637 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
57638 include <kernel-features.h>.
57639 [!__NR_ftruncate64]: Remove conditional code.
57640 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
57641 [__NR_ftruncate64]: Make code unconditional.
57642 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
57644 * configure.in (libc_cv_fpie): Weaken to a compile test using
57645 LIBC_TRY_CC_OPTION.
57646 * configure: Regenerated.
57648 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
57650 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
57651 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
57652 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
57653 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
57655 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
57656 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
57657 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
57658 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
57659 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
57660 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
57663 2012-05-27 David S. Miller <davem@davemloft.net>
57665 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
57667 (__Q_simulate_exceptions): Return void. Change to simulate
57668 exceptions by writing into the %fsr.
57669 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
57670 (__Qp_handle_exceptions): Likewise.
57672 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
57673 __Qp_handle_exceptions.
57674 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
57675 __Qp_handle_exceptions.
57676 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
57677 as unused and give dummy FP_RND_NEAREST initializer.
57678 (FP_INHIBIT_RESULTS): Define.
57679 (___Q_simulate_exceptions): Update declaration.
57680 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
57682 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
57683 as unused and give dummy FP_RND_NEAREST initializer.
57684 (__Qp_handle_exceptions): Update declaration.
57685 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
57688 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
57690 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
57691 the temporary FPU control word.
57692 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
57693 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
57694 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
57695 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
57696 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
57697 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
57698 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
57699 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
57700 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
57701 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
57702 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
57704 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
57706 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
57709 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
57711 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
57712 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
57713 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
57714 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
57716 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
57717 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
57720 2012-05-27 Ulrich Drepper <drepper@gmail.com>
57722 * po/h.po: Update from translation team.
57724 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
57726 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
57728 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
57729 handling of denormals.
57730 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
57731 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
57732 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
57733 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
57734 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
57735 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
57736 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
57739 2012-05-26 Marek Polacek <polacek@redhat.com>
57742 * math/libm-test.inc (fma_test): Don't always expect underflow
57745 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
57748 * elf/tst-execstack.c: Include stackinfo.h.
57749 (do_test): Adjust test case to ensure that pthread_getattr_np
57750 behaviour remains the same after marking stack executable.
57752 2012-05-25 Joseph Myers <joseph@codesourcery.com>
57754 * sysdeps/unix/sysv/linux/kernel-features.h
57755 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
57756 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
57758 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
57759 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
57760 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
57762 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
57763 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
57765 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
57767 * configure.in: Define the default includes to being none.
57768 * configure: Regenerated.
57770 2012-05-25 Roland McGrath <roland@hack.frob.com>
57772 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
57773 * sysdeps/x86_64/setjmp.S: Likewise.
57774 * sysdeps/i386/bsd-setjmp.S: Likewise.
57775 * sysdeps/i386/bsd-_setjmp.S: Likewise.
57776 * sysdeps/i386/setjmp.S: Likewise.
57777 * sysdeps/i386/__longjmp.S: Likewise.
57778 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
57779 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
57781 * include/stap-probe.h: New file.
57782 * configure.in: Handle --enable-systemtap.
57783 * configure: Regenerated.
57784 * config.h.in (USE_STAP_PROBE): New #undef.
57785 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
57786 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
57787 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
57789 2012-05-25 Joseph Myers <joseph@codesourcery.com>
57792 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
57793 to 2.4.0 where earlier.
57794 * sysdeps/unix/sysv/linux/configure: Regenerated.
57795 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
57796 <kernel-features.h>.
57797 [__ASSUME_32BITUIDS]: Make code unconditional.
57798 [!__ASSUME_32BITUIDS]: Remove conditional code.
57799 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
57800 <kernel-features.h>.
57801 [__ASSUME_32BITUIDS]: Make code unconditional.
57802 [!__ASSUME_32BITUIDS]: Remove conditional code.
57803 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
57804 [__ASSUME_32BITUIDS]: Make code unconditional.
57805 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
57806 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
57807 <kernel-features.h>.
57808 [__ASSUME_32BITUIDS]: Make code unconditional.
57809 [!__ASSUME_32BITUIDS]: Remove conditional code.
57810 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
57811 <kernel-features.h>.
57812 [__ASSUME_32BITUIDS]: Make code unconditional.
57813 [!__ASSUME_32BITUIDS]: Remove conditional code.
57814 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
57815 <kernel-features.h>.
57816 [__ASSUME_32BITUIDS]: Make code unconditional.
57817 [!__ASSUME_32BITUIDS]: Remove conditional code.
57818 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
57819 <kernel-features.h>.
57820 [__ASSUME_32BITUIDS]: Make code unconditional.
57821 [!__ASSUME_32BITUIDS]: Remove conditional code.
57822 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
57823 <kernel-features.h>.
57824 [__ASSUME_32BITUIDS]: Make code unconditional.
57825 [!__ASSUME_32BITUIDS]: Remove conditional code.
57826 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
57827 <kernel-features.h>.
57828 [__ASSUME_32BITUIDS]: Make code unconditional.
57829 [!__ASSUME_32BITUIDS]: Remove conditional code.
57830 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
57831 <kernel-features.h>.
57832 [__ASSUME_32BITUIDS]: Make code unconditional.
57833 [!__ASSUME_32BITUIDS]: Remove conditional code.
57834 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
57835 <kernel-features.h>.
57836 [__ASSUME_32BITUIDS]: Make code unconditional.
57837 [!__ASSUME_32BITUIDS]: Remove conditional code.
57838 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
57839 <kernel-features.h>.
57840 [__ASSUME_32BITUIDS]: Make code unconditional.
57841 [!__ASSUME_32BITUIDS]: Remove conditional code.
57842 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
57843 <kernel-features.h>.
57844 [__ASSUME_32BITUIDS]: Make code unconditional.
57845 [!__ASSUME_32BITUIDS]: Remove conditional code.
57846 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
57847 <kernel-features.h>.
57848 [__NR_setresgid] (__setresgid): Do not declare.
57849 [__ASSUME_32BITUIDS]: Make code unconditional.
57850 [!__ASSUME_32BITUIDS]: Remove conditional code.
57851 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
57852 <kernel-features.h>.
57853 [__NR_setresuid] (__setresuid): Do not declare.
57854 [__ASSUME_32BITUIDS]: Make code unconditional.
57855 [!__ASSUME_32BITUIDS]: Remove conditional code.
57856 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
57857 <kernel-features.h>.
57858 [__ASSUME_32BITUIDS]: Make code unconditional.
57859 [!__ASSUME_32BITUIDS]: Remove conditional code.
57860 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
57861 <kernel-features.h>.
57862 [__ASSUME_32BITUIDS]: Make code unconditional.
57863 [!__ASSUME_32BITUIDS]: Remove conditional code.
57864 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
57865 <kernel-features.h>.
57866 [__ASSUME_32BITUIDS]: Make code unconditional.
57867 [!__ASSUME_32BITUIDS]: Remove conditional code.
57868 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
57869 <kernel-features.h>.
57870 [__ASSUME_32BITUIDS]: Make code unconditional.
57871 [!__ASSUME_32BITUIDS]: Remove conditional code.
57872 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
57873 <kernel-features.h>.
57874 [__ASSUME_32BITUIDS]: Make code unconditional.
57875 [!__ASSUME_32BITUIDS]: Remove conditional code.
57876 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
57877 <kernel-features.h>.
57878 [__ASSUME_32BITUIDS]: Make code unconditional.
57879 [!__ASSUME_32BITUIDS]: Remove conditional code.
57880 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
57881 <kernel-features.h>.
57882 [__ASSUME_32BITUIDS]: Make code unconditional.
57883 [!__ASSUME_32BITUIDS]: Remove conditional code.
57884 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
57885 <kernel-features.h>.
57886 [__ASSUME_32BITUIDS]: Make code unconditional.
57887 [!__ASSUME_32BITUIDS]: Remove conditional code.
57888 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
57889 <kernel-features.h>.
57890 [__ASSUME_32BITUIDS]: Make code unconditional.
57891 [!__ASSUME_32BITUIDS]: Remove conditional code.
57892 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
57893 <kernel-features.h>.
57894 [__ASSUME_32BITUIDS]: Make code unconditional.
57895 [!__ASSUME_32BITUIDS]: Remove conditional code.
57896 * sysdeps/unix/sysv/linux/kernel-features.h
57897 (__ASSUME_SETRESUID_SYSCALL): Remove.
57898 (__ASSUME_SETRESGID_SYSCALL): Likewise.
57899 (__ASSUME_32BITUIDS): Likewise.
57900 (__ASSUME_LDT_WORKS): Likewise.
57901 (__ASSUME_O_DIRECTORY): Likewise.
57902 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
57903 architecture but not kernel version.
57904 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
57905 (__ASSUME_MMAP2_SYSCALL): Likewise.
57906 (__ASSUME_STAT64_SYSCALL): Likewise.
57907 (__ASSUME_IPC64): Likewise.
57908 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
57909 <kernel-features.h>.
57910 [__ASSUME_32BITUIDS]: Make code unconditional.
57911 [!__ASSUME_32BITUIDS]: Remove conditional code.
57912 * sysdeps/unix/sysv/linux/opendir.c: Do not include
57913 <kernel-features.h>.
57914 [__ASSUME_O_DIRECTORY]: Make code unconditional.
57915 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
57916 132096]: Remove conditional code.
57917 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
57918 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
57919 <kernel-features.h>.
57920 [__ASSUME_32BITUIDS]: Make code unconditional.
57921 [!__ASSUME_32BITUIDS]: Remove conditional code.
57922 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
57923 <kernel-features.h>.
57924 [__ASSUME_32BITUIDS]: Make code unconditional.
57925 [!__ASSUME_32BITUIDS]: Remove conditional code.
57926 * sysdeps/unix/sysv/linux/setegid.c: Do not include
57927 <kernel-features.h>.
57928 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
57930 (__setresgid): Do not declare.
57931 [__ASSUME_32BITUIDS]: Make code unconditional.
57932 [!__ASSUME_32BITUIDS]: Remove conditional code.
57933 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
57934 <kernel-features.h>.
57935 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
57937 (__setresuid): Do not declare.
57938 [__ASSUME_32BITUIDS]: Make code unconditional.
57939 [!__ASSUME_32BITUIDS]: Remove conditional code.
57940 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
57941 <kernel-features.h>.
57942 [__ASSUME_32BITUIDS]: Make code unconditional.
57943 [!__ASSUME_32BITUIDS]: Remove conditional code.
57944 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
57945 <kernel-features.h>.
57946 [__ASSUME_32BITUIDS]: Make code unconditional.
57947 [!__ASSUME_32BITUIDS]: Remove conditional code.
57949 2012-05-25 Richard Henderson <rth@twiddle.net>
57951 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
57952 dl_hwcap to ifunc resolver.
57953 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
57955 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
57956 dl_hwcap to ifunc resolver.
57957 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
57959 2012-05-24 Joseph Myers <joseph@codesourcery.com>
57962 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
57963 for |x| <= 2**-26, not 2**-57.
57964 * math/libm-test.inc (acos_test): Do not allow spurious underflow
57967 2012-05-24 Jeff Law <law@redhat.com>
57969 * stdio-common/Makefile (tests): Add bug25.
57970 * stdio-common/bug25.c: New test.
57972 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
57975 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
57976 multiple of MALLOC_ALIGNMENT in size.
57977 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
57979 2012-05-24 Joseph Myers <joseph@codesourcery.com>
57981 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
57983 (FILENAME_MAX): Use macro-int-constant.
57984 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
57985 (_IOFBF): Use macro-int-constant.
57986 (_IOLBF): Likewise.
57987 (_IONBF): Likewise.
57988 (SEEK_CUR): Likewise.
57989 (SEEK_END): Likewise.
57990 (SEEK_SET): Likewise.
57991 (TMP_MAX): Likewise.
57992 (EOF): Use macro-int-constant. Require < 0.
57993 (NULL): Use macro-constant. Require == 0.
57994 (stdin): Require type to be FILE *.
57995 (stdout): Likewise.
57996 (stderr): Likewise.
57997 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
57998 macro-int-constant.
57999 (EXIT_SUCCESS): Likewise.
58000 (NULL): Use macro-constant. Require == 0.
58001 (RAND_MAX): Use macro-int-constant.
58002 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
58003 [C99-based standards] (strtof): Require function.
58004 [C99-based standards] (strtold): Likewise.
58005 [C99-based standards] (strtoll): Likewise.
58006 [C99-based standards] (strtoull): Likewise.
58007 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
58008 [ISO || ISO99 || ISO11] (limits.h): Likewise.
58009 [ISO || ISO99 || ISO11] (math.h): Likewise.
58010 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
58011 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
58012 [ISO || ISO99 || ISO11] (*_t): Do not allow.
58014 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
58017 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
58018 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
58019 * intl/dgettext.c (DCGETTEXT): Likewise.
58020 * intl/gettext.c (DCGETTEXT): Likewise.
58021 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
58022 * posix/regex_internal.h (gettext): Likewise.
58023 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
58024 Remove declaration.
58025 * include/argz.h (__argz_count_internal)
58026 (__argz_stringify_internal): Remove declaration.
58027 (__argz_count, __argz_stringify): Declare hidden proto.
58028 * intl/dcgettext.c: Remove use of INTDEF.
58029 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
58030 * string/argz-stringify.c: Likewise.
58031 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
58032 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
58033 Declare hidden proto.
58034 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
58035 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
58036 Declare hidden proto.
58037 * include/stdio.h (__asprintf_internal): Don't declare.
58038 (__asprintf): Don't define as macro. Declare hidden proto.
58039 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
58040 (__fsetlocking): Declare hidden proto.
58041 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
58042 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
58044 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
58045 (_IO_setlinebuf): Remove use of INTUSE.
58046 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
58047 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
58048 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
58049 Remove declaration.
58050 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
58051 (_IO_do_flush): Remove use of INTUSE.
58052 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
58053 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
58054 (_IO_adjust_column, _IO_least_wmarker)
58055 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
58056 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
58057 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
58058 (_IO_default_doallocate, _IO_wdefault_doallocate)
58059 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
58060 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
58061 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
58062 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
58063 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
58064 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
58065 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
58066 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
58067 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
58068 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
58069 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
58070 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
58071 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
58073 (_IO_flush_all_internal, _IO_adjust_column_internal)
58074 (_IO_default_uflow_internal, _IO_default_finish_internal)
58075 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
58076 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
58077 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
58078 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
58079 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
58080 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
58081 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
58082 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
58083 (_IO_file_close_internal, _IO_file_close_it_internal)
58084 (_IO_file_underflow_internal, _IO_file_overflow_internal)
58085 (_IO_file_init_internal, _IO_file_attach_internal)
58086 (_IO_file_fopen_internal, _IO_file_read_internal)
58087 (_IO_file_sync_internal, _IO_file_seek_internal)
58088 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
58089 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
58090 (_IO_str_underflow_internal, _IO_str_overflow_internal)
58091 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
58092 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
58093 (_IO_list_all_internal, _IO_link_in_internal)
58094 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
58095 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
58096 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
58097 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
58098 (_IO_do_write_internal, _IO_padn_internal)
58099 (_IO_getline_info_internal, _IO_getline_internal)
58100 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
58101 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
58102 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
58103 (_IO_vfscanf_internal, _IO_vfprintf_internal)
58104 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
58105 (_IO_init_internal, _IO_un_link_internal): Don't declare.
58106 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
58107 with libc_hidden_ver, remove use of INTUSE.
58108 * libio/genops.c: Likewise.
58109 * libio/freopen.c: Likewise.
58110 * libio/freopen64.c: Likewise.
58111 * libio/iofclose.c: Likewise.
58112 * libio/iofdopen.c: Likewise.
58113 * libio/iofflush.c: Likewise.
58114 * libio/iofflush_u.c: Likewise.
58115 * libio/iofgets.c: Likewise.
58116 * libio/iofgets_u.c: Likewise.
58117 * libio/iofopen.c: Likewise.
58118 * libio/iofopncook.c: Likewise.
58119 * libio/iofread.c: Likewise.
58120 * libio/iofread_u.c: Likewise.
58121 * libio/ioftell.c: Likewise.
58122 * libio/iofwrite.c: Likewise.
58123 * libio/iogetline.c: Likewise.
58124 * libio/iogets.c: Likewise.
58125 * libio/iogetwline.c: Likewise.
58126 * libio/iopadn.c: Likewise.
58127 * libio/iopopen.c: Likewise.
58128 * libio/ioseekoff.c: Likewise.
58129 * libio/ioseekpos.c: Likewise.
58130 * libio/iosetbuffer.c: Likewise.
58131 * libio/iosetvbuf.c: Likewise.
58132 * libio/ioungetc.c: Likewise.
58133 * libio/ioungetwc.c: Likewise.
58134 * libio/iovdprintf.c: Likewise.
58135 * libio/iovsprintf.c: Likewise.
58136 * libio/iovsscanf.c: Likewise.
58137 * libio/memstream.c: Likewise.
58138 * libio/obprintf.c: Likewise.
58139 * libio/oldfileops.c: Likewise.
58140 * libio/oldiofclose.c: Likewise.
58141 * libio/oldiofdopen.c: Likewise.
58142 * libio/oldiofopen.c: Likewise.
58143 * libio/oldiopopen.c: Likewise.
58144 * libio/oldstdfiles.c: Likewise.
58145 * libio/putc.c: Likewise.
58146 * libio/setbuf.c: Likewise.
58147 * libio/setlinebuf.c: Likewise.
58148 * libio/stdfiles.c: Likewise.
58149 * libio/strops.c: Likewise.
58150 * libio/vasprintf.c: Likewise.
58151 * libio/vscanf.c: Likewise.
58152 * libio/vsnprintf.c: Likewise.
58153 * libio/vswprintf.c: Likewise.
58154 * libio/wfiledoalloc.c: Likewise.
58155 * libio/wfileops.c: Likewise.
58156 * libio/wgenops.c: Likewise.
58157 * libio/wmemstream.c: Likewise.
58158 * libio/wstrops.c: Likewise.
58159 * libio/__fpurge.c: Likewise.
58160 * libio/__fsetlocking.c: Likewise.
58161 * assert/assert.c: Likewise.
58162 * debug/fgets_chk.c: Likewise.
58163 * debug/fgets_u_chk.c: Likewise.
58164 * debug/fread_chk.c: Likewise.
58165 * debug/fread_u_chk.c: Likewise.
58166 * debug/gets_chk.c: Likewise.
58167 * debug/obprintf_chk.c: Likewise.
58168 * debug/vasprintf_chk.c: Likewise.
58169 * debug/vdprintf_chk.c: Likewise.
58170 * debug/vsnprintf_chk.c: Likewise.
58171 * debug/vsprintf_chk.c: Likewise.
58172 * malloc/mtrace.c: Likewise.
58173 * misc/error.c: Likewise.
58174 * misc/syslog.c: Likewise.
58175 * stdio-common/asprintf.c: Likewise.
58176 * stdio-common/fxprintf.c: Likewise.
58177 * stdio-common/getw.c: Likewise.
58178 * stdio-common/isoc99_fscanf.c: Likewise.
58179 * stdio-common/isoc99_scanf.c: Likewise.
58180 * stdio-common/isoc99_vfscanf.c: Likewise.
58181 * stdio-common/isoc99_vscanf.c: Likewise.
58182 * stdio-common/isoc99_vsscanf.c: Likewise.
58183 * stdio-common/printf-prs.c: Likewise.
58184 * stdio-common/printf_fp.c: Likewise.
58185 * stdio-common/printf_fphex.c: Likewise.
58186 * stdio-common/printf_size.c: Likewise.
58187 * stdio-common/putw.c: Likewise.
58188 * stdio-common/scanf.c: Likewise.
58189 * stdio-common/sprintf.c: Likewise.
58190 * stdio-common/tmpfile.c: Likewise.
58191 * stdio-common/vfprintf.c: Likewise.
58192 * stdio-common/vfscanf.c: Likewise.
58193 * stdlib/strfmon_l.c: Likewise.
58194 * sunrpc/openchild.c: Likewise.
58195 * sunrpc/xdr_stdio.c: Likewise.
58196 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
58197 * sysdeps/mach/hurd/tmpfile.c: Likewise.
58199 2012-05-24 Roland McGrath <roland@hack.frob.com>
58201 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
58203 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
58204 in the third column, to generate for the shared library an IFUNC
58205 that uses _dl_vdso_vsym.
58206 * Makerules (COMPILE.c, compile-stdin.c): New variables.
58207 * Makeconfig (object-suffixes-noshared): New variable.
58209 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
58210 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
58211 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
58212 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
58215 * include/sys/time.h (__gettimeofday): Remove macro.
58216 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
58217 * time/gettimeofday.c (__gettimeofday): Remove #undef.
58219 (__gettimeofday): Add libc_hidden_def.
58220 (gettimeofday): Add libc_hidden_weak.
58221 * sysdeps/mach/gettimeofday.c: Likewise.
58222 * sysdeps/posix/gettimeofday.c: Likewise.
58223 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
58224 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
58225 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
58226 (__gettimeofday_internal): Remove strong_alias.
58227 (__gettimeofday): Add libc_hidden_def.
58228 (gettimeofday): Add libc_hidden_weak.
58229 * sysdeps/unix/syscalls.list (gettimeofday):
58230 Remove __gettimeofday_internal alias.
58232 2012-05-24 Daniel Jacobowitz <drow@false.org>
58233 H.J. Lu <hongjiu.lu@intel.com>
58236 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
58237 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
58238 (largebin_index_32_big): New.
58239 (largebin_index): Use it for 16-byte alignment.
58240 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
58241 correction with front_misalign.
58243 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
58245 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
58246 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
58248 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
58250 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
58252 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
58254 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
58256 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
58258 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
58260 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
58262 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
58264 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
58266 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
58268 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
58271 * scripts/data/c++-types-x32-linux-gnu.data: New file.
58272 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
58274 2012-05-24 Joseph Myers <joseph@codesourcery.com>
58278 * math/libm-test.inc (exp_test): Add test from bug 14036.
58279 (pow_test): Add test from bug 10846.
58281 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
58283 (special_function): Do not include flags in test name.
58284 (parse_args): Likewise.
58285 * sysdeps/i386/fpu/libm-test-ulps: Update.
58286 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
58287 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
58288 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
58289 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58291 * math/gen-libm-test.pl (%beautify): Add entries for underflow
58293 * math/libm-test.inc ("Philosophy"): Update comment about
58295 (UNDERFLOW_EXCEPTION): New macro.
58296 (UNDERFLOW_EXCEPTION_OK): Likewise.
58297 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
58298 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
58299 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
58300 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
58301 (INVALID_EXCEPTION_OK): Update value.
58302 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
58303 (OVERFLOW_EXCEPTION_OK): Likewise.
58304 (IGNORE_ZERO_INF_SIGN): Likewise.
58305 (test_exceptions): Handle underflow exceptions.
58306 (acos_test): Update for underflow exception expectations.
58307 (cexp_test): Likewise.
58308 (clog_test): Likewise.
58309 (clog10_test): Likewise.
58310 (csqrt_test): Likewise.
58311 (ctan_test): Likewise.
58312 (ctanh_test): Likewise.
58313 (exp_test): Likewise.
58314 (exp10_test): Likewise.
58315 (exp2_test): Likewise.
58316 (expm1_test): Likewise.
58317 (fma_test): Likewise.
58318 (j0_test): Likewise.
58319 (jn_test): Likewise.
58320 (nexttoward_test): Likewise.
58321 (pow_test): Likewise.
58322 (scalbn_test): Likewise.
58323 (scalbln_test): Likewise.
58324 (tan_test): Likewise.
58325 (y1_test): Likewise.
58326 * sysdeps/i386/fpu/libm-test-ulps: Update.
58327 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58329 2012-05-23 David S. Miller <davem@davemloft.net>
58331 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
58332 (__libc_sigaction): Remove unused local variables.
58334 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
58336 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
58338 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
58340 mktime: avoid signed integer overflow
58341 * time/mktime.c (__mktime_internal): Do not mishandle the case
58342 where diff == INT_MIN.
58344 mktime: simplify computation of average
58345 * time/mktime.c (ranged_convert): Use new time_t_avg function
58346 instead of rolling our own (probably-slower) code.
58348 mktime: do not assume signed right shift propagates sign bit
58349 * time/mktime.c (isdst_differ): New static function.
58350 (__mktime_internal): No need to normalize tm_isdst now.
58351 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
58354 mktime: merge another wrapv change from gnulib
58355 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
58356 from some compilers.
58358 mktime: remove incorrect attempt at unusual arithmetics
58359 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
58360 The code didn't really work on such machines anyway.
58361 (TYPE_MINIMUM): Assume two's complement.
58362 (twos_complement_arithmetic): Verify that long_int and time_t
58363 are two's complement (or unsigned, in the latter case).
58365 mktime: check signed shifts on long_int and time_t, too
58366 * time/mktime.c (SHR): Check that shifts work as desired
58367 on the types long_int and time_t too, as SHR is used on
58370 mktime: do not assume 'long' is wide enough
58371 * time/mktime.c (verify): Move decl up.
58372 (long_int): New type.
58373 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
58374 to remove assumption in the code that 'long' is wide enough to
58375 store year values. This assumption is not true on x32 and on
58376 some non-glibc platforms.
58378 mktime: merge wrapv change from gnulib
58379 * time/mktime.c (WRAPV): New macro.
58380 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
58381 (guess_time_tm, __mktime_internal): Do not assume that signed
58382 integer overflow wraps around; modern compilers generate code
58383 where this assumption is no longer valid.
58385 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
58387 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
58388 Replace "jmp L(pseudo_end)" with "ret".
58389 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
58392 2012-05-23 Andreas Jaeger <aj@suse.de>
58394 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
58395 * sysdeps/unix/sysv/linux/poll.c: Remove file.
58397 2012-05-23 Andreas Jaeger <aj@suse.de>
58398 Maximilian Attems <max@stro.at>
58400 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
58403 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
58405 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
58406 code so that pseudo_end is just ret and the stack pointer is
58407 correct also for static library in error case.
58409 2012-05-23 Joseph Myers <joseph@codesourcery.com>
58411 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
58412 move to syscalls.list.
58413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
58414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
58415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
58416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
58418 * manual/install.texi (Running make install): Do not mention Linux
58419 kernel version for which pt_chown is not needed.
58420 (Linux): Do not mention problems with nscd with 2.0 kernels.
58421 * INSTALL: Regenerated.
58423 2012-05-23 Andreas Jaeger <aj@suse.de>
58425 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
58426 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
58428 * sysdeps/unix/sysv/linux/s390/bits/mman.h
58429 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
58430 * sysdeps/unix/sysv/linux/sh/bits/mman.h
58431 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
58432 * sysdeps/unix/sysv/linux/i386/bits/mman.h
58433 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
58434 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
58435 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
58436 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
58437 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
58438 * sysdeps/unix/sysv/linux/bits/in.h
58439 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
58441 2012-05-22 Roland McGrath <roland@hack.frob.com>
58443 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
58444 (PREPARE_VERSION): Just use assert instead, it will be elided
58445 under [NDEBUG] anyway.
58447 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
58449 * sysdeps/unix/sysv/linux/Makefile: Include
58450 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
58451 (sysdep_routines): Remove sysctl.
58452 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
58453 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
58454 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
58455 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
58456 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
58458 2012-05-22 Andreas Jaeger <aj@suse.de>
58460 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
58461 that pseudo_end is just ret and the stack pointer is correct also
58462 for static library in error case.
58464 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
58467 * nss/nsswitch.c (defconfig_entries): New variable.
58468 (__nss_database_lookup): Don't leak defconfig entries.
58469 (nss_parse_service_list): Don't leak on error paths.
58470 (free_database_entries): New function.
58471 (free_defconfig): New function.
58472 (free_mem): Move common code to free_database_entries.
58474 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
58476 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
58478 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
58480 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
58481 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
58482 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
58484 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
58485 (INTERNAL_SYSCALL_TYPES): Likewise.
58486 (LOAD_ARGS_TYPES_[1-6]): Likewise.
58487 (LOAD_REGS_TYPES_[1-6]): Likewise.
58488 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
58489 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
58491 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58493 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
58494 copysignl for GLIBC_2_0.
58495 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
58496 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
58497 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
58498 logbl for GLIBC_2_0.
58499 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
58500 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
58502 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
58504 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
58505 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
58507 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
58510 * time/mktime.c: Update copyright years.
58512 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
58514 mktime: merge comment-quoting-style change from gnulib
58515 * time/mktime.c: Quote 'like this' in comments.
58516 The GNU coding standards suggest that we no longer quote `like this',
58517 as "`" and "'" are typically rendered asymmetrically nowadays.
58518 The typical gnulib style is to quote 'like this' when quoting
58519 code, and "like this" when quoting English.
58521 * time/mktime.c (compile-command): Add "-I.".
58523 mktime: merge mktime-internal.h change from gnulib
58524 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
58526 mktime: merge time_r change from gnulib
58527 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
58529 mktime: merge DEBUG change from gnulib
58530 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
58531 case system <time.h> has a #define.
58533 mktime: merge <sys/types.h> change from gnulib
58534 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
58535 since <time.t> is now guaranteed to define time_t.
58537 mktime: merge HAVE_CONFIG_H change from gnulib
58538 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
58540 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
58542 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
58545 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
58547 (struct rusage): Use anonymous union to pad each field to
58550 2012-05-21 David S. Miller <davem@davemloft.net>
58552 * Makefules (o-iterator): Remove .s cases.
58553 (compile-command.s): Delete.
58554 (COMPILE.s): Delete.
58555 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
58557 2012-05-21 Joseph Myers <joseph@codesourcery.com>
58559 * configure.in (libc_cv_predef_stack_protector): Only consider
58560 "foobar" and "__stack_chk_fail" lines in libc_undefs.
58561 * configure: Regenerated.
58563 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
58565 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
58566 New macro. Use R*LP on int and pointer.
58567 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
58568 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
58569 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
58570 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
58572 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
58573 [__WORDSIZE_TIME64_COMPAT32] instead of
58574 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
58575 (struct utmp): Likewise.
58576 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
58577 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
58579 (__WORDSIZE_TIME64_COMPAT32): This.
58580 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
58581 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
58582 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
58583 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
58584 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
58585 (__WORDSIZE_TIME64_COMPAT32): New macro.
58587 2012-05-21 Andreas Jaeger <aj@suse.de>
58589 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
58590 only if [SHARED]. Add prototype for __wcschr_ia32.
58592 2012-05-21 Roland McGrath <roland@hack.frob.com>
58594 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
58595 of %rbp unmolested in the jmp_buf while mangling the low bits.
58596 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
58597 unmolested high bits of %rbp while demangling the low bits.
58598 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
58600 2012-05-21 Andreas Jaeger <aj@suse.de>
58602 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
58603 * sunrpc/svc_simple.c: Use it for registerrpc.
58604 * sunrpc/xcrypt.c: Use it for passwd2des.
58606 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
58608 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
58610 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
58611 Don't define if [__SYSCALL_WORDSIZE != 32].
58612 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
58615 2012-05-21 Bruno Haible <bruno@clisp.org>
58616 Andreas Jaeger <aj@suse.de>
58618 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
58619 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
58620 inptr and inend for must_buffer_ch.
58621 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
58622 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
58623 * stdio-common/Makefile (tests): Remove bug15.
58624 (bug15-ENV): Remove macro.
58625 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
58628 2012-05-19 Andreas Jaeger <aj@suse.de>
58629 Roland McGrath <roland@hack.frob.com>
58631 * manual/contrib.texi: Completely rewritten. It contains now an
58632 alphabetical list of contributors and their contributions.
58634 2012-05-21 Richard Henderson <rth@twiddle.net>
58636 * misc/getauxval.c (__getauxval): Use unsigned long int.
58637 * misc/sys/auxv.h: Include <sys/cdefs.h>.
58638 (getauxval): Use unsigned long int.
58640 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
58642 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
58644 2012-05-21 Roland McGrath <roland@hack.frob.com>
58646 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
58647 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
58648 __alignof__ (long double).
58650 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58652 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58654 2012-05-20 Richard Henderson <rth@twiddle.net>
58656 * misc/getauxval.c: New file.
58657 * misc/sys/auxv.h: New file.
58658 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
58659 (routines): Add getauxval.
58660 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
58661 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
58662 * elf/dl-sysdep.c (_dl_auxv): Remove.
58663 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
58664 * elf/dl-support.c (_dl_auxv): New variable.
58665 (_dl_aux_init): Initialize it.
58666 * manual/startup.texi (Auxiliary Vector): New node.
58667 * sysdeps/generic/bits/hwcap.h: New file.
58668 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
58669 * sysdeps/powerpc/sysdep.h: ... here. Include it.
58670 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
58671 * sysdeps/sparc/sysdep.h: ... here. Include it.
58672 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
58673 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
58674 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
58676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
58677 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
58678 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
58679 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
58680 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
58681 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
58682 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
58683 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
58685 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58687 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58689 2012-05-19 David S. Miller <davem@davemloft.net>
58691 * sysdeps/sparc/fpu/libm-test-ulps: Update.
58693 2012-05-19 Joseph Myers <joseph@codesourcery.com>
58696 * math/s_ccosh.c: Include <float.h>
58697 (__ccosh): Avoid internal overflow calculating sinh and cosh
58698 values before multiplying by sin and cos values.
58699 * math/s_ccoshf.c: Likewise.
58700 * math/s_ccoshl.c: Likewise.
58701 * math/s_csin.c: Likewise.
58702 * math/s_csinf.c: Likewise.
58703 * math/s_csinl.c: Likewise.
58704 * math/s_csinh.c: Likewise.
58705 * math/s_csinhf.c: Likewise.
58706 * math/s_csinhl.c: Likewise.
58707 * math/libm-test.inc (ccos_test): Add more tests.
58708 (ccosh_test): Likewise.
58709 (csin_test): Likewise.
58710 (csinh_test): Likewise.
58711 * sysdeps/i386/fpu/libm-test-ulps: Update.
58712 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58714 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
58716 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
58717 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
58719 * sysdeps/x86_64/x32/_itoa.h: Add comment.
58721 2012-05-19 Joseph Myers <joseph@codesourcery.com>
58723 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
58724 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
58725 * sysdeps/powerpc/soft-fp/Versions: Likewise.
58726 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
58727 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
58728 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
58729 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
58730 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
58731 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
58732 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
58733 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
58734 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
58735 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
58736 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
58737 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
58738 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
58739 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
58740 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
58741 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
58742 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
58743 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
58744 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
58745 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
58746 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
58747 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
58748 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
58749 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
58750 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
58751 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
58752 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
58753 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
58755 2012-05-18 Andreas Jaeger <aj@suse.de>
58757 * csu/.gitignore: Delete.
58759 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
58761 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
58762 (timex): Use __syscall_slong_t.
58764 2012-05-18 Andreas Jaeger <aj@suse.de>
58765 Carlos O'Donell <carlos_odonell@mentor.com>
58767 * manual/install.texi (Configuring and compiling): Update
58768 description about files modified in the source directory.
58769 * INSTALL: Regenerated.
58771 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
58773 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
58774 value. Use "or" to set return value to -1.
58775 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
58776 negate return value.
58778 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
58780 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
58781 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
58782 failure if the compiler has Graphite support disabled.
58783 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
58785 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
58786 (CFLAGS-memmove.c): Likewise.
58787 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
58790 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
58792 * sysdeps/x86_64/x32/_itoa.h: New file.
58794 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
58795 getdents system call only if kernel and user dirents have the
58796 same d_ino and d_off.
58798 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
58799 LLONG_MAX != LONG_MAX.
58800 (_itoa_word): Use _ITOA_WORD_TYPE on value.
58801 (_fitoa_word): Likewise.
58803 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
58805 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
58806 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
58807 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
58809 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
58810 include <bits/wordsize.h>. Check __x86_64__ instead of
58812 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
58813 if __x86_64__ is defined. Use anonymous union on fpstate.
58815 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
58818 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
58820 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
58821 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
58822 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
58823 Refer to _rtld_local_ro instead of _rtld_global_ro.
58824 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
58826 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
58828 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
58830 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
58831 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
58832 of _rtld_global, and rtld_progname instead of _dl_argv[0].
58835 * sysdeps/powerpc/powerpc32/dl-machine.c
58836 (__elf_machine_runtime_setup) [PROF]: Don't reference
58839 2012-05-18 Andreas Jaeger <aj@suse.de>
58841 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
58842 function only available for GCCs before 3.4 since GCC 3.4
58843 introduced a builtin.
58845 (llrintf): Likewise.
58846 (llrint): Likewise.
58853 (nearbyint): Likewise.
58854 (nearbyintf): Likewise.
58858 (floorf): Likewise.
58860 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
58862 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
58863 on both fields and cast pointer to __syscall_ulong_t.
58865 * bits/types.h (__fsword_t): New type.
58866 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
58867 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
58868 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
58869 (__FSWORD_T_TYPE): Likewise.
58870 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
58871 (__FSWORD_T_TYPE): Likewise.
58872 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
58873 (__FSWORD_T_TYPE): Likewise.
58874 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
58875 (__FSWORD_T_TYPE): Likewise.
58876 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
58877 __SWORD_TYPE with __fsword_t.
58878 (statfs64): Likewise.
58880 2012-05-17 David S. Miller <davem@davemloft.net>
58882 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
58884 2012-05-17 Andreas Jaeger <aj@suse.de>
58886 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
58889 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
58891 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
58893 2012-05-17 Andreas Jaeger <aj@suse.de>
58895 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
58898 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
58900 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
58902 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
58904 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
58905 * sysdeps/x86_64/tst-mallocalign1.c: New file.
58907 2012-05-17 Andreas Jaeger <aj@suse.de>
58908 Carlos O'Donell <carlos_odonell@mentor.com>
58911 * sysdeps/x86_64/multiarch/init-arch.h
58912 (bit_YMM_Usable): Rename to...
58913 (bit_AVX_Usable): ... this.
58914 (bit_FMA4_Usable): New macro.
58915 (bit_XMM_state): New macro.
58916 (bit_YMM_state): New macro.
58917 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
58918 [__ASSEMBLER__] (index_AVX_Usable): ... this.
58919 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
58920 (CPUID_OSXSAVE): New macro.
58921 (CPUID_AVX): New macro.
58922 (CPUID_FMA4): New macro.
58923 (index_YMM_Usable): Rename to...
58924 (index_AVX_Usable): ... this.
58925 (HAS_AVX): Use HAS_ARCH_FEATURE.
58926 (HAS_FMA4): Likewise.
58927 (HAS_YMM_USABLE): Remove.
58928 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58929 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
58931 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
58932 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
58933 * sysdeps/x86_64/multiarch/Makefile: Likewise.
58934 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
58935 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
58937 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
58939 * math/libm-test.c: Support platforms without multiple rounding modes.
58940 * math/bug-nextafter.c: Support platforms without FP exceptions.
58941 * math/bug-nexttoward.c: Likewise.
58942 * math/test-fenv.c: Likewise.
58943 * math/test-misc.c: Likewise.
58944 * stdlib/bug-getcontext.c: Likewise.
58946 2012-05-17 Andreas Jaeger <aj@suse.de>
58948 * manual/examples/search.c (critter_cmp): Change signature to
58950 * manual/string.texi (Collation Functions): Likewise.
58952 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
58954 * bits/types.h: Fold copyright years.
58955 * bits/typesizes.h: Likewise.
58956 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
58957 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
58958 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
58959 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
58960 * time/time.h: Likewise.
58962 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
58965 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
58966 in instead of returning them. Return void.
58967 (__libc_mallinfo): Accumulate over all arenas.
58968 (__malloc_stats): Adjust for change in int_mallinfo interface.
58970 2012-05-16 Roland McGrath <roland@hack.frob.com>
58973 * configure.in (NM): Add AC_CHECK_TOOL for it.
58974 (libc_extra_cflags): New substituted variable.
58975 Check for -fstack-protector being used implicitly.
58976 * configure: Regenerated.
58977 * config.make.in (config-extra-cflags): New variable,
58978 gets @libc_extra_cflags@.
58979 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
58982 * configure.in: Check for _FORTIFY_SOURCE being predefined.
58983 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
58984 * configure: Regenerated.
58985 * config.make.in (CPPUNDEFS): New substituted variable.
58986 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
58987 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
58988 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
58990 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
58992 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
58993 (mq_attr): Use __syscall_slong_t.
58995 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
58997 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
58998 Check __x86_64__ instead of __WORDSIZE.
58999 (_STAT_VER_LINUX): Likewise.
59000 (stat): Check __x86_64__ instead of __WORDSIZE. Use
59001 __syscall_ulong_t and __syscall_slong_t.
59002 (stat64): Likewise.
59004 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
59006 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
59008 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
59010 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
59012 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
59014 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
59017 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
59018 include <bits/wordsize.h>. Check __x86_64__ instead of
59020 (greg_t): Use "__extension__ long long int" if __x86_64__ is
59022 (mcontext_t): Replace "unsigned long" with "unsigned long long".
59024 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
59025 include <bits/wordsize.h>. Check __x86_64__ instead of
59027 (user_regs_struct): Use "__extension__ unsigned long long"
59028 instead of "unsigned long" if __x86_64__ is defined.
59029 (user): Likewise. Pad after pointer field if __ILP32__ is
59032 2012-05-16 Joseph Myers <joseph@codesourcery.com>
59034 * configure.in (makeinfo): Require version 4.5 or later. Allow
59036 * configure: Regenerated.
59037 * manual/install.texi (texinfo): Increase version requirement to
59039 * INSTALL: Regenerated.
59041 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
59043 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
59045 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
59047 * sysdeps/x86_64/x32/ffs.c: New file.
59049 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
59051 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
59052 defined. Use __syscall_ulong_t.
59053 (shminfo): Use __syscall_ulong_t.
59054 (shm_info): Likewise.
59056 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
59059 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
59061 (msgqnum_t): Use __syscall_ulong_t.
59062 (msglen_t): Likewise.
59063 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
59066 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
59067 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
59069 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
59071 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
59072 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
59074 * sysvipc/sys/msg.h (msgbuf): Replace long int with
59077 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
59078 include <bits/wordsize.h>. Check __x86_64__ instead of
59081 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
59082 "unsigned long long int" if __x86_64__ is defined.
59083 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
59085 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
59086 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
59087 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
59089 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
59091 (GET_PC): Cast to uintptr_t first.
59092 (GET_FRAME): Likewise.
59093 (GET_STACK): Likewise.
59095 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
59096 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
59097 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
59098 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
59099 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
59100 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
59101 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
59102 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
59103 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
59104 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
59105 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
59106 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
59107 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
59108 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
59109 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
59110 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
59111 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
59112 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
59113 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
59114 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
59115 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
59116 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
59117 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
59118 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
59119 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
59120 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
59121 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
59122 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
59123 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
59125 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
59127 * Makerules (+depfiles): Also collect depfiles from .oS in
59129 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
59130 .oS, $(libnldbl-routines)).
59132 * Makerules (native-compile-mkdep-flags): Define.
59133 * sunrpc/Makefile (extra-objs): Add $(addprefix
59134 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
59135 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
59136 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
59137 calling $(make-target-directory).
59139 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
59141 * bits/types.h (__snseconds_t): Removed.
59142 * time/time.h (struct timespec): Replace __snseconds_t with
59144 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
59145 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
59147 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
59148 (__SNSECONDS_T_TYPE): Likewise.
59149 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
59150 (__SNSECONDS_T_TYPE): Likewise.
59151 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
59152 (__SNSECONDS_T_TYPE): Likewise.
59154 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
59156 * sysdeps/mach/hurd/bits/typesizes.h
59157 (__SYSCALL_SLONG_TYPE): New macro.
59158 (__SYSCALL_ULONG_TYPE): Likewise.
59160 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
59162 * bits/types.h (__syscall_slong_t): New type.
59163 (__syscall_ulong_t): Likewise.
59165 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
59166 (__SYSCALL_ULONG_TYPE): Likewise.
59167 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
59168 (__SYSCALL_SLONG_TYPE): Likewise.
59169 (__SYSCALL_ULONG_TYPE): Likewise.
59170 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
59171 (__SYSCALL_SLONG_TYPE): Likewise.
59172 (__SYSCALL_ULONG_TYPE): Likewise.
59173 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
59174 (__SYSCALL_SLONG_TYPE): Likewise.
59175 (__SYSCALL_ULONG_TYPE): Likewise.
59177 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
59179 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
59180 Add sigaltstack-offsets.sym.
59181 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
59182 <sigaltstack-offsets.h>.
59183 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
59184 longjmp_msg pointer.
59185 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
59186 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
59188 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
59190 2012-05-15 Joseph Myers <joseph@codesourcery.com>
59192 * elf/stackguard-macros.h: Remove file.
59193 * sysdeps/generic/stackguard-macros.h: New file.
59194 * sysdeps/i386/stackguard-macros.h: Likewise.
59195 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
59196 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
59197 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
59198 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
59199 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
59200 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
59201 * sysdeps/x86_64/stackguard-macros.h: Likewise.
59202 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
59203 <elf/stackguard-macros.h>.
59206 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
59207 __aligned__ in attribute.
59208 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
59209 (gregset_t): Likewise.
59211 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
59213 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
59214 * sysdeps/x86_64/64/Implies-after: Here. New file.
59215 * sysdeps/x86_64/x32/Implies-after: New file.
59217 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
59219 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
59220 and access return value for _dl_profile_fixup. Use R10_LP to
59223 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
59225 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
59227 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
59229 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
59230 * sysdeps/x86_64/x32/sysdep.h: New file.
59232 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
59234 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
59235 * sysdeps/x86_64/setjmp.S: Likewise.
59237 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59239 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
59240 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
59241 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
59242 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
59243 remove unused global constant.
59245 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
59247 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
59248 include of <not-cancel.h>.
59250 2012-05-15 Roland McGrath <roland@hack.frob.com>
59252 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
59254 2012-05-15 Jeff Law <law@redhat.com>
59255 Andreas Jaeger <aj@suse.de>
59258 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
59260 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
59261 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
59262 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
59263 code changing __hst_map_handle.map.
59265 2012-05-15 Roland McGrath <roland@hack.frob.com>
59267 * configure.in (sysnames): Look for Implies-before and Implies-after
59269 * configure: Regenerated.
59271 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
59273 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
59274 8-byte data alignment with LP_SIZE alignment.
59276 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
59278 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
59281 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
59283 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
59285 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
59287 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
59288 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
59289 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
59291 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
59293 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
59295 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
59296 (stackinfo_sub_sp): Likewise.
59298 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
59300 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
59303 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
59305 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
59308 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
59310 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
59313 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
59315 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
59317 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
59319 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
59320 into R11_LP and load __x86_64_shared_cache_size_half into
59323 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
59325 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
59328 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59330 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
59332 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
59334 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
59336 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
59337 powerpc32/power7/fpu/s_logb.c via #include.
59338 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
59339 powerpc32/power7/fpu/s_logbf.c via #include.
59340 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
59341 powerpc32/power7/fpu/s_logbl.c via #include.
59343 2012-05-15 Joseph Myers <joseph@codesourcery.com>
59345 * README.libm: Remove file.
59347 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
59349 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
59350 count for x32. Use R*_LP and omit operand-size suffix.
59352 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
59354 * shlib-versions: Move x86_64-.*-linux.* entries to ...
59355 * sysdeps/x86_64/64/shlib-versions: Here. New file.
59356 * sysdeps/x86_64/x32/shlib-versions: New file.
59358 2012-05-14 Roland McGrath <roland@hack.frob.com>
59360 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
59361 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
59362 Use _dl_fatal_printf instead.
59364 2012-05-14 Joseph Myers <joseph@codesourcery.com>
59366 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
59367 set if not set by the user. Do not allow for being unset.
59368 * sysdeps/unix/sysv/linux/configure: Regenerated.
59370 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
59372 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
59373 the `q' suffix from lea and replace .quad with ASM_ADDR.
59375 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
59377 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
59378 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
59380 (PTR_DEMANGLE): Likewise.
59382 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
59384 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
59386 (ASM_ADDR): Likewise.
59387 (RAX_LP): Likewise.
59388 (RBP_LP): Likewise.
59389 (RBX_LP): Likewise.
59390 (RCX_LP): Likewise.
59391 (RDI_LP): Likewise.
59392 (RSI_LP): Likewise.
59393 (RSP_LP): Likewise.
59396 (R10_LP): Likewise.
59397 (R10_LP): Likewise.
59398 (R11_LP): Likewise.
59399 (R12_LP): Likewise.
59400 (R13_LP): Likewise.
59401 (R14_LP): Likewise.
59402 (R15_LP): Likewise.
59404 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
59406 * sysdeps/x86_64/x32/dl-machine.h: New file.
59408 2012-05-14 Andreas Jaeger <aj@suse.de>
59410 * manual/Makefile (subdir): Remove export of subdir.
59411 (all): Remove target.
59412 (.PHONY): Remove all from list.
59413 (mkinstalldirs): Remove.
59414 (.PHONY): Remove installdirs from list.
59415 ($(inst_infodir)/libc.info): Use make-target-directory.
59416 (installdirs): Remove.
59417 (subdir_%): Remove.
59418 (glibc-targets): Remove.
59421 ($(objpfx)stubs ../po/manual.pot): Remove.
59422 ($(objpfx)stamp%): Remove.
59423 (make-target-directory): Remove.
59424 (subdir_install): Remove.
59425 (routines): Remove.
59432 * manual/.gitignore: Remove, it's not needed anymore.
59433 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
59435 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
59437 (texis): Renamed to $(objpfx)texis.
59438 (texis-path): New, contains path to generated files.
59439 (chapters.%): Use texis-path for complete path, add extra argument
59441 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
59442 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
59443 (summary,texi, stamp-summary): Use complete path of
59444 files. Generate files in build dir.
59445 (dir-add.texi): Build in build dir.
59446 (libm-err.texi,stamp-libm-err): Likewise.
59447 (version.texi, stamp-version): Likewise.
59448 (.%c.texi): Likewise.
59449 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
59450 (mostlyclean): Remove target.
59451 (realclean): Remove target.
59452 (generated): Add new variable with contents from mostlyclean and
59453 realclean, remove entries duplicated in common-mostlyclean, add
59454 stamp-libm-err and stamp-version.
59455 (generated-dirs): Add libc directory.
59456 ($(inst_infodir)/libc.info): Install files from build dir.
59458 * manual/install.texi (Configuring and compiling): Adjust since
59459 the info files are not part of the tar ball anymore.
59461 2012-05-14 Andreas Jaeger <aj@suse.de>
59463 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
59466 2012-05-14 Joseph Myers <joseph@codesourcery.com>
59469 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
59470 to 2.2.0 where earlier.
59471 * sysdeps/unix/sysv/linux/configure: Regenerated.
59472 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
59473 Remove conditional code.
59474 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
59475 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
59476 Remove conditional code.
59477 [!__NR_lchown]: Likewise.
59478 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
59479 [__NR_lchown]: Likewise.
59480 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
59481 comment referencing __ASSUME_LCHOWN_SYSCALL.
59482 * sysdeps/unix/sysv/linux/i386/sigaction.c
59483 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
59484 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
59485 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
59486 Remove conditional code.
59487 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
59488 (__protocol_available): Remove #if 0 code.
59489 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
59491 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
59492 * sysdeps/unix/sysv/linux/kernel-features.h
59493 (__ASSUME_GETCWD_SYSCALL): Don't define.
59494 (__ASSUME_REALTIME_SIGNALS): Likewise.
59495 (__ASSUME_PREAD_SYSCALL): Likewise.
59496 (__ASSUME_PWRITE_SYSCALL): Likewise.
59497 (__ASSUME_POLL_SYSCALL): Likewise.
59498 (__ASSUME_LCHOWN_SYSCALL): Likewise.
59499 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
59501 (__ASSUME_SIOCGIFNAME): Don't define.
59502 (__ASSUME_MSG_NOSIGNAL): Likewise.
59503 (__ASSUME_SENDFILE): Define unconditionally.
59504 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
59505 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
59507 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
59508 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
59509 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
59510 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
59511 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
59512 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
59513 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
59514 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
59515 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
59516 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
59517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
59518 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
59519 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
59520 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
59521 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
59522 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
59523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
59524 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
59525 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
59526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
59527 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
59528 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
59529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
59530 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
59531 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
59532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
59533 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
59534 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
59535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
59536 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
59537 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
59538 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
59539 Remove conditional code.
59540 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
59541 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
59542 Remove conditional code.
59543 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
59544 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
59545 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
59546 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
59547 Remove conditional code.
59548 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
59549 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
59550 Remove conditional code.
59551 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
59552 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
59553 Remove conditional code.
59554 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
59555 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
59556 Remove conditional code.
59557 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
59558 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
59559 Remove conditional code.
59560 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
59561 * sysdeps/unix/sysv/linux/sh/pwrite64.c
59562 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
59563 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
59564 * sysdeps/unix/sysv/linux/sigaction.c
59565 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
59566 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
59567 * sysdeps/unix/sysv/linux/sigpending.c
59568 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
59569 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
59570 * sysdeps/unix/sysv/linux/sigprocmask.c
59571 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
59572 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
59573 * sysdeps/unix/sysv/linux/sigsuspend.c
59574 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
59575 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
59576 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
59577 (__libc_missing_rt_sigs): Remove.
59578 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
59579 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
59580 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
59581 Remove conditional code.
59582 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
59583 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
59585 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
59586 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
59587 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
59588 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
59590 2012-05-14 Andreas Jaeger <aj@suse.de>
59592 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
59593 it's not used in glibc.
59594 (__coshm1): Likewise.
59595 (__acosh1p): Likewise.
59598 * manual/string.texi (Copying and Concatenation): Add missing
59599 variable in concat example.
59600 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
59602 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
59605 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
59606 __builtin_clzl with __builtin_clzll.
59608 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
59611 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
59614 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59616 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
59617 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
59618 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
59619 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
59621 2012-05-14 Mike Frysinger <vapier@gentoo.org>
59623 * NEWS: Update ia64 info.
59625 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
59627 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
59630 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
59632 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
59633 * sysdeps/unix/syscalls.list (dup3): Likewise.
59634 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
59635 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
59637 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
59639 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
59640 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
59642 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
59644 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
59646 (TLS_IE): Use mov/add instead of movq/addq to load thread
59648 (TLS_GD_PREFIX): New.
59651 2012-05-11 David S. Miller <davem@davemloft.net>
59653 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
59654 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
59655 (_FPU_SETCW): Likewise.
59657 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
59659 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
59660 is 32-byte aligned.
59662 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
59665 * iconvdata/gb18030.c: Update tables.
59666 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
59667 characters specially.
59668 (BODY for TO_LOOP): Add encoding of missing ranges.
59670 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
59673 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
59674 * sysdeps/mach/hurd/dup3.c: Likewise.
59675 * sysdeps/mach/hurd/readlinkat.c: Likewise.
59676 * sysdeps/powerpc/memmove.c:: Likewise.
59678 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
59680 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
59681 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
59683 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
59685 * elf/elf.h (R_X86_64_RELATIVE64): New.
59686 (R_X86_64_NUM): Updated.
59687 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
59688 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
59689 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
59690 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
59691 tst-quad1pie tst-quad2pie
59692 (modules-names): Add tst-quadmod1 tst-quadmod2.
59693 ($(objpfx)tst-quad1): New dependency.
59694 ($(objpfx)tst-quad2): Likewise.
59695 ($(objpfx)tst-quad1pie): Likewise.
59696 ($(objpfx)tst-quad2pie): Likewise.
59697 * sysdeps/x86_64/tst-quad1.c: New file.
59698 * sysdeps/x86_64/tst-quad1pie.c: New file.
59699 * sysdeps/x86_64/tst-quad2.c: Likewise.
59700 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
59701 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
59702 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
59703 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
59704 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
59706 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
59708 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
59709 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
59710 * streams/stropts.h (t_scalar_t): Define type.
59712 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
59713 (_PATH_PRESERVE): Set to "/var/lib".
59714 (_PATH_RWHODIR): Set to "/var/spool/rwho".
59716 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
59719 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
59720 if __dir_mkfile succeeded.
59722 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
59723 checking for _hurd_dtablesize. Unlock it right after having
59724 finished _hurd_dtable allocation.
59726 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
59728 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
59729 * sysdeps/mach/hurd/configure: Regenerated.
59730 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
59731 special-casing to...
59732 * sysdeps/gnu/configure.in: ... this new file.
59733 * sysdeps/unix/sysv/linux/configure: Regenerated.
59734 * sysdeps/gnu/configure: New generated file.
59736 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
59737 for Linux: use nsec instead of usec, as well as:
59738 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
59739 members of type struct timespec.
59740 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
59742 (struct stat64): Likewise.
59743 (_STATBUF_ST_NSEC): New macro.
59744 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
59746 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
59747 __strtoul_internal rather than strtoul.
59749 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
59751 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
59754 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
59756 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
59757 which preserves existing values.
59758 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
59760 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
59762 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
59763 TIMEOUT values. Return EINVAL for NFDS values either negative or
59764 greater than FD_SETSIZE.
59766 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
59768 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
59769 allocated, call __vm_protect to finish enabling the existing space, and
59770 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
59771 allocate the remainder.
59773 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
59775 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
59776 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
59778 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
59780 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
59781 sysdeps/mach/hurd/readlink.c.
59783 * posix/tst-sysconf.c (posix_options): Only use
59784 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
59785 _POSIX_SYNCHRONIZED_IO when they are defined
59786 * sysdeps/mach/hurd/bits/posix_opt.h:
59787 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
59788 (_XOPEN_REALTIME): Undefine macro.
59789 (_XOPEN_REALTIME_THREADS): Undefine macro.
59790 (_XOPEN_SHM): Undefine macro.
59791 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
59793 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
59795 (_POSIX_ASYNC_IO): Undefine macro.
59796 (_POSIX_PRIORITIZED_IO): Undefine macro.
59797 (_POSIX_SPIN_LOCKS): Define macro to -1.
59799 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
59800 SA_NODEFER, SA_RESETHAND.
59801 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
59802 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
59805 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
59807 * elf/Makefile (pldd-modules): Define unconditionally.
59809 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
59811 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
59813 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
59815 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
59816 Return ENOENT when name is empty.
59817 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
59819 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
59821 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
59823 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
59825 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
59827 Fix mlock in all cases except non-readable pages.
59828 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
59829 instead of VM_PROT_ALL as parameter to __vm_wire function.
59831 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
59832 (__mkdir): When path is `/', just fail with EEXIST.
59833 * sysdeps/mach/hurd/mkdirat.c: Likewise.
59835 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
59837 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
59838 <sys/uio.h> (for writev).
59839 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
59840 and <sys/param.h> (for MIN).
59842 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
59844 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
59845 REQUESTED_TIME. Properly set the remaining time and return EINTR
59848 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
59850 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
59851 Depend on against $(link-rpcuserlibs).
59853 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
59855 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
59856 (__libc_stack_end): Do not use attribute_relro.
59857 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
59858 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
59859 to libthread-provided value.
59860 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
59863 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
59866 * bits/libc-lock.h (__libc_once_get): New macro.
59867 * sysdeps/mach/bits/libc-lock.h: Likewise.
59868 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
59869 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
59870 instead of using implementation details.
59872 * libio/fileops.c: Unconditionally include <kernel-features.h>.
59873 * libio/freopen.c: Likewise.
59874 * libio/freopen64.c: Likewise.
59875 * misc/syslog.c: Likewise.
59876 * nscd/connections.c: Likewise.
59877 * nscd/netgroupcache.c: Likewise.
59878 * sysdeps/posix/getcwd.c: Likewise.
59880 2012-05-10 Roland McGrath <roland@hack.frob.com>
59882 * math/w_ilogbf.c: Add #include <limits.h>.
59884 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
59886 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
59887 path instead of returning without unlocking.
59889 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
59890 immediate-write ioctls.
59891 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
59893 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
59895 * sysdeps/mach/hurd/i386/init-first.c (init): Use
59896 __builtin_frame_address instead of making assumptions about the
59897 location of the return address relative to DATA. Force early load of
59898 the return address.
59899 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
59900 __builtin_frame_address.
59903 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
59904 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
59905 implement dup3 and do some further code clean-ups.
59906 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
59907 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
59909 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
59911 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
59913 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
59914 HURD_CRITICAL_END around holding _hurd_dtable_lock.
59915 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
59916 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
59917 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
59920 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
59921 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
59922 when handler == SIG_ERR, not when handler != SIG_ERR.
59924 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
59926 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
59927 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
59930 accept4 for GNU Hurd.
59931 * include/sys/socket.h (__libc_accept4): New prototype.
59932 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
59933 to implement __libc_accept4.
59934 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
59936 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
59938 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
59939 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
59940 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
59941 signal-defines.sym.
59943 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
59945 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
59947 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
59949 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
59950 assertion on O_CLOEXEC flag.
59951 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
59952 * hurd/intern-fd.c: Likewise.
59953 * hurd/port2fd.c: Likewise.
59955 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
59958 * bits/in.h (IPV6_PKTINFO): Define new macro.
59959 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
59961 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59966 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
59967 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
59968 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
59969 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
59970 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
59971 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
59972 * math/libm-test.inc (logb_test) : Additional logb tests.
59974 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
59975 Andreas Jaeger <aj@suse.de>
59977 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
59978 * configure: Regenerated.
59979 * config.h.in (LINK_OBSOLETE_RPC): New macro.
59980 * config.make.in (link-obsolete-rpc): New substituted variable.
59981 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
59982 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
59983 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
59984 (shared-only-routines): Don't set it under [link-obsolete-rpc],
59985 so that libc.a contains the symbols.
59986 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
59987 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
59988 * sunrpc/auth_none.c: Likewise.
59989 * sunrpc/auth_unix.c: Likewise.
59990 * sunrpc/authdes_prot.c: Likewise.
59991 * sunrpc/authuxprot.c: Likewise.
59992 * sunrpc/clnt_gen.c: Likewise.
59993 * sunrpc/clnt_perr.c: Likewise.
59994 * sunrpc/clnt_raw.c: Likewise.
59995 * sunrpc/clnt_simp.c: Likewise.
59996 * sunrpc/clnt_tcp.c: Likewise.
59997 * sunrpc/clnt_udp.c: Likewise.
59998 * sunrpc/clnt_unix.c: Likewise.
59999 * sunrpc/des_crypt.c: Likewise.
60000 * sunrpc/des_soft.c: Likewise.
60001 * sunrpc/get_myaddr.c: Likewise.
60002 * sunrpc/key_call.c: Likewise.
60003 * sunrpc/key_prot.c: Likewise.
60004 * sunrpc/netname.c: Likewise.
60005 * sunrpc/pm_getmaps.c: Likewise.
60006 * sunrpc/pm_getport.c: Likewise.
60007 * sunrpc/pmap_clnt.c: Likewise.
60008 * sunrpc/pmap_prot.c: Likewise.
60009 * sunrpc/pmap_prot2.c: Likewise.
60010 * sunrpc/pmap_rmt.c: Likewise.
60011 * sunrpc/publickey.c: Likewise.
60012 * sunrpc/rpc_cmsg.c: Likewise.
60013 * sunrpc/rpc_common.c: Likewise.
60014 * sunrpc/rpc_dtable.c: Likewise.
60015 * sunrpc/rpc_prot.c: Likewise.
60016 * sunrpc/rpc_thread.c: Likewise.
60017 * sunrpc/rtime.c: Likewise.
60018 * sunrpc/svc.c: Likewise.
60019 * sunrpc/svc_auth.c: Likewise.
60020 * sunrpc/svc_raw.c: Likewise.
60021 * sunrpc/svc_run.c: Likewise.
60022 * sunrpc/svc_tcp.c: Likewise.
60023 * sunrpc/svc_udp.c: Likewise.
60024 * sunrpc/svc_unix.c: Likewise.
60025 * sunrpc/svcauth_des.c: Likewise.
60026 * sunrpc/xcrypt.c: Likewise.
60027 * sunrpc/xdr.c: Likewise.
60028 * sunrpc/xdr_array.c: Likewise.
60029 * sunrpc/xdr_float.c: Likewise.
60030 * sunrpc/xdr_intXX_t.c: Likewise.
60031 * sunrpc/xdr_mem.c: Likewise.
60032 * sunrpc/xdr_rec.c: Likewise.
60033 * sunrpc/xdr_ref.c: Likewise.
60034 * sunrpc/xdr_sizeof.c: Likewise.
60035 * sunrpc/xdr_stdio.c: Likewise.
60037 2012-05-10 Roland McGrath <roland@hack.frob.com>
60039 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
60040 change. Update copyright years.
60042 2012-05-10 Joseph Myers <joseph@codesourcery.com>
60044 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
60046 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
60047 Joseph Myers <joseph@codesourcery.com>
60048 Paul Pluzhnikov <ppluzhnikov@google.com>
60051 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
60053 [cross-compiling] (extra-libs): Likewise.
60054 [cross-compiling] (extra-libs-others): Likewise.
60055 [cross-compiling] (librpcsvc-routines): Likewise.
60056 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
60057 [cross-compiling] (omit-deps): Likewise.
60058 (sunrpc-CPPFLAGS): New variable.
60059 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
60060 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
60061 (cross-rpcgen-objs): New variable.
60062 (extra-objs): Append $(cross-rpcgen-objs).
60063 ($(cross-rpcgen-objs)): New rule.
60064 ($(objpfx)cross-rpcgen): Likewise.
60065 (rpcgen-cmd): Define to use $(built-program-file). Expand
60067 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
60068 ($(objpfx)x%.stmp): Likewise.
60069 * sunrpc/proto.h [IS_IN_build] (_): Define.
60070 [IS_IN_build] (_libc_intl_domainname): Likewise.
60072 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
60074 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
60075 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
60076 and R_X86_64_TPOFF64.
60078 2012-05-10 Joseph Myers <joseph@codesourcery.com>
60080 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
60081 sysdeps/unix/sysv/syscalls.list.
60084 * sysdeps/unix/sysv/syscalls.list: Remove file.
60086 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
60089 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
60090 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
60091 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
60092 (__LC_IDENTIFICATION): Make these macros useful in #if
60093 expressions, as required by C99.
60095 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
60097 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
60098 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
60101 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
60103 * stdlib/longlong.h: Updated from GCC.
60105 2012-05-09 Andreas Jaeger <aj@suse.de>
60107 * nscd/nscd.c (run_modes): Make named enum, reorder so that
60108 default is first entry.
60109 (run_mode): Set type.
60110 (main): Remove informal message about syslog.
60111 (options): Fix typo.
60114 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
60117 (llrintf): Likewise.
60118 (llrint): Likewise.
60121 (nearbyint): Likewise.
60122 (nearbyintf): Likewise.
60124 2012-05-09 Andreas Jaeger <aj@suse.de>
60125 Pedro Alves <palves@redhat.com>
60127 * nscd/nscd.c (run_mode): Use enum.
60128 (main): Cleanup coding style issue.
60130 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
60131 Andreas Jaeger <aj@suse.de>
60133 * nscd/nscd.c (go_background): Replaced with...
60134 (run_mode): ... this.
60135 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
60136 (options): Add -F --foreground.
60137 (main): Implement it.
60138 (parse_opt): Parse it.
60140 2012-05-09 Andreas Jaeger <aj@suse.de>
60143 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
60144 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
60145 -Wconversion warning.
60146 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
60149 2012-05-09 Joseph Myers <joseph@codesourcery.com>
60151 * conform/data/locale.h-data (NULL): Use macro-constant. Require
60153 (LC_ALL): Use macro-int-constant.
60154 (LC_COLLATE): Likewise.
60155 (LC_CTYPE): Likewise.
60156 (LC_MESSAGES): Likewise.
60157 (LC_MONETARY): Likewise.
60158 (LC_NUMERIC): Likewise.
60159 (LC_TIME): Likewise.
60160 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
60161 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
60162 [ISO || ISO99 || ISO11] (*_t): Do not allow.
60163 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
60165 [C99-based standards] (float_t): Expect type.
60166 [C99-based standards] (double_t): Expect type.
60167 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
60169 [C99-based standards] (HUGE_VALL): Likewise.
60170 [C99-based standards] (INFINITY): Likewise.
60171 [C99-based standards] (NAN): Likewise.
60172 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
60173 [C99-based standards] (FP_NAN): Likewise.
60174 [C99-based standards] (FP_NORMAL): Likewise.
60175 [C99-based standards] (FP_SUBNORMAL): Likewise.
60176 [C99-based standards] (FP_ZERO): Likewise.
60177 [C99-based standards] (FP_FAST_FMA): Use
60178 optional-macro-int-constant. Specify type. Require == 1.
60179 [C99-based standards] (FP_FAST_FMAF): Likewise.
60180 [C99-based standards] (FP_FAST_FMAL): Likewise.
60181 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
60182 [C99-based standards] (FP_ILOGBNAN): Likewise.
60183 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
60185 [C99-based standards] (MATH_ERREXCEPT): Likewise.
60186 [C99-based standards] (math_errhandling): Specify type.
60187 [ISO99 || ISO11] (signgam): Do not allow.
60188 [non-C99-based standards] (copysignf): Do not allow.
60189 [non-C99-based standards] (exp2f): Likewise.
60190 [non-C99-based standards] (log2f): Likewise.
60191 [non-C99-based standards] (modff): Allow.
60192 [non-C99-based standards] (erff): Do not allow.
60193 [non-C99-based standards] (erfcf): Likewise.
60194 [non-C99-based standards] (gammaf): Likewise.
60195 [non-C99-based standards] (hypotf): Likewise.
60196 [non-C99-based standards] (j0f): Likewise.
60197 [non-C99-based standards] (j1f): Likewise.
60198 [non-C99-based standards] (jnf): Likewise.
60199 [non-C99-based standards] (lgammaf): Likewise.
60200 [non-C99-based standards] (tgammaf): Likewise.
60201 [non-C99-based standards] (y0f): Likewise.
60202 [non-C99-based standards] (y1f): Likewise.
60203 [non-C99-based standards] (ynf): Likewise.
60204 [non-C99-based standards] (isnanf): Likewise.
60205 [non-C99-based standards] (acoshf): Likewise.
60206 [non-C99-based standards] (asinhf): Likewise.
60207 [non-C99-based standards] (atanhf): Likewise.
60208 [non-C99-based standards] (cbrtf): Likewise.
60209 [non-C99-based standards] (expm1f): Likewise.
60210 [non-C99-based standards] (ilogbf): Likewise.
60211 [non-C99-based standards] (log1pf): Likewise.
60212 [non-C99-based standards] (logbf): Likewise.
60213 [non-C99-based standards] (nextafterf): Likewise.
60214 [non-C99-based standards] (remainderf): Likewise.
60215 [non-C99-based standards] (rintf): Likewise.
60216 [non-C99-based standards] (scalbf): Likewise.
60217 [non-C99-based standards] (copysignl): Likewise.
60218 [non-C99-based standards] (exp2l): Likewise.
60219 [non-C99-based standards] (log2l): Likewise.
60220 [non-C99-based standards] (modfl): Allow.
60221 [non-C99-based standards] (erfl): Do not allow.
60222 [non-C99-based standards] (erfcl): Likewise.
60223 [non-C99-based standards] (gammal): Likewise.
60224 [non-C99-based standards] (hypotl): Likewise.
60225 [non-C99-based standards] (j0l): Likewise.
60226 [non-C99-based standards] (j1l): Likewise.
60227 [non-C99-based standards] (jnl): Likewise.
60228 [non-C99-based standards] (lgammal): Likewise.
60229 [non-C99-based standards] (tgammal): Likewise.
60230 [non-C99-based standards] (y0l): Likewise.
60231 [non-C99-based standards] (y1l): Likewise.
60232 [non-C99-based standards] (ynl): Likewise.
60233 [non-C99-based standards] (isnanl): Likewise.
60234 [non-C99-based standards] (acoshl): Likewise.
60235 [non-C99-based standards] (asinhl): Likewise.
60236 [non-C99-based standards] (atanhl): Likewise.
60237 [non-C99-based standards] (cbrtl): Likewise.
60238 [non-C99-based standards] (expm1l): Likewise.
60239 [non-C99-based standards] (ilogbl): Likewise.
60240 [non-C99-based standards] (log1pl): Likewise.
60241 [non-C99-based standards] (logbl): Likewise.
60242 [non-C99-based standards] (nextafterl): Likewise.
60243 [non-C99-based standards] (remainderl): Likewise.
60244 [non-C99-based standards] (rintl): Likewise.
60245 [non-C99-based standards] (scalbl): Likewise.
60246 [ISO || ISO99 || ISO11] (*_t): Do not allow.
60247 [non-C99-based standards] (FP_*): Do not allow.
60248 [C99-based standards] (FP_*): Change to
60249 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
60250 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
60252 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
60253 (SIG_ERR): Likewise.
60254 [X/Open-based standards] (SIG_HOLD): Likewise.
60255 (SIG_IGN): Likewise.
60256 (SIGABRT): Use macro-int-constant. Specify type. Require
60258 (SIGFPE): Likewise.
60259 (SIGILL): Likewise.
60260 (SIGINT): Likewise.
60261 (SIGSEGV): Likewise.
60262 (SIGTER): Likewise.
60263 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
60264 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
60265 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
60266 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
60267 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
60268 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
60269 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
60270 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
60271 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
60272 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
60273 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
60274 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
60275 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
60276 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
60277 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
60278 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
60279 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
60280 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
60281 [X/Open-based standards] (SIGTRAP): Likewise.
60282 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
60283 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
60284 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
60285 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
60286 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
60289 2012-05-08 Ian Wienand <ianw@vmware.com>
60292 * time/tzset.c (__tzset_parse_tz): Update default rules for
60293 daylight time changes in the Energy Policy Act of 2005.
60295 2012-05-09 Andreas Jaeger <aj@suse.de>
60298 * elf/ldconfig.c (parse_conf): Change string to make clear that
60299 ldconfig only issued a warning if ld.so.conf does not exist.
60301 2012-05-08 David S. Miller <davem@davemloft.net>
60303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
60304 movxtod instead of popping the value on the stack.
60306 * sysdeps/sparc/fpu/libm-test-ulps: Update.
60308 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
60310 * config.h.in: Add HAVE_ARM_PCS_VFP.
60312 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
60315 * include/features.h: Warn if user requests __FORTIFY_SOURCE
60316 checking but the checks are disabled for any reason.
60318 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
60320 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
60321 and ELF64_R_TYPE with ELFW(R_TYPE).
60323 2012-05-08 Joseph Myers <joseph@codesourcery.com>
60325 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
60326 (ulimit): Likewise.
60328 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
60329 (settimeofday): Likewise.
60331 2012-05-08 Mike Frysinger <vapier@gentoo.org>
60333 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
60334 a struct th_u2 inside the union, and move tu_block/tu_code into
60335 a new th_u3 union of tu_block/tu_code inside of that. Move
60336 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
60337 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
60338 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
60339 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
60340 (th_stuff): Change to th_u1.tu_stuff.
60342 (th_msg): Change to th_u1.th_u2.tu_data.
60344 2012-05-07 David S. Miller <davem@davemloft.net>
60346 * sysdeps/sparc/fpu/libm-test-ulps: Update.
60349 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
60350 (SETUP_PIC_REG): Use it.
60351 (SETUP_PIC_REG_LEAF): Use it.
60353 2012-05-07 Joseph Myers <joseph@codesourcery.com>
60357 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
60359 (EXPL_FINITE): Likewise.
60360 (FLDLOG): Likewise.
60361 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
60362 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
60364 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
60366 (EXPL_FINITE): Likewise.
60367 (FLDLOG): Likewise.
60368 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
60369 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
60371 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
60372 test of -max_value argument for long double.
60373 * sysdeps/i386/fpu/libm-test-ulps: Update.
60374 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60376 2012-05-06 David S. Miller <davem@davemloft.net>
60378 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
60379 quad soft-float symbols whose references which are compiler
60381 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
60383 2012-05-06 Joseph Myers <joseph@codesourcery.com>
60387 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
60389 (EXPL_FINITE): Likewise.
60390 (FLDLOG): Likewise.
60393 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
60394 Adjust comments for base varying.
60395 (__expl_finite): Change alias to EXPL_FINITE.
60396 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
60398 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
60399 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
60400 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
60401 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
60402 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
60404 (EXPL_FINITE): Likewise.
60405 (FLDLOG): Likewise.
60408 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
60409 Adjust comments for base varying.
60410 (__expl_finite): Change alias to EXPL_FINITE.
60411 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
60413 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60416 * math/libm-test.inc (check_float_internal): Correct ulp
60417 calculation for subnormal expected results.
60419 2012-05-06 Andreas Jaeger <aj@suse.de>
60421 * Makeconfig (+math-flags): New, set to -frounding-math.
60422 (+cflags): Add +math-flags so that all of glibc gets compiled with
60425 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
60427 2012-05-05 Joseph Myers <joseph@codesourcery.com>
60429 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
60435 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
60436 (__ieee754_expl): Allow for and saturate large arguments.
60437 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
60438 (u_threshold): Likewise.
60439 (__exp): Call __ieee754_exp before checking for overflow and
60441 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
60442 (u_threshold): Likewise.
60443 (__expf): Call __ieee754_expf before checking for overflow and
60445 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
60446 (u_threshold): Likewise.
60447 (__expl): Call __ieee754_expl before checking for overflow and
60449 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
60450 (__ieee754_expl): Allow for and saturate large arguments.
60451 * math/libm-test.inc (exp_test): Add another test. Do not allow
60452 missing overflow exception on overflow.
60453 (expm1_test): Do not allow missing overflow exception on overflow.
60455 * sysdeps/i386/fpu/e_expl.c: Move to ...
60456 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
60457 rather than using inline asm.
60458 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
60459 * sysdeps/x86_64/fpu/e_expl.S: Copy from
60460 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
60462 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
60465 (signal): Likewise.
60469 2012-05-04 Joseph Myers <joseph@codesourcery.com>
60471 * sysdeps/unix/syscalls.list (adjtime): Add entry from
60472 sysdeps/unix/common/syscalls.list.
60473 (fchmod): Likewise.
60474 (fchown): Likewise.
60475 (ftruncate): Likewise.
60476 (getrusage): Likewise.
60477 (gettimeofday): Likewise.
60478 (setpgid): Likewise.
60479 (setregid): Likewise.
60480 (setreuid): Likewise.
60481 (sigaction): Likewise.
60482 (truncate): Likewise.
60483 (vhangup): Likewise.
60484 * sysdeps/unix/common/syscalls.list: Remove file.
60485 * sysdeps/unix/bsd/Implies: Don't include unix/common.
60486 * sysdeps/unix/sysv/linux/Implies: Likewise.
60488 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
60490 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
60491 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
60492 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
60494 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
60496 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
60498 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
60499 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
60501 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
60502 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
60504 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
60505 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
60507 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
60508 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
60510 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
60511 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
60513 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
60514 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
60516 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
60518 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
60520 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
60522 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
60524 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
60525 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
60527 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
60529 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
60531 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
60533 2012-05-04 Joseph Myers <joseph@codesourcery.com>
60535 * sysdeps/unix/common/bits/dirent.h: Remove file.
60536 * sysdeps/unix/common/bits/fcntl.h: Likewise.
60538 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
60539 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
60540 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
60541 * sysdeps/unix/bsd/isatty.c: Likewise.
60542 * sysdeps/unix/bsd/tcdrain.c: Likewise.
60543 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
60544 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
60546 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
60549 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
60550 long double comparison inaccuracies.
60551 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
60552 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60554 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
60556 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
60557 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
60559 2012-05-04 Joseph Myers <joseph@codesourcery.com>
60562 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
60563 nonzero digits before rounding a hex value.
60564 * stdlib/tst-strtod.c (tests): Add another test.
60566 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
60568 * sysdeps/s390/fpu/libm-test-ulps: Update.
60570 2012-05-03 Andreas Jaeger <aj@suse.de>
60572 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
60573 does not get optimized out.
60574 (malloc_opt_barrier): New.
60576 2012-05-03 Andreas Jaeger <aj@suse.de>
60577 Roland McGrath <roland@hack.frob.com>
60579 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
60580 intermediate file deletion.
60581 (generated): Add .symlist files.
60583 2012-05-03 Joseph Myers <joseph@codesourcery.com>
60586 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
60587 Redirect under this condition.
60588 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
60589 [__USE_GNU] (__dprintf_chk): Not under this condition.
60590 [__USE_GNU] (__vdprintf_chk): Likewise.
60591 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
60592 under this condition.
60593 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
60594 [__USE_XOPEN2K8] (dprintf): Define under this condition.
60595 [__USE_XOPEN2K8] (vdprintf): Likewise.
60596 [__USE_GNU] (__dprintf_chk): Not under this condition.
60597 [__USE_GNU] (__vdprintf_chk): Likewise.
60598 [__USE_GNU] (dprintf): Likewise.
60599 [__USE_GNU] (vdprintf): Likewise.
60601 2012-05-03 Roland McGrath <roland@hack.frob.com>
60603 * elf/Makefile (common-generated): Set this instead of generated for
60604 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
60605 $(all-built-dso)-derived lists.
60607 2012-05-03 Andreas Jaeger <aj@suse.de>
60609 * sysdeps/i386/fpu/libm-test-ulps: Update.
60612 * FAQ.in: Likewise.
60613 * scripts/gen-FAQ.pl: Likewise.
60614 * manual/install.texi (Installation): Point to online location of
60616 * Makefile (files-for-dist): Remove FAQ.
60619 2012-05-02 Allan McRae <allan@archlinux.org>
60621 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
60622 (LDFLAGS-reldepmod5.so): Likewise.
60623 (LDFLAGS-reldep6mod1.so): Likewise.
60624 (LDFLAGS-reldep6mod4.so): Likewise.
60625 (LDFLAGS-reldep8mod3.so): Likewise.
60626 (LDFLAGS-unload4mod1.so): Likewise.
60627 (LDFLAGS-unload4mod2.so): Likewise.
60628 (LDFLAGS-tst-initorder): Likewise.
60629 (LDFLAGS-tst-initordera2.so): Likewise.
60630 (LDFLAGS-tst-initordera3.so): Likewise.
60631 (LDFLAGS-tst-initordera4.so): Likewise.
60632 (LDFLAGS-tst-initorderb2.so): Likewise.
60633 (LDFLAGS-noload): Likewise.
60634 (LDFLAGS-next): Likewise.
60635 (LDFLAGS-order2mod1.so): Likewise.
60636 (LDFLAGS-order2mod2.so): Likewise.
60637 (LDFLAGS-tst-initorder2): Likewise.
60638 (LDFLAGS-tst-initorder2a.so): Likewise.
60639 (LDFLAGS-tst-initorder2b.so): Likewise.
60640 (LDFLAGS-tst-initorder2c.so): Likewise.
60641 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
60643 2012-05-02 David S. Miller <davem@davemloft.net>
60645 * sysdeps/sparc/fpu/libm-test-ulps: Update.
60647 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
60650 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
60652 2012-05-02 Andreas Jaeger <aj@suse.de>
60654 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
60655 since we manipulate rounding mode.
60656 (CPPFLAGS-test-idouble.c): Likewise.
60657 (CPPFLAGS-test-ifloat.c): Likewise.
60658 (CFLAGS-test-ldouble.c): Likewise.
60659 (CFLAGS-test-double.c): Likewise.
60660 (CFLAGS-test-float.c): Likewise.
60661 (CFLAGS-test-misc.c): Likewise.
60662 (CFLAGS-test-test-fenv.c): Likewise.
60664 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
60668 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
60669 comparisons to determine direction to adjust input.
60671 2012-05-01 Roland McGrath <roland@hack.frob.com>
60673 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
60674 output to the target.
60676 * scripts/localplt.awk: New file.
60677 * elf/Makefile ($(objpfx)check-localplt): Target removed.
60678 (check-localplt-CFLAGS): Variable removed.
60679 ($(all-built-dso:=.jmprel)): New static pattern rule.
60680 (generated): Add those targets.
60681 (localplt-built-dso): New variable.
60682 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
60684 * elf/check-localplt.c: File removed.
60686 * scripts/check-execstack.awk: New file.
60687 * elf/Makefile ($(objpfx)check-execstack): Target removed.
60688 (check-execstack-CFLAGS): Variable removed.
60689 ($(objpfx)check-execstack.h): Target removed.
60690 ($(objpfx)execstack-default): New target.
60691 (generated): Add that instead of check-execstack.h.
60692 ($(all-built-dso:=.phdr)): New static pattern rule.
60693 (generated): Add those targets.
60694 * elf/check-execstack.c: File removed.
60696 * scripts/check-textrel.awk: New file.
60697 * elf/Makefile ($(objpfx)check-textrel): Target removed.
60698 (check-textrel-CFLAGS): Variable removed.
60699 (all-built-dso): Use := to define.o
60700 ($(all-built-dso:=.dyn)): New static pattern rule.
60701 (generated): Add those targets.
60702 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
60703 * config.make.in (READELF): New substituted variable.
60704 * elf/check-textrel.c: File removed.
60706 2012-05-01 Joseph Myers <joseph@codesourcery.com>
60708 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
60710 * conform/data/ctype.h-data [C99-based standards] (isblank):
60712 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
60713 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
60714 [ISO || ISO99 || ISO11] (*_t): Do not allow.
60715 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
60716 Specify type. Require positive value.
60717 (EILSEQ): Likewise.
60718 (ERANGE): Likewise.
60719 [ISO || POSIX] (EILSEQ): Do not expect.
60720 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
60721 Specify type. Require positive value.
60722 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
60723 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
60724 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
60725 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
60726 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
60727 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
60728 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
60729 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
60730 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
60731 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
60732 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
60733 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
60734 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
60735 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
60736 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
60737 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
60738 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
60739 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
60740 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
60741 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
60742 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
60743 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
60744 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
60745 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
60746 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
60747 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
60748 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
60749 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
60750 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
60751 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
60752 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
60753 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
60754 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
60755 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
60756 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
60757 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
60758 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
60759 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
60760 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
60761 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
60762 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
60763 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
60764 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
60765 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
60766 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
60767 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
60768 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
60769 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
60770 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
60771 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
60772 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
60773 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
60774 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
60775 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
60776 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
60777 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
60778 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
60779 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
60780 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
60781 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
60782 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
60783 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
60784 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
60785 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
60786 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
60787 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
60788 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
60789 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
60790 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
60791 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
60792 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
60793 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
60794 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
60795 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
60796 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
60797 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
60798 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
60800 (FLT_ROUNDS): Expect as macro, not constant.
60801 (FLT_MANT_DIG): Use macro-int-constant.
60802 (DBL_MANT_DIG): Likewise.
60803 (LDBL_MANT_DIG): Likewise.
60804 (FLT_DIG): Likewise.
60805 (DBL_DIG): Likewise.
60806 (LDBL_DIG): Likewise.
60807 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
60808 (DBL_MIN_EXP): Likewise.
60809 (LDBL_MIN_EXP): Likewise.
60810 (FLT_MAX_EXP): Use macro-int-constant.
60811 (DBL_MAX_EXP): Likewise.
60812 (LDBL_MAX_EXP): Likewise.
60813 (FLT_MAX_10_EXP): Likewise.
60814 (DBL_MAX_10_EXP): Likewise.
60815 (LDBL_MAX_10_EXP): Likewise.
60816 (FLT_MAX): Use macro-constant.
60817 (DBL_MAX): Likewise.
60818 (LDBL_MAX): Likewise.
60819 (FLT_EPSILON): Use macro-constant. Give upper bound.
60820 (DBL_EPSILON): Likewise.
60821 (LDBL_EPSILON): Likewise.
60822 (FLT_MIN): Likewise.
60823 (DBL_MIN): Likewise.
60824 (LDBL_MIN): Likewise.
60825 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
60826 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
60827 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
60828 [ISO11] (FLT_HAS_SUBNORM): Likewise.
60829 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
60830 [ISO11] (DBL_DECIMAL_DIG): Likewise.
60831 [ISO11] (FLT_DECIMAL_DIG): Likewise.
60832 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
60833 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
60834 [ISO11] (FLT_TRUE_MIN): Likewise.
60835 [ISO11] (LDBL_TRUE_MIN): Likewise.
60836 [ISO || ISO99 || ISO11] (*_t): Do not allow.
60837 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
60838 (SCHAR_MIN): Use macro-int-constant. Specify type.
60839 (SCHAR_MAX): Likewise.
60840 (UCHAR_MAX): Likewise.
60841 (CHAR_MIN): Likewise.
60842 (CHAR_MAX): Likewise.
60843 (MB_LEN_MAX): Use macro-int-constant.
60844 (SHRT_MIN): Use macro-int-constant. Specify type.
60845 (SHRT_MAX): Likewise.
60846 (USHRT_MAX): Likewise.
60847 (INT_MAX): Likewise.
60848 (INT_MIN): Use macro-int-constant. Specify type. Make upper
60850 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
60852 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
60854 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
60855 bound negative. Suffix upper bound with "L".
60856 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
60858 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
60860 [C99-based standards] (LLONG_MAX): Likewise.
60861 [C99-based standards] (ULLONG_MAX): Likewise.
60862 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
60864 [ISO11] (max_align_t): Require type.
60865 [ISO || ISO99 || ISO11] (*_t): Do not allow.
60867 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
60868 from $CFLAGS, without defining away __attribute__ calls.
60869 (checknamespace): Use $CFLAGS_namespace.
60871 * conform/conformtest.pl (@keywords): Only include C99 keywords
60872 for standards based on C99 or C11.
60874 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
60876 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
60879 * conform/conformtest.pl: Handle "macro-int-constant" and test for
60880 usability of symbols in #if.
60882 * conform/conformtest.pl: If macro or constant types start
60883 "promoted:", expect the symbol to be of the following type
60884 promoted by the integer promotions.
60886 * conform/conformtest.pl: Parse all "constant" and "macro" lines
60887 in one place. Also handle "macro-constant".
60889 * conform/conformtest.pl: Only accept expected macro values with
60890 "==". Parse all "macro" lines in one place.
60891 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
60893 * conform/conformtest.pl: Handle braced types on "constant" lines
60894 instead of handling "typed-constant".
60895 * conform/data/signal.h-data: Use "constant" instead of
60898 * conform/conformtest.pl: Handle "optional-" at start of lines in
60899 one place rather than duplicating several cases. Handle each
60900 format of "macro" line with initial "optional-".
60902 * conform/conformtest.pl: Only accept expected constant or
60903 optional-constant values with "==". Parse all "constant" lines in
60904 one place. Parse all "optional-constant" lines in one place.
60905 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
60906 * conform/data/fmtmsg.h-data: Likewise.
60907 * conform/data/netinet/in.h-data: Likewise.
60908 * conform/data/tar.h-data: Likewise.
60909 * conform/data/limits.h-data: Use "==" form on "constant" and
60910 "optional-constant" lines.
60912 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
60913 Use -std=c99 for XOPEN2K.
60914 (@knownproblems): Remove.
60915 (newtoken): Don't check %isknown.
60917 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
60918 Do not expect macro.
60919 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
60920 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
60921 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
60922 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
60923 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
60924 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
60925 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
60926 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
60927 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
60928 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
60929 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
60930 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
60931 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
60932 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
60933 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
60934 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
60935 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
60936 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
60937 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
60938 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
60939 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
60940 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
60941 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
60942 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
60943 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
60944 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
60945 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
60946 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
60947 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
60948 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
60949 [XPG3] (acosh): Likewise.
60950 [XPG3] (asinh): Likewise.
60951 [XPG3] (atanh): Likewise.
60952 [XPG3] (cbrt): Likewise.
60953 [XPG3] (expm1): Likewise.
60954 [XPG3] (ilogb): Likewise.
60955 [XPG3] (log1p): Likewise.
60956 [XPG3] (logb): Likewise.
60957 [XPG3] (nextafter): Likewise.
60958 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
60959 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
60960 [XPG3] (remainder): Likewise.
60961 [XPG3] (rint): Likewise.
60962 [XPG3 || XPG4 || UNIX98] (round): Likewise.
60963 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
60964 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
60965 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
60966 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
60967 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
60968 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
60969 [UNIX98 || XOPEN2K] (scalb): Expect.
60970 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
60971 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
60972 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
60973 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
60974 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
60975 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
60976 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
60977 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
60978 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
60979 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
60980 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
60981 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
60982 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
60983 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
60984 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
60985 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
60986 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
60987 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
60988 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
60989 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
60990 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
60991 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
60992 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
60993 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
60994 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
60995 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
60996 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
60997 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
60998 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
60999 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
61000 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
61001 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
61002 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
61003 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
61004 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
61005 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
61006 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
61007 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
61008 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
61009 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
61010 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
61011 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
61012 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
61013 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
61014 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
61015 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
61016 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
61017 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
61018 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
61019 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
61020 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
61021 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
61022 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
61023 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
61024 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
61025 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
61026 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
61027 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
61028 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
61029 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
61030 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
61031 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
61032 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
61033 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
61034 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
61035 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
61036 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
61037 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
61038 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
61039 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
61040 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
61041 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
61042 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
61043 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
61044 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
61045 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
61046 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
61047 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
61048 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
61049 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
61050 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
61051 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
61052 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
61053 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
61054 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
61055 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
61056 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
61057 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
61058 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
61059 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
61060 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
61061 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
61062 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
61063 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
61064 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
61065 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
61066 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
61067 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
61068 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
61069 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
61070 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
61071 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
61072 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
61073 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
61074 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
61075 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
61076 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
61077 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
61078 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
61079 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
61080 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
61081 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
61082 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
61083 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
61084 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
61085 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
61086 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
61087 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
61088 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
61089 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
61090 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
61091 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
61092 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
61093 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
61094 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
61095 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
61096 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
61097 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
61098 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
61099 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
61100 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
61101 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
61102 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
61103 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
61104 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
61105 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
61106 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
61108 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
61109 _XOPEN_SOURCE_EXTENDED for XPG4.
61111 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
61113 * Makeconfig (localtime): Remove variable.
61114 (inst_localtime-file): Likewise.
61116 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
61118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
61120 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
61122 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
61124 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
61126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
61128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
61130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
61132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
61134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
61137 2012-05-01 Joseph Myers <joseph@codesourcery.com>
61141 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
61142 comparisons to determine direction to adjust input.
61143 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
61144 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
61145 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
61147 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
61149 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
61151 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
61152 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
61154 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
61156 * math/libm-test.inc (nexttoward_test): Add more tests.
61158 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
61161 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
61162 in version GLIBC_2.1, not GLIBC_2.0.
61163 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
61166 2012-04-30 Joseph Myers <joseph@codesourcery.com>
61169 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
61171 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
61172 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
61173 * math/libm-test.inc (acos_test): Add more tests.
61174 (asin_test): Likewise.
61175 * sysdeps/i386/fpu/libm-test-ulps: Update.
61176 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61179 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
61181 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
61182 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
61183 * math/libm-test.inc (acos_test_tonearest): New function.
61184 (acos_test_towardzero): Likewise.
61185 (acos_test_downward): Likewise.
61186 (acos_test_upward): Likewise.
61187 (asin_test_tonearest): Likewise.
61188 (asin_test_towardzero): Likewise.
61189 (asin_test_downward): Likewise.
61190 (asin_test_upward): Likewise.
61191 (main): Call the new functions.
61192 * sysdeps/i386/fpu/libm-test-ulps: Update.
61193 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61197 * math/e_exp10.c: Include <float.h>.
61198 (__ieee754_exp10): Handle underflow here rather than multiplying
61199 large negative argument by M_LN10.
61200 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
61202 * math/e_exp10l.c: Include <float.h>.
61203 (__ieee754_exp10l): Handle underflow here rather than multiplying
61204 large negative argument by M_LN10l.
61205 * math/libm-test.inc (exp10_test): Add another test. Do not allow
61206 spurious overflow exception on underflow.
61208 2012-04-29 Marek Polacek <polacek@redhat.com>
61210 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
61211 (__fortify_function): New macro.
61212 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
61213 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
61214 __extern_always_inline.
61215 * libio/bits/stdio2.h: Likewise.
61216 * libio/bits/stdio.h: Likewise.
61217 * string/string.h: Likewise.
61218 * string/bits/string3.h: Likewise.
61219 * include/stdio.h: Likewise.
61220 * stdlib/bits/stdlib.h: Likewise.
61221 * stdlib/stdlib.h: Likewise.
61222 * rt/bits/mqueue2.h: Likewise.
61223 * rt/mqueue.h: Likewise.
61224 * posix/bits/unistd.h: Likewise.
61225 * posix/unistd.h: Likewise.
61226 * io/bits/poll2.h: Likewise.
61227 * io/bits/fcntl2.h: Likewise.
61228 * io/fcntl.h: Likewise.
61229 * io/sys/poll.h: Likewise.
61230 * misc/bits/syslog.h: Likewise.
61231 * misc/bits/syslog-ldbl.h: Likewise.
61232 * misc/sys/syslog.h: Likewise.
61233 * socket/bits/socket2.h: Likewise.
61234 * socket/sys/socket.h: Likewise.
61235 * debug/tst-chk1.c: Likewise.
61236 * wcsmbs/bits/wchar2.h: Likewise.
61237 * wcsmbs/bits/wchar-ldbl.h: Likewise.
61238 * wcsmbs/wchar.h: Likewise.
61240 2012-04-29 Andreas Jaeger <aj@suse.de>
61242 * Makerules (tests): Remove enable-check-abi protection.
61243 (check-abi-warn): Remove.
61244 (check-abi-%): Remove check-abi-warn usage.
61246 * configure.in: Remove check-abi configure option.
61247 * configure: Regenerated.
61248 * config.make.in (enable-check-abi): Remove.
61250 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
61253 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
61254 double functions to double *_finite functions.
61257 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
61258 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
61260 * stdio-common/Makefile (tests): Add tst-sprintf3.
61261 * stdio-common/tst-sprintf3.c: New file.
61263 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
61264 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
61266 2012-04-28 Joseph Myers <joseph@codesourcery.com>
61268 * conform/conformtest.pl: Remove duplicate typed-constant
61271 2012-04-28 David S. Miller <davem@davemloft.net>
61273 * Makerules (%.abilist): Add vpath on sysdep_dirs.
61274 (check-abi-%): Remove AWK script prerequisite and explicit
61276 (check-abi): Rewrite to just diff the symlist with the abilist.
61277 (config-tls, config-abi-config): Delete, no longer used.
61278 (update-abi-%): Remove AWK script and explicit abilist directory.
61279 (update-abi): Rewrite to simply compare and conditionally copy the
61280 symlist and the sysdep abilist file. Remove update-abi-config
61282 * abilist/ld.abilist: Remove.
61283 * abilist/libBrokenLocale.abilist: Remove.
61284 * abilist/libanl.abilist: Remove.
61285 * abilist/libcrypt.abilist: Remove.
61286 * abilist/libdl.abilist: Remove.
61287 * abilist/librt.abilist: Remove.
61288 * abilist/libthread_db.abilist: Remove.
61289 * abilist/libutil.abilist: Remove.
61290 * scripts/extract-abilist.awk: Remove.
61291 * scripts/merge-abilist.awk: Remove.
61292 * sysdeps/generic/libcidn.abilist: New file.
61293 * sysdeps/generic/libnss_compat.abilist: New file.
61294 * sysdeps/generic/libnss_db.abilist: New file.
61295 * sysdeps/generic/libnss_dns.abilist: New file.
61296 * sysdeps/generic/libnss_files.abilist: New file.
61297 * sysdeps/generic/libnss_hesiod.abilist: New file.
61298 * sysdeps/generic/libnss_nis.abilist: New file.
61299 * sysdeps/generic/libnss_nisplus.abilist: New file.
61300 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
61301 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
61302 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
61304 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
61305 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
61306 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
61307 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
61308 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
61309 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
61310 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
61311 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
61312 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
61314 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
61315 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
61316 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
61317 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
61319 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
61320 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
61321 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
61322 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
61323 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
61324 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
61326 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
61327 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
61328 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
61330 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
61331 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
61333 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
61335 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
61337 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
61339 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
61341 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
61343 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
61345 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
61347 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
61349 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
61351 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
61353 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
61355 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
61357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
61359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
61361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
61363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
61365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
61367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
61369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
61371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
61373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
61375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
61377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
61379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
61381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
61383 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
61384 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
61386 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
61388 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
61390 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
61392 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
61394 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
61396 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
61398 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
61400 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
61402 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
61404 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
61406 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
61408 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
61409 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
61411 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
61413 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
61415 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
61417 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
61419 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
61421 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
61423 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
61425 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
61427 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
61429 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
61431 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
61433 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
61434 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
61435 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
61437 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
61438 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
61439 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
61440 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
61441 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
61442 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
61443 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
61444 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
61445 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
61446 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
61447 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
61448 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
61450 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
61452 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
61454 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
61456 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
61458 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
61460 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
61462 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
61464 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
61466 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
61468 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
61470 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
61472 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
61473 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
61475 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
61477 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
61479 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
61481 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
61483 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
61485 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
61487 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
61489 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
61491 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
61493 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
61495 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
61498 2012-04-28 Joseph Myers <joseph@codesourcery.com>
61500 * conform/conformtest.pl: Fix typo in handling typed-constant from
61503 2012-04-27 Joseph Myers <joseph@codesourcery.com>
61505 * README: Cut down references to pre-2.6 Linux kernels and
61506 Linuxthreads. Update lists of configurations in libc and ports
61507 and sort alphabetically. Say "or newer" with Linux kernel version
61510 * config.h.in [IS_IN_build]: Allow compiling without optimization.
61512 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
61515 * math/libm-test.inc (logb_test_downward): New test to expose
61516 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
61519 2012-04-27 Joseph Myers <joseph@codesourcery.com>
61522 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
61524 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
61525 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
61527 2012-04-26 Joseph Myers <joseph@codesourcery.com>
61529 * sysdeps/unix/i386/brk.S: Remove file.
61530 * sysdeps/unix/i386/dl-brk.S: Likewise.
61531 * sysdeps/unix/i386/pipe.S: Likewise.
61532 * sysdeps/unix/i386/sigreturn.S: Likewise.
61533 * sysdeps/unix/i386/syscall.S: Likewise.
61534 * sysdeps/unix/i386/vfork.S: Likewise.
61535 * sysdeps/unix/i386/wait.S: Likewise.
61537 * sysdeps/unix/common/tcsendbrk.c: Move to ...
61538 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
61540 * configure.in (arm*-none*): Do not allow without
61541 --enable-hacker-mode.
61542 (netbsd*): Remove case setting base_os.
61543 (386bsd*): Likewise.
61544 (freebsd*): Likewise.
61547 (sunos*): Likewise.
61548 (ultrix*): Likewise.
61549 (newsos*): Likewise.
61550 (dynix*): Likewise.
61556 (minix*): Likewise.
61557 (irix4*): Likewise.
61558 (irix6*): Likewise.
61559 (solaris[2-9]*): Likewise.
61561 * configure: Regenerated.
61563 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
61566 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
61567 overflow or cancellation in calculating denominator.
61568 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
61569 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
61570 down expression to avoid unexpected rounding in newer GCCs.
61571 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
61573 2012-04-26 David S. Miller <davem@davemloft.net>
61575 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
61576 long-double compat symbols.
61577 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
61578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
61579 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
61580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
61581 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
61582 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
61583 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
61584 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
61585 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
61586 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
61587 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
61588 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
61589 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
61591 2012-04-25 David S. Miller <davem@davemloft.net>
61593 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
61594 HWCAP_* values only after the memory barriers have been defined.
61595 (atomic_full_barrier): Define.
61596 (atomic_read_barrier): Define.
61597 (atomic_write_barrier): Define.
61599 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
61601 * shlib-versions: Add libgcc_s version information.
61602 * sysdeps/generic/libgcc_s.h: Remove.
61603 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
61605 * sysdeps/gnu/unwind-resume.c: Likewise.
61606 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
61608 2012-04-25 David S. Miller <davem@davemloft.net>
61610 * sysdeps/unix/sparc/brk.S: Delete.
61611 * sysdeps/unix/sparc/dl-brk.S: Delete.
61612 * sysdeps/unix/sparc/pipe.S: Delete.
61613 * sysdeps/unix/sparc/sysdep.S: Delete.
61614 * sysdeps/unix/sparc/sysdep.h: Delete.
61615 * sysdeps/unix/sparc/vfork.S: Delete.
61616 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
61617 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
61618 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
61619 (ret_ERRVAL, r0, r1, MOVE): Define.
61620 (JUMPTARGET): Remove.
61621 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
61622 sysdeps/unix/sparc/sysdep.h
61623 (ENTRY, END): Remove.
61624 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
61626 2012-04-25 Joseph Myers <joseph@codesourcery.com>
61628 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
61629 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
61632 * timezone/README: Update upstream location and email address for
61634 * timezone/zdump.c: Update from tzcode 2012b.
61635 * timezone/zic.c: Likewise.
61637 * configure.in (libc_cv_as_needed): Remove test.
61638 * configure: Regenerated.
61639 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
61640 conditional definition.
61641 [$(have-as-needed) != yes] (no-as-needed): Likewise.
61642 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
61643 * config.make.in (have-as-needed): Remove variable.
61645 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
61646 Paul Pluzhnikov <ppluzhnikov@google.com>
61648 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
61651 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
61653 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
61654 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
61655 * sysdeps/sh/strlen.S: Likewise.
61657 2012-04-24 Joseph Myers <joseph@codesourcery.com>
61659 * sysdeps/unix/fork.S: Remove file.
61660 * sysdeps/unix/i386/fork.S: Likewise.
61661 * sysdeps/unix/sparc/fork.S: Likewise.
61663 * sysdeps/unix/system.c: Remove file.
61664 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
61666 * sysdeps/unix/getegid.S: Remove file.
61667 * sysdeps/unix/geteuid.S: Likewise.
61669 2012-04-24 Roland McGrath <roland@hack.frob.com>
61671 * scripts/check-localplt.awk: New file.
61672 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
61674 * scripts/data/localplt-generic.data: Add a comment.
61676 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
61677 NODE when __dir_mkfile failed.
61678 * sysdeps/mach/hurd/symlinkat.c: Likewise.
61679 Reported by Ludovic Courtès <ludo@gnu.org>.
61681 2012-04-24 Andreas Jaeger <aj@suse.de>
61683 * Makerules (common-clean): Also remove gen-as-const-headers
61686 2012-04-24 Joseph Myers <joseph@codesourcery.com>
61688 * Makerules (native-compile): Do not change working directory for
61689 build. Use $(OUTPUT_OPTION) in command.
61690 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
61692 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
61695 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
61696 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
61697 * math/libm-test.inc (floor_test): Add more tests.
61698 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
61700 2012-04-24 Joseph Myers <joseph@codesourcery.com>
61702 * sysdeps/unix/getdents.c: Remove file.
61703 * sysdeps/unix/sysv/getdents.c: Likewise.
61704 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
61706 * sysdeps/unix/syscalls.list (madvise): Add syscall from
61707 sysdeps/unix/mman/syscalls.list.
61709 (mprotect): Likewise.
61711 (munmap): Likewise.
61712 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
61713 * sysdeps/unix/mman/syscalls.list: Remove.
61714 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
61716 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
61717 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
61718 * configure: Regenerated.
61719 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
61720 $(libgcc_s_suffix).
61721 * config.make.in (libgcc_s_suffix): Remove variable.
61723 2012-04-23 Joseph Myers <joseph@codesourcery.com>
61725 * sysdeps/unix/sysv/gethostname.c: Move to ...
61726 * sysdeps/posix/gethostname.c: ... here.
61728 * sysdeps/unix/execve.S: Remove file.
61730 * sysdeps/unix/_exit.S: Remove file.
61732 2012-04-23 Andreas Jaeger <aj@suse.de>
61735 * manual/Makefile: Remove make dist support, there's no
61736 need for a stand-alone documentation tar ball.
61737 (TEXI2DVI): Define always, it's not in Makeconfig.
61740 (edition): Removed.
61741 (glibc-doc-$(edition).tar): Removed
61745 (ETAGS): Remove, it's in Makeconfig.
61746 (move-if-change): Remove, it's in Makeconfig.
61748 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
61751 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
61752 (strtod, strtof, strtold, strtol, strtoul, strtoq)
61753 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
61754 (strtod_l, strtof_l, strtold_l): Remove __wur.
61755 It is not necessarily an error to ignore strtol's return value.
61756 One can reliably look at the stored endptr to decide whether
61757 the number had valid syntax.
61759 2012-04-21 Andreas Jaeger <aj@suse.de>
61762 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
61764 2012-04-21 Joseph Myers <joseph@codesourcery.com>
61766 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
61767 * sysdeps/unix/sysv/Versions: Remove file.
61769 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
61772 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61774 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
61777 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
61778 version from __vm86.
61780 2012-04-20 Joseph Myers <joseph@codesourcery.com>
61782 * sysdeps/unix/common/lxstat.c: Remove file.
61783 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
61785 * sysdeps/unix/sysv/Makefile: Remove file.
61787 * sysdeps/unix/sysv/direct.h: Remove file.
61789 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
61790 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
61791 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
61792 * sysdeps/unix/sysv/bits/signum.h: Likewise.
61793 * sysdeps/unix/sysv/bits/stat.h: Likewise.
61794 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
61795 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
61797 * sysdeps/unix/sysv/setrlimit.c: Remove file.
61799 * sysdeps/unix/xmknod.c: Remove file.
61800 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
61802 * sysdeps/unix/sysv/settimeofday.c: Remove file.
61804 * sysdeps/unix/sysv/i386/time.S: Remove file.
61806 * sysdeps/unix/fxstat.c: Remove file.
61807 * sysdeps/unix/xstat.c: Likewise.
61808 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
61810 * sysdeps/unix/sysv/sigaction.c: Remove file.
61812 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
61813 (sysdep_headers): Remove variable.
61814 [termio.h not in sysdep_headers] (generated): Likewise.
61815 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
61816 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
61817 * sysdeps/unix/sysv/tcdrain.c: Likewise.
61818 * sysdeps/unix/sysv/tcflow.c: Likewise.
61819 * sysdeps/unix/sysv/tcflush.c: Likewise.
61820 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
61821 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
61822 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
61823 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
61824 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
61826 * sysdeps/unix/siglist.c: Remove file.
61828 * sysdeps/unix/getppid.S: Remove file.
61830 * sysdeps/unix/mkdir.c: Remove file.
61831 * sysdeps/unix/rmdir.c: Likewise.
61833 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
61835 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
61837 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
61838 errlist-compat value.
61840 2012-04-18 David S. Miller <davem@davemloft.net>
61842 * sysdeps/generic/memcopy.h (reg_char): Delete.
61843 * debug/strcat_chk.c: Use char, not reg_char.
61844 * debug/strcpy_chk.c: Likewise.
61845 * debug/strncat_chk.c: Likewise.
61846 * debug/strncpy_chk.c: Likewise.
61847 * string/memchr.c: Likewise.
61848 * string/memrchr.c: Likewise.
61849 * string/rawmemchr.c: Likewise.
61850 * string/strcat.c: Likewise.
61851 * string/strchr.c: Likewise.
61852 * string/strchrnul.c: Likewise.
61853 * string/strcmp.c: Likewise.
61854 * string/strcpy.c: Likewise.
61855 * string/strncat.c: Likewise.
61856 * string/strncmp.c: Likewise.
61857 * string/strncpy.c: Likewise.
61859 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
61861 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
61862 __builtin_memcopy is called when src and dest ranges are known to not
61865 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
61867 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
61868 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
61869 fwd_align_merge macro call.
61870 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
61871 bwd_align_merge macro call.
61872 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
61874 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
61876 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
61877 bwd_align_merge macros.
61878 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
61879 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
61880 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
61882 2012-04-18 David S. Miller <davem@davemloft.net>
61884 * sysdeps/sparc/sparc64/memcopy.h: Delete.
61886 2012-04-18 Andreas Jaeger <aj@suse.de>
61889 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
61890 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
61891 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
61893 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
61894 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
61895 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
61897 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
61898 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
61899 Adjust for changed ldbl-128 files.
61901 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
61902 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
61903 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
61905 2012-04-17 David S. Miller <davem@davemloft.net>
61907 * sysdeps/sparc/sparc32/memcopy.h: Delete.
61909 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
61911 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
61912 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
61913 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
61914 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
61915 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
61916 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
61918 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
61921 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
61922 * math/libm-test.inc: Add ilogb errno and exception tests.
61923 * math/w_ilogb.c: New file: ilogb wrapper.
61924 * math/w_ilogbf.c: New file: ilogbf wrapper.
61925 * math/w_ilogbl.c: New file: ilogbl wrapper.
61926 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
61927 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
61928 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
61929 exception being thrown with 0.0 as argument.
61930 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
61931 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
61932 exception being thrown with 0.0 as argument.
61933 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
61934 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
61935 exception being thrown with 0.0 as argument.
61936 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
61937 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
61938 exception being thrown with 0.0 as argument.
61939 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
61940 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
61941 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
61942 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
61943 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
61944 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
61945 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
61946 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
61947 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
61949 2012-04-17 Petr Baudis <pasky@ucw.cz>
61951 * include/sys/uio.h: Change __vector to __iovec to avoid clash
61954 2012-04-16 Marek Polacek <polacek@redhat.com>
61956 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
61958 2012-04-16 Marek Polacek <polacek@redhat.com>
61960 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
61961 operands of fdivp instruction.
61963 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
61965 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
61966 * elf/tst-auditmod3b.c: Likewise.
61967 * elf/tst-auditmod4b.c: Likewise.
61968 * elf/tst-auditmod5b.c: Likewise.
61969 * elf/tst-auditmod6b.c: Likewise.
61970 * elf/tst-auditmod6c.c: Likewise.
61971 * elf/tst-auditmod7b.c: Likewise.
61972 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
61973 * sysdeps/x86_64/preconfigure.in: Likewise.
61974 * sysdeps/x86_64/preconfigure: Regenerated.
61976 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
61978 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
61981 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
61983 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
61984 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
61986 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
61989 * locale/iso-639.def: Fix gl language name. Spotted by
61992 2012-04-12 Roland McGrath <roland@hack.frob.com>
61995 * libio/libio.h (__io_write_fn): Update comment.
61997 2012-04-12 Petr Baudis <pasky@ucw.cz>
62000 * stdio.texi (Hook Functions): The user provided writer function
62001 is not allowed to return -1.
62003 2012-04-11 David S. Miller <davem@davemloft.net>
62005 * sysdeps/sparc/fpu/libm-test-ulps: Update.
62007 2012-04-11 Mike Frysinger <vapier@gentoo.org>
62009 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
62010 Add a leading slash to rtkaio.
62012 2012-04-11 Jim Meyering <meyering@redhat.com>
62015 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
62016 It is not necessarily an error to ignore fwrite's return
62017 value. One can reliably use ferror to test for errors after
62020 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
62022 * bits/types.h (__snseconds_t): New type.
62023 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
62025 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
62026 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
62027 (__SNSECONDS_T_TYPE): Likewise.
62028 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
62029 (__SNSECONDS_T_TYPE): Likewise.
62030 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
62031 (__SNSECONDS_T_TYPE): Likewise.
62033 2012-04-10 Andreas Jaeger <aj@suse.de>
62036 * manual/time.texi (Processor Time): Return type of times is
62037 elapsed real time since an arbitrary point in the past.
62038 (CPU Time): Move CLK_TCK from here...
62039 (Processor Time): ...to here. Correct description.
62040 * manual/conf.texi (Constants for Sysconf): Correct description of
62043 2012-04-10 David S. Miller <davem@davemloft.net>
62046 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
62047 where the is a gap between DT_REL(A) and DT_JMPREL.
62049 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
62051 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
62052 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
62053 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
62055 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
62057 * elf/dl-support.c (_dl_inhibit_cache): New variable.
62058 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
62059 (dl_main): Handle --inhibit-cache.
62060 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
62062 * elf/dl-load.c (_dl_map_object): Use it.
62063 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
62065 2012-04-09 Joseph Myers <joseph@codesourcery.com>
62068 * sysdeps/i386/fpu/e_powl.S (p78): New object.
62069 (__ieee754_powl): Saturate large exponents rather than testing for
62070 overflow of y*log2(x).
62071 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
62072 * math/libm-test.inc (pow_test): Do not permit spurious overflow
62076 * math/s_ctan.c: Include <float.h>.
62077 (__ctan): Avoid internal overflow or cancellation in calculating
62079 * math/s_ctanf.c: Likewise.
62080 * math/s_ctanl.c: Likewise.
62081 * math/s_ctanh.c: Likewise.
62082 * math/s_ctanhf.c: Likewise.
62083 * math/s_ctanhl.c: Likewise.
62084 * math/libm-test.inc (ctan_test): Add more tests.
62085 (ctanh_test): Likewise.
62086 * sysdeps/i386/fpu/libm-test-ulps: Update.
62087 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62089 2012-04-09 Andreas Jaeger <aj@suse.de>
62092 * manual/filesys.texi (Directory Entries): Mention that d_namlen
62093 is an optional BSD extension.
62096 * manual/stdio.texi (Opening Streams): Document additional fopen
62099 2012-04-09 Roland McGrath <roland@hack.frob.com>
62101 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
62102 %eax without telling the compiler.
62104 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
62107 * manual/install.texi: Use sourceware.org.
62109 2012-04-09 Joseph Myers <joseph@codesourcery.com>
62112 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
62113 (__ieee754_pow): Generate overflow and underflow using huge*huge
62114 and tiny*tiny rather than just returning constant infinity or zero
62115 for large exponents.
62116 * math/libm-test.inc (pow_test): Require overflow exceptions for
62117 applicable cases of large exponents.
62120 * sysdeps/i386/fpu/e_pow.S (p10): New object.
62121 (__ieee754_pow): Use iterative multiplication algorithm only for
62122 integer exponents with absolute value below 1024. Check for odd
62123 integer exponents when using algorithm for real exponents.
62124 * math/libm-test.inc (pow_test): Add more tests.
62125 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
62127 2012-04-08 Joseph Myers <joseph@codesourcery.com>
62130 * math/libm-test.inc (exp_test): Do not allow overflow exception
62133 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
62136 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
62137 instead of __kernel_standard_f.
62139 2012-04-08 Mike Frysinger <vapier@gentoo.org>
62141 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
62142 * sysdeps/x86_64/memset_chk.S: Likewise.
62144 2012-04-08 Andreas Jaeger <aj@suse.de>
62147 * manual/startup.texi (Environment Access): Describe return value
62148 for putenv and setenv.
62151 * manual/filesys.texi (Directory Entries): Add description for
62155 * manual/filesys.texi (Directory Entries): Clarify that it's file
62156 system not operating system in the description of DT_UNKNOWN.
62159 * manual/syslog.texi (closelog): Fix reference, it's openlog.
62161 2012-04-08 Stephen Compall <s11@member.fsf.org>
62164 * manual/llio.texi (Opening and Closing Files): Add cross
62165 reference to explain mode argument.
62167 2012-04-07 Mike Frysinger <vapier@gentoo.org>
62169 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
62170 * sysdeps/x86_64/memset_chk.S: Likewise.
62172 2012-04-07 David S. Miller <davem@davemloft.net>
62174 * elf/elf.h (R_SPARC_WDISP10): Define.
62175 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
62177 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
62178 R_SPARC_SIZE64 and R_SPARC_H34.
62180 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
62182 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
62183 conditions and remove no longer applicable assertion.
62185 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
62187 * bits/byteswap.h: Include <features.h>.
62188 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
62189 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
62191 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
62193 * bits/byteswap.h (__bswap_16): Removed.
62194 Include <bits/byteswap-16.h> to get __bswap_16.
62195 * sysdeps/i386/bits/byteswap.h: Likewise.
62196 * sysdeps/s390/bits/byteswap.h: Likewise.
62197 * sysdeps/x86_64/bits/byteswap.h: Likewise.
62198 * bits/byteswap-16.h: New file.
62199 * sysdeps/i386/bits/byteswap-16.h: Likewise.
62200 * sysdeps/s390/bits/byteswap-16.h: Likewise.
62201 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
62202 * string/Makefile (headers): Add bits/byteswap-16.h.
62204 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
62207 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
62209 * nss/Makefile (tests-static, tests): Add tst-nss-static.
62210 * nss/tst-nss-static.c: New.
62212 2012-04-06 Robert Millan <rmh@gnu.org>
62215 * manual/llio.texi (File Position Primitive): lseek
62216 refers to WHENCE when it really means OFFSET.
62218 2012-04-06 Andreas Jaeger <aj@suse.de>
62220 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
62221 strncmp declarations.
62223 * abilist/libc.abilist: Add __poll and __ppoll.
62225 2012-04-05 David S. Miller <davem@davemloft.net>
62227 * scripts/check-local-headers.sh: Accept a host triplet in the
62228 path matched by the exclude regexp.
62230 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
62232 * sysdeps/powerpc/powerpc32/dl-machine.h
62233 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
62234 * sysdeps/s390/s390-32/dl-machine.h
62235 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
62236 * sysdeps/sparc/sparc32/dl-machine.h
62237 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
62238 * sysdeps/sparc/sparc64/dl-machine.h
62239 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
62241 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
62243 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
62244 undefined symbol errors.
62246 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
62249 2012-04-05 Michael Matz <matz@suse.de>
62252 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
62254 2012-04-05 Andreas Jaeger <aj@suse.de>
62257 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
62260 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
62262 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
62263 which ROUND is no valid rounding mode.
62265 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
62267 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
62269 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
62271 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
62273 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
62274 an exception using FPU order intentionally.
62276 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
62278 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
62279 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
62280 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
62281 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
62283 2012-04-05 Simon Josefsson <simon@josefsson.org>
62286 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
62287 EINVAL when BUFLEN is too smal.
62289 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
62292 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
62293 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
62295 2012-04-03 Andreas Jaeger <aj@suse.de>
62298 * manual/setjmp.texi (System V contexts): Fix sentence.
62301 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
62302 New macro for this case.
62303 [!__GNUC__] (__bswap_64): New inline function for this case.
62304 * sysdeps/x86_64/bits/byteswap.h: Likewise.
62305 * bits/byteswap.h: Likewise.
62306 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
62307 ull, guard with __GLIBC_HAVE_LONG_LONG.
62309 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
62310 __GLIBC_HAVE_LONG_LONG.
62312 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
62313 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
62315 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
62318 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
62319 inptr and inend, rather than using last_ch.
62321 2012-04-02 David S. Miller <davem@davemloft.net>
62323 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
62324 * stdio-common/printf-parse.h (read_int): Change return type to
62325 'int', return -1 on INT_MAX overflow.
62326 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
62327 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
62328 overflows INT_MAX. Check for overflow of in-format-string precision
62329 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
62330 SIZE_MAX not INT_MAX for integer overflow test.
62331 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
62332 skip the construct in the format string but do not record anything.
62333 * stdio-common/bug22.c: Adjust to test both width/prevision
62334 INT_MAX overflow as well as total length INT_MAX overflow. Check
62335 explicitly for proper errno values.
62337 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
62339 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
62341 * string/test-strcmp.c [! WIDE]: Likewise.
62342 * time/tst-mktime2.c: Likewise for INT_MAX.
62343 * string/test-string.h: #include <sys/param.h> for MIN.
62345 * csu/init-first.c (__libc_init_first): Call __ctype_init.
62346 * sysdeps/i386/init-first.c (init): Likewise.
62347 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
62348 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
62349 * sysdeps/sh/init-first.c (init): Likewise.
62351 2012-04-01 Ulrich Drepper <drepper@gmail.com>
62353 * po/ru.po: Update from translation team.
62354 * po/vi.po: Likewise.
62356 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
62358 * resolv/nss_dns/dns-host.c: Merge copyright years.
62360 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
62362 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
62363 Optimize memcpy with prefetch if
62364 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
62365 src, dst pointers have unequal 16 byte alignments.
62367 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
62370 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
62371 from a CNAME entry and return the minimum ttl for the query.
62372 (gaih_getanswer_slice): Likewise.
62374 2012-03-30 Jeff Law <law@redhat.com>
62376 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
62378 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
62379 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
62381 * resolv/nss_dns/dns-host.c: Update copyright year.
62383 2012-03-30 Ulrich Drepper <drepper@gmail.com>
62385 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
62386 requests to save a system call. Fix check that all bytes are sent.
62388 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
62389 comments for sendmmsg.
62391 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
62394 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
62395 with only 1 character between 0x0041 and 0x01b0.
62396 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
62397 * wcsmbs/tst-mbsnrtowcs.c: New file.
62399 2012-03-29 David S. Miller <davem@davemloft.net>
62401 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
62402 small copies by hand.
62404 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
62407 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
62408 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
62411 2012-03-28 David S. Miller <davem@davemloft.net>
62413 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
62414 that branches into memcpy.
62415 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
62416 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
62417 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
62418 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
62419 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
62421 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
62422 implementation too.
62423 * sysdeps/sparc/mempcpy.S: New file.
62425 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
62426 the IFUNC routine in the libc case.
62427 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
62429 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
62430 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
62431 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
62432 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
62433 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
62434 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
62435 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
62436 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
62438 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
62439 loop to 256 bytes instead of 64 bytes and fix test signedness.
62441 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
62442 * sysdeps/sparc/sparc32/Makefile: rather than here...
62443 * sysdeps/sparc/sparc64/Makefile: and here.
62445 2012-03-28 Ulrich Drepper <drepper@gmail.com>
62447 * malloc/mallocbug.c: Avoid warnings about unused variables.
62449 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
62452 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
62453 in the right place. Discard and retry query if response is
62454 larger than input buffer size.
62456 2012-03-28 Joseph Myers <joseph@codesourcery.com>
62461 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
62462 x for large integer exponent.
62463 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
62464 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
62465 sign of result as needed afterwards.
62466 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
62467 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
62468 result for underflowing pow the same as for overflow.
62469 (__kernel_standard_l): Handle powl overflow and underflow here
62470 rather than calling __kernel_standard.
62471 * math/libm-test.inc (pow_test): Add more tests.
62486 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
62487 * sysdeps/ieee754/k_standard.c: Include <float.h>.
62488 (__kernel_standard_l): New function.
62489 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
62491 * math/w_acosl.c (__acosl): Likewise.
62492 * math/w_asinl.c (__asinl): Likewise.
62493 * math/w_atan2l.c (__atan2l): Likewise.
62494 * math/w_atanhl.c (__atanhl): Likewise.
62495 * math/w_coshl.c (__coshl): Likewise.
62496 * math/w_exp10l.c (__exp10l): Likewise.
62497 * math/w_exp2l.c (__exp2l): Likewise.
62498 * math/w_fmodl.c (__fmodl): Likewise.
62499 * math/w_hypotl.c (__hypotl): Likewise.
62500 * math/w_j0l.c (__j0l, __y0l): Likewise.
62501 * math/w_j1l.c (__j1l, __y1l): Likewise.
62502 * math/w_jnl.c (__jnl, __ynl): Likewise.
62503 * math/w_lgammal.c (__lgammal): Likewise.
62504 * math/w_log10l.c (__log10l): Likewise.
62505 * math/w_log2l.c (__log2l): Likewise.
62506 * math/w_logl.c (__logl): Likewise.
62507 * math/w_powl.c (__powl): Likewise.
62508 * math/w_remainderl.c (__remainderl): Likewise.
62509 * math/w_scalbl.c (sysv_scalbl): Likewise.
62510 * math/w_sinhl.c (__sinhl): Likewise.
62511 * math/w_sqrtl.c (__sqrtl): Likewise.
62512 * math/w_tgammal.c (__tgammal): Likewise.
62513 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
62514 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
62515 * math/libm-test.inc (acos_test): Add more tests.
62516 (acosh_test): Likewise.
62517 (asin_test): Likewise.
62518 (atanh_test): Likewise.
62519 (exp_test): Likewise.
62520 (exp10_test): Likewise.
62521 (exp2_test): Likewise.
62522 (expm1_test): Likewise.
62523 (lgamma_test): Likewise.
62524 (log_test): Likewise.
62525 (log10_test): Likewise.
62526 (log1p_test): Likewise.
62527 (log2_test): Likewise.
62528 (pow_test): Do not allow some spurious overflow exceptions.
62529 (sqrt_test): Add more tests.
62530 (tgamma_test): Likewise.
62531 (y0_test): Likewise.
62532 (y1_test): Likewise.
62533 (yn_test): Likewise.
62535 2012-03-27 Anton Blanchard <anton@samba.org>
62537 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
62539 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
62540 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
62541 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
62543 2012-03-27 David S. Miller <davem@davemloft.net>
62545 * conform/Makefile: Run run-conformtest.sh using $(BASH).
62547 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
62548 have-as-vis3 check.
62550 2012-03-27 Andreas Jaeger <aj@suse.de>
62552 * sysdeps/x86_64/elf/configure.in: Moved to ...
62553 * sysdeps/x86_64/configure.in: ... here.
62554 * sysdeps/x86_64/elf/start.S: Moved to ...
62555 * sysdeps/x86_64/start.S: ... here.
62556 * sysdeps/x86_64/elf/configure: Delete.
62558 * sysdeps/x86_64/configure.in: Merge contents from
62559 sysdeps/i386/configure.in (without i686 check).
62561 * sysdeps/i386/elf/Versions: Merge into ...
62562 * sysdeps/i386/Versions: ... this.
62563 * sysdeps/i386/elf/Versions: Delete file.
62564 * sysdeps/i386/elf/start.S: Moved to ...
62565 * sysdeps/i386/start.S: ...here.
62566 * sysdeps/i386/elf/configure.in: Merge into...
62567 * sysdeps/i386/configure.in: ...here.
62568 * sysdeps/i386/elf/configure.in: Delete file.
62569 * sysdeps/i386/elf/configure: Delete file.
62571 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
62572 * debug/backtracesyms.c: ... here.
62573 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
62574 * debug/backtracesymsfd.c: ... here.
62575 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
62576 * sysdeps/generic/ifunc-sel.h: ... here.
62578 * sysdeps/unix/i386/start.c: Delete file.
62579 * sysdeps/unix/sparc/start.c: Delete file.
62580 * sysdeps/unix/start.c: Delete file.
62582 * sysdeps/sh/elf/configure.in: Moved to ...
62583 * sysdeps/sh/configure.in: ... here.
62584 * sysdeps/sh/elf/start.S: Moved to ...
62585 * sysdeps/sh/start.S: ... here.
62586 * sysdeps/sh/elf/configure: Delete file.
62588 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
62589 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
62590 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
62591 * sysdeps/powerpc/powerpc64/entry.h: ... here.
62592 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
62593 * sysdeps/powerpc/powerpc64/start.S: here.
62594 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
62595 * sysdeps/powerpc/powerpc64/Makefile: ... this.
62596 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
62597 * sysdeps/powerpc/powerpc64/configure.in: ... this.
62598 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
62600 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
62601 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
62602 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
62603 * sysdeps/powerpc/powerpc32/start.S: ... here.
62604 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
62605 * sysdeps/powerpc/powerpc32/configure.in: ... this.
62606 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
62608 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
62609 * sysdeps/powerpc/ifunc-sel.h: ... here.
62610 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
62611 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
62613 * sysdeps/sparc/elf/configure.in: Moved to ...
62614 * sysdeps/sparc/configure.in: ... here.
62615 * sysdeps/sparc/elf/configure: Delete file.
62616 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
62617 * sysdeps/sparc/sparc32/start.S: ... here.
62618 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
62619 * sysdeps/sparc/sparc64/start.S: ... here.
62620 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
62621 * sysdeps/sparc/sparc32/Makefile: ... this.
62622 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
62623 * sysdeps/sparc/sparc64/Makefile: ... this.
62625 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
62626 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
62627 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
62628 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
62629 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
62630 * sysdeps/s390/s390-32/setjmp.S: ... here.
62631 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
62632 * sysdeps/s390/s390-32/configure.in: ... here.
62633 * sysdeps/s390/s390-32/elf/configure: Delete file.
62634 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
62635 * sysdeps/s390/s390-32/start.S: ... here.
62637 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
62638 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
62639 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
62640 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
62641 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
62642 * sysdeps/s390/s390-64/setjmp.S: ... here.
62643 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
62644 * sysdeps/s390/s390-64/configure.in: ... here
62645 * sysdeps/s390/s390-64/elf/configure: Delete file.
62646 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
62647 * sysdeps/s390/s390-64/start.S: ... here.
62648 * sysdeps/s390/s390-64/elf/configure: Delete.
62650 * configure.in: Remove support for elf directories in sysdeps.
62652 * configure: Regenerated.
62653 * sysdeps/i386/configure: Regenerated.
62654 * sysdeps/powerpc/powerpc32/configure: Regenerated.
62655 * sysdeps/powerpc/powerpc64/configure: Regenerated.
62656 * sysdeps/s390/s390-32/configure: Regenerated.
62657 * sysdeps/s390/s390-64/configure: Regenerated.
62658 * sysdeps/sh/configure: Regenerated.
62659 * sysdeps/sparc/configure: Regenerated.
62660 * sysdeps/x86_64/configure: Regenerated.
62662 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
62664 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62666 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
62667 denormal result into account.
62669 2012-03-25 Roland McGrath <roland@hack.frob.com>
62671 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
62672 Reported by Allan McRae <allan@archlinux.org>.
62674 2012-03-23 Jeff Law <law@redhat.com>
62676 * nss/getnssent.c (__nss_getent): Fix typo.
62678 2012-03-23 David S. Miller <davem@davemloft.net>
62680 * sysdeps/sparc/fpu/libm-test-ulps: Update.
62682 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
62684 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
62685 to pad to uint64_t for each field.
62686 (dl_tls_index): Replace unsigned long with uint64_t.
62688 2012-03-23 Daniel Jacobowitz <dmj@google.com>
62689 Paul Pluzhnikov <ppluzhnikov@google.com>
62692 * grp/Makefile (otherlibs): Don't set it.
62693 * inet/Makefile (otherlibs): Likewise.
62694 * login/Makefile (otherlibs): Likewise.
62695 * nscd/Makefile (otherlibs): Likewise.
62696 * posix/Makefile (otherlibs): Likewise.
62697 * pwd/Makefile (otherlibs): Likewise.
62698 * rt/Makefile (otherlibs): Likewise.
62699 * sunrpc/Makefile (otherlibs): Likewise.
62700 * nss/Makefile (otherlibs): Likewise.
62701 Add libnss_files to routines and static-only-routines.
62702 ($(objpfx)getent): Remove rule.
62703 * resolv/Makefile: Add libnss_dns and libresolv to routines and
62704 static-only-routines.
62706 2012-03-22 Joseph Myers <joseph@codesourcery.com>
62709 * math/s_cexp.c: Include <float.h>.
62710 (__cexp): Handle exp result overflowing not necessarily
62711 overflowing both real and imaginary parts of result.
62712 * math/s_cexpf.c: Likewise.
62713 * math/s_cexpl.c: Likewise.
62714 * math/libm-test.inc (cexp_test): Add more tests.
62715 * sysdeps/i386/fpu/libm-test-ulps: Update.
62716 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62718 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
62720 * include/link.h (ELFW): New macro.
62721 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
62722 Replace ELF64_R_TYPE with ELFW(R_TYPE).
62724 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
62726 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
62729 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
62731 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
62733 (struct La_x32_retval): Likewise.
62735 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
62737 * sysdeps/x86_64/preconfigure.in: New file.
62738 * sysdeps/x86_64/preconfigure: New generated file.
62740 2012-03-22 Joseph Myers <joseph@codesourcery.com>
62743 * math/e_exp2l.c: Include <float.h>.
62744 (__ieee754_exp2l): Handle overflow and underflow cases
62745 separately. Only pass fractional part of argument to
62747 * math/libm-test.inc (exp2_test): Add more tests.
62749 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
62750 negating x to take absolute value.
62751 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
62753 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
62754 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
62756 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
62757 computing low part if x was negated.
62758 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
62760 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
62762 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
62763 la_x32_gnu_pltexit.
62764 (pltexit): Cast int_retval to ptrdiff_t.
62765 * elf/tst-auditmod3b.c: Likewise.
62766 * elf/tst-auditmod4b.c: Likewise.
62767 * elf/tst-auditmod5b.c: Likewise.
62768 * elf/tst-auditmod6b.c: Likewise.
62769 * elf/tst-auditmod6c.c: Likewise.
62770 * elf/tst-auditmod7b.c: Likewise.
62772 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
62773 and x32_gnu_pltexit.
62775 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
62776 __ELF_NATIVE_CLASS.
62777 (La_x32_regs): New macro.
62778 (La_x32_retval): Likewise.
62779 (la_x32_gnu_pltenter): New function prototype.
62780 (la_x32_gnu_pltexit): Likewise.
62782 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
62784 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
62787 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62789 * configure.in (libc_cv_cc_nofma): Check for option to disable
62790 generation of FMA instructions.
62791 * configure: Regenerate.
62792 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
62793 * sysdeps/ieee754/dbl-64/Makefile: New file.
62794 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
62795 Remove brandred-fma4.
62796 (CFLAGS-brandred-fma4.c): Remove.
62797 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
62798 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
62800 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
62803 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
62805 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
62806 LLONG_MAX != LONG_MAX.
62807 (_itoa_word): Use _ITOA_WORD_TYPE on value.
62808 (_fitoa_word): Likewise.
62809 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
62810 LLONG_MAX != LONG_MAX.
62811 * stdio-common/_itowa.h: Include <_itoa.h>.
62812 (_itowa_word): Use _ITOA_WORD_TYPE on value.
62813 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
62814 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
62815 only if not defined.
62816 (_ITOA_WORD_TYPE): Likewise.
62817 (_itoa_word): Use _ITOA_WORD_TYPE on value.
62818 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
62820 2012-03-21 David S. Miller <davem@davemloft.net>
62822 * sysdeps/sparc/fpu/libm-test-ulps: Update.
62824 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
62826 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
62827 of x86_64 when setting libc_cv_slibdir, libdir and
62829 * sysdeps/unix/sysv/linux/configure: Regenerated.
62831 2012-03-21 Joseph Myers <joseph@codesourcery.com>
62833 * manual/lang.texi (Old Varargs): Remove section.
62834 (How Variadic): Update menu.
62835 (va_start): Do not mention varargs.h.
62837 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
62838 Joseph Myers <joseph@codesourcery.com>
62840 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
62842 * configure: Regenerated.
62844 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
62846 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
62847 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
62850 2012-03-21 Joseph Myers <joseph@codesourcery.com>
62853 * Makefile (files-for-dist): Remove NOTES.
62854 (NOTES): Remove rule.
62855 * README: Don't refer to NOTES.
62856 * manual/creature.texi: Don't include macros.texi.
62857 * manual/intro.texi (creature.texi): Remove comment referring to
62860 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
62861 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
62862 * configure: Regenerated.
62863 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
62864 LIBC_TRY_CC_OPTION.
62865 (libc_cv_as_i686): Likewise.
62866 (libc_cv_cc_avx): Likewise.
62867 (libc_cv_cc_sse2avx): Likewise.
62868 (libc_cv_cc_fma4): Likewise.
62869 (libc_cv_cc_novzeroupper): Likewise.
62870 * sysdeps/i386/configure: Regenerated.
62873 * sysdeps/i386/fpu/s_cexp.S: Remove.
62874 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
62875 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
62876 * math/libm-test.inc (cexp_test): Add more tests.
62877 * sysdeps/i386/fpu/libm-test-ulps: Update.
62878 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62880 2012-03-21 Allan McRae <allan@archlinux.org>
62882 * timezone/Makefile: Do not install iso3166.tab and zone.tab
62884 2012-03-21 Joseph Myers <joseph@codesourcery.com>
62887 * math/w_exp2.c: Do not include <float.h>.
62888 (o_threshold, u_threshold): Remove.
62889 (__exp2): Calculate result before checking finiteness and calling
62891 * math/w_exp2f.c: Likewise.
62892 * math/w_exp2l.c: Likewise.
62893 * math/libm-test.inc (exp2_test): Require overflow exception for
62897 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
62898 range of signed 64-bit integers before using fistpll. Remove
62899 checks for whether integers fit in mantissa bits.
62900 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
62901 the range of signed 32-bit integers before using fistpl. Remove
62902 checks for whether integers fit in mantissa bits.
62903 * sysdeps/i386/fpu/e_powl.S (p64): New object.
62904 (__ieee754_powl): Test for y outside the range of signed 64-bit
62905 integers before using fistpll. Reduce 64-bit values to 63-bit
62907 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
62908 divide-by-zero is raised for zero to large negative powers.
62909 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
62910 (__ieee754_powl): Test for y outside the range of signed 64-bit
62911 integers before using fistpll. Reduce 64-bit values to 63-bit
62913 * math/libm-test.inc (pow_test): Add more tests.
62915 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
62917 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
62918 <stdio-common/_itoa.h>.
62919 * debug/segfault.c: Likewise.
62920 * elf/dl-cache.c: Likewise.
62921 * elf/dl-minimal.c: Likewise.
62922 * elf/dl-misc.c: Likewise.
62923 * elf/dl-sysdep.c: Likewise.
62924 * elf/dl-version.c: Likewise.
62925 * elf/rtld.c: Likewise.
62926 * hurd/hurdsock.c: Likewise.
62927 * hurd/lookup-retry.c: Likewise.
62928 * malloc/malloc.c: Likewise.
62929 * malloc/mtrace.c: Likewise.
62930 * nscd/nscd_getgr_r.c: Likewise.
62931 * nscd/nscd_getpw_r.c: Likewise.
62932 * nscd/nscd_getserv_r.c: Likewise.
62933 * posix/getopt_init.c: Likewise.
62934 * posix/wordexp.c: Likewise.
62935 * stdio-common/_itoa.c: Likewise.
62936 * stdio-common/printf_fphex.c: Likewise.
62937 * stdio-common/vfprintf.c: Likewise.
62938 * string/_strerror.c: Likewise.
62939 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
62940 * sysdeps/i386/i686/hp-timing.h: Likewise.
62941 * sysdeps/mach/_strerror.c: Likewise.
62942 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
62943 * sysdeps/mach/hurd/sethostid.c: Likewise.
62944 * sysdeps/mach/hurd/xmknodat.c: Likewise.
62945 * sysdeps/mach/xpg-strerror.c: Likewise.
62946 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
62947 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
62948 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
62949 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
62950 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
62951 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
62952 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
62953 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
62954 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
62955 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
62956 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
62957 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
62958 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
62959 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
62960 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
62961 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
62962 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
62963 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
62964 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
62965 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
62966 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
62968 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
62970 * stdio-common/_itoa.h: Moved to ...
62971 * sysdeps/generic/_itoa.h: Here.
62973 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
62975 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
62976 instead of "_itoa.h" and "_itowa.h".
62977 * stdio-common/vfprintf.: Likewise.
62979 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
62981 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
62983 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
62984 (__signbit): Likwise.
62985 (llrintf): Likwise.
62988 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
62990 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
62993 2012-03-20 Joseph Myers <joseph@codesourcery.com>
62995 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
62996 OVERFLOW_EXCEPTION_OK.
62997 * math/libm-test.inc ("Philosophy"): Update comment about
62999 (OVERFLOW_EXCEPTION): Define.
63000 (OVERFLOW_EXCEPTION_OK): Likewise.
63001 (INVALID_EXCEPTION_OK): Renumber.
63002 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
63003 (IGNORE_ZERO_INF_SIGN): Likewise.
63004 (test_exceptions): Handle FE_OVERFLOW.
63005 (exp10_test): Expect overflow exceptions.
63006 (exp2_test): Likewise.
63007 (expm1_test): Likewise.
63008 (nextafter_test): Likewise.
63009 (pow_test): Likewise.
63010 (scalbn_test): Likewise.
63011 (scalbln_test): Likewise.
63013 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
63015 * sysdeps/x86_64/bits/atomic.h
63016 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
63018 (atomic_exchange_acq): Likewise.
63019 (__arch_exchange_and_add_body): Likewise.
63020 (__arch_add_body): Likewise.
63021 (atomic_add_negative): Likewise.
63022 (atomic_add_zero): Likewise.
63024 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
63026 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
63027 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
63029 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
63031 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
63032 Check __x86_64__ instead of __WORDSIZE.
63034 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
63036 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
63038 2012-03-19 David S. Miller <davem@davemloft.net>
63040 * sysdeps/sparc/fpu/libm-test-ulps: Update.
63042 * sysdeps/sparc/fpu/fenv_private.h: New file.
63043 * sysdeps/sparc/fpu/math_private.h: Use it.
63044 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
63046 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
63047 (libc_feholdexcept_setroundl): Remove.
63048 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
63050 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
63051 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
63053 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
63055 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
63056 int64_t instead of long int.
63057 (INSERT_WORDS64): Likwise.
63059 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
63061 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
63062 _Unwind_GetCFA return to _Unwind_Ptr first.
63064 2012-03-19 Joseph Myers <joseph@codesourcery.com>
63067 * math/s_clog.c: Include <float.h>.
63068 (__clog): Scale large or subnormal inputs.
63069 * math/s_clogf.c: Likewise.
63070 * math/s_clogl.c: Likewise.
63071 * math/s_clog10.c: Include <float.h>.
63072 (M_LOG10_2): Define.
63073 (__clog10): Scale large or subnormal inputs.
63074 * math/s_clog10f.c: Likewise.
63075 * math/s_clog10l.c: Likewise.
63076 * math/libm-test.inc (clog_test): Add more tests.
63077 (clog10_test): Likewise.
63078 * sysdeps/i386/fpu/libm-test-ulps: Update.
63079 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63082 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
63084 * math/libm-test.inc (atan2_test): Add another test.
63086 * Makerules (common-objdir-compile): Remove.
63087 * sysdeps/unix/Makefile (config-generated): Do not add
63088 $(unix-generated) to variable.
63089 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
63090 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
63092 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
63094 [generic bits/local_lim.h] (before-compile): Do not append to
63096 [generic bits/local_lim.h] (common-generated): Likewise.
63097 [generic sys/param.h] (before-compile): Do not append to variable.
63098 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
63099 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
63100 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
63101 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
63103 [generic sys/param.h] (sys/param.h-includes): Remove variable.
63104 [generic sys/param.h] (sys/param.h-includes): Remove rule.
63105 [generic sys/param.h] ($(addprefix
63106 $(common-objpfx),$(sys/param.h-includes))): Likewise.
63107 [generic sys/param.h] (common-generated): Do not append to
63109 [generic sys/param.h] (sysdep_headers): Likewise.
63110 [generic bits/errno.h] (before-compile): Do not append to
63112 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
63114 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
63115 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
63116 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
63117 [generic bits/errno.h] (common-generated): Do not append to
63119 [generic bits/ioctls.h] (before-compile): Do not append to
63121 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
63123 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
63124 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
63125 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
63127 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
63128 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
63129 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
63130 [generic bits/ioctls.h] (common-generated): Do not append to
63132 [generic sys/syscall.h] (syscall.h): Remove variable.
63133 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
63135 [generic sys/syscall.h] (before-compile): Do not append to
63137 [generic sys/syscall.h] (common-generated): Likewise.
63138 * sysdeps/unix/errnos-tmpl.c: Remove file.
63139 * sysdeps/unix/errnos.awk: Likewise.
63140 * sysdeps/unix/ioctls-tmpl.c: Likewise.
63141 * sysdeps/unix/ioctls.awk: Likewise.
63142 * sysdeps/unix/mk-local_lim.c: Likewise.
63143 * sysdeps/unix/snarf-ioctls: Likewise.
63145 2012-03-19 Richard Henderson <rth@twiddle.net>
63147 * sysdeps/i386/fpu/fenv_private.h: New file.
63148 * sysdeps/i386/fpu/math_private.h: Use it.
63149 (math_opt_barrier, math_force_eval): Remove.
63150 (libc_feholdexcept_setround_53bit): Remove.
63151 (libc_feupdateenv_53bit): Remove.
63152 * sysdeps/x86_64/fpu/math_private.h: Likewise.
63153 (math_opt_barrier, math_force_eval): Remove.
63154 (libc_feholdexcept): Remove.
63155 (libc_feholdexcept_setround): Remove.
63156 (libc_fetestexcept, libc_fesetenv): Remove.
63157 (libc_feupdateenv_test): Remove.
63158 (libc_feupdateenv, libc_feholdsetround): Remove.
63159 (libc_feresetround): Remove.
63161 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
63162 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
63164 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
63165 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
63166 (libc_feupdateenv_testl): New.
63167 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
63168 (libc_feupdateenv_testf): New.
63169 (libc_feupdateenv): Use libc_feupdateenv_test.
63170 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
63171 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
63173 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
63174 (libc_feholdsetroundf, libc_feholdsetroundl): New.
63175 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
63176 (libc_feresetround_noex): New.
63177 (libc_feresetround_noexf): New.
63178 (libc_feresetround_noexl): New.
63179 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
63180 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
63181 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
63182 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
63184 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
63185 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
63187 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
63188 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
63189 SET_RESTORE_ROUND_NOEX.
63190 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
63191 SET_RESTORE_ROUND_NOEXF.
63192 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
63193 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
63194 (libc_feholdsetroundf): New.
63195 (libc_feresetround, libc_feresetroundf): New.
63197 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
63198 (libc_feholdexcept_setround_53bit): Convert from macro to function.
63199 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
63201 * sysdeps/generic/math_private.h: Include <fenv.h>.
63202 (default_libc_feholdexcept): New.
63203 (default_libc_feholdexcept_setround): New.
63204 (default_libc_fesetenv, default_libc_feupdateenv): New.
63205 (libc_feholdexcept): Only define if undefined.
63206 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
63207 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
63208 (libc_feholdexcept_setroundl): Likewise.
63209 (libc_feholdexcept_setround_53bit): Likewise.
63210 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
63211 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
63212 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
63213 (libc_feupdateenv_53bit): Likewise.
63214 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
63215 (libc_feholdexcept): Convert from macro to inline function.
63216 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
63217 (libc_fesetenv, libc_feupdateenv): Likewise.
63219 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
63220 not previously defined.
63221 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
63222 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
63223 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
63224 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
63225 * sysdeps/ieee754/flt-32/math_private.h: New file.
63226 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
63227 math_private.h below SET_FLOAT_WORD.
63228 (__isnan, __isinf_ns, __finite): Remove.
63229 (__isnanf, __isinf_nsf, __finitef): Remove.
63231 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
63233 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63235 2012-03-17 David S. Miller <davem@davemloft.net>
63238 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
63241 2012-03-16 David S. Miller <davem@davemloft.net>
63243 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
63247 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
63249 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
63250 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
63251 sysdep_routines when subdir is sysvipc.
63252 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
63253 __getshmlba helper.
63255 * sysdeps/sparc/fpu/libm-test/ulps: Update.
63257 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
63259 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
63262 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
63264 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
63265 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
63266 (__lround): Renamed to ...
63267 (__llround): This. Replace long int with long long int.
63268 Define lround functions as aliases of llround functions.
63269 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
63271 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
63273 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
63274 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
63275 adresses to uintptr_t. Replace "long int" and "unsigned long
63276 int" with "greg_t" on va_arg.
63278 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
63280 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
63281 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
63283 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
63284 Move e_machine check before EI_CLASS check. Handle x32
63285 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
63286 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
63287 SKIP_EM_IA_64 and include
63288 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
63290 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
63291 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
63292 (add_system_dir): New macro.
63294 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
63295 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
63297 2012-03-16 Joseph Myers <joseph@codesourcery.com>
63308 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
63310 * math/w_j0f.c (j0f): Likewise.
63312 * math/w_j0l.c (__j0l): Likewise.
63314 * math/w_j1.c (j1): Likewise.
63316 * math/w_j1f.c (j1f): Likewise.
63318 * math/w_j1l.c (__j1l): Likewise.
63320 * math/w_jn.c (jn): Likewise.
63322 * math/w_jnf.c (jnf): Likewise.
63324 * math/w_jnl.c (__jnl): Likewise.
63326 * math/libm-test.inc (j0_test): Add more tests.
63327 (j1_test): Likewise.
63328 (jn_test): Likewise. Add trailing semicolon to existing test.
63329 (y0_test): Likewise.
63330 (y1_test): Likewise.
63331 * sysdeps/i386/fpu/libm-test-ulps: Update.
63332 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63336 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
63337 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
63338 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
63339 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
63340 (__tanl): Set errno for infinite argument.
63341 * sysdeps/i386/fpu/mptan.c: Remove.
63342 * sysdeps/i386/fpu/s_tan.S: Likewise.
63343 * sysdeps/i386/fpu/s_tanl.S: Likewise.
63344 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
63345 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
63346 * math/libm-test.inc (tan_test): Add more tests and enable more
63347 tests for double and long double.
63348 * sysdeps/i386/fpu/libm-test-ulps: Update.
63349 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63351 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
63353 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
63354 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
63356 2012-03-16 Roland McGrath <roland@hack.frob.com>
63358 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
63359 * configure.in: Use it for both main tree and add-ons.
63360 * configure: Regenerated.
63362 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
63364 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
63366 2012-03-16 Joseph Myers <joseph@codesourcery.com>
63368 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
63372 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
63373 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
63374 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
63375 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
63376 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
63378 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
63379 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
63380 != 0 for prec == 2.
63381 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
63382 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
63383 * sysdeps/i386/fpu/s_cosl.S: Likewise.
63384 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
63385 * sysdeps/i386/fpu/s_sinl.S: Likewise.
63386 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
63387 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
63388 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
63389 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
63390 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
63391 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
63392 * math/libm-test.inc (cos_test): Add more tests and enable more
63393 tests for long double.
63394 (sin_test): Likewise.
63395 (sincos_test): Likewise.
63396 * sysdeps/i386/fpu/libm-test-ulps: Update.
63397 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63399 2012-03-16 David S. Miller <davem@davemloft.net>
63401 * sysdeps/sparc/fpu/math_private.h: New file.
63403 2012-03-15 David S. Miller <davem@davemloft.net>
63405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
63407 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
63408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
63410 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
63411 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
63412 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
63413 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
63414 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
63415 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
63417 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
63419 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
63420 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
63422 * sysdeps/sparc/sparc-ifunc.h: New file.
63423 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
63425 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
63426 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
63428 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
63430 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
63431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
63432 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
63433 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
63435 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
63436 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
63437 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
63438 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
63439 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
63441 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
63443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
63444 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
63445 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
63446 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
63447 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
63448 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
63449 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
63450 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
63451 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
63452 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
63453 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
63454 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
63455 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
63456 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
63457 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
63458 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
63459 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
63460 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
63461 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
63462 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
63463 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
63464 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
63465 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
63466 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
63468 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
63470 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
63472 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63474 2012-03-15 Andreas Jaeger <aj@suse.de>
63477 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
63478 ieee754/flt-32 implementation for sin, cos and sincos.
63479 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
63480 * sysdeps/i386/fpu/s_cosf.S: Likewise.
63481 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
63482 * sysdeps/i386/fpu/s_sinf.S: Likewise.
63483 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
63484 ieee754/flt-32 implementation for tan.
63486 * math/libm-test.inc (cos_test): Enable some large input tests for
63488 (sin_test): Likewise.
63489 (sincos_test): Likewise.
63490 (tan_test): Add tests for large input.
63492 * sysdeps/i386/fpu/libm-test-ulps: Update.
63494 2012-03-15 Andreas Jaeger <aj@suse.de>
63497 * math/libm-test.inc (cos_test): Add more test cases.
63498 (sin_test): Likewise.
63499 (sincos_test): Likewise.
63501 2012-03-15 Andreas Jaeger <aj@suse.de>
63504 * math/libm-test.inc (cos_test): Add a test case for large input
63506 (sin_test): Likewise.
63507 (sincos_test): Likewise.
63509 2012-03-15 Andreas Jaeger <aj@suse.de>
63510 Joseph Myers <joseph@codesourcery.com>
63513 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
63514 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
63515 * sysdeps/i386/fpu/branred.c: Likewise.
63516 * sysdeps/i386/fpu/dosincos.c: Likewise.
63517 * sysdeps/i386/fpu/mpa.c: Likewise.
63518 * sysdeps/i386/fpu/s_cos.S: Likewise.
63519 * sysdeps/i386/fpu/s_sin.S: Likewise.
63520 * sysdeps/i386/fpu/s_sincos.S: Likewise.
63521 * sysdeps/i386/fpu/sincos32.c: Likewise.
63523 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
63525 (libc_feupdateenv_53bit): Define.
63526 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
63528 (libc_feupdateenv_53bit): Define.
63530 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
63531 53 bit (without extend i386 double precision).
63533 * math/libm-test.inc (sincos_test): Add tests for large input.
63537 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
63539 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
63541 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63543 2012-03-15 David S. Miller <davem@davemloft.net>
63545 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
63546 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
63547 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
63548 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
63549 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
63550 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
63551 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
63552 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
63553 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
63554 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
63555 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
63556 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
63557 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
63558 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
63559 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
63560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
63562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
63563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
63565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
63566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
63568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
63569 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
63571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
63572 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
63573 fmin/fmax sysdep routines.
63574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
63576 2012-03-14 David S. Miller <davem@davemloft.net>
63578 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
63579 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
63580 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
63581 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
63582 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
63583 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
63584 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
63585 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
63586 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
63587 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
63588 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
63589 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
63590 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
63591 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
63592 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
63593 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
63594 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
63595 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
63596 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
63597 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
63598 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
63599 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
63600 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
63601 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
63602 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
63603 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
63604 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
63605 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
63606 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
63608 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
63610 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
63611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
63613 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
63614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
63616 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
63617 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
63619 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
63620 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
63622 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
63623 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
63625 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
63627 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
63629 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
63631 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
63633 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
63635 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
63637 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
63638 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
63640 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
63641 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
63643 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
63644 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
63646 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
63647 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
63650 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
63653 * sysdeps/sparc/fpu/libm-test-ulps: Update.
63655 * sysdeps/sparc/configure.in: New file.
63656 * sysdeps/sparc/configure: Generate.
63657 * configure.in (libc_cv_sparc_as_vis3): Substitute.
63658 * configure: Regenerate.
63659 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
63660 * config.make.in (have-as-vis3): New.
63661 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
63662 available use -Av9d instead of -Av9a.
63663 * sysdeps/sparc/sparc64/Makefile: Likewise.
63664 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
63665 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
63667 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
63669 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
63671 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
63673 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
63674 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
63675 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
63676 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
63677 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
63679 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
63680 fzeros/fnegs to load 0x80000000 into a float register instead of
63682 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
63684 2012-03-14 Joseph Myers <joseph@codesourcery.com>
63686 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
63688 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
63689 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
63690 ($(inst_includedir)/bits/syscall.h): Remove rule.
63691 ($(objpfx)bits/syscall.d): Include instead of
63692 $(objpfx)syscall-list.d.
63693 (generated): Change syscall-list.h and syscall-list.d to
63694 bits/syscall.h and bits/syscall.d.
63696 2012-03-14 Roland McGrath <roland@hack.frob.com>
63699 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
63701 2012-03-14 Joseph Myers <joseph@codesourcery.com>
63704 * math/s_csqrt.c: Include <float.h>.
63705 (__csqrt): Scale large or subnormal inputs.
63706 * math/s_csqrtf.c: Likewise.
63707 * math/s_csqrtl.c: Likewise.
63708 * math/libm-test.inc (csqrt_test): Add more tests.
63709 * sysdeps/i386/fpu/libm-test-ulps: Update.
63710 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63713 * math/libm-test.inc (hypot_test): Add more tests.
63715 2012-03-13 David S. Miller <davem@davemloft.net>
63718 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
63719 double-precision for the calculation instead of scaling.
63721 2012-03-13 Joseph Myers <joseph@codesourcery.com>
63723 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
63724 manipulate bits before adding and subtracting TWO52[sx].
63725 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
63726 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
63728 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
63730 2012-03-13 David S. Miller <davem@davemloft.net>
63732 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
63733 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
63734 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
63735 rtld-global-offsets.h
63736 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
63738 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
63741 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
63743 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
63744 'err' in the ifdef scope in which it is actually used.
63746 * nss/nss_db/db-init.c: Include string.h
63748 2012-03-12 David S. Miller <davem@davemloft.net>
63750 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
63751 masking out of the most significant byte of random value used.
63752 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
63753 Fix coding style in previous change.
63755 * sysdeps/unix/sysv/linux/kernel-features.h
63756 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
63757 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
63759 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
63762 2012-03-11 David S. Miller <davem@davemloft.net>
63764 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
63765 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
63766 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
63767 for 'resultvar' otherwise things get truncated on 64-bit.
63769 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
63770 Fix masking out of the most significant byte of random value used.
63772 * sysdeps/sparc/fpu/libm-test-ulps: Update.
63774 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
63776 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63778 2012-03-09 David S. Miller <davem@davemloft.net>
63780 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
63781 variables with appropriate CPP guards.
63782 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
63783 from the frame pointer, not the stack pointer. Correct layout
63784 comments. Fix test on resulting framesize and the management of
63785 the outregs buffer for pltexit. Preserve floating point return
63786 values across _dl_call_pltexit call.
63787 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
63788 framesize and the management of the outregs buffer for pltexit.
63789 Preserve floating point return values across _dl_call_pltexit
63791 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
63792 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
63793 (la_sparc64_gnu_pltexit): New functions.
63794 (print_exit): Fix format string for return register value.
63796 2012-03-10 Joseph Myers <joseph@codesourcery.com>
63798 * sunrpc/Makefile (others): Add rpcgen.
63799 ($(objpfx)rpcgen): Remove special build rule and dependency on
63801 * sunrpc/rpcgen.c: New file.
63803 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
63806 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
63807 * stdio-common/bug-vfprintf-nargs.c: Likewise.
63808 * sysdeps/i386/crti.S: Likewise.
63809 * sysdeps/i386/crtn.S: Likewise.
63810 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
63811 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
63812 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
63813 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
63814 * sysdeps/sh/crti.S: Likewise.
63815 * sysdeps/sh/crtn.S: Likewise.
63816 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
63819 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
63821 * locale/programs/locfile-kw.gperf: Likewise.
63822 * locale/programs/charmap-kw.h: Regenerated.
63823 * locale/programs/locfile-kw.h: Likewise.
63826 * intl/plural.y: Replace FSF snail mail address with URL.
63827 * intl/plural.c: Regenerated.
63829 2012-03-09 Richard Henderson <rth@twiddle.net>
63831 * include/math_private.h: Remove file.
63832 * math/math_private.h: Move file ...
63833 * sysdeps/generic/math_private.h: ... here.
63835 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
63836 * sysdeps/powerpc/fpu/math_private.h: Likewise.
63837 * sysdeps/x86_64/fpu/math_private.h: Likewise.
63839 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
63840 and <math_private.h>.
63841 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
63842 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
63843 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
63844 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
63845 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
63846 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
63847 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
63848 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
63849 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
63850 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
63851 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
63852 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
63853 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
63854 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
63855 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
63856 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
63857 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
63858 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
63859 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
63860 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
63861 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
63862 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
63863 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
63864 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
63865 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
63866 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
63867 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
63868 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
63869 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
63870 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
63871 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
63872 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
63873 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
63874 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
63875 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
63876 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
63877 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
63878 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
63879 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
63880 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
63881 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
63882 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
63883 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
63884 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
63885 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
63886 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
63887 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
63888 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
63889 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
63890 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
63891 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
63892 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
63893 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
63894 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
63895 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
63896 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
63897 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
63898 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
63899 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
63900 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
63901 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
63902 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
63903 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
63904 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
63905 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
63906 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
63907 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
63908 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
63909 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
63910 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
63911 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
63912 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
63913 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
63914 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
63915 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
63916 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
63917 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
63918 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
63919 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
63920 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
63921 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
63922 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
63923 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
63924 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
63925 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
63926 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
63927 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
63928 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
63929 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
63930 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
63931 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
63932 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
63933 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
63934 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
63935 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
63936 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
63937 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
63938 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
63939 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
63940 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
63941 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
63942 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
63943 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
63944 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
63945 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
63946 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
63947 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
63948 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
63949 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
63950 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
63951 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
63952 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
63953 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
63954 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
63955 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
63956 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
63957 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
63958 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
63959 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
63960 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
63961 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
63962 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
63963 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
63964 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
63965 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
63966 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
63967 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
63968 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
63969 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
63970 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
63971 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
63972 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
63973 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
63974 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
63975 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
63976 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
63977 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
63978 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
63979 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
63980 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
63981 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
63982 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
63983 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
63984 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
63985 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
63986 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
63987 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
63988 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
63989 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
63990 * sysdeps/ieee754/k_standard.c: Likewise.
63991 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
63992 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
63993 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
63994 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
63995 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
63996 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
63997 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
63998 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
63999 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
64000 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
64001 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
64002 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
64003 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
64004 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
64005 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
64006 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
64007 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
64008 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
64009 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
64010 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
64011 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
64012 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
64013 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
64014 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
64015 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
64016 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
64017 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
64018 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
64019 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
64020 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
64021 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
64022 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
64023 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
64024 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
64025 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
64026 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
64027 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
64028 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
64029 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
64030 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
64031 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
64032 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
64033 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
64034 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
64035 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
64036 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
64037 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
64038 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
64039 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
64040 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
64041 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
64042 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
64043 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
64044 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
64045 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
64046 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
64047 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
64048 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
64049 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
64050 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
64051 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
64052 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
64053 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
64054 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
64055 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
64056 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
64057 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
64058 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
64059 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
64060 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
64061 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
64062 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
64063 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
64064 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
64065 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
64066 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
64067 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
64068 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
64069 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
64070 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
64071 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
64072 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
64073 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
64074 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
64075 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
64076 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
64077 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
64078 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
64079 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
64080 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
64081 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
64082 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
64083 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
64084 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
64085 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
64086 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
64087 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
64088 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
64089 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
64090 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
64091 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
64092 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
64093 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
64094 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
64095 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
64096 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
64097 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
64098 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
64099 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
64100 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
64101 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
64102 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
64103 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
64104 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
64105 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
64106 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
64107 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
64108 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
64109 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
64110 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
64111 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
64112 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
64113 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
64114 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
64115 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
64116 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
64117 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
64118 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
64119 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
64120 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
64121 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
64122 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
64123 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
64124 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
64125 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
64126 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
64127 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
64128 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
64129 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
64130 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
64131 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
64132 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
64133 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
64134 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
64135 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
64136 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
64137 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
64138 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
64139 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
64140 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
64141 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
64142 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
64143 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
64144 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
64145 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
64146 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
64147 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
64148 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
64149 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
64150 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
64151 * sysdeps/ieee754/s_lib_version.c: Likewise.
64152 * sysdeps/ieee754/s_matherr.c: Likewise.
64153 * sysdeps/ieee754/s_signgam.c: Likewise.
64154 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
64155 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
64156 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
64157 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
64158 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
64159 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
64160 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
64161 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
64162 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
64163 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
64164 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
64165 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
64166 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
64167 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
64168 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
64169 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
64170 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
64171 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
64172 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
64173 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
64174 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
64176 2012-03-09 Joseph Myers <joseph@codesourcery.com>
64178 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
64179 * sunrpc/rpc_main.c: Likewise.
64180 * sunrpc/rpc_svcout.c: Likewise.
64182 2012-03-09 David S. Miller <davem@davemloft.net>
64184 * include/math_private.h: New file.
64186 2012-03-09 Joseph Myers <joseph@codesourcery.com>
64188 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
64189 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
64190 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
64191 from <bits/socket_type.h>.
64192 (enum __socket_type): Don't define here.
64193 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
64194 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
64195 bits/socket_type.h.
64198 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
64199 checking __USE_GNU.
64201 * Makerules ($(inst_includedir)/%.h): New rule.
64202 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
64203 (install-others): Remove variable setting.
64204 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
64206 2012-03-08 Richard Henderson <rth@twiddle.net>
64208 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
64209 from macro to inline function; merge with the
64210 !__LIBC_INTERNAL_MATH_INLINES version.
64211 (__ieee754_sqrtf): Likewise.
64213 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
64214 to inline function.
64215 (__rintf, __floor, __floorf): Likewise.
64217 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
64218 macro to inline function.
64219 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
64221 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
64222 not <math/math_private.h>.
64224 2012-03-08 David S. Miller <davem@davemloft.net>
64226 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
64228 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
64230 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
64232 * resolv/gai_misc.c (handle_requests): Fix struct timespec
64234 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
64235 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
64237 2012-03-08 Ulrich Drepper <drepper@gmail.com>
64239 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
64240 be defined individually, they must be defined as a block. Define
64241 S for printing a string instead of hidint the different by using a
64242 macro for adding the 'l'.
64243 * stdio-common/tst-fphex-wide.c: Adjust.
64245 2012-03-07 Marek Polacek <polacek@redhat.com>
64247 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
64249 2012-03-08 Marek Polacek <polacek@redhat.com>
64252 * stdio-common/Makefile (tests): Add tst-fphex-wide.
64253 * stdio-common/tst-fphex.c: Define a few macros to make the
64254 test reusable. Use them.
64255 * stdio-common/tst-fphex-wide.c: New file.
64257 2012-03-08 Joseph Myers <joseph@codesourcery.com>
64260 * manual/macros.texi (gnusystems): New macro.
64261 (nongnusystems): Likewise.
64262 (gnulinuxhurdsystems): Likewise.
64263 (gnuhurdsystems): Likewise..
64264 (gnulinuxsystems): Likewise.
64265 * manual/charset.texi: Use new macros or @theglibc{} to refer to
64266 variants of the GNU system, not "GNU system".
64267 * manual/conf.texi: Likewise.
64268 * manual/errno.texi: Likewise. Update example of errno macro
64270 * manual/filesys.texi: Likewise.
64271 (getumask): Document as specific to GNU/Hurd.
64272 * manual/install.texi: Likewise. Reword some references to
64274 * manual/intro.texi: Likewise.
64275 * manual/io.texi: Likewise.
64276 (File Name Portability): Detail which constraints are inapplicable
64277 to all GNU systems and which are only inapplicable to GNU/Hurd.
64278 * manual/job.texi: Likewise.
64279 * manual/llio.texi: Likewise.
64280 (O_NOCTTY): Document as present on GNU/Linux.
64281 * manual/maint.texi: Likewise.
64282 * manual/memory.texi: Likewise.
64283 * manual/pattern.texi: Likewise.
64284 * manual/pipe.texi: Likewise.
64285 * manual/process.texi: Likewise.
64286 * manual/resource.texi: Likewise.
64287 (RUSAGE_CHILDREN): Remove statement about specifying a particular
64289 * manual/setjmp.texi: Likewise.
64290 * manual/signal.texi: Likewise.
64291 * manual/startup.texi: Likewise.
64292 * manual/stdio.texi: Likewise.
64293 * manual/terminal.texi: Likewise.
64294 (ONLCR): Document as POSIX.
64295 (OXTABS): Document availability on GNU/Linux as XTABS.
64296 (ONOEOT): Document availability separately from other bits.
64297 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
64298 * manual/time.texi: Likewise.
64299 * manual/users.texi: Likewise.
64300 * INSTALL: Regenerated.
64301 * sysdeps/gnu/errlist.c: Regenerated.
64303 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
64304 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
64305 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
64307 * configure: Regenerated.
64309 2012-03-07 Joseph Myers <joseph@codesourcery.com>
64311 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
64312 default includes instead of AC_HEADER_CHECK.
64313 * sysdeps/i386/configure: Regenerated.
64316 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
64317 * math/s_cacoshf.c (__cacoshf): Likewise.
64318 * math/s_cacoshl.c (__cacoshl): Likewise.
64319 * math/s_casinh.c (__casinh): Set signs of result from argument.
64320 * math/s_casinhf.c (__casinhf): Likewise.
64321 * math/s_casinhl.c (__casinhl): Likewise.
64322 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
64323 (casinh_test): Add more tests.
64324 * sysdeps/i386/fpu/libm-test-ulps: Update.
64325 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64327 2012-03-07 Ulrich Drepper <drepper@gmail.com>
64329 * po/zh_TW.po: Update from translation team.
64331 * login/Makefile (distribute): Remove variable.
64332 * catgets/Makefile: Likewise.
64333 * mach/Makefile: Likewise.
64334 * malloc/Makefile: Likewise.
64335 * misc/Makefile: Likewise.
64336 * iconv/Makefile: Likewise.
64337 * nscd/Makefile: Likewise.
64338 * hurd/Makefile: Likewise.
64339 * manual/Makefile: Likewise.
64340 * locale/Makefile: Likewise.
64341 * intl/Makefile: Likewise.
64342 * conform/Makefile: Likewise.
64343 * nss/Makefile: Likewise.
64344 * time/Makefile: Likewise.
64345 * soft-fp/Makefile: Likewise.
64346 * dirent/Makefile: Likewise.
64347 * gmon/Makefile: Likewise.
64348 * po/Makefile: Likewise.
64349 * rt/Makefile: Likewise.
64350 * socket/Makefile: Likewise.
64351 * math/Makefile: Likewise.
64352 * signal/Makefile: Likewise.
64353 * debug/Makefile: Likewise.
64354 * elf/Makefile: Likewise.
64355 * timezone/Makefile: Likewise.
64356 * stdlib/Makefile: Likewise.
64357 * iconvdata/Makefile: Likewise.
64358 * sunrpc/Makefile: Likewise.
64359 * io/Makefile: Likewise.
64360 * argp/Makefile: Likewise.
64361 * inet/Makefile: Likewise.
64362 * hesiod/Makefile: Likewise.
64363 * grp/Makefile: Likewise.
64364 * csu/Makefile: Likewise.
64365 * wctype/Makefile: Likewise.
64366 * crypt/Makefile: Likewise.
64367 * libio/Makefile: Likewise.
64368 * string/Makefile: Likewise.
64369 * nis/Makefile: Likewise.
64370 * resolv/Makefile: Likewise.
64371 * stdio-common/Makefile: Likewise.
64372 * wcsmbs/Makefile: Likewise.
64373 * dlfcn/Makefile: Likewise.
64374 * posix/Makefile: Likewise.
64377 * timezone/Makefile: Don't install timezone files, just the programs
64380 2012-03-06 Ulrich Drepper <drepper@gmail.com>
64382 * nss/databases.def: Add missing gshadow entry.
64384 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
64386 2012-03-06 Marek Polacek <polacek@redhat.com>
64389 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
64390 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
64391 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
64392 * stdio-common/tst-long-dbl-fphex.c: New file.
64394 2012-03-06 David S. Miller <davem@davemloft.net>
64396 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
64397 (set_obp_int): New function.
64398 (get_obp_int): New function.
64399 (__get_clockfreq_via_dev_openprom): Likewise.
64400 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
64401 Avoid unused variable warnings on 'val' and use builtin_expect.
64402 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
64404 (INLINE_CLONE_SYSCALL): Likewise.
64406 2012-03-05 David S. Miller <davem@davemloft.net>
64408 * sysdeps/sparc/fpu/libm-test-ulps: Update.
64410 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
64412 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64414 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
64415 only for |x| >= 40.
64416 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
64418 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
64420 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
64421 Replace gettimeofday with __vdso_gettimeofday.
64423 * sysdeps/unix/sysv/linux/x86_64/init-first.c
64424 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
64425 __vdso_clock_gettime and __vdso_getcpu.
64427 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
64428 time with __vdso_time.
64430 2012-03-05 Joseph Myers <joseph@codesourcery.com>
64432 * manual/lang.texi (size_t): Note types to which size_t may be
64433 equivalent with the GNU C Library, but do not describe when
64434 differences between them are significant.
64436 2012-03-05 Andreas Jaeger <aj@suse.de>
64438 * sysdeps/i386/fpu/libm-test-ulps: Update.
64440 2012-03-05 Joseph Myers <joseph@codesourcery.com>
64443 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
64444 (__ieee754_pow): Save and restore rounding mode and use
64445 round-to-nearest for main computations.
64446 * math/libm-test.inc (pow_test_tonearest): New function.
64447 (pow_test_towardzero): Likewise.
64448 (pow_test_downward): Likewise.
64449 (pow_test_upward): Likewise.
64450 (main): Call the new functions.
64451 * sysdeps/i386/fpu/libm-test-ulps: Update.
64452 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64455 * math/libm-test.inc (cosh_test_tonearest): New function.
64456 (cosh_test_towardzero): Likewise.
64457 (cosh_test_downward): Likewise.
64458 (cosh_test_upward): Likewise.
64459 (sinh_test_tonearest): Likewise.
64460 (sinh_test_towardzero): Likewise.
64461 (sinh_test_downward): Likewise.
64462 (sinh_test_upward): Likewise.
64463 (main): Call the new functions.
64464 * sysdeps/i386/fpu/libm-test-ulps: Update.
64465 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64467 2012-03-05 Tom de Vries <tom@codesourcery.com>
64469 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
64470 default stack guard is set in last bytes.
64471 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
64473 2012-03-05 Kees Cook <keescook@chromium.org>
64475 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
64478 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
64479 possibly allocate from heap instead of stack.
64480 * stdio-common/bug-vfprintf-nargs.c: New file.
64481 * stdio-common/Makefile (tests): Add nargs overflow test.
64483 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
64485 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64487 2012-03-03 Marek Polacek <polacek@redhat.com>
64489 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
64490 * math/math_private.h: Likewise.
64491 * stdlib/tst-strtod.c: Likewise.
64492 * sysdeps/i386/i486/bits/atomic.h: Likewise.
64493 * sysdeps/x86_64/bits/atomic.h: Likewise.
64495 2012-03-02 David S. Miller <davem@davemloft.net>
64497 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
64498 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
64499 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
64500 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
64501 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
64502 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
64503 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
64504 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
64506 2012-03-02 Roland McGrath <roland@hack.frob.com>
64509 * manual/examples/README: New file, says the example source files
64510 can be used under GPL>=2.
64511 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
64512 line containing just "*/".
64513 * manual/examples/add.c: Add copyright header (GPL>=2).
64514 * manual/examples/argp-ex1.c: Likewise.
64515 * manual/examples/argp-ex2.c: Likewise.
64516 * manual/examples/argp-ex3.c: Likewise.
64517 * manual/examples/argp-ex4.c: Likewise.
64518 * manual/examples/atexit.c: Likewise.
64519 * manual/examples/db.c: Likewise.
64520 * manual/examples/dir.c: Likewise.
64521 * manual/examples/dir2.c: Likewise.
64522 * manual/examples/execinfo.c: Likewise.
64523 * manual/examples/filecli.c: Likewise.
64524 * manual/examples/filesrv.c: Likewise.
64525 * manual/examples/fmtmsgexpl.c: Likewise.
64526 * manual/examples/genpass.c: Likewise.
64527 * manual/examples/inetcli.c: Likewise.
64528 * manual/examples/inetsrv.c: Likewise.
64529 * manual/examples/isockad.c: Likewise.
64530 * manual/examples/longopt.c: Likewise.
64531 * manual/examples/memopen.c: Likewise.
64532 * manual/examples/memstrm.c: Likewise.
64533 * manual/examples/mkfsock.c: Likewise.
64534 * manual/examples/mkisock.c: Likewise.
64535 * manual/examples/mygetpass.c: Likewise.
64536 * manual/examples/pipe.c: Likewise.
64537 * manual/examples/popen.c: Likewise.
64538 * manual/examples/rprintf.c: Likewise.
64539 * manual/examples/search.c: Likewise.
64540 * manual/examples/select.c: Likewise.
64541 * manual/examples/setjmp.c: Likewise.
64542 * manual/examples/sigh1.c: Likewise.
64543 * manual/examples/sigusr.c: Likewise.
64544 * manual/examples/stpcpy.c: Likewise.
64545 * manual/examples/strdupa.c: Likewise.
64546 * manual/examples/strftim.c: Likewise.
64547 * manual/examples/strncat.c: Likewise.
64548 * manual/examples/subopt.c: Likewise.
64549 * manual/examples/swapcontext.c: Likewise.
64550 * manual/examples/termios.c: Likewise.
64551 * manual/examples/testopt.c: Likewise.
64552 * manual/examples/testpass.c: Likewise.
64553 * manual/examples/timeval_subtract.c: Likewise.
64556 * manual/time.texi (Elapsed Time): Move timeval_subtract example
64558 * manual/timeval_subtract.c.texi: ... here, new file.
64560 2012-03-02 David S. Miller <davem@davemloft.net>
64562 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
64564 2012-03-02 Joseph Myers <joseph@codesourcery.com>
64567 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
64568 (__sin): Save and restore rounding mode and use round-to-nearest
64569 for all computations.
64570 (__cos): Save and restore rounding mode and use round-to-nearest
64571 for all computations.
64572 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
64574 (tan): Save and restore rounding mode and use round-to-nearest for
64576 * math/libm-test.inc (cos_test_tonearest): New function.
64577 (cos_test_towardzero): Likewise.
64578 (cos_test_downward): Likewise.
64579 (cos_test_upward): Likewise.
64580 (sin_test_tonearest): Likewise.
64581 (sin_test_towardzero): Likewise.
64582 (sin_test_downward): Likewise.
64583 (sin_test_upward): Likewise.
64584 (tan_test_tonearest): Likewise.
64585 (tan_test_towardzero): Likewise.
64586 (tan_test_downward): Likewise.
64587 (tan_test_upward): Likewise.
64588 (main): Call the new functions.
64589 * sysdeps/i386/fpu/libm-test-ulps: Update.
64590 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64593 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
64594 small n, then large n, before computing and testing k+n.
64595 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
64596 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
64598 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
64600 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
64601 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
64602 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
64603 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
64604 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
64605 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
64606 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
64607 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
64608 * math/libm-test.inc (scalbn_test): Add more tests.
64609 (scalbln_test): Likewise.
64611 * manual/filesys.texi (mode_t): Describe constraints on size and
64612 signedness, not exact equivalence to a particular type.
64614 (ino64_t): Likewise.
64616 (nlink_t): Likewise.
64617 (blkcnt_t): Likewise.
64618 (blkcnt64_t): Likewise.
64619 * manual/llio.texi (off_t): Likewise.
64622 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
64623 (__ieee754_exp): Save and restore rounding mode and use
64624 round-to-nearest for all computations.
64625 * math/libm-test.inc (exp_test_tonearest): New function.
64626 (exp_test_towardzero): Likewise.
64627 (exp_test_downward): Likewise.
64628 (exp_test_upward): Likewise.
64629 (main): Call the new functions.
64630 * sysdeps/i386/fpu/libm-test-ulps: Update.
64631 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64633 2012-03-01 Chris Demetriou <cgd@google.com>
64635 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
64636 have predictable order.
64638 2012-03-01 David S. Miller <davem@davemloft.net>
64640 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
64642 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
64643 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
64644 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
64645 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
64647 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
64648 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
64649 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
64650 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
64651 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
64652 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
64653 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
64654 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
64655 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
64657 * sysdeps/sparc/fpu/libm-test-ulps: Update.
64659 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
64660 * sysdeps/sparc/fpu/libm-test-ulps: to here.
64661 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
64663 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
64664 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
64665 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
64666 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
64667 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
64668 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
64669 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
64670 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
64671 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
64672 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
64673 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
64674 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
64675 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
64676 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
64677 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
64678 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
64679 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
64680 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
64681 * sysdeps/sparc/elf/configure: Regenerated.
64683 2012-03-01 Joseph Myers <joseph@codesourcery.com>
64685 * configure.in (AS, LD): Require binutils 2.20 or later.
64686 * configure: Regenerated.
64687 * manual/install.texi (Tools for Compilation): Give binutils 2.20
64688 as required minimum version.
64689 * INSTALL: Regenerated.
64693 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
64694 before squaring exponent.
64695 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
64696 bottom long double and 27 bits of top long double before squaring
64698 * math/libm-test.inc (erfc_test): Add more tests.
64699 * sysdeps/i386/fpu/libm-test-ulps: Update.
64700 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
64701 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64703 2012-03-01 Kai Tietz <ktietz@redhat.com>
64705 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
64706 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
64707 containing bit-fields.
64708 * soft-fp/extended.h (_FP_UNION_E): Likewise.
64709 * soft-fp/single.h (_FP_UNION_S): Likewise.
64710 * soft-fp/double.h (_FP_UNION_D): Likewise.
64712 2012-02-29 Joseph Myers <joseph@codesourcery.com>
64715 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
64716 not include ../strcmp.S.
64717 [USE_AS_STRNCASECMP_L]: Likewise.
64718 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
64719 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
64720 * sysdeps/i386/i686/multiarch/strncase_l-c.c
64721 (__strncasecmp_l_ia32): Define as alias to
64722 __strncasecmp_l_nonascii.
64725 * math/libm-test.inc (expm1_test): Add test for bug 5794.
64726 * sysdeps/i386/fpu/libm-test-ulps: Update.
64727 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64729 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
64730 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64732 2012-02-29 Jeff Law <law@redhat.com>
64734 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
64735 out of bounds read.
64737 2012-02-29 Marek Polacek <polacek@redhat.com>
64740 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
64741 * elf/Makefile: Add rules to run tst-unused-dep.out.
64743 2012-02-28 David S. Miller <davem@davemloft.net>
64745 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
64746 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
64747 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
64748 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
64749 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
64750 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
64752 2012-02-29 Joseph Myers <joseph@codesourcery.com>
64754 * math/libm-test.inc (llround_test): Move one test from
64755 lround_test. Use TEST_f_L in moved test.
64756 (lround_test): Move misplaced test to llround_test. Add testcase
64759 2012-02-28 Ulrich Drepper <drepper@gmail.com>
64761 * sysdeps/x86_64/fpu/e_expf.S: New file.
64762 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
64764 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
64767 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
64768 of remain_len that may cause incomplete multi-byte character and
64770 * posix/bug-regex33.c: New file.
64771 * posix/Makefile (tests): Add bug-regex33.
64773 2012-02-28 Joseph Myers <joseph@codesourcery.com>
64775 * manual/macros.texi: New file.
64776 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
64777 * manual/libc.texinfo: Include macros.texi.
64778 * manual/creatute.texi: Likewise.
64779 * manual/install.texi: Likewise.
64780 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
64781 @glibcadj{} in references to the GNU C Library.
64782 * manual/charset.texi: Likewise.
64783 * manual/conf.texi: Likewise.
64784 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
64785 when not using those macros.
64786 * manual/creature.texi: Likewise.
64787 * manual/crypt.texi: Likewise.
64788 * manual/errno.texi: Likewise.
64789 * manual/filesys.texi: Likewise.
64790 * manual/header.texi: Likewise.
64791 * manual/install.texi: Likewise.
64792 * manual/intro.texi: Likewise.
64793 * manual/io.texi: Likewise.
64794 * manual/job.texi: Likewise.
64795 * manual/lang.texi: Likewise.
64796 * manual/libc.texiinfo: Likewise.
64797 * manual/llio.texi: Likewise.
64798 * manual/locale.texi: Likewise.
64799 * manual/maint.texi: Likewise.
64800 * manual/math.texi: Likewise.
64801 * manual/memory.texi: Likewise.
64802 * manual/message.texi: Likewise.
64803 * manual/nss.texi: Likewise.
64804 * manual/pattern.texi: Likewise.
64805 * manual/process.texi: Likewise.
64806 * manual/resource.texi: Likewise.
64807 * manual/search.texi: Likewise.
64808 * manual/setjmp.texi: Likewise.
64809 * manual/signal.texi: Likewise.
64810 * manual/socket.texi: Likewise.
64811 * manual/startup.texi: Likewise.
64812 * manual/stdio.texi: Likewise.
64813 * manual/string.texi: Likewise.
64814 * manual/sysinfo.texi: Likewise.
64815 * manual/syslog.texi: Likewise.
64816 * manual/terminal.texi: Likewise.
64817 * manual/time.texi: Likewise.
64818 * manual/users.texi: Likewise.
64819 * INSTALL: Regenerated.
64820 * NOTES: Regenerated.
64821 * sysdeps/gnu/errlist.c: Regenerated.
64823 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
64825 * include/dirent.h: Include <dirstream.h> before
64828 2012-02-28 David S. Miller <davem@davemloft.net>
64830 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
64831 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
64832 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
64833 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
64835 2012-02-27 David S. Miller <davem@davemloft.net>
64837 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
64838 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
64839 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
64840 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
64842 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
64843 frame pointer instead of stack pointer relative arg slot.
64844 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
64845 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
64846 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
64848 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
64851 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
64853 2012-02-27 David S. Miller <davem@davemloft.net>
64855 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
64856 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
64857 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
64858 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
64859 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
64860 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
64861 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
64862 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
64864 2012-02-27 Joseph Myers <joseph@codesourcery.com>
64866 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
64867 later. Allow versions 5-9.
64868 * configure: Regenerated.
64869 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
64870 required minimum version and 4.6 as recommended version. Do not
64871 mention bugs in GCC 2.7 and 2.8.
64872 * INSTALL: Regenerated.
64874 2012-02-27 David S. Miller <davem@davemloft.net>
64876 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
64877 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
64878 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
64879 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
64880 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
64881 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
64882 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
64883 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
64885 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
64886 manipulate bits before adding and subtracting TWO112[sx].
64887 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
64889 2012-02-27 Roland McGrath <roland@hack.frob.com>
64892 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
64893 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
64894 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
64895 being in POSIX, because they are in 1003.1-2008.
64897 * rt/tst-aio.c: Include <fcntl.h>.
64898 * rt/tst-aio7.c: Likewise.
64899 * rt/tst-aio64.c: Likewise.
64901 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
64903 2012-02-27 Joseph Myers <joseph@codesourcery.com>
64905 * manual/install.texi (--with-headers): Describe headers as
64906 interface headers, not private headers.
64907 (Specific advice for GNU/Linux systems): Describe use of headers
64908 from "make headers_install", not private headers from older
64910 * INSTALL: Regenerated.
64911 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
64913 * sysdeps/unix/sysv/linux/configure: Regenerated.
64915 * manual/llio.texi (fclean): Remove documentation.
64917 * manual/Makefile (libc-texi-generated): New variable. Include
64919 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
64920 $(libc-texi-generated), not duplicated list of files.
64921 (version.texi, stamp-version): New rules.
64922 (realclean): Remove $(libc-texi-generated), not individual files
64923 from that list. Do not remove dir-add.texinfo.
64924 * manual/libc.texinfo: Comment out uses of edition numbers and
64925 references to printed manual. Remove last-updated dates.
64926 (EDITION): Comment out.
64928 (VERSION, UPDATED): Remove.
64929 (version.texi): Include.
64931 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
64933 * sysdeps/posix/spawni.c: Include <signal.h>.
64934 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
64935 * sysdeps/pthread/aio_fsync.c: Likewise.
64937 2012-02-26 Ulrich Drepper <drepper@gmail.com>
64939 * conform/Makefile (tests): Run only when not cross-compiling and
64940 when fast-check is not defined.
64942 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
64943 * conform/data/limits.h-data: Fixes for POSIX2008.
64944 * conform/run-conformtest.sh: Run all tests.
64945 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
64947 * include/bits/dlfcn.h: Likewise.
64948 * include/langinfo.h: Likewise.
64949 * include/monetary.h: Likewise.
64950 * include/sys/poll.h: Likewise.
64952 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
64954 * posix/spawn.h: Define __need_sigset_t.
64955 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
64956 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
64957 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
64958 to get sigevent_t only.
64959 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
64960 only for __USE_GNU.
64961 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
64962 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
64963 process_vm_writev only for __USE_GNU.
64964 * termios/termios.h: Declare tcgetsid also for POSIX2008.
64966 * conform/Makefile: For now ignore errors from run-conformtest.
64967 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
64968 POSIX to avoid namespace pollution. Don't prepend headers.
64969 * conform/data/aio.h-data: Fixes for POSIX testing.
64970 * conform/data/fcntl.h-data: Likewise.
64971 * conform/data/glob.h-data: Likewise.
64972 * conform/data/grp.h-data: Likewise.
64973 * conform/data/pthread.h-data: Likewise.
64974 * conform/data/pwd.h-data: Likewise.
64975 * conform/data/signal.h-data: Likewise.
64976 * conform/data/spawn.h-data: Likewise.
64977 * conform/data/stdio.h-data: Likewise.
64978 * conform/data/stdlib.h-data: Likewise.
64979 * conform/data/stropts.h-data: Likewise.
64980 * conform/data/sys/mman.h-data: Likewise.
64981 * conform/data/sys/stat.h-data: Likewise.
64982 * conform/data/sys/types.h-data: Likewise.
64983 * conform/data/sys/wait.h-data: Likewise.
64984 * conform/data/time.h-data: Likewise.
64985 * conform/data/unistd.h-data: Likewise.
64986 * conform/data/utime.h-data: Likewise.
64988 * io/sys/stat.h: fchmod was always in POSIX.
64989 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
64990 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
64991 * rt/aio.h: Define __need_timespec before including <time.h>.
64992 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
64993 struct. Add forward declaration of pthread_attr_t and use it in
64995 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
64996 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
64997 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
64998 always remove CLK_TCK definition.
65000 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
65002 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
65004 2012-02-25 Ulrich Drepper <drepper@gmail.com>
65006 * conform/run-conformtest.sh: New file.
65007 * conform/Makefile: Run run-conformtest for tests.
65008 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
65011 * conform/data/uchar.h-data: New file.
65012 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
65013 * conform/data/arpa/inet.h-data: Likewise.
65014 * conform/data/assert.h-data: Likewise.
65015 * conform/data/complex.h-data: Likewise.
65016 * conform/data/cpio.h-data: Likewise.
65017 * conform/data/ctype.h-data: Likewise.
65018 * conform/data/dirent.h-data: Likewise.
65019 * conform/data/dlfcn.h-data: Likewise.
65020 * conform/data/errno.h-data: Likewise.
65021 * conform/data/fcntl.h-data: Likewise.
65022 * conform/data/float.h-data: Likewise.
65023 * conform/data/fmtmsg.h-data: Likewise.
65024 * conform/data/fnmatch.h-data: Likewise.
65025 * conform/data/ftw.h-data: Likewise.
65026 * conform/data/glob.h-data: Likewise.
65027 * conform/data/grp.h-data: Likewise.
65028 * conform/data/iconv.h-data: Likewise.
65029 * conform/data/inttypes.h-data: Likewise.
65030 * conform/data/langinfo.h-data: Likewise.
65031 * conform/data/libgen.h-data: Likewise.
65032 * conform/data/limits.h-data: Likewise.
65033 * conform/data/locale.h-data: Likewise.
65034 * conform/data/math.h-data: Likewise.
65035 * conform/data/monetary.h-data: Likewise.
65036 * conform/data/mqueue.h-data: Likewise.
65037 * conform/data/ndbm.h-data: Likewise.
65038 * conform/data/net/if.h-data: Likewise.
65039 * conform/data/netdb.h-data: Likewise.
65040 * conform/data/netinet/in.h-data: Likewise.
65041 * conform/data/nl_types.h-data: Likewise.
65042 * conform/data/poll.h-data: Likewise.
65043 * conform/data/pthread.h-data: Likewise.
65044 * conform/data/pwd.h-data: Likewise.
65045 * conform/data/regex.h-data: Likewise.
65046 * conform/data/sched.h-data: Likewise.
65047 * conform/data/search.h-data: Likewise.
65048 * conform/data/semaphore.h-data: Likewise.
65049 * conform/data/setjmp.h-data: Likewise.
65050 * conform/data/signal.h-data: Likewise.
65051 * conform/data/spawn.h-data: Likewise.
65052 * conform/data/stdarg.h-data: Likewise.
65053 * conform/data/stdio.h-data: Likewise.
65054 * conform/data/stdlib.h-data: Likewise.
65055 * conform/data/string.h-data: Likewise.
65056 * conform/data/strings.h-data: Likewise.
65057 * conform/data/stropts.h-data: Likewise.
65058 * conform/data/sys/ipc.h-data: Likewise.
65059 * conform/data/sys/mman.h-data: Likewise.
65060 * conform/data/sys/msg.h-data: Likewise.
65061 * conform/data/sys/resource.h-data: Likewise.
65062 * conform/data/sys/select.h-data: Likewise.
65063 * conform/data/sys/sem.h-data: Likewise.
65064 * conform/data/sys/shm.h-data: Likewise.
65065 * conform/data/sys/socket.h-data: Likewise.
65066 * conform/data/sys/stat.h-data: Likewise.
65067 * conform/data/sys/statvfs.h-data: Likewise.
65068 * conform/data/sys/time.h-data: Likewise.
65069 * conform/data/sys/timeb.h-data: Likewise.
65070 * conform/data/sys/times.h-data: Likewise.
65071 * conform/data/sys/types.h-data: Likewise.
65072 * conform/data/sys/uio.h-data: Likewise.
65073 * conform/data/sys/un.h-data: Likewise.
65074 * conform/data/sys/utsname.h-data: Likewise.
65075 * conform/data/sys/wait.h-data: Likewise.
65076 * conform/data/syslog.h-data: Likewise.
65077 * conform/data/tar.h-data: Likewise.
65078 * conform/data/termios.h-data: Likewise.
65079 * conform/data/utime.h-data: Likewise.
65080 * conform/data/utmpx.h-data: Likewise.
65081 * conform/data/varargs.h-data: Likewise.
65082 * conform/data/wchar.h-data: Likewise.
65083 * conform/data/wctype.h-data: Likewise.
65084 * conform/data/wordexp.h-data: Likewise.
65086 * include/stropts.h: New file.
65087 * include/uchar.h: New file.
65088 * include/aio.h: Changes to allow conformtest.pl to use the headers.
65089 * include/assert.h: Likewise.
65090 * include/ctype.h: Likewise.
65091 * include/dirent.h: Likewise.
65092 * include/dlfcn.h: Likewise.
65093 * include/fcntl.h: Likewise.
65094 * include/fnmatch.h: Likewise.
65095 * include/glob.h: Likewise.
65096 * include/grp.h: Likewise.
65097 * include/libio.h: Likewise.
65098 * include/locale.h: Likewise.
65099 * include/math.h: Likewise.
65100 * include/net/if.h: Likewise.
65101 * include/netdb.h: Likewise.
65102 * include/netinet/in.h: Likewise.
65103 * include/pthread.h: Likewise.
65104 * include/pwd.h: Likewise.
65105 * include/regex.h: Likewise.
65106 * include/sched.h: Likewise.
65107 * include/search.h: Likewise.
65108 * include/setjmp.h: Likewise.
65109 * include/signal.h: Likewise.
65110 * include/stdio.h: Likewise.
65111 * include/stdlib.h: Likewise.
65112 * include/string.h: Likewise.
65113 * include/sys/cdefs.h: Likewise.
65114 * include/sys/mman.h: Likewise.
65115 * include/sys/msg.h: Likewise.
65116 * include/sys/resource.h: Likewise.
65117 * include/sys/select.h: Likewise.
65118 * include/sys/socket.h: Likewise.
65119 * include/sys/stat.h: Likewise.
65120 * include/sys/statvfs.h: Likewise.
65121 * include/sys/time.h: Likewise.
65122 * include/sys/times.h: Likewise.
65123 * include/sys/uio.h: Likewise.
65124 * include/sys/utsname.h: Likewise.
65125 * include/sys/wait.h: Likewise.
65126 * include/termios.h: Likewise.
65127 * include/time.h: Likewise.
65128 * include/ulimit.h: Likewise.
65129 * include/unistd.h: Likewise.
65130 * include/utime.h: Likewise.
65131 * include/wchar.h: Likewise.
65132 * include/wctype.h: Likewise.
65133 * include/wordexp.h: Likewise.
65135 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
65137 * time/time.h: TIME_UTC must be a macro.
65138 Make timespec_get available for ISO C11 only as well.
65140 2012-02-24 Ulrich Drepper <drepper@gmail.com>
65142 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
65143 Reported by Peng Haitao <penght@cn.fujitsu.com>.
65145 2012-02-24 Joseph Myers <joseph@codesourcery.com>
65147 * configure.in: Use -o not -a in test for unsupported multi-arch.
65149 2012-02-24 Joseph Myers <joseph@codesourcery.com>
65151 * manual/texinfo.tex: Update to version 2012-01-19.16.
65153 2012-02-24 Joseph Myers <joseph@codesourcery.com>
65155 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
65157 2012-02-24 Roland McGrath <roland@hack.frob.com>
65160 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
65161 * manual/fdl-1.3.texi: New file.
65162 * manual/fdl-1.1.texi: File removed.
65165 * manual/libc.texinfo (FDL_VERSION): New @set.
65166 Use it for mention of FDL in cover text.
65167 (Documentation License): Use it in @include file name.
65169 2012-02-22 Joseph Myers <joseph@codesourcery.com>
65170 Roland McGrath <roland@hack.frob.com>
65173 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
65174 (not LONG_LONG_MAX and LONG_LONG_MIN.
65175 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
65176 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
65178 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
65180 2012-02-22 Joseph Myers <joseph@codesourcery.com>
65184 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
65185 manipulate bits before adding and subtracting TWO23[sx].
65186 * math/libm-test.inc (nearbyint_test): Add more tests.
65188 2012-02-22 Joseph Myers <joseph@codesourcery.com>
65191 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
65192 bits before adding and subtracting TWO23[sx].
65193 * math/libm-test.inc (rint_test): Add more tests.
65194 (rint_test_tonearest): Likewise.
65195 (rint_test_towardzero): Likewise.
65196 (rint_test_downward): Likewise.
65197 (rint_test_upward: Likewise.
65199 2012-02-22 Joseph Myers <joseph@codesourcery.com>
65202 * include/stdc-predef.h: New file. Extracted from features.h.
65203 * include/features.h: Include stdc-predef.h.
65204 * Makefile (headers): Add stdc-predef.h.
65205 * CONFORMANCE (Compiler limitations): Update.
65207 2012-02-22 Joseph Myers <joseph@codesourcery.com>
65209 * manual/libc.texinfo (VERSION, UPDATED): Revert.
65211 2012-02-21 David S. Miller <davem@davemloft.net>
65213 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
65214 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
65216 2012-02-20 David S. Miller <davem@davemloft.net>
65218 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
65219 using a normal save/restore sequence, rather than allocating a
65220 dummy stack frame just to store a frame pointer and restore.
65221 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
65223 2012-02-21 Joseph Myers <joseph@codesourcery.com>
65225 * manual/install.texi: Fix stray word in line-wrapped comment.
65227 2012-02-20 David S. Miller <davem@davemloft.net>
65229 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
65230 both binutils and gcc support GOTDATA.
65232 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
65233 "rd %pc" in the PIC register setup sequences.
65235 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
65236 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
65237 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
65238 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
65239 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
65240 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
65241 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
65242 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
65243 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
65244 (SYSCALL_ERROR_HANDLER): Likewise.
65245 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
65246 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
65247 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
65248 (SYSCALL_ERROR_HANDLER): Likewise.
65250 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
65251 (HAVE_GCC_GOTDATA): New.
65252 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
65253 relocation support in both binutils and gcc.
65254 * sysdeps/sparc/elf/configure: Regenerate.
65256 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
65257 * sysdeps/sparc/sparc32/elf/configure: Delete.
65258 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
65259 * sysdeps/sparc/sparc64/elf/configure: Delete.
65260 * sysdeps/sparc/elf/configure.in: New file.
65261 * sysdeps/sparc/elf/configure: Generate.
65263 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
65264 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
65265 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
65266 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
65267 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
65269 2012-02-21 Joseph Myers <joseph@codesourcery.com>
65271 * manual/install.texi: Do not mention specific glibc version
65273 * manual/libc.texinfo (VERSION, UPDATED): Update.
65274 (@copying): Use @copyright{} and range of years.
65276 2012-02-21 Joseph Myers <joseph@codesourcery.com>
65279 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
65280 [crti.S not in sysdirs] (generated): Do not append.
65281 [crti.S not in sysdirs] (omit-deps): Likewise.
65282 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
65283 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
65284 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
65285 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
65286 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
65288 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
65289 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
65290 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
65291 * csu/defs.awk: Remove file.
65292 * sysdeps/generic/initfini.c: Likewise.
65293 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
65295 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
65298 2012-02-20 Joseph Myers <joseph@codesourcery.com>
65300 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
65301 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
65302 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
65303 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
65304 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
65305 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
65307 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
65308 (__EPOLL_PACKED): Define to empty if not defined by
65310 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
65311 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
65314 2012-02-20 Joseph Myers <joseph@codesourcery.com>
65316 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
65317 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
65318 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
65319 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
65321 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
65322 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
65325 2012-02-20 Joseph Myers <joseph@codesourcery.com>
65327 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
65329 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
65330 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
65331 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
65332 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65334 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
65336 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
65337 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
65339 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
65341 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
65342 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
65344 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
65346 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
65349 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
65351 * math/w_acos.c: Use non-signaling floating-point comparisons.
65352 * math/w_acosf.c: Likewise.
65353 * math/w_acosh.c: Likewise.
65354 * math/w_acoshf.c: Likewise.
65355 * math/w_acoshl.c: Likewise.
65356 * math/w_acosl.c: Likewise.
65357 * math/w_asin.c: Likewise.
65358 * math/w_asinf.c: Likewise.
65359 * math/w_asinl.c: Likewise.
65360 * math/w_atanh.c: Likewise.
65361 * math/w_atanhf.c: Likewise.
65362 * math/w_atanhl.c: Likewise.
65363 * math/w_exp2.c: Likewise.
65364 * math/w_exp2f.c: Likewise.
65365 * math/w_exp2l.c: Likewise.
65366 * math/w_j0.c: Likewise.
65367 * math/w_j0f.c: Likewise.
65368 * math/w_j0l.c: Likewise.
65369 * math/w_j1.c: Likewise.
65370 * math/w_j1f.c: Likewise.
65371 * math/w_j1l.c: Likewise.
65372 * math/w_jn.c: Likewise.
65373 * math/w_jnf.c: Likewise.
65374 * math/w_log.c: Likewise.
65375 * math/w_log10.c: Likewise.
65376 * math/w_log10f.c: Likewise.
65377 * math/w_log10l.c: Likewise.
65378 * math/w_log2.c: Likewise.
65379 * math/w_log2f.c: Likewise.
65380 * math/w_log2l.c: Likewise.
65381 * math/w_logf.c: Likewise.
65382 * math/w_logl.c: Likewise.
65383 * math/w_sqrt.c: Likewise.
65384 * math/w_sqrtf.c: Likewise.
65385 * math/w_sqrtl.c: Likewise.
65386 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
65387 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
65388 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
65389 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
65390 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
65392 2012-02-19 Joseph Myers <joseph@codesourcery.com>
65395 * manual/string.texi (strnlen): Use correct parameter name in
65396 equivalent expression.
65398 2012-02-19 Joseph Myers <joseph@codesourcery.com>
65401 * manual/users.texi (seteuid): Consistently use neweuid for
65404 2012-02-19 Joseph Myers <joseph@codesourcery.com>
65407 * manual/nss.texi (Services in the NSS configuration): Correct
65408 list of services in example configuration file.
65410 2012-02-19 Nick Bowler <nbowler@draconx.ca>
65413 * manual/arith.texi: Remove statements about negative zero
65414 behaving identically to zero.
65416 2012-02-18 Joseph Myers <joseph@codesourcery.com>
65419 * manual/install.texi: Do not document upgrading from libc5.
65421 2012-02-18 Joseph Myers <joseph@codesourcery.com>
65424 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
65426 2012-02-18 David S. Miller <davem@davemloft.net>
65428 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
65429 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
65430 %o7 across the call.
65431 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
65433 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
65434 SETUP_PIC_REG_LEAF.
65435 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
65436 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
65437 * sysdeps/sparc/crtn.S: Likewise.
65439 2012-02-17 Ulrich Drepper <drepper@gmail.com>
65441 * aout/Makefile: Remove.
65443 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
65446 * manual/examples/argp-ex1.c (main): Format definition in GNU
65448 * manual/examples/argp-ex2.c (main): Likewise.
65449 * manual/examples/argp-ex3.c (main): Likewise.
65450 * manual/examples/argp-ex4.c (main): Likewise.
65451 * manual/examples/longopt.c (main): Use new-style prototype
65453 * manual/examples/strncat.c (main): Specify return type and use
65454 (void) for arguments.
65455 * manual/examples/subopt.c (main): Use char **argv argument.
65457 2012-02-17 Joseph Myers <joseph@codesourcery.com>
65460 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
65463 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
65466 * manual/string.texi (strchr): Change when strchrnul is
65469 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
65472 * manual/locale.texi (setlocale): Document LOCPATH.
65474 2012-02-17 Joseph Myers <joseph@codesourcery.com>
65477 * manual/process.texi (execle): Move @dots{} before last argument.
65479 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
65482 * manual/charset.texi (Generic Charset Conversion): Fix typo
65483 (LC_TYPE -> LC_CTYPE).
65485 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
65488 * manual/arith.texi (scalbn): Use @var{} on parameter names.
65489 (scalbnf): Likewise.
65490 (scalbnl): Likewise.
65491 (scalbln): Likewise.
65492 (scalblnf): Likewise.
65493 (scalblnl): Likewise.
65494 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
65495 (vwarnx): Likewise.
65498 * manual/filesys.texi (telldir): Use braces around return type.
65499 * manual/llio.texi (mmap): Add space after comma.
65500 (mmap64): Likewise.
65501 * manual/math.texi (jn): Use @var{} on parameter names.
65507 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
65509 * manual/resource.texi (ulimit): Use @dots{} instead of literal
65511 (sched_get_priority_min): Remove semicolon on @deftypefun line.
65512 (sched_get_priority_max): Likewise.
65513 * manual/signal.texi (sigvec): Add space after comma.
65514 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
65516 (if_indextoname): Likewise.
65517 (if_freenameindex): Likewise.
65518 (sendto): Use ',' instead of '.' in prototype.
65519 * manual/startup.texi (syscall): Use @dots{} instead of literal
65521 * manual/stdio.texi (__fpending): Separate initial words of
65522 paragraph from @deftypefun line.
65523 * manual/syslog.texi (syslog): Use @dots{} instead of literal
65525 (vsyslog): Use @var{} on parameter names.
65526 * manual/terminal.texi (stty): Use @var{} on parameter names.
65527 * manual/users.texi (getutmp): Use @var{} on parameter names.
65528 (getutmpx): Likewise.
65530 2012-02-17 Joseph Myers <joseph@codesourcery.com>
65533 * manual/stdio.texi (fopen): Fix typos in description of
65536 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
65539 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
65540 get clock_id definition.
65542 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
65545 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
65546 (madvise): Cast every argument to void on its own.
65548 2012-02-17 Joseph Myers <joseph@codesourcery.com>
65551 * manual/startup.texi (Exit Status): Fix typo.
65553 2012-02-17 Joseph Myers <joseph@codesourcery.com>
65556 * manual/examples/argp-ex1.c: Include <stdlib.h>.
65557 * manual/examples/argp-ex2.c: Likewise.
65558 * manual/examples/argp-ex3.c: Likewise.
65560 2012-02-16 Richard Henderson <rth@redhat.com>
65562 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
65563 * sysdeps/s390/s390-32/initfini.c: Remove.
65564 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
65565 * sysdeps/s390/s390-64/initfini.c: Remove.
65567 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
65569 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
65570 compiler output for sysdeps/generic/initfini.c.
65571 * sysdeps/sh/elf/initfini.c: Remove file.
65573 2012-02-16 David S. Miller <davem@davemloft.net>
65576 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
65578 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
65579 * sysdeps/sparc/crti.S: New file.
65580 * sysdeps/sparc/crtn.S: New file.
65581 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
65582 * sysdeps/sparc/sparc64/Makefile: Likewise.
65584 2012-02-15 Mike Frysinger <vapier@gentoo.org>
65587 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
65589 2012-02-15 Roland McGrath <roland@hack.frob.com>
65592 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
65594 * mach/devstream.c (cookie_io_functions_t): Macro removed.
65595 (write, read, close): Likewise.
65596 Patch by Aurelien Jarno <aurelien@aurel32.net>.
65598 2012-02-15 Joseph Myers <joseph@codesourcery.com>
65600 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
65601 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
65602 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
65603 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
65605 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
65606 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
65609 2012-02-14 Marek Polacek <polacek@redhat.com>
65611 * sysdeps/x86_64/crti.S: New file.
65612 * sysdeps/x86_64/crtn.S: New file.
65613 * sysdeps/x86_64/elf/initfini.c: Remove file.
65615 2012-02-13 Joseph Myers <joseph@codesourcery.com>
65617 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
65618 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
65619 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
65620 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
65622 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
65623 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
65626 2012-02-13 Joseph Myers <joseph@codesourcery.com>
65628 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
65629 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
65630 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
65631 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
65633 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
65634 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
65637 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
65639 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
65640 __feraiseexcept instead of feraiseexcept.
65642 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
65643 nanosleep invocations.
65644 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
65645 strings, and add error checking for a nanosleep invocations.
65647 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
65649 Replace FSF snail mail address with URLs, as per GNU coding standards.
65650 Most of the snail mail addresses were wrong anyway, and omitting
65651 them makes the source code easier to maintain. Almost all of the
65652 changes are to license notices and to locale LC_IDENTIFICATION
65653 addresses, except for this one:
65654 * manual/libc.texinfo: In "Published by", give the FSF's URL,
65655 not its snail mail address.
65657 2012-02-09 Richard Henderson <rth@twiddle.net>
65659 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
65660 of kernel-features.h.
65662 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
65664 2012-02-08 Marek Polacek <polacek@redhat.com>
65666 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
65667 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
65668 * sysdeps/gnu/_G_config.h: Likewise.
65669 * sysdeps/generic/_G_config.h: Likewise.
65671 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
65673 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
65675 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65677 * sysdeps/powerpc/powerpc32/crti.S: New file.
65678 * sysdeps/powerpc/powerpc32/crtn.S: New file.
65679 * sysdeps/powerpc/powerpc64/crti.S: New file.
65680 * sysdeps/powerpc/powerpc64/crtn.S: New file.
65682 * Makeconfig (have-initfini): Don't set.
65683 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
65684 * configure.in (nopic_initfini): Don't substitute.
65685 * config.h.in (HAVE_INITFINI): Don't #undef.
65686 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
65687 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
65689 2012-02-08 Joseph Myers <joseph@codesourcery.com>
65691 Support crti.S and crtn.S provided directly by architectures.
65692 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
65693 [crti.S in sysdirs] (omit-deps): Likewise.
65694 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
65695 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
65696 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
65697 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
65698 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
65699 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
65700 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
65701 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
65702 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
65703 compiler output for sysdeps/generic/initfini.c.
65704 * sysdeps/i386/elf/Makefile: Remove file.
65705 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
65707 2012-02-07 Marek Polacek <polacek@redhat.com>
65709 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
65710 * sysdeps/gnu/_G_config.h: Likewise.
65711 * sysdeps/mach/hurd/_G_config.h: Likewise.
65713 2012-02-07 Marek Polacek <polacek@redhat.com>
65715 * math/Makefile (tests): Add tst-CMPLX2.
65716 * math/tst-CMPLX2.c: New file.
65718 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
65720 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
65722 * math/libm-test.inc (jn_test): Add missing L suffix.
65724 2012-02-06 Marek Polacek <polacek@redhat.com>
65726 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
65727 * sysdeps/i386/fpu/e_powf.S: Likewise.
65728 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
65729 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
65730 * sysdeps/i386/fpu/e_acosh.S: Likewise.
65731 * sysdeps/i386/fpu/e_pow.S: Likewise.
65732 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
65733 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
65734 * sysdeps/i386/fpu/s_expm1.S: Likewise.
65735 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
65736 * sysdeps/i386/fpu/e_log2.S: Likewise.
65737 * sysdeps/i386/fpu/e_log2l.S: Likewise.
65738 * sysdeps/i386/fpu/e_scalb.S: Likewise.
65739 * sysdeps/i386/fpu/e_powl.S: Likewise.
65740 * sysdeps/i386/fpu/s_log1p.S: Likewise.
65741 * sysdeps/i386/fpu/e_log10f.S: Likewise.
65742 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
65743 * sysdeps/i386/fpu/e_logl.S: Likewise.
65744 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
65745 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
65746 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
65747 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
65748 * sysdeps/i386/fpu/e_log2f.S: Likewise.
65749 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
65750 * sysdeps/i386/fpu/e_log.S: Likewise.
65751 * sysdeps/i386/fpu/s_cexp.S: Likewise.
65752 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
65753 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
65754 * sysdeps/i386/fpu/e_logf.S: Likewise.
65755 * sysdeps/i386/fpu/e_log10l.S: Likewise.
65756 * sysdeps/i386/fpu/e_atanh.S: Likewise.
65757 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
65758 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
65759 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
65760 * sysdeps/i386/fpu/e_log10.S: Likewise.
65761 * sysdeps/i386/fpu/s_frexp.S: Likewise.
65762 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
65763 * sysdeps/i386/fpu/s_asinh.S: Likewise.
65764 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
65765 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
65766 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
65767 * sysdeps/i386/asm-syntax.h: Likewise.
65768 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
65769 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
65770 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
65771 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
65772 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
65773 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
65774 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
65775 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
65776 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
65777 * sysdeps/powerpc/sysdep.h: Likewise.
65778 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
65779 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
65781 2012-02-06 Joseph Myers <joseph@codesourcery.com>
65784 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
65786 2012-02-06 Joseph Myers <joseph@codesourcery.com>
65788 * sysdeps/i386/sysdep.h: Include <features.h>.
65789 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
65792 2012-02-05 Joseph Myers <joseph@codesourcery.com>
65794 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
65796 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
65799 2012-02-03 Joseph Myers <joseph@codesourcery.com>
65801 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
65802 (SETUP_PIC_REG): Use GET_PC_THUNK.
65803 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
65806 2012-02-03 Joseph Myers <joseph@codesourcery.com>
65808 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
65809 for non-PIC compilation.
65810 (SETUP_PIC_REG): Add .p2align directive.
65811 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
65812 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
65813 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
65814 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
65815 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
65816 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
65817 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
65818 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
65819 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
65820 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
65821 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
65822 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
65823 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
65824 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
65825 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
65826 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
65827 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
65828 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
65829 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
65830 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
65831 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
65832 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
65833 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
65834 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
65835 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
65836 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
65837 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
65838 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
65839 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
65840 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
65841 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
65842 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
65843 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
65844 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
65845 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
65846 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
65847 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
65848 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
65849 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
65850 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
65851 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
65853 2012-02-03 Joseph Myers <joseph@codesourcery.com>
65855 * math/tst-CMPLX.c: Include <stdio.h>.
65857 2012-01-31 Joseph Myers <joseph@codesourcery.com>
65859 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
65861 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
65862 * sysdeps/sparc/bits/mathdef.h: Likewise.
65864 2012-01-31 Marek Polacek <polacek@redhat.com>
65866 * libio/libio.h: Don't define _PARAMS.
65867 * locale/programs/config.h: Don't define PARAMS.
65868 * stdlib/strtol_l.c: Likewise.
65869 (__strtol_l): Remove PARAMS from the prototype.
65871 2012-01-31 Ulrich Drepper <drepper@gmail.com>
65873 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
65874 names. Just use the correct names. Remove unnecessary wrapper
65876 * malloc/arena.c: Likewise.
65877 * malloc/hooks.c: Likewise.
65879 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
65880 ARENA_TEST says not to. Simplify test for creation of a new arena.
65881 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
65883 2012-01-30 Ulrich Drepper <drepper@gmail.com>
65885 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
65887 (update_get_addr): New function.
65888 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
65889 GET_ADDR_MODULE parameter.
65891 2012-01-30 Joseph Myers <joseph@codesourcery.com>
65893 * crypt/cert.c: Remove __STDC__ conditionals.
65894 * crypt/crypt-entry.c: Likewise.
65895 * crypt/crypt_util.c: Likewise.
65896 * libio/filedoalloc.c: Likewise.
65897 * libio/fileops.c: Likewise.
65898 * libio/genops.c: Likewise.
65899 * libio/iofclose.c: Likewise.
65900 * libio/iofdopen.c: Likewise.
65901 * libio/iofopen.c: Likewise.
65902 * libio/iofopen64.c: Likewise.
65903 * libio/iogetdelim.c: Likewise.
65904 * libio/iopopen.c: Likewise.
65905 * libio/obprintf.c: Likewise.
65906 * libio/oldfileops.c: Likewise.
65907 * libio/oldiofclose.c: Likewise.
65908 * libio/oldiofdopen.c: Likewise.
65909 * libio/oldiofopen.c: Likewise.
65910 * libio/oldiopopen.c: Likewise.
65911 * libio/wfiledoalloc.c: Likewise.
65912 * libio/wgenops.c: Likewise.
65913 * locale/programs/xmalloc.c: Likewise.
65914 * misc/syslog.c: Likewise.
65915 * stdio-common/xbug.c: Likewise.
65916 * string/memchr.c: Likewise.
65917 * string/memcmp.c: Likewise.
65918 * string/memrchr.c: Likewise.
65919 * string/rawmemchr.c: Likewise.
65920 * sysdeps/posix/getcwd.c: Likewise.
65921 * time/strftime_l.c: Likewise.
65923 2012-01-30 Joseph Myers <joseph@codesourcery.com>
65925 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
65926 * config.make.in (config-cflags-sse2avx): Define.
65927 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
65930 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
65932 * scripts/config.guess: Update from upstream config git repository.
65933 * scripts/config.sub: Likewise.
65935 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
65937 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
65939 (R_TILEPRO_*, R_TILEGX_*): New macros.
65941 * scripts/firstversions.awk: Fix bug in version range handling.
65943 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
65945 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
65947 * include/sys/epoll.h: New file.
65948 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
65951 2012-01-28 Ulrich Drepper <drepper@gmail.com>
65953 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
65954 Avoid unnecessary __WORDSIZE == 64 test.
65955 (fmaxf): Use VEX format if possible.
65960 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
65961 * math/math_private.h: Remove libc_fegetround* and
65963 * sysdeps/i386/configure.in: Check for -msse2avx.
65964 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
65965 also if SSE2AVX is defined.
65966 Remove libc_fegetround* and libc_fesetround*.
65967 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
65968 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
65969 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
65971 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
65972 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
65973 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
65974 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
65975 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
65977 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
65979 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
65981 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
65983 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
65985 2012-01-27 Ulrich Drepper <drepper@gmail.com>
65988 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
65990 * Makeconfig (libm): Define.
65991 * elf/Makefile: Add rules to build and run tst-relsort1.
65992 * elf/tst-relsort1.c: New file.
65993 * elf/tst-relsort1mod1.c: New file.
65994 * elf/tst-relsort1mod2.c: New file.
65996 2012-01-27 Joseph Myers <joseph@codesourcery.com>
65998 * math/s_ldexp.c: Remove __STDC__ conditionals.
65999 * math/s_ldexpf.c: Likewise.
66000 * math/s_ldexpl.c: Likewise.
66001 * math/s_nextafter.c: Likewise.
66002 * math/s_nexttowardf.c: Likewise.
66003 * math/s_significand.c: Likewise.
66004 * math/s_significandf.c: Likewise.
66005 * math/s_significandl.c: Likewise.
66006 * math/w_jnl.c: Likewise.
66007 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
66008 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
66009 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
66010 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
66011 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
66012 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
66013 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
66014 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
66015 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
66016 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
66017 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
66018 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
66019 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
66020 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
66021 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
66022 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
66023 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
66024 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
66025 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
66026 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
66027 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
66028 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
66029 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
66030 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
66031 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
66032 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
66033 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
66034 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
66035 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
66036 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
66037 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
66038 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
66039 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
66040 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
66041 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
66042 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
66043 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
66044 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
66045 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
66046 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
66047 * sysdeps/ieee754/k_standard.c: Likewise.
66048 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
66049 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
66050 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
66051 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
66052 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
66053 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
66054 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
66055 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
66056 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
66057 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
66058 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
66059 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
66060 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
66061 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
66062 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
66063 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
66064 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
66065 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
66066 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
66067 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
66068 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
66069 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
66070 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
66071 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
66072 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
66073 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
66074 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
66075 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
66076 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
66077 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
66078 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
66079 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
66080 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
66081 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
66082 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
66083 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
66084 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
66085 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
66086 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
66087 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
66088 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
66089 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
66090 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
66091 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
66092 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
66093 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
66094 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
66095 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
66096 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
66097 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
66098 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
66099 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
66100 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
66101 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
66102 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
66103 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
66104 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
66105 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
66106 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
66107 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
66108 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
66109 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
66110 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
66111 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
66112 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
66113 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
66114 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
66115 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
66116 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
66117 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
66118 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
66119 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
66120 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
66121 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
66122 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
66123 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
66124 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
66125 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
66126 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
66127 * sysdeps/ieee754/s_matherr.c: Likewise.
66128 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
66129 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
66130 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
66131 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
66133 2012-01-26 Joseph Myers <joseph@codesourcery.com>
66135 * crypt/md5.h: Remove __STDC__ conditionals.
66136 * libio/libioP.h: Likewise.
66137 * locale/programs/config.h: Likewise.
66138 * sysdeps/generic/sysdep.h: Likewise.
66139 * sysdeps/i386/asm-syntax.h: Likewise.
66140 * sysdeps/s390/asm-syntax.h: Likewise.
66141 * sysdeps/unix/sysdep.h: Likewise.
66142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
66143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
66145 2012-01-26 Joseph Myers <joseph@codesourcery.com>
66147 * libio/libio.h: Remove __STDC__ conditionals.
66148 * malloc/obstack.h: Likewise.
66149 * math/complex.h: Likewise.
66150 * math/math.h: Likewise.
66151 * sysdeps/generic/_G_config.h: Likewise.
66152 * sysdeps/gnu/_G_config.h: Likewise.
66153 * sysdeps/mach/hurd/_G_config.h: Likewise.
66154 * sysdeps/powerpc/bits/mathdef.h: Likewise.
66155 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
66156 * sysdeps/sparc/bits/mathdef.h: Likewise.
66158 2012-01-26 Ulrich Drepper <drepper@gmail.com>
66161 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
66162 Clean up HAS_* macros.
66163 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
66164 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
66166 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
66168 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
66169 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
66170 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
66171 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
66172 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
66174 2012-01-25 Joseph Myers <joseph@codesourcery.com>
66176 * elf/tst-unique3.cc (gets): Remove declaration.
66177 * elf/tst-unique3lib.cc (gets): Likewise.
66178 * elf/tst-unique3lib2.cc (gets): Likewise.
66179 * elf/tst-unique4.cc (gets): Likewise.
66181 2012-01-24 Ulrich Drepper <drepper@gmail.com>
66183 * include/stdio.h: Add C++ protection. Add gets declarations and
66185 * debug/tst-chk1.c: Don't declare gets here.
66186 * stdio-common/tst-gets.c: Likewise.
66188 2012-01-24 Joseph Myers <joseph@codesourcery.com>
66190 * posix/glob: Remove directory.
66192 2012-01-24 Joseph Myers <joseph@codesourcery.com>
66194 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
66196 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
66198 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
66199 of the non-standard EPFNOSUPPORT.
66201 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
66203 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
66204 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
66205 ANYWHERE set to 1 only on KERN_NO_SPACE error.
66207 2012-01-21 Ulrich Drepper <drepper@gmail.com>
66209 * wcsmbs/uchar.h: Test __STDC_VERSION__.
66211 2012-01-20 Ulrich Drepper <drepper@gmail.com>
66213 * nscd/aicache.c (addhstaiX): Do not cache negative results of
66215 * nscd/grpcache.c (cache_addgr): Likewise.
66216 * nscd/hstcache.c (cache_addhst): Likewise.
66217 * nscd/initgrcache.c (addinitgroupsX): Likewise.
66218 * nscd/pwdcache.c (cache_addpw): Likewise.
66219 * nscd/servicescache.c (cache_addserv): Likewise.
66221 2012-01-16 Ulrich Drepper <drepper@gmail.com>
66223 * malloc/malloc.c: Various cleanups.
66224 * malloc/hooks.c: Likewise.
66226 * stdlib/Makefile (tests): Add bug-fmtmsg1.
66227 * stdlib/bug-fmtmsg1.c: New file.
66229 * stdlib/fmtmsg.c (init): Add missing unlock.
66230 Patch by Peng Haitao <penght@cn.fujitsu.com>.
66232 2012-01-12 Marek Polacek <polacek@redhat.com>
66234 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
66237 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
66239 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
66240 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
66241 macro to ensure uniqueness of label name.
66242 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
66243 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
66245 2012-01-11 Ulrich Drepper <drepper@gmail.com>
66247 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
66249 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
66250 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
66251 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
66252 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
66254 2012-01-10 Ulrich Drepper <drepper@gmail.com>
66256 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
66258 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
66259 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
66260 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
66262 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
66264 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
66265 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
66266 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
66267 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
66269 * math/bits/math-finite.h: Add ldexp support.
66271 2012-01-10 Marek Polacek <polacek@redhat.com>
66273 * locale/programs/localedef.h (show_archive_content): Add noreturn
66276 2012-01-09 Ulrich Drepper <drepper@gmail.com>
66278 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
66280 2012-01-08 Ulrich Drepper <drepper@gmail.com>
66282 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
66284 * io/Makefile (headers): Add bits/poll2.h.
66286 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
66288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
66289 typo #include statement.
66291 2012-01-08 Ulrich Drepper <drepper@gmail.com>
66293 * include/sys/cdefs.h: Define __attribute_alloc_size.
66294 * catgets/gencat.c: Add alloc_size attribute and apply consistently
66295 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
66296 * elf/pldd.c: Likewise.
66297 * iconv/iconv_charmap.c: Likewise.
66298 * iconv/iconvconfig.c: Likewise.
66299 * iconv/strtab.c: Likewise.
66300 * locale/programs/locale.c: Likewise.
66301 * locale/programs/localedef.h: Likewise.
66302 * locale/programs/simple-hash.c: Likewise.
66303 * nscd/nscd.h: Likewise.
66304 * nss/makedb.c: Likewise.
66305 * sysdeps/generic/ldconfig.h: Likewise.
66306 * locale/programs/localedef.c: Remove xmalloc prototype.
66307 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
66309 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
66311 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
66314 2012-01-08 Ulrich Drepper <drepper@gmail.com>
66316 * math/Makefile (tests): Add tst-CMPLX.
66317 * math/tst-CMPLX.c: New file.
66319 * math/complex.h (CMPLXL): Fix typo.
66321 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
66322 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
66324 * debug/tst-chk1.c: Add poll and ppoll tests.
66325 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
66326 * include/sys/poll.h: Add hidden proto for ppoll.
66327 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
66328 * sysdeps/mach/hurd/ppoll.c: Likewise.
66329 * io/ppoll.c: Likewise.
66330 * debug/poll_chk.c: New file.
66331 * debug/ppoll_chk.c: New file.
66332 * include/bits/poll2.h: New file.
66333 * io/bits/poll2.h: New file.
66336 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
66338 * configure.in: static is always set to yes. Remove.
66339 * config.make.in: Don't set build-static.
66340 * Makeconfig: Remove use of build-static.
66341 * dlfcn/Makefile: Likewise.
66342 * elf/Makefile: Likewise.
66343 * math/Makefile: Likewise.
66344 * misc/Makefile: Likewise.
66345 * nptl/Makefile: Likewise.
66346 * sysdeps/mach/hurd/Makefile: Likewise.
66348 * configure.in: PWD_P is not used anymore.
66349 * config.make.in: Remove PWD_P entry.
66351 * configure.in: Remove last remnants of RANLIB.
66352 No need to check for signed size_t anymore.
66353 Don't set libc_commonpagesize and libc_relro_required here for Alpha
66355 Remove __builtin_expect test because we require at least gcc 3.4.
66356 * aclocal.m4: Likewise.
66358 * wcsmbs/mbrtoc16.c: Implement using towc function.
66359 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
66360 * wcsmbs/wcsmbsload.c: Likewise.
66361 * iconv/gconv_simple.c: Likewise.
66362 * iconv/gconv_int.h: Likewise.
66363 * iconv/gconv_builtin.h: Likewise.
66364 * iconv/iconv_prog.c: Remove CHAR16 handling.
66366 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
66368 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
66370 * configure.in: Remove --with-elf and --enable-bounded options.
66371 Dont set base_machine for ia64. More non-ELF conditions removed.
66372 Remove testing and setting of leading underscore information.
66373 * config.make.in (build-bounded): Set to no.
66374 * config.h.in: Remove NO_UNDERSCORES entry.
66375 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
66377 * csu/start.c: Remove !NO_UNDERSCORE code.
66378 * locale/localeinfo.h: Likewise.
66379 * sysdeps/generic/machine-gmon.h: Likewise.
66380 * sysdeps/generic/sysdep.h: Likewise.
66381 * sysdeps/i386/sysdep.h: Likewise.
66382 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
66383 * sysdeps/mach/sysdep.h: Likewise.
66384 * sysdeps/s390/s390-32/sysdep.h: Likewise.
66385 * sysdeps/s390/s390-64/sysdep.h: Likewise.
66386 * sysdeps/sh/sysdep.h: Likewise.
66387 * sysdeps/sparc/sparc32/alloca.S: Likewise.
66388 * sysdeps/unix/i386/sysdep.S: Likewise.
66389 * sysdeps/unix/sparc/start.c: Likewise.
66390 * sysdeps/unix/sparc/sysdep.S: Likewise.
66391 * sysdeps/unix/sparc/sysdep.h: Likewise.
66392 * sysdeps/unix/start.c: Likewise.
66393 * sysdeps/unix/x86_64/sysdep.S: Likewise.
66394 * sysdeps/x86_64/sysdep.h: Likewise.
66396 2012-01-07 Ulrich Drepper <drepper@gmail.com>
66399 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
66401 * argp/argp-fmtstream.h: Use const instead __const.
66402 * argp/argp.h: Likewise.
66403 * assert/assert.h: Likewise.
66404 * bits/fenv.h: Likewise.
66405 * bits/sched.h: Likewise.
66406 * bits/sigset.h: Likewise.
66407 * bits/sigthread.h: Likewise.
66408 * catgets/nl_types.h: Likewise.
66409 * conform/data/pthread.h-data: Likewise.
66410 * crypt/crypt-private.h: Likewise.
66411 * crypt/crypt.h: Likewise.
66412 * crypt/crypt_util.c: Likewise.
66413 * ctype/ctype.h: Likewise.
66414 * debug/execinfo.h: Likewise.
66415 * debug/mbsnrtowcs_chk.c: Likewise.
66416 * debug/mbsrtowcs_chk.c: Likewise.
66417 * debug/wcsnrtombs_chk.c: Likewise.
66418 * debug/wcsrtombs_chk.c: Likewise.
66419 * debug/wcstombs_chk.c: Likewise.
66420 * dirent/dirent.h: Likewise.
66421 * dlfcn/dlfcn.h: Likewise.
66422 * elf/neededtest4.c: Likewise.
66423 * grp/grp.h: Likewise.
66424 * gshadow/gshadow.h: Likewise.
66425 * iconv/gconv.h: Likewise.
66426 * iconv/gconv_int.h: Likewise.
66427 * iconv/gconv_simple.c: Likewise.
66428 * iconv/iconv.h: Likewise.
66429 * iconv/loop.c: Likewise.
66430 * iconv/skeleton.c: Likewise.
66431 * include/aio.h: Likewise.
66432 * include/aliases.h: Likewise.
66433 * include/argz.h: Likewise.
66434 * include/arpa/inet.h: Likewise.
66435 * include/assert.h: Likewise.
66436 * include/dirent.h: Likewise.
66437 * include/dlfcn.h: Likewise.
66438 * include/execinfo.h: Likewise.
66439 * include/fcntl.h: Likewise.
66440 * include/fenv.h: Likewise.
66441 * include/glob.h: Likewise.
66442 * include/grp.h: Likewise.
66443 * include/libintl.h: Likewise.
66444 * include/mntent.h: Likewise.
66445 * include/netdb.h: Likewise.
66446 * include/pwd.h: Likewise.
66447 * include/rpc/netdb.h: Likewise.
66448 * include/sched.h: Likewise.
66449 * include/search.h: Likewise.
66450 * include/shadow.h: Likewise.
66451 * include/signal.h: Likewise.
66452 * include/stdio.h: Likewise.
66453 * include/stdlib.h: Likewise.
66454 * include/string.h: Likewise.
66455 * include/sys/socket.h: Likewise.
66456 * include/sys/stat.h: Likewise.
66457 * include/sys/statfs.h: Likewise.
66458 * include/sys/statvfs.h: Likewise.
66459 * include/sys/syslog.h: Likewise.
66460 * include/sys/time.h: Likewise.
66461 * include/sys/uio.h: Likewise.
66462 * include/time.h: Likewise.
66463 * include/unistd.h: Likewise.
66464 * include/utmp.h: Likewise.
66465 * include/wchar.h: Likewise.
66466 * include/wctype.h: Likewise.
66467 * inet/aliases.h: Likewise.
66468 * inet/arpa/inet.h: Likewise.
66469 * inet/netinet/ether.h: Likewise.
66470 * inet/netinet/in.h: Likewise.
66471 * intl/libintl.h: Likewise.
66472 * io/bits/fcntl2.h: Likewise.
66473 * io/fcntl.h: Likewise.
66474 * io/ftw.h: Likewise.
66475 * io/sys/poll.h: Likewise.
66476 * io/sys/stat.h: Likewise.
66477 * io/sys/statfs.h: Likewise.
66478 * io/sys/statvfs.h: Likewise.
66479 * io/utime.h: Likewise.
66480 * libio/bits/stdio.h: Likewise.
66481 * libio/bits/stdio2.h: Likewise.
66482 * libio/libio.h: Likewise.
66483 * libio/libioP.h: Likewise.
66484 * libio/stdio.h: Likewise.
66485 * locale/lc-ctype.c: Likewise.
66486 * locale/locale.h: Likewise.
66487 * login/utmp.h: Likewise.
66488 * malloc/arena.c: Likewise.
66489 * malloc/malloc.c: Likewise.
66490 * malloc/malloc.h: Likewise.
66491 * malloc/mcheck.c: Likewise.
66492 * malloc/mtrace.c: Likewise.
66493 * math/bits/mathcalls.h: Likewise.
66494 * math/fenv.h: Likewise.
66495 * math/math_private.h: Likewise.
66496 * misc/bits/error.h: Likewise.
66497 * misc/bits/syslog.h: Likewise.
66498 * misc/err.h: Likewise.
66499 * misc/error.h: Likewise.
66500 * misc/fstab.h: Likewise.
66501 * misc/mntent.h: Likewise.
66502 * misc/regexp.h: Likewise.
66503 * misc/search.h: Likewise.
66504 * misc/sgtty.h: Likewise.
66505 * misc/sys/mman.h: Likewise.
66506 * misc/sys/syslog.h: Likewise.
66507 * misc/sys/uio.h: Likewise.
66508 * misc/sys/xattr.h: Likewise.
66509 * misc/ttyent.h: Likewise.
66510 * nis/rpcsvc/ypclnt.h: Likewise.
66511 * nss/nss.h: Likewise.
66512 * posix/bits/unistd.h: Likewise.
66513 * posix/fnmatch.h: Likewise.
66514 * posix/glob.h: Likewise.
66515 * posix/sched.h: Likewise.
66516 * posix/spawn.h: Likewise.
66517 * posix/sys/wait.h: Likewise.
66518 * posix/unistd.h: Likewise.
66519 * posix/wordexp.h: Likewise.
66520 * pwd/pwd.h: Likewise.
66521 * resolv/netdb.h: Likewise.
66522 * resource/sys/resource.h: Likewise.
66523 * rt/aio.h: Likewise.
66524 * rt/bits/mqueue2.h: Likewise.
66525 * rt/mqueue.h: Likewise.
66526 * shadow/shadow.h: Likewise.
66527 * signal/signal.h: Likewise.
66528 * socket/send.c: Likewise.
66529 * socket/sendto.c: Likewise.
66530 * socket/sys/socket.h: Likewise.
66531 * stdio-common/printf.h: Likewise.
66532 * stdlib/bits/stdlib.h: Likewise.
66533 * stdlib/fmtmsg.h: Likewise.
66534 * stdlib/monetary.h: Likewise.
66535 * stdlib/stdlib.h: Likewise.
66536 * stdlib/ucontext.h: Likewise.
66537 * streams/stropts.h: Likewise.
66538 * string/argz.h: Likewise.
66539 * string/bits/string2.h: Likewise.
66540 * string/string.h: Likewise.
66541 * string/strings.h: Likewise.
66542 * sunrpc/rpc/auth.h: Likewise.
66543 * sunrpc/rpc/auth_des.h: Likewise.
66544 * sunrpc/rpc/clnt.h: Likewise.
66545 * sunrpc/rpc/netdb.h: Likewise.
66546 * sunrpc/rpc/pmap_clnt.h: Likewise.
66547 * sunrpc/rpc/xdr.h: Likewise.
66548 * sysdeps/generic/inttypes.h: Likewise.
66549 * sysdeps/generic/net/if.h: Likewise.
66550 * sysdeps/generic/sys/swap.h: Likewise.
66551 * sysdeps/gnu/net/if.h: Likewise.
66552 * sysdeps/gnu/utmpx.h: Likewise.
66553 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
66554 * sysdeps/i386/i486/bits/string.h: Likewise.
66555 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
66556 * sysdeps/s390/bits/string.h: Likewise.
66557 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
66558 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
66559 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
66560 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
66561 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
66562 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
66563 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
66564 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
66565 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
66566 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
66567 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
66568 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
66569 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
66570 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
66571 * sysdeps/unix/sysv/linux/readv.c: Likewise.
66572 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
66573 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
66574 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
66575 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
66576 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
66577 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
66578 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
66579 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
66580 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
66581 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
66582 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
66583 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
66584 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
66585 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
66586 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
66587 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
66588 * sysvipc/sys/ipc.h: Likewise.
66589 * sysvipc/sys/msg.h: Likewise.
66590 * sysvipc/sys/sem.h: Likewise.
66591 * sysvipc/sys/shm.h: Likewise.
66592 * termios/termios.h: Likewise.
66593 * time/sys/time.h: Likewise.
66594 * time/time.h: Likewise.
66595 * wcsmbs/bits/wchar2.h: Likewise.
66596 * wcsmbs/uchar.h: Likewise.
66597 * wcsmbs/wchar.h: Likewise.
66598 * wctype/wctype.h: Likewise.
66601 * Makeconfig: Remove all but ELF support including AIX support.
66602 * Makerules: Likewise.
66603 * config.h.in: Likewise.
66604 * config.make.in: Likewise.
66605 * configure: Likewise.
66606 * configure.in: Likewise.
66607 * csu/Makefile: Likewise.
66608 * csu/version.c: Likewise.
66609 * debug/Makefile: Likewise.
66610 * dlfcn/Makefile: Likewise.
66611 * elf/Makefile: Likewise.
66612 * extra-lib.mk: Likewise.
66613 * iconv/Makefile: Likewise.
66614 * include/libc-symbols.h: Likewise.
66615 * include/shlib-compat.h: Likewise.
66616 * resolv/Makefile: Likewise.
66617 * resolv/res_libc.c: Likewise.
66618 * rt/Makefile: Likewise.
66619 * sysdeps/i386/asm-syntax.h: Likewise.
66620 * sysdeps/i386/sysdep.h: Likewise.
66621 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
66622 * sysdeps/mach/sysdep.h: Likewise.
66623 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
66624 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
66625 * sysdeps/s390/asm-syntax.h: Likewise.
66626 * sysdeps/s390/s390-32/sysdep.h: Likewise.
66627 * sysdeps/s390/s390-64/sysdep.h: Likewise.
66628 * sysdeps/sh/sysdep.h: Likewise.
66629 * sysdeps/unix/sparc/sysdep.h: Likewise.
66630 * sysdeps/wordsize-32/divdi3.c: Likewise.
66631 * sysdeps/x86_64/sysdep.h: Likewise.
66633 * argp/Versions: Remove _argp_unlock_xxx.
66636 * abilist/ld.abilist: Update. Adjust for removal of tls option.
66637 * abilist/libBrokenLocale.abilist: Likewise.
66638 * abilist/libanl.abilist: Likewise.
66639 * abilist/libc.abilist: Likewise.
66640 * abilist/libcrypt.abilist: Likewise.
66641 * abilist/libdl.abilist: Likewise.
66642 * abilist/libm.abilist: Likewise.
66643 * abilist/libnsl.abilist: Likewise.
66644 * abilist/libpthread.abilist: Likewise.
66645 * abilist/libresolv.abilist: Likewise.
66646 * abilist/librt.abilist: Likewise.
66647 * abilist/libthread_db.abilist: Likewise.
66648 * abilist/libutil.abilist: Likewise.
66649 * abilist/libnss_db.abilist: New file.
66651 * scripts/abilist.awk: Add support for indirect functions.
66653 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
66655 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
66657 * shlib-versions: Remove entries for ports architectures.
66659 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
66661 * elf/stackguard-macros.h: Remove support for IA-64.
66662 * elf/tst-auditmod1.c: Likewise.
66663 * sysdeps/generic/ldsodefs.h: Likewise.
66665 * sysdeps/unix/sysv/linux/configure.in: Ports should define
66666 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
66670 * configure.in: Remove --enable-omitfp support.
66672 * config.make.in: Likewise.
66673 * Makeconfig: Likewise.
66674 * manual/install.texi: Likewise.
66676 In case anyone cares, the IA-64 architecture could move to ports.
66677 * sysdeps/ia64/*: Removed.
66678 * sysdeps/unix/sysv/linux/ia64/*: Removed.
66679 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
66682 * configure.in: Remove entries for unsupported architectures.
66685 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
66686 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
66688 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
66689 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
66690 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
66691 fall back to using wcrtomb.
66692 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
66693 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
66695 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
66696 * wcsmbs/tst-c16c32-1.c: New file.
66698 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
66701 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
66703 * elf/tst-unique3.cc: Add explicit declaration of gets.
66704 * elf/tst-unique3lib.cc: Likewise.
66705 * elf/tst-unique3lib2.cc: Likewise.
66706 * elf/tst-unique4.cc: Likewise.
66708 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
66710 2012-01-06 Joseph Myers <joseph@codesourcery.com>
66713 * assert/assert.h (static_assert): Don't define for C++.
66714 * libio/stdio.h (gets): Do declare for C++ <= C++11.
66715 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
66717 2012-01-03 Ulrich Drepper <drepper@gmail.com>
66719 * iconv/loop.c (single loop): Fix assertion in storing of
66722 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
66724 2012-01-01 Ulrich Drepper <drepper@gmail.com>
66726 * posix/getconf.c: Update copyright year.
66727 * nss/getent.c: Likewise.
66728 * nss/makedb.c: Likewise.
66729 * iconv/iconvconfig.c: Likewise.
66730 * iconv/iconv_prog.c: Likewise.
66731 * elf/ldconfig.c: Likewise.
66732 * elf/pldd.c: Likewise.
66733 * elf/sotruss.ksh: Likewise.
66734 * catgets/gencat.c: Likewise.
66735 * csu/version.c: Likewise.
66736 * elf/ldd.bash.in: Likewise.
66737 * elf/sprof.c (print_version): Likewise.
66738 * locale/programs/locale.c: Likewise.
66739 * locale/programs/localedef.c: Likewise.
66740 * login/programs/pt_chown.c: Likewise.
66741 * nscd/nscd.c (print_version): Likewise.
66742 * debug/xtrace.sh: Likewise.
66743 * malloc/memusage.sh: Likewise.
66744 * malloc/mtrace.pl: Likewise.
66745 * debug/catchsegv.sh: Likewise.
66747 2011-12-30 Jakub Jelinek <jakub@redhat.com>
66749 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
66752 2011-12-24 Ulrich Drepper <drepper@gmail.com>
66755 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
66756 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
66758 * iconv/gconv_int.h: Likewise.
66759 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
66760 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
66761 from libc for GLIBC_2.16.
66762 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
66763 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
66764 * wcsmbs/uchar.h: Really define mbstate_t.
66765 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
66766 * wcsmbs/c16rtomb.c: New file.
66767 * wcsmbs/mbrtoc16.c: New file.
66768 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
66769 for C/POSIX locale.
66770 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
66771 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
66773 * wcsmbs/wchar.h: Add missing __restrict.
66775 2011-12-23 Ulrich Drepper <drepper@gmail.com>
66778 * time/Makefile (routines): Add timespec_get.
66779 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
66780 * time/time.h: Define TIME_UTC and declare timespec_get. Define
66781 timespec for ISO C11.
66782 * time/timespec_get.c: New file.
66783 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
66784 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
66787 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
66788 * stdlib/stdlib.h: Declare aligned_alloc.
66789 * Versions.def: Add GLIBC_2.16 for libc.
66790 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
66793 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
66796 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
66800 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
66803 * assert/assert.h (static_assert): Define.
66805 * version.h: Update for 2.16 development version.
66808 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
66811 * version.h (RELEASE): Bump for 2.15 release.
66812 * include/features.h (__GLIBC_MINOR__): Bump to 15.
66814 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
66815 Patch by Marek Polacek <mpolacek@redhat.com>.
66817 * bits/byteswap.h: Protect long long constants with __extension__.
66818 * sysdeps/i386/bits/byteswap.h: Likewise.
66819 * sysdeps/ia64/bits/byteswap.h: Likewise.
66820 * sysdeps/s390/bits/byteswap.h: Likewise.
66821 * sysdeps/x86_64/bits/byteswap.h: Likewise.
66823 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
66826 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
66827 destination buffer.
66828 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
66830 2011-12-23 Marek Polacek <polacek@redhat.com>
66832 * elf/dl-addr.c (determine_info): Add inline keyword.
66833 * elf/tst-auditmod4b.c (check_avx): Likewise.
66834 * elf/tst-auditmod6b.c (check_avx): Likewise.
66835 * elf/tst-auditmod6c.c (check_avx): Likewise.
66836 * elf/tst-auditmod7b.c (check_avx): Likewise.
66838 2011-12-23 Ulrich Drepper <drepper@gmail.com>
66840 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
66843 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
66846 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
66847 processing for last bytes.
66849 2011-08-06 Bruno Haible <bruno@clisp.org>
66852 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
66853 U+0385, not to U+1FEE.
66856 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
66857 entry for U+00A5 U+0301.
66859 2011-12-22 Ulrich Drepper <drepper@gmail.com>
66862 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
66863 buffer for the output is too small.
66865 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
66869 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
66870 SSE flags if possible.
66872 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
66875 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
66876 processing for last bytes.
66878 2011-12-22 Joseph Myers <joseph@codesourcery.com>
66880 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
66881 (syscall-list-default-options, syscall-list-default-condition)
66882 (syscall-list-includes): Define.
66883 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
66884 list of ABIs and options and #if conditions for each ABI. Do not
66885 handle common syscalls between ABIs specially.
66886 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
66888 (syscall-list-variants, syscall-list-32bit-options)
66889 (syscall-list-32bit-condition, syscall-list-64bit-options)
66890 (syscall-list-64bit-condition): Define.
66891 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
66892 (syscall-list-variants, syscall-list-32bit-options)
66893 (syscall-list-32bit-condition, syscall-list-64bit-options)
66894 (syscall-list-64bit-condition): Define.
66895 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
66897 (syscall-list-variants, syscall-list-32bit-options)
66898 (syscall-list-32bit-condition, syscall-list-64bit-options)
66899 (syscall-list-64bit-condition): Define.
66900 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
66902 (syscall-list-variants, syscall-list-32bit-options)
66903 (syscall-list-32bit-condition, syscall-list-64bit-options)
66904 (syscall-list-64bit-condition): Define.
66906 2011-12-22 Ulrich Drepper <drepper@gmail.com>
66908 * locale/iso-639.def: Add brx entry.
66911 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
66912 Proposed by Mariusz_Cukr <marcukr@op.pl>.
66914 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
66915 __feraiseexcept_renamed.
66917 2011-12-21 Ulrich Drepper <drepper@gmail.com>
66920 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
66921 EPOLLET with unsigned values.
66922 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
66923 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
66925 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
66926 to large cancellation.
66927 * math/s_cacoshf.c: Likewise.
66928 * math/s_cacoshl.c: Likewise.
66930 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
66934 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
66935 * math/s_cacoshf.c: Likewise.
66936 * math/s_cacoshl.c: Likewise.
66938 2011-12-21 Ulrich Drepper <drepper@gmail.com>
66941 * iconv/gconv.h: Define __GCONV_SWAP.
66942 * iconvdata/unicode.c: The swap bit must be stored in __flags.
66943 * iconvdata/utf-16.c: Likewise.
66944 * iconvdata/utf-32.c: Likewise.
66946 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
66949 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
66950 numerator after shifting it by one limb.
66952 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
66954 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
66955 under [__USE_EXTERN_INLINES].
66957 2011-12-17 Ulrich Drepper <drepper@gmail.com>
66960 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
66962 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
66964 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
66965 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
66967 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
66968 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
66969 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
66970 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
66971 for strncasecmp/strncasecmp_l compilation.
66972 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
66973 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
66975 2011-12-08 Marek Polacek <mpolacek@redhat.com>
66978 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
66981 2011-12-17 Ulrich Drepper <drepper@gmail.com>
66984 * time/tzfile.c (__tzfile_read): Check values from file header.
66986 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
66988 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
66989 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
66990 * powerpc/powerpc32/dl-start.S: Likewise.
66991 * powerpc/powerpc32/elf/start.S: Likewise.
66992 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
66993 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
66994 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
66995 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
66996 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
66997 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
66998 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
66999 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
67000 * powerpc/powerpc32/fpu/s_round.S: Likewise.
67001 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
67002 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
67003 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
67004 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
67005 * powerpc/powerpc32/memset.S: Likewise.
67006 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
67007 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
67008 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
67009 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
67010 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
67011 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
67012 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
67013 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
67014 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
67015 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
67016 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
67017 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
67018 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
67020 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
67022 * math/libm-test.inc: Added more nearbyint tests.
67023 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
67024 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
67025 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
67026 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
67028 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
67030 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
67033 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
67035 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
67036 Add wcscpy-ssse3 wcscpy-c.
67037 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
67038 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
67039 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
67040 * sysdeps/x86_64/wcschr.S: New file.
67041 * sysdeps/x86_64/wcsrchr.S: New file.
67042 * string/test-strcmp.c: Remove checking of wcscmp function for
67044 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
67045 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
67046 wcsrchr-sse2 wcsrchr-c.
67047 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
67048 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
67049 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
67050 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
67051 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
67052 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
67053 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
67054 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
67055 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
67056 * wcsmbc/wcschr.c (WCSCHR): New macro.
67058 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
67060 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
67061 * wcsmbs/test-wcsrchr.c: New file.
67062 * string/test-strrchr.c: Add wcsrchr support.
67064 * wcsmbs/test-wcscpy.c: New file.
67065 * string/test-strcpy.c: Add wcscpy support.
67068 2011-12-10 Ulrich Drepper <drepper@gmail.com>
67070 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
67073 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
67076 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
67078 2011-12-04 Ulrich Drepper <drepper@gmail.com>
67080 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
67081 Minor optimizations.
67083 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
67084 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
67085 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
67087 2011-12-03 Ulrich Drepper <drepper@gmail.com>
67089 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
67090 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
67091 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
67092 for gcc to avoid warnings.
67093 * inet/Makefile (tests): Add tst-checks.
67094 * inet/tst-checks.c: New file.
67096 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
67099 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
67102 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
67103 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
67105 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
67107 2011-12-02 Ulrich Drepper <drepper@gmail.com>
67109 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
67112 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
67114 2011-11-29 Joseph Myers <joseph@codesourcery.com>
67116 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
67117 conditional on GCC version.
67118 (__arch_compare_and_exchange_val_8_acq)
67119 (__arch_compare_and_exchange_val_16_acq)
67120 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
67121 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
67122 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
67124 2011-12-02 Joseph Myers <joseph@codesourcery.com>
67126 * sysdeps/sh/backtrace.c: New file.
67128 2011-12-02 Andreas Schwab <schwab@redhat.com>
67130 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
67133 2011-12-01 Andreas Schwab <schwab@redhat.com>
67135 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
67136 falling back to utime.
67138 2011-11-30 Andreas Schwab <schwab@redhat.com>
67140 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
67141 expectations for float.
67143 2011-11-29 Andreas Schwab <schwab@redhat.com>
67145 * locale/weight.h (findidx): Add parameter len.
67146 * locale/weightwc.h (findidx): Likewise.
67147 * posix/fnmatch_loop.c (FCT): Adjust caller.
67148 * posix/regcomp.c (build_equiv_class): Likewise.
67149 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
67150 * posix/regexec.c (check_node_accept_bytes): Likewise.
67151 * string/strcoll_l.c (STRCOLL): Likewise.
67152 * string/strxfrm_l.c (STRXFRM): Likewise.
67154 2011-11-17 Ulrich Drepper <drepper@gmail.com>
67156 * Makefile.in: Remove CVSOPT handling.
67157 * configure.in: Remove use of AC_REVISION.
67158 * iconvdata/Makefile (distribute): No need to filter out CVS.
67159 * scripts/list-sources.sh: Remove CVS, subversion and monotone
67162 2011-11-16 Andreas Schwab <schwab@redhat.com>
67164 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
67165 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
67166 [USE_AS_STRNCASECMP_L]: Likewise.
67167 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
67168 NO_TLS_DIRECT_SEG_REFS.
67169 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
67170 Fix argument offsets for non-PIC.
67171 [USE_AS_STRNCASECMP_L]: Likewise.
67172 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
67173 NO_TLS_DIRECT_SEG_REFS.
67175 2011-11-15 Ulrich Drepper <drepper@gmail.com>
67177 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
67179 * locale/loadlocale.c (_nl_load_locale): Likewise.
67181 2011-11-15 Andreas Schwab <schwab@redhat.com>
67183 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
67184 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
67185 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
67186 (SYSCALL_GETTIME): Set errno on error.
67188 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
67189 count references to noai6ai_cached.
67191 2011-11-15 Ulrich Drepper <drepper@gmail.com>
67193 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
67195 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
67196 FD_CLOEXEC for /proc/self/maps.
67198 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
67199 FD_CLOEXEC for /proc/meminfo.
67201 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
67204 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
67205 FD_CLOEXEC for given file.
67207 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
67209 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
67210 FD_CLOEXEC for /etc/hosts.
67211 (_gethtent): Likewise.
67213 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
67215 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
67216 cancellation and set FD_CLOEXEC for /etc/netgroup.
67218 * nss/nss_files/files-key.c (search): Don't allow cancellation when
67219 reading /etc/publickey.
67221 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
67222 allow cancellation when reading /etc/group.
67224 * nss/nss_files/files-alias.c (internal_setent): Don't allow
67226 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
67228 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
67229 when using data file.
67231 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
67233 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
67234 (write_nis_obj): Use "c" and "e" in fopen.
67236 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
67238 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
67240 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
67242 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
67244 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
67247 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
67249 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
67251 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
67253 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
67254 file parsing and set FD_CLOEXEC.
67256 2011-11-14 Ulrich Drepper <drepper@gmail.com>
67258 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
67260 2011-11-14 Andreas Schwab <schwab@redhat.com>
67262 * malloc/arena.c (arena_get2): Don't call reused_arena when
67263 _int_new_arena failed.
67265 2011-11-14 Ulrich Drepper <drepper@gmail.com>
67267 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
67268 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
67269 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
67270 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
67271 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
67272 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
67273 to compile strcasecmp and strncasecmp.
67274 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
67275 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
67277 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
67279 2011-11-13 Ulrich Drepper <drepper@gmail.com>
67281 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
67282 locale-defines.sym to gen-as-const-headers.
67283 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
67284 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
67285 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
67286 to compile strcasecmp and strncasecmp.
67287 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
67288 strcasecmp_l and strncasecmp_l.
67289 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
67290 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
67291 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
67292 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
67293 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
67294 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
67295 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
67296 * sysdeps/i386/i686/multiarch/strncase.S: New file.
67297 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
67298 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
67299 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
67301 2011-11-12 Ulrich Drepper <drepper@gmail.com>
67303 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
67304 result of SYSDEP_GETTIME_CPU to retval.
67305 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
67306 parameter list to macro. Remove trailing semicolon. Adjust users.
67308 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
67311 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
67313 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
67315 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
67316 from unused variable.
67318 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
67320 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
67323 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
67326 * sunrpc/rpc_prot.c (rejected): Fix case value.
67328 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
67329 unsigned long long int to avoid warnings in shift.
67331 * posix/regex_internal.c (re_string_reconstruct): Actually use result
67333 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
67336 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
67337 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
67338 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
67340 * nis/nis_table.c (nis_list): Use variable of correct type for
67341 result of __follow_path call.
67343 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
67345 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
67346 of math functions ceil, trunc, floor, round, and sqrt, when
67347 avaliable on the platform.
67348 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
67350 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
67351 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
67352 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
67354 2011-10-30 Marek Polacek <mpolacek@redhat.com>
67356 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
67357 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
67359 2011-11-11 Roland McGrath <roland@hack.frob.com>
67361 * include/unistd.h: Fix __readlink return type.
67362 Reported by Chris Metcalf <cmetcalf@tilera.com>.
67364 2011-11-11 Ulrich Drepper <drepper@gmail.com>
67366 * stdlib/ucontext.h: Undo last change for makecontext.
67368 2011-11-11 Andreas Schwab <schwab@redhat.com>
67370 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
67372 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
67373 * setjmp/setjmp.h: Mark functions as non-leaf.
67374 * setjmp/bits/setjmp2.h: Likewise.
67375 * stdlib/ucontext.h: Likewise.
67377 2011-11-10 Andreas Schwab <schwab@redhat.com>
67379 * malloc/arena.c (_int_new_arena): Don't increment narenas.
67380 (reused_arena): Don't check arena limit.
67381 (arena_get2): Atomically check arena limit.
67383 2011-11-08 Ulrich Drepper <drepper@gmail.com>
67385 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
67386 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
67388 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
67391 2011-11-07 Andreas Schwab <schwab@redhat.com>
67393 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
67394 handler when locking.
67396 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
67397 Fix size of allocated buffer.
67399 2011-11-04 Andreas Schwab <schwab@redhat.com>
67402 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
67403 declarations for long double functions.
67404 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
67406 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
67408 2011-11-03 Andreas Schwab <schwab@redhat.com>
67410 * nscd/nscd.c (main): Don't start AVC thread until credentials are
67413 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
67416 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
67418 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
67420 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
67422 * include/alloca.h (stackinfo_alloca_round): Define.
67423 (extend_alloca): Use it.
67424 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
67425 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
67428 * scripts/check-local-headers.sh: Ignore libaudit.h.
67430 * nscd/Makefile (extra-objs): Make recursively expanded.
67432 2011-11-01 Ulrich Drepper <drepper@gmail.com>
67434 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
67435 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
67437 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
67438 * posix/tst-rfc3484-2.c: Likewise.
67439 * posix/tst-rfc3484-3.c: Likewise.
67441 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
67443 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
67445 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
67446 process_vm_writev from libc using GLIBC_2.15 version.
67448 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
67450 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
67452 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
67455 2011-10-31 Ulrich Drepper <drepper@gmail.com>
67458 * nss/getent.c (initgroups_keys): Show error message in case no group
67461 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
67462 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
67463 __bump_nl_timestamp.
67464 * nscd/connections (nscd_init): When host database is served open
67465 netlink socket and request notification about configuration changes.
67466 (main_loop_poll): Track netlink file descriptor and bump timestamp
67467 in case data becomes available.
67468 (main_loop_epoll): Likewise.
67469 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
67470 (database_pers_head): Add extra_data fileds.
67471 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
67472 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
67473 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
67475 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
67476 in6ai data, call __free_in6ai.
67477 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
67478 Add -DHAVE_NETLINK.
67479 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
67480 interface information. Reuse previous data if netlink timestamp
67482 (__bump_nl_timestamp): New function.
67483 (__free_in6ai): New function.
67485 2011-10-30 Ulrich Drepper <drepper@gmail.com>
67487 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
67488 close_not_cancel_no_status here.
67489 (__check_pf): Reorganize code a bit to not call close twice if OOM.
67491 2011-10-29 Ulrich Drepper <drepper@gmail.com>
67494 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
67497 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
67498 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
67499 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
67501 2011-07-03 Andreas Jaeger <aj@suse.de>
67504 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
67505 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
67506 * math/libm-test.inc (sin_test): Add test case.
67508 2011-10-29 Ulrich Drepper <drepper@gmail.com>
67511 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
67512 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
67514 * elf/chroot_canon.c (chroot_canon): Cleanups.
67516 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
67519 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
67520 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
67522 * string/test-strchr.c: Make usable for strchrnul testing.
67523 * string/test-strchrnul.c: New file.
67524 * string/Makefile (strop-tests): Add strchrnul.
67526 * po/it.po: Update from translation team.
67527 * po/es.po: Likewise.
67529 2011-10-28 Ulrich Drepper <drepper@gmail.com>
67531 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
67532 the three constants needed as parameters. Drop the others.
67533 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
67534 __m128i_strloadu_tolower.
67535 Create and initialize variable zero and use it in all the places
67536 where _mm_setzero_si128 was used.
67538 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
67539 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
67540 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
67541 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
67543 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
67544 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
67545 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
67546 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
67547 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
67548 __mpranred, __mptan.
67549 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
67550 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
67551 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
67552 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
67553 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
67554 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
67555 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
67556 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
67557 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
67559 2011-10-28 Andreas Schwab <schwab@redhat.com>
67561 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
67562 redefine if SHARED.
67563 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
67565 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
67566 wide char related routines to wcsmbs subdir.
67568 2011-10-27 Andreas Schwab <schwab@redhat.com>
67571 * misc/sys/cdefs.h (__THROWNL): Define.
67572 * posix/unistd.h: Use __THREADNL instead of __THREAD
67573 for memory synchronization functions.
67575 2011-10-26 Roland McGrath <roland@hack.frob.com>
67578 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
67580 * manual/stdio.texi (Obstack Streams): Node removed.
67582 2011-10-26 Andreas Schwab <schwab@redhat.com>
67584 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
67585 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
67586 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
67588 * math/math_private.h (math_force_eval): Allow non-addressable
67590 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
67592 2011-10-25 Ulrich Drepper <drepper@gmail.com>
67594 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
67595 file is not needed.
67597 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
67598 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
67599 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
67600 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
67601 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
67602 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
67603 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
67604 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
67606 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
67607 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
67608 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
67609 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
67610 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
67611 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
67612 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
67613 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
67614 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
67615 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
67616 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
67617 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
67618 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
67619 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
67620 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
67621 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
67622 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
67623 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
67624 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
67626 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
67627 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
67629 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
67630 place. Use VEX encoding when compiling for AVX.
67632 2011-10-25 Andreas Schwab <schwab@redhat.com>
67634 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
67635 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
67637 * string/test-strchr.c (do_test): Don't generate NUL bytes.
67639 2011-10-25 Ulrich Drepper <drepper@gmail.com>
67641 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
67642 useless if() expression.
67643 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
67644 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
67645 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
67646 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
67647 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
67648 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
67649 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
67650 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
67651 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
67652 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
67653 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
67654 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
67655 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
67656 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
67657 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
67658 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
67659 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
67660 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
67661 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
67663 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
67665 2011-10-25 Andreas Schwab <schwab@redhat.com>
67667 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
67669 * elf/dl-fini.c (_dl_sort_fini): Likewise.
67671 2011-10-25 Ulrich Drepper <drepper@gmail.com>
67673 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
67674 .text section. Avoid duplicate constants.
67675 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
67676 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
67677 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
67678 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
67679 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
67680 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
67681 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
67682 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
67683 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
67684 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
67685 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
67686 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
67687 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
67688 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
67689 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
67690 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
67691 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
67692 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
67693 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
67694 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
67695 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
67696 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
67697 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
67698 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
67699 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
67700 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
67701 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
67702 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
67703 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
67704 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
67705 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
67706 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
67707 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
67708 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
67709 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
67710 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
67711 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
67712 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
67713 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
67714 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
67715 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
67716 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
67717 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
67718 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
67719 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
67721 2011-10-24 Ulrich Drepper <drepper@gmail.com>
67723 * sysdeps/x86_64/dla.h: Move to ...
67724 * sysdeps/x86_64/fpu/dla.h: ...here.
67725 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
67726 situations. Use __builtin_fma only for gcc 4.6 and up.
67728 * config.make.in: Add have-mfma4 entry.
67729 * configure.in: Substitute libc_cv_cc_fma4.
67730 * math/Makefile (dbl-only-routines): Add sincostab.
67731 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
67732 Use __sincostab not sincos.
67733 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
67735 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
67736 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
67737 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
67738 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
67740 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
67741 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
67742 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
67743 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
67745 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
67746 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
67748 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
67749 define aliases when function name is a macro.
67750 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
67751 sysdeps/ieee754/dbl-64/sincos.tbl.
67752 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
67753 fma4-enabled routines.
67754 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
67755 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
67756 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
67757 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
67758 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
67759 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
67760 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
67761 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
67762 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
67763 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
67764 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
67765 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
67766 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
67767 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
67768 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
67769 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
67770 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
67771 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
67772 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
67773 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
67774 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
67775 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
67776 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
67777 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
67778 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
67779 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
67780 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
67781 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
67782 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
67783 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
67785 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
67787 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
67788 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
67789 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
67790 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
67791 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
67792 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
67793 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
67794 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
67796 2011-10-24 Andreas Schwab <schwab@redhat.com>
67798 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
67800 2011-10-23 Ulrich Drepper <drepper@gmail.com>
67802 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
67804 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
67806 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
67808 * string/strnlen.c: Don't define STRNLEN, reverse logic.
67809 Remove unused variable magic_bits.
67810 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
67812 * string/strnlen.c: Define and use STRNLEN macro.
67813 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
67814 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
67815 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
67816 * wcsmbs/wcslen.c: Define and use WCSLEN.
67817 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
67818 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
67819 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
67820 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
67821 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
67822 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
67823 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
67825 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
67827 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
67828 strnlen-sse2-no-bsf.
67829 Rename strlen-no-bsf to strlen-sse2-no-bsf.
67830 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
67831 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
67832 Add strnlen support.
67833 (USE_AS_STRNLEN): New macro.
67834 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
67835 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
67836 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
67837 * sysdeps/x86_64/wcslen.S: New file.
67839 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
67841 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
67842 XMM-moves are used for copying on small sizes.
67844 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
67846 * wcsmbs/Makefile (strop-tests): Add wcschr.
67847 * wcsmbs/test-wcschr.c: New file.
67848 * string/test-strchr.c: Update.
67849 Add wcschr support.
67852 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
67854 * wcsmbs/Makefile (strop-tests): Add wcslen.
67855 * wcsmbs/test-wcslen.c: New file.
67856 * string/test-strlen.c: Update.
67857 Add wcslen support.
67860 2011-10-23 Ulrich Drepper <drepper@gmail.com>
67862 * po/it.po: Update from translation team.
67864 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
67866 * sysdeps/x86_64/wcscmp.S: Update.
67867 Fix wrong comparison semantics.
67868 wcscmp shall use signed comparison not unsigned.
67869 Don't use substraction to avoid overflow bug.
67870 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
67871 * wcsmbc/wcscmp.c: Likewise.
67872 * string/test-strcmp.c: Likewise.
67873 Add new tests to check cases with negative values.
67875 2011-10-23 Ulrich Drepper <drepper@gmail.com>
67877 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
67878 * sysdeps/x86_64/dla.h: ...here. New file.
67879 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
67880 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
67881 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
67882 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
67883 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
67884 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
67885 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
67886 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
67887 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
67889 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
67891 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
67892 __ynl_finite aliases.
67894 2011-10-22 Ulrich Drepper <drepper@gmail.com>
67896 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
67898 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
67900 [DLA_FMA] (EMULV): Use DLA_FMA.
67901 [DLA_FMA] (MUL12): Use EMULV.
67902 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
67903 that are not needed.
67904 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
67905 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
67906 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
67907 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
67908 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
67909 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
67910 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
67912 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
67914 * math/s_nan.c: Undef __nan.
67915 * math/s_nanf.c: Undef __nanf.
67916 * math/s_nanl.c: Undef __nanl.
67917 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
67920 2011-10-22 Ulrich Drepper <drepper@gmail.com>
67922 * math/s_catan.c: Add branch predictions.
67923 * math/s_catanf.c: Likewise.
67924 * math/s_catanh.c: Likewise.
67925 * math/s_catanhf.c: Likewise.
67926 * math/s_catanhl.c: Likewise.
67927 * math/s_catanl.c: Likewise.
67928 * math/s_cexp.c: Likewise.
67929 * math/s_cexpf.c: Likewise.
67930 * math/s_cexpl.c: Likewise.
67931 * math/s_clog.c: Likewise.
67932 * math/s_clog10.c: Likewise.
67933 * math/s_clog10f.c: Likewise.
67934 * math/s_clog10l.c: Likewise.
67935 * math/s_clogf.c: Likewise.
67936 * math/s_clogl.c: Likewise.
67937 * math/s_csqrt.c: Likewise.
67938 * math/s_csqrtf.c: Likewise.
67939 * math/s_csqrtl.c: Likewise.
67940 * math/s_ctanf.c: Likewise.
67941 * math/s_ctanh.c: Likewise.
67942 * math/s_ctanhf.c: Likewise.
67943 * math/s_ctanhl.c: Likewise.
67944 * math/s_ctanl.c: Likewise.
67946 * math/math_private.h: Define __nan, __nanf, __nanl.
67947 * math/s_cacosh.c: Include <math_private.h>.
67948 * math/s_cacoshl.c: Likewise.
67949 * math/s_casinh.c: Likewise.
67950 * math/s_casinhf.c: Likewise.
67951 * math/s_casinhl.c: Likewise.
67952 * math/s_ccos.c: Rely entire on ccosh.
67953 * math/s_ccosf.c: Rely entire on ccoshf.
67954 * math/s_ccosl.c: Rely entirely on ccoshl.
67955 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
67956 Remove tests for FE_INVALID.
67957 * math/s_ccoshf.c: Likewise.
67958 * math/s_ccoshl.c: Likewise.
67959 * math/s_csin.c: Likewise.
67960 * math/s_csinf.c: Likewise.
67961 * math/s_csinh.c Likewise.
67962 * math/s_csinhf.c: Likewise.
67963 * math/s_csinhl.c: Likewise.
67964 * math/s_csinl.c: Likewise.
67965 * math/s_ctan.c: Likewise.
67966 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
67967 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
67968 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
67970 2011-10-21 Ulrich Drepper <drepper@gmail.com>
67972 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
67973 compilation problems.
67975 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
67978 2011-10-20 Ulrich Drepper <drepper@gmail.com>
67980 * sysdeps/i386/configure.in: Test for -mfma4 option.
67981 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
67982 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
67983 COMMON_CPUID_INDEX_80000001.
67984 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
67985 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
67986 use it if FMA3 is not supported.
67987 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
67989 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
67990 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
67992 2011-10-20 Andreas Schwab <schwab@redhat.com>
67995 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
67996 it would create a cycle with a link time dependency.
67998 2011-10-19 Ulrich Drepper <drepper@gmail.com>
68000 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
68002 * string/Makefile (strop-tests): Add rawmemchr.
68003 * string/test-rawmemchr.c: New file.
68005 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
68006 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
68007 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
68008 when compiling str{,n}casecmp and when AVX is available. Hook up
68009 new optimized code in initializers.
68011 2011-10-19 Andreas Schwab <schwab@redhat.com>
68013 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
68014 __feraiseexcept instead of feraiseexcept.
68016 2011-10-18 Ulrich Drepper <drepper@gmail.com>
68018 * math/math_private.h: Define defaults for libc_fetestexcept and
68020 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
68021 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
68022 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
68023 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
68024 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
68025 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
68026 libc_fetestexcept and libc_feupdateenv.
68028 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
68029 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
68030 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
68031 * sysdeps/x86_64/fpu/math_private.h: Define special version of
68032 libc_feholdexcept_setround.
68034 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
68035 Add s_nearbyint-c and s_nearbyintf-c.
68036 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
68037 nearbyintf inlines.
68038 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
68039 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
68040 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
68041 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
68043 * math/math_private.h: Define defaults for libc_fegetround,
68044 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
68045 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
68046 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
68047 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
68048 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
68049 standard functions.
68050 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
68051 Remove comments and hacks for old compiler versions.
68052 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
68053 libc_fegetround, libc_fesetround, libc_feholdexcept, and
68054 libc_feholdexceptl.
68056 2011-10-18 Andreas Schwab <schwab@redhat.com>
68058 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
68059 (__feraiseexcept_renamed): Add __NTH.
68060 (feraiseexcept): Add __NTH. Rename local variables to fix
68061 namespace violations.
68063 2011-10-17 Ulrich Drepper <drepper@gmail.com>
68065 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
68067 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
68069 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
68070 recently added interfaces.
68071 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
68073 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
68074 about macro parameter expansion.
68076 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
68077 __NO_MATH_INLINES is defined. Cleanups.
68079 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
68080 and __floorf is target has SSE4.1.
68081 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
68082 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
68083 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
68084 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
68086 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
68088 (floorf): Likewise.
68090 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
68092 2011-10-17 Andreas Schwab <schwab@redhat.com>
68094 * misc/sys/cdefs.h: Fix last change.
68096 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
68099 2011-10-16 Ulrich Drepper <drepper@gmail.com>
68101 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
68103 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
68104 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
68105 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
68106 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
68107 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
68108 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
68109 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
68110 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
68111 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
68112 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
68113 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
68114 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
68115 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
68116 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
68117 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
68118 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
68119 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
68120 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
68121 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
68122 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
68123 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
68124 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
68126 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
68127 ceil, ceilf, floor, floorf.
68129 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
68130 Perform IRELATIVE relocations last.
68132 * elf/do-rel.h: Add another parameter nrelative, replacing the
68133 local variable with the same name. Change name of the function
68134 to end in Rel or Rela (uppercase).
68135 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
68136 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
68137 elf_dynamic_do_##reloc function.
68139 2011-10-15 Ulrich Drepper <drepper@gmail.com>
68141 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
68142 is sufficient, at least on modern CPUs.
68144 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
68146 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
68147 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
68149 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
68151 * math/bits/math-finite.h: Add entries for exp.
68152 * math/e_expl.c: Add __*_finite alias.
68153 * sysdeps/i386/fpu/e_exp.S: Likewise.
68154 * sysdeps/i386/fpu/e_expf.S: Likewise.
68155 * sysdeps/i386/fpu/e_expl.c: Likewise.
68156 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
68157 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
68158 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
68159 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
68160 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
68161 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
68162 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
68164 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
68165 is sufficient, at least on modern CPUs.
68167 * ctype/ctype-info.c (__ctype_init): Define.
68168 * include/ctype.h (__ctype_init): Declare.
68169 (__ctype_b_loc): The variable is always initialized.
68170 (__ctype_toupper_loc): Likewise.
68171 (__ctype_tolower_loc): Likewise.
68172 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
68173 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
68175 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
68177 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
68179 * configure.in: Also look in $cxxmachine/include for C++ system
68182 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
68184 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
68185 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
68186 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
68187 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
68188 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
68189 (USE_AS_WMEMCMP): New macro.
68191 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
68192 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
68193 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
68194 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
68195 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
68196 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
68197 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
68198 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
68199 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
68200 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
68201 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
68202 (USE_AS_WMEMCMP): New macro.
68203 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
68204 * sysdeps/string/test-memcmp.c: Update.
68205 Fix simple_wmemcmp.
68207 * wcsmbs/wmemcmp.c: Update.
68208 (WMEMCMP): New macro.
68211 2011-10-12 Andreas Jaeger <aj@suse.de>
68214 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
68216 2011-10-15 Ulrich Drepper <drepper@gmail.com>
68218 * libio/iofwide.c (do_length): Avoid warning.
68220 * ctype/ctype.h (__isctype_f): Add missing __THROW.
68222 2011-10-14 Ulrich Drepper <drepper@gmail.com>
68224 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
68226 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
68227 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
68228 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
68229 * sysdeps/i386/i686/fpu/e_log.S: New file.
68230 * sysdeps/i386/i686/fpu/e_logf.S: New file.
68231 * sysdeps/i386/i686/fpu/e_logl.S: New file.
68233 * ctype/ctype.h: Add support for inlined isXXX functions when
68234 compiling C++ code.
68236 2011-10-14 Andreas Schwab <schwab@redhat.com>
68238 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
68240 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
68242 2011-10-13 Roland McGrath <roland@hack.frob.com>
68245 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
68247 2011-10-13 Andreas Schwab <schwab@redhat.com>
68249 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
68250 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
68253 * sysdeps/x86_64/memrchr.S: Check for zero size.
68255 * string/stratcliff.c: Add memrchr tests.
68257 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
68259 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
68260 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
68261 rawmemchr-sse2 rawmemchr-sse2-bsf.
68262 * sysdeps/i386/i686/multiarch/memchr.S: New file.
68263 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
68264 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
68265 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
68266 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
68267 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
68268 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
68269 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
68270 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
68271 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
68272 * string/memrchr.c (MEMRCHR): New macro.
68274 2011-10-12 Ulrich Drepper <drepper@gmail.com>
68276 Add integration with gcc's -ffinite-math-only and optimize wrapper
68278 * Versions.def: Define GLIBC_2.15 version for libm.
68279 * math/Makefile (headers): Add bits/math-finite.h.
68280 * math/bits/math-finite.h: New file.
68281 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
68282 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
68283 * math/e_acoshl.c: Add __*_finite alias.
68284 * math/e_acosl.c: Likewise.
68285 * math/e_asinl.c: Likewise.
68286 * math/e_atan2l.c: Likewise.
68287 * math/e_atanhl.c: Likewise.
68288 * math/e_coshl.c: Likewise.
68289 * math/e_exp10.c: Likewise.
68290 * math/e_exp10f.c: Likewise.
68291 * math/e_exp10l.c: Likewise.
68292 * math/e_exp2l.c: Likewise.
68293 * math/e_fmodl.c: Likewise.
68294 * math/e_gammal_r.c: Likewise.
68295 * math/e_hypotl.c: Likewise.
68296 * math/e_j0l.c: Likewise.
68297 * math/e_j1l.c: Likewise.
68298 * math/e_jnl.c: Likewise.
68299 * math/e_lgammal_r.c: Likewise.
68300 * math/e_log10l.c: Likewise.
68301 * math/e_log2l.c: Likewise.
68302 * math/e_logl.c: Likewise.
68303 * math/e_powl.c: Likewise.
68304 * math/e_sinhl.c: Likewise.
68305 * math/e_sqrtl.c: Likewise.
68306 * math/e_scalb.c: Completely rewritten and optimized.
68307 * math/e_scalbf.c: Likewise.
68308 * math/e_scalbl.c: Likewise.
68309 * math/w_acos.c: Likewise.
68310 * math/w_acosf.c: Likewise.
68311 * math/w_acosl.c: Likewise.
68312 * math/w_acosh.c: Likewise.
68313 * math/w_acoshf.c: Likewise.
68314 * math/w_acoshl.c: Likewise.
68315 * math/w_asin.c: Likewise.
68316 * math/w_asinf.c: Likewise.
68317 * math/w_asinl.c: Likewise.
68318 * math/w_atan2.c: Likewise.
68319 * math/w_atan2f.c: Likewise.
68320 * math/w_atan2l.c: Likewise.
68321 * math/w_atanh.c: Likewise.
68322 * math/w_atanhf.c: Likewise.
68323 * math/w_atanhl.c: Likewise.
68324 * math/w_exp10.c: Likewise.
68325 * math/w_exp10f.c: Likewise.
68326 * math/w_exp10l.c: Likewise.
68327 * math/w_fmod.c: Likewise.
68328 * math/w_fmodf.c: Likewise.
68329 * math/w_fmodl.c: Likewise.
68330 * math/w_j0.c: Likewise.
68331 * math/w_j0f.c: Likewise.
68332 * math/w_j0l.c: Likewise.
68333 * math/w_j1.c: Likewise.
68334 * math/w_j1f.c: Likewise.
68335 * math/w_j1l.c: Likewise.
68336 * math/w_jn.c: Likewise.
68337 * math/w_jnf.c: Likewise.
68338 * math/w_log.c: Likewise.
68339 * math/w_logf.c: Likewise.
68340 * math/w_logl.c: Likewise.
68341 * math/w_log10.c: Likewise.
68342 * math/w_log10f.c: Likewise.
68343 * math/w_log10l.c: Likewise.
68344 * math/w_log2.c: Likewise.
68345 * math/w_log2f.c: Likewise.
68346 * math/w_log2l.c: Likewise.
68347 * math/w_pow.c: Likewise.
68348 * math/w_powf.c: Likewise.
68349 * math/w_powl.c: Likewise.
68350 * math/w_remainder.c: Likewise.
68351 * math/w_remainderf.c: Likewise.
68352 * math/w_remainderl.c: Likewise.
68353 * math/w_scalb.c: Likewise.
68354 * math/w_scalbf.c: Likewise.
68355 * math/w_scalbl.c: Likewise.
68356 * math/w_sqrt.c: Likewise.
68357 * math/w_sqrtf.c: Likewise.
68358 * math/w_sqrtl.c: Likewise.
68359 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
68360 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
68362 * math/math_private.h: Declare __kernel_standard_f.
68363 * math/w_cosh.c: Remove cruft and optimize a bit.
68364 * math/w_coshf.c: Likewise.
68365 * math/w_coshl.c: Likewise.
68366 * math/w_exp2.c: Likewise.
68367 * math/w_exp2f.c: Likewise.
68368 * math/w_exp2l.c: Likewise.
68369 * math/w_hypot.c: Likewise.
68370 * math/w_hypotf.c: Likewise.
68371 * math/w_hypotl.c: Likewise.
68372 * math/w_lgamma.c: Likewise.
68373 * math/w_lgamma_r.c: Likewise.
68374 * math/w_lgammaf.c: Likewise.
68375 * math/w_lgammaf_r.c: Likewise.
68376 * math/w_lgammal.c: Likewise.
68377 * math/w_lgammal_r.c: Likewise.
68378 * math/w_sinh.c: Likewise.
68379 * math/w_sinhf.c: Likewise.
68380 * math/w_sinhl.c: Likewise.
68381 * math/w_tgamma.c: Likewise.
68382 * math/w_tgammaf.c: Likewise.
68383 * math/w_tgammal.c: Likewise.
68384 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
68385 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
68386 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
68387 Minor optimizations. Pretty printing. Remove cruft.
68388 * sysdeps/i386/fpu/e_acosf.S: Likewise.
68389 * sysdeps/i386/fpu/e_acosh.S: Likewise.
68390 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
68391 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
68392 * sysdeps/i386/fpu/e_acosl.c: Likewise.
68393 * sysdeps/i386/fpu/e_asin.S: Likewise.
68394 * sysdeps/i386/fpu/e_asinf.S: Likewise.
68395 * sysdeps/i386/fpu/e_atan2.S: Likewise.
68396 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
68397 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
68398 * sysdeps/i386/fpu/e_atanh.S: Likewise.
68399 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
68400 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
68401 * sysdeps/i386/fpu/e_exp10.S: Likewise.
68402 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
68403 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
68404 * sysdeps/i386/fpu/e_exp2.S: Likewise.
68405 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
68406 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
68407 * sysdeps/i386/fpu/e_fmod.S: Likewise.
68408 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
68409 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
68410 * sysdeps/i386/fpu/e_hypot.S: Likewise.
68411 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
68412 * sysdeps/i386/fpu/e_log.S: Likewise.
68413 * sysdeps/i386/fpu/e_log10.S: Likewise.
68414 * sysdeps/i386/fpu/e_log10f.S: Likewise.
68415 * sysdeps/i386/fpu/e_log10l.S: Likewise.
68416 * sysdeps/i386/fpu/e_log2.S: Likewise.
68417 * sysdeps/i386/fpu/e_log2f.S: Likewise.
68418 * sysdeps/i386/fpu/e_log2l.S: Likewise.
68419 * sysdeps/i386/fpu/e_logf.S: Likewise.
68420 * sysdeps/i386/fpu/e_logl.S: Likewise.
68421 * sysdeps/i386/fpu/e_pow.S: Likewise.
68422 * sysdeps/i386/fpu/e_powf.S: Likewise.
68423 * sysdeps/i386/fpu/e_powl.S: Likewise.
68424 * sysdeps/i386/fpu/e_remainder.S: Likewise.
68425 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
68426 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
68427 * sysdeps/i386/fpu/e_scalb.S: Likewise.
68428 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
68429 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
68430 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
68431 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
68432 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
68433 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
68434 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
68435 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
68436 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
68437 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
68438 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
68439 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
68440 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
68441 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
68442 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
68443 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
68444 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
68445 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
68446 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
68447 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
68448 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
68449 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
68450 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
68451 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
68452 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
68453 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
68454 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
68455 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
68456 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
68457 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
68458 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
68459 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
68460 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
68461 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
68462 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
68463 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
68464 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
68465 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
68466 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
68467 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
68468 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
68469 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
68470 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
68471 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
68472 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
68473 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
68474 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
68475 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
68476 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
68477 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
68478 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
68479 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
68480 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
68481 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
68482 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
68483 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
68484 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
68485 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
68486 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
68487 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
68488 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
68489 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
68490 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
68491 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
68492 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
68493 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
68494 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
68495 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
68496 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
68497 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
68498 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
68499 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
68500 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
68501 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
68502 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
68503 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
68504 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
68505 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
68506 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
68507 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
68508 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
68509 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
68510 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
68511 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
68512 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
68513 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
68514 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
68515 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
68516 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
68517 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
68518 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
68519 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
68520 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
68521 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
68522 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
68523 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
68524 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
68525 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
68526 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
68527 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
68528 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
68529 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
68530 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
68531 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
68532 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
68533 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
68534 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
68535 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
68536 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
68537 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
68538 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
68539 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
68540 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
68541 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
68542 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
68543 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
68544 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
68545 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
68546 (__isnanf): Likewise.
68547 (__isinf_ns): Likewise.
68548 (__isinf_nsf): Likewise.
68549 (__finite): Likewise.
68550 (__finitef): Likewise.
68551 (__ieee754_sqrt): Define as macro.
68552 (__ieee754_sqrtf): Define as macro.
68553 (__ieee754_sqrtl): Define as macro.
68554 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
68556 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
68557 __FINITE_MATH_ONLY__ consistent.
68558 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
68560 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
68562 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
68565 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
68567 2011-10-09 Ulrich Drepper <drepper@gmail.com>
68569 * po/ja.po: Update from translation team.
68571 2011-10-08 Roland McGrath <roland@hack.frob.com>
68573 * locale/programs/locarchive.c (prepare_address_space): New function.
68574 (create_archive, enlarge_archive, open_archive): Use it.
68576 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
68577 inside [SHARED], where it is used.
68579 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
68581 * nss/getent.c (netgroup_keys): Remove unused variable.
68582 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
68584 2011-10-08 Ulrich Drepper <drepper@gmail.com>
68586 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
68587 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
68588 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
68589 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
68590 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
68591 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
68592 * math/Makefile (libm-calls): Add s_isinf_ns.
68593 * math/divtc3.c: Use __isinf_nsl instead of isinf.
68594 * math/multc3.c: Likewise.
68595 * math/s_casin.c: Likewise.
68596 * math/s_casinf.c: Likewise.
68597 * math/s_casinl.c: Likewise.
68598 * math/s_ccos.c: Likewise.
68599 * math/s_ccosf.c: Likewise.
68600 * math/s_ccosl.c: Likewise.
68601 * math/s_ctan.c: Likewise.
68602 * math/s_ctanf.c: Likewise.
68603 * math/s_ctanh.c: Likewise.
68604 * math/s_ctanhf.c: Likewise.
68605 * math/s_ctanhl.c: Likewise.
68606 * math/s_ctanl.c: Likewise.
68607 * math/w_fmod.c: Likewise.
68608 * math/w_fmodf.c: Likewise.
68609 * math/w_fmodl.c: Likewise.
68610 * math/w_remainder.c: Likewise.
68611 * math/w_remainderf.c: Likewise.
68612 * math/w_remainderl.c: Likewise.
68613 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
68614 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
68615 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
68616 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
68617 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
68618 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
68619 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
68620 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
68622 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
68624 * stdio-common/printf_fphex.c: Likewise.
68625 * stdio-common/printf_size.c: Likewise.
68627 * math/e_exp10.c: Include math_private.h using <...> not "...".
68628 * math/e_exp10f.c: Likewise.
68629 * math/e_exp10l.c: Likewise.
68630 * math/e_exp2l.c: Likewise.
68631 * math/e_j0l.c: Likewise.
68632 * math/e_j1l.c: Likewise.
68633 * math/e_jnl.c: Likewise.
68634 * math/e_lgammal_r.c: Likewise.
68635 * math/e_rem_pio2l.c: Likewise.
68636 * math/e_scalb.c: Likewise.
68637 * math/e_scalbf.c: Likewise.
68638 * math/e_scalbl.c: Likewise.
68639 * math/k_cosl.c: Likewise.
68640 * math/k_sinl.c: Likewise.
68641 * math/k_tanl.c: Likewise.
68642 * math/s_cacoshf.c: Likewise.
68643 * math/s_catan.c: Likewise.
68644 * math/s_catanf.c: Likewise.
68645 * math/s_catanh.c: Likewise.
68646 * math/s_catanhf.c: Likewise.
68647 * math/s_catanhl.c: Likewise.
68648 * math/s_catanl.c: Likewise.
68649 * math/s_ccosh.c: Likewise.
68650 * math/s_ccoshf.c: Likewise.
68651 * math/s_ccoshl.c: Likewise.
68652 * math/s_cexp.c: Likewise.
68653 * math/s_cexpf.c: Likewise.
68654 * math/s_cexpl.c: Likewise.
68655 * math/s_clog.c: Likewise.
68656 * math/s_clog10.c: Likewise.
68657 * math/s_clog10f.c: Likewise.
68658 * math/s_clog10l.c: Likewise.
68659 * math/s_clogf.c: Likewise.
68660 * math/s_clogl.c: Likewise.
68661 * math/s_csin.c: Likewise.
68662 * math/s_csinf.c: Likewise.
68663 * math/s_csinh.c: Likewise.
68664 * math/s_csinhf.c: Likewise.
68665 * math/s_csinhl.c: Likewise.
68666 * math/s_csinl.c: Likewise.
68667 * math/s_csqrt.c: Likewise.
68668 * math/s_csqrtf.c: Likewise.
68669 * math/s_csqrtl.c: Likewise.
68670 * math/s_ctan.c: Likewise.
68671 * math/s_ctanf.c: Likewise.
68672 * math/s_ctanh.c: Likewise.
68673 * math/s_ctanhf.c: Likewise.
68674 * math/s_ctanhl.c: Likewise.
68675 * math/s_ctanl.c: Likewise.
68676 * math/s_ldexp.c: Likewise.
68677 * math/s_ldexpf.c: Likewise.
68678 * math/s_ldexpl.c: Likewise.
68679 * math/s_significand.c: Likewise.
68680 * math/s_significandf.c: Likewise.
68681 * math/s_significandl.c: Likewise.
68682 * math/w_acos.c: Likewise.
68683 * math/w_acosf.c: Likewise.
68684 * math/w_acosh.c: Likewise.
68685 * math/w_acoshf.c: Likewise.
68686 * math/w_acoshl.c: Likewise.
68687 * math/w_acosl.c: Likewise.
68688 * math/w_asin.c: Likewise.
68689 * math/w_asinf.c: Likewise.
68690 * math/w_asinl.c: Likewise.
68691 * math/w_atan2.c: Likewise.
68692 * math/w_atan2f.c: Likewise.
68693 * math/w_atan2l.c: Likewise.
68694 * math/w_atanh.c: Likewise.
68695 * math/w_atanhf.c: Likewise.
68696 * math/w_atanhl.c: Likewise.
68697 * math/w_cosh.c: Likewise.
68698 * math/w_coshf.c: Likewise.
68699 * math/w_coshl.c: Likewise.
68700 * math/w_dremf.c: Likewise.
68701 * math/w_exp10.c: Likewise.
68702 * math/w_exp10f.c: Likewise.
68703 * math/w_exp10l.c: Likewise.
68704 * math/w_exp2.c: Likewise.
68705 * math/w_exp2f.c: Likewise.
68706 * math/w_fmod.c: Likewise.
68707 * math/w_fmodf.c: Likewise.
68708 * math/w_fmodl.c: Likewise.
68709 * math/w_hypot.c: Likewise.
68710 * math/w_hypotf.c: Likewise.
68711 * math/w_hypotl.c: Likewise.
68712 * math/w_j0.c: Likewise.
68713 * math/w_j0f.c: Likewise.
68714 * math/w_j0l.c: Likewise.
68715 * math/w_j1.c: Likewise.
68716 * math/w_j1f.c: Likewise.
68717 * math/w_j1l.c: Likewise.
68718 * math/w_jn.c: Likewise.
68719 * math/w_jnf.c: Likewise.
68720 * math/w_jnl.c: Likewise.
68721 * math/w_lgamma.c: Likewise.
68722 * math/w_lgamma_r.c: Likewise.
68723 * math/w_lgammaf.c: Likewise.
68724 * math/w_lgammaf_r.c: Likewise.
68725 * math/w_lgammal.c: Likewise.
68726 * math/w_lgammal_r.c: Likewise.
68727 * math/w_log.c: Likewise.
68728 * math/w_log10.c: Likewise.
68729 * math/w_log10f.c: Likewise.
68730 * math/w_log10l.c: Likewise.
68731 * math/w_log2.c: Likewise.
68732 * math/w_log2f.c: Likewise.
68733 * math/w_log2l.c: Likewise.
68734 * math/w_logf.c: Likewise.
68735 * math/w_logl.c: Likewise.
68736 * math/w_pow.c: Likewise.
68737 * math/w_powf.c: Likewise.
68738 * math/w_powl.c: Likewise.
68739 * math/w_remainder.c: Likewise.
68740 * math/w_remainderf.c: Likewise.
68741 * math/w_remainderl.c: Likewise.
68742 * math/w_scalb.c: Likewise.
68743 * math/w_scalbf.c: Likewise.
68744 * math/w_scalbl.c: Likewise.
68745 * math/w_sinh.c: Likewise.
68746 * math/w_sinhf.c: Likewise.
68747 * math/w_sinhl.c: Likewise.
68748 * math/w_sqrt.c: Likewise.
68749 * math/w_sqrtf.c: Likewise.
68750 * math/w_sqrtl.c: Likewise.
68751 * math/w_tgamma.c: Likewise.
68752 * math/w_tgammaf.c: Likewise.
68753 * math/w_tgammal.c: Likewise.
68755 * po/ja.po: Update from translation team.
68757 2011-09-29 Andreas Jaeger <aj@suse.de>
68760 * sunrpc/netname.c (netname2host): Fix logic.
68764 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
68766 * math/w_remainder.c (__remainder): Likewise.
68767 * math/w_remainderf.c (__remainderf): Likewise.
68768 * math/libm-test.inc (remainder_test): Add test cases.
68770 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
68772 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
68775 2011-10-07 Ulrich Drepper <drepper@gmail.com>
68777 * string/test-memcmp.c: Avoid unncessary #defines.
68778 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
68780 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
68782 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
68783 Use new sse2 version for core i3 - i7 as it's faster
68784 than sse42 version.
68785 (bit_Prefer_PMINUB_for_stringop): New.
68786 * sysdeps/x86_64/rawmemchr.S: Update.
68787 Replace with faster SSE2 version.
68788 * sysdeps/x86_64/memrchr.S: New file.
68789 * sysdeps/x86_64/memchr.S: Update.
68790 Replace with faster SSE2 version.
68792 2011-09-12 Marek Polacek <mpolacek@redhat.com>
68794 * elf/dl-load.c (lose): Add cast to avoid warning.
68796 2011-10-07 Ulrich Drepper <drepper@gmail.com>
68798 * po/ca.po: Update from translation team.
68800 * inet/getnetgrent_r.c: Hook up nscd.
68801 * nscd/Makefile (routines): Add nscd_netgroup.
68802 (nscd-modules): Add netgroupcache.
68803 (CFLAGS-netgroupcache.c): Define.
68804 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
68805 (cache_search): Add const to second parameter.
68806 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
68808 (dbs): Add netgrdb entry.
68809 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
68810 (verify_persistent_db): Handle netgrdb.
68811 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
68812 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
68814 (netgroup_response_header): Define.
68815 (innetgroup_response_header): Define.
68816 (datahead): Add netgroup_response_header and innetgroup_response_header
68818 * nscd/nscd.conf: Add entries for netgroup cache.
68819 * nscd/nscd.h (dbtype): Add netgrdb.
68820 (_PATH_NSCD_NETGROUP_DB): Define.
68821 (netgroup_iov_disabled): Declare.
68822 (xmalloc, xcalloc, xrealloc): Move declarations here.
68823 (cache_search): Adjust prototype.
68824 Add netgroup-related prototypes.
68825 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
68826 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
68827 (__nscd_innetgr): Declare.
68828 * nscd/selinux.c (perms): Use access_vector_t as element type and
68829 add netgroup-related initializers.
68830 * nscd/netgroupcache.c: New file.
68831 * nscd/nscd_netgroup.c: New file.
68832 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
68833 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
68834 For four parameters use innetgr.
68835 * nss/nss_files/files-init.c: Add definition and callback for netgr.
68836 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
68837 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
68838 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
68840 * nscd/connections.c (register_traced_file): Don't register file
68841 for disabled databases.
68843 2011-10-06 Ulrich Drepper <drepper@gmail.com>
68845 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
68847 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
68848 from tree and freeing node.
68850 2011-09-25 Jiri Olsa <jolsa@redhat.com>
68852 * nss/nsswitch.c (__nss_database_lookup): Handle
68853 nss_parse_service_list out of memory case.
68855 2011-09-15 Jiri Olsa <jolsa@redhat.com>
68857 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
68858 out of memory case.
68860 2011-10-04 Andreas Schwab <schwab@redhat.com>
68862 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
68863 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
68865 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
68866 elf_machine_rela, elf_machine_lazy_rel.
68867 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
68868 (ELF_DYNAMIC_DO_REL): Likewise.
68869 (ELF_DYNAMIC_DO_RELA): Likewise.
68870 (ELF_DYNAMIC_RELOCATE): Likewise.
68871 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
68872 to ELF_DYNAMIC_DO_REL.
68873 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
68874 (dl_main): In trace mode always set __RTLD_NOIFUNC.
68875 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
68877 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
68878 skip_ifunc, don't call ifunc function if non-zero.
68879 (elf_machine_rela): Likewise.
68880 (elf_machine_lazy_rel): Likewise.
68881 (elf_machine_lazy_rela): Likewise.
68882 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
68883 (elf_machine_lazy_rel): Likewise.
68884 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
68886 (elf_machine_lazy_rel): Likewise.
68887 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
68889 (elf_machine_lazy_rel): Likewise.
68890 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
68891 (elf_machine_lazy_rel): Likewise.
68892 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
68893 (elf_machine_lazy_rel): Likewise.
68894 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
68895 (elf_machine_lazy_rel): Likewise.
68896 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
68897 (elf_machine_lazy_rel): Likewise.
68898 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
68899 (elf_machine_lazy_rel): Likewise.
68900 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
68901 (elf_machine_lazy_rel): Likewise.
68903 2011-09-28 Ulrich Drepper <drepper@gmail.com>
68905 * nss/nss_files/files-init.c (_nss_files_init): Use static
68906 initialization for all the *_traced_file variables.
68908 2011-09-28 Andreas Schwab <schwab@redhat.com>
68910 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
68912 2011-09-27 Roland McGrath <roland@hack.frob.com>
68915 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
68917 2011-09-27 Andreas Schwab <schwab@redhat.com>
68919 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
68920 Reread the line before reparsing it.
68922 2011-09-26 Andreas Schwab <schwab@redhat.com>
68924 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
68926 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
68927 Maxim Kuvyrkov <maxim@codesourcery.com>
68928 Joseph Myers <joseph@codesourcery.com>
68930 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
68931 if needed for __stack_chk_guard.
68933 2011-09-19 Roland McGrath <roland@hack.frob.com>
68935 * sysdeps/posix/spawni.c (script_execute): Always define it.
68936 It will be optimized away if unused.
68937 (maybe_script_execute): New function.
68938 (__spawni): Call it.
68940 * Makerules: Don't include tls.make.
68941 (config-tls): Always set to thread.
68942 * tls.make.c: File removed.
68944 2011-09-19 Mike Frysinger <vapier@gentoo.org>
68946 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
68947 * config.make.in (CPPFLAGS-config): New substituted variable.
68949 2011-09-15 Ulrich Drepper <drepper@gmail.com>
68951 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
68954 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
68955 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
68957 2011-09-15 Roland McGrath <roland@hack.frob.com>
68959 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
68960 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
68961 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
68962 (CALL_FAIL): Likewise.
68963 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
68964 (CALL_FAIL): Macro removed.
68965 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
68967 2011-09-15 Ulrich Drepper <drepper@gmail.com>
68969 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
68970 for __FINITE_MATH_ONLY__ == 1.
68972 2011-09-15 Andreas Schwab <schwab@redhat.com>
68974 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
68975 __ieee754_sqrt instead of sqrt.
68976 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
68977 __ieee754_sqrtf instead of sqrtf.
68978 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
68979 __floorf instead of floorf.
68980 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
68981 __floorf, __truncf instead of floorf, truncf.
68983 2011-09-14 Ulrich Drepper <drepper@gmail.com>
68985 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
68987 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
68988 __extern_always_inline.
68989 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
68992 2011-09-14 Andreas Schwab <schwab@redhat.com>
68994 * elf/rtld.c (dl_main): Also relocate in dependency order when
68995 doing symbol dependency testing.
68997 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
68999 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
69000 Always define `refsym'.
69002 2011-09-13 Andreas Schwab <schwab@redhat.com>
69004 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
69005 (__FD_ELT): Renamed from __FDELT.
69006 * misc/bits/select2.h (__FD_ELT): Likewise.
69007 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
69008 __FD_MASK instead of __FDELT, __FDMASK.
69009 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
69011 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
69014 * elf/Makefile (gen-ldd): Fix pattern.
69016 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
69017 (init_tls): Likewise.
69019 2011-09-12 Ulrich Drepper <drepper@gmail.com>
69021 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
69023 2011-09-12 Andreas Schwab <schwab@redhat.com>
69025 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
69026 `struct cmsghdr *' instead of `void *'.
69027 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
69030 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
69032 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
69034 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
69035 ldd_rewrite_script.
69037 2011-09-11 Ulrich Drepper <drepper@gmail.com>
69039 * configure.in: Remove --with-tls option.
69040 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
69041 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
69042 out in case it is missing.
69043 * sysdeps/ia64/elf/configure.in: Likewise.
69044 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
69045 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
69046 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
69047 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
69048 * sysdeps/sh/elf/configure.in: Likewise.
69049 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
69050 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
69051 * sysdeps/x86_64/elf/configure.in: Likewise.
69052 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
69053 * sysdeps/mach/hurd/tls.h: Likewise.
69056 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
69059 * configure.in: Fix use of AC_INIT.
69061 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
69063 2011-09-10 Ulrich Drepper <drepper@gmail.com>
69065 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
69067 * malloc/hooks.c: Likewise.
69070 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
69071 variables statically.
69072 (narenas): Initialize.
69073 (list_lock): Initialize.
69074 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
69075 initializtion of main_arena and list_lock. Small cleanups.
69076 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
69077 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
69078 Add initializers to main_arena and mp_.
69079 (malloc_state): Remove pagesize member. Change all users to use
69082 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
69083 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
69084 is always initialized.
69086 * malloc/malloc.c: Removed unused configurations and dead code.
69087 * malloc/arena.c: Likewise.
69088 * malloc/hooks.c: Likewise.
69089 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
69091 * include/tls.h: Removed. USE___THREAD must always be defined.
69092 * bits/libc-tsd.h: Don't handle !USE___THREAD.
69093 * elf/dl-libc.c: Likewise.
69094 * elf/dl-tsd.c: Likewise.
69095 * include/errno.h: Likewise.
69096 * include/netdb.h: Likewise.
69097 * include/resolv.h: Likewise.
69098 * inet/herrno-loc.c: Likewise.
69099 * inet/herrno.c: Likewise.
69100 * malloc/arena.c: Likewise.
69101 * malloc/hooks.c: Likewise.
69102 * malloc/malloc.c: Likewise.
69103 * resolv/res-state.c: Likewise.
69104 * resolv/res_libc.c: Likewise.
69105 * sysdeps/i386/dl-machine.h: Likewise.
69106 * sysdeps/ia64/dl-machine.h: Likewise.
69107 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
69108 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
69109 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
69110 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
69111 * sysdeps/sh/dl-machine.h: Likewise.
69112 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
69113 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
69114 * sysdeps/unix/i386/sysdep.S: Likewise.
69115 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
69116 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
69117 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
69118 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
69119 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
69120 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
69121 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
69122 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
69123 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
69124 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
69125 * sysdeps/unix/x86_64/sysdep.S: Likewise.
69126 * sysdeps/x86_64/dl-machine.h: Likewise.
69127 * tls.make.c: Likewise.
69129 * configure.in: Remove --with-__thread option. Make tests for
69130 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
69131 tls_model attribute fail if no support is available. Remove
69133 * Makeconfig: Adjust for dropped configure option. All features are
69135 * Makerules: Likewise.
69136 * Versions.def: Likewise.
69137 * argp/argp-fmtstream.c: Likewise.
69138 * argp/argp-fmtstream.h: Likewise.
69139 * argp/argp-help.c: Likewise.
69140 * assert/assert.c: Likewise.
69141 * config.h.in: Likewise.
69142 * config.make.in: Likewise.
69143 * configure: Likewise.
69144 * configure.in: Likewise.
69145 * csu/Versions: Likewise.
69146 * csu/init.c: Likewise.
69147 * elf/tst-audit2.c: Likewise.
69148 * elf/tst-tls10.c: Likewise.
69149 * elf/tst-tls10.h: Likewise.
69150 * elf/tst-tls11.c: Likewise.
69151 * elf/tst-tls12.c: Likewise.
69152 * elf/tst-tls14.c: Likewise.
69153 * elf/tst-tlsmod11.c: Likewise.
69154 * elf/tst-tlsmod12.c: Likewise.
69155 * elf/tst-tlsmod13.c: Likewise.
69156 * elf/tst-tlsmod13a.c: Likewise.
69157 * elf/tst-tlsmod14a.c: Likewise.
69158 * elf/tst-tlsmod15b.c: Likewise.
69159 * elf/tst-tlsmod16a.c: Likewise.
69160 * elf/tst-tlsmod16b.c: Likewise.
69161 * elf/tst-tlsmod7.c: Likewise.
69162 * elf/tst-tlsmod8.c: Likewise.
69163 * elf/tst-tlsmod9.c: Likewise.
69164 * gmon/gmon.c: Likewise.
69165 * grp/fgetgrent_r.c: Likewise.
69166 * grp/putgrent.c: Likewise.
69167 * hurd/fopenport.c: Likewise.
69168 * include/libc-symbols.h: Likewise.
69169 * include/tls.h: Likewise.
69170 * intl/gettextP.h: Likewise.
69171 * intl/loadinfo.h: Likewise.
69172 * locale/global-locale.c: Likewise.
69173 * locale/localeinfo.h: Likewise.
69174 * mach/devstream.c: Likewise.
69175 * malloc/arena.c: Likewise.
69176 * malloc/set-freeres.c: Likewise.
69177 * misc/err.c: Likewise.
69178 * misc/getttyent.c: Likewise.
69179 * misc/mntent_r.c: Likewise.
69180 * posix/getopt.c: Likewise.
69181 * posix/wordexp.c: Likewise.
69182 * pwd/fgetpwent_r.c: Likewise.
69183 * resolv/Versions: Likewise.
69184 * resolv/res_hconf.c: Likewise.
69185 * shadow/fgetspent_r.c: Likewise.
69186 * shadow/putspent.c: Likewise.
69187 * stdio-common/printf_fphex.c: Likewise.
69188 * stdio-common/tmpfile.c: Likewise.
69189 * stdlib/abort.c: Likewise.
69190 * stdlib/fmtmsg.c: Likewise.
69191 * sunrpc/auth_unix.c: Likewise.
69192 * sunrpc/clnt_perr.c: Likewise.
69193 * sunrpc/clnt_tcp.c: Likewise.
69194 * sunrpc/clnt_udp.c: Likewise.
69195 * sunrpc/clnt_unix.c: Likewise.
69196 * sunrpc/openchild.c: Likewise.
69197 * sunrpc/svc_simple.c: Likewise.
69198 * sunrpc/svc_tcp.c: Likewise.
69199 * sunrpc/svc_udp.c: Likewise.
69200 * sunrpc/svc_unix.c: Likewise.
69201 * sunrpc/xdr.c: Likewise.
69202 * sunrpc/xdr_array.c: Likewise.
69203 * sunrpc/xdr_rec.c: Likewise.
69204 * sunrpc/xdr_ref.c: Likewise.
69205 * sunrpc/xdr_stdio.c: Likewise.
69207 2011-09-09 Ulrich Drepper <drepper@gmail.com>
69209 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
69211 2011-07-03 Andreas Jaeger <aj@suse.de>
69213 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
69214 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
69215 regenerate with gen-libm-tests.pl.
69217 2010-05-12 Petr Baudis <pasky@suse.cz>
69220 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
69221 around j0() zero points by switching to j1().
69222 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
69223 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
69224 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
69225 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
69227 2011-09-09 Ulrich Drepper <drepper@gmail.com>
69229 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
69231 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
69233 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
69234 Patch in part by Pavel Roskin <proski@gnu.org>.
69237 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
69239 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
69240 Free memory block if necessary.
69243 * libio/genops.c (INTDEF): For string streams the _lock pointer can
69244 be NULL. Don't lock in this case.
69246 2011-09-09 Roland McGrath <roland@hack.frob.com>
69248 * elf/elf.h (ELFOSABI_GNU): New macro.
69249 (ELFOSABI_LINUX): Define to that.
69251 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
69253 * string/strncat.c (strncat): Undef the symbol in case it has been
69254 defined in bits/string.h.
69256 2011-09-09 Ulrich Drepper <drepper@gmail.com>
69258 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
69260 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
69263 2011-08-17 Andreas Jaeger <aj@suse.de>
69265 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
69267 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
69268 Ian Lance Taylor <iant@google.com>
69270 * math/libm-test.inc (lround_test): New testcase.
69271 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
69273 2011-09-08 Ulrich Drepper <drepper@gmail.com>
69275 * Makefile: Remove support for automatic cvs check-ins.
69276 * Makerules: Likewise.
69277 * config.make.in: Likewise.
69278 * configure.in: Likewise.
69279 * intl/Makefile: Likewise.
69280 * locale/Makefile: Likewise.
69281 * po/Makefile: Likewise.
69282 * posix/Makefile: Likewise.
69283 * sysdeps/gnu/Makefile: Likewise.
69284 * sysdeps/mach/hurd/Makefile: Likewise.
69285 * sysdeps/sparc/sparc32/Makefile: Likewise.
69288 * posix/Makefile (bug-regex32-ENV): Define.
69289 Patch by John Stanley <jpsinthemix@verizon.net>.
69291 * misc/Makefile (headers): Add bits/select2.h.
69292 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
69293 * misc/bits/select2.h: New file.
69294 * include/bits/select2.h: New file.
69295 * debug/Makefile (routines): Add fdelt_chk.
69296 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
69297 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
69299 * debug/fdelt_chk.c: New file.
69301 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
69302 * wcsmbs/test-wmemcmp.c: Likewise.
69303 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
69304 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
69306 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
69308 * string/Makefile (strop-tests): Add memcmp.
69309 * string/test-wmemcmp.c: New file.
69310 * string/test-memcmp.c: Add wmemcmp support.
69312 2011-09-08 Roland McGrath <roland@hack.frob.com>
69315 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
69318 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
69319 garbage value in a __mach_port_mod_refs call in the cases of the
69320 task-self and thread-self ports.
69322 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
69324 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
69326 2011-09-08 Andreas Schwab <schwab@redhat.com>
69328 * elf/dl-load.c (lose): Check for non-null L.
69330 2011-09-07 Ulrich Drepper <drepper@gmail.com>
69332 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
69334 * elf/dl-libc.c (dlerror_run): Pass back error code from
69338 * elf/dl-load.c (lose): Free l_origin if it is valid.
69340 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
69342 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
69343 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
69344 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
69345 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
69346 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
69347 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
69349 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69351 * sysdeps/powerpc/fpu/e_hypot.c: New file.
69352 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
69353 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
69354 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
69355 * sysdeps/powerpc/fpu/k_cosf.c: New file.
69356 * sysdeps/powerpc/fpu/k_sinf.c: New file.
69357 * sysdeps/powerpc/fpu/s_cosf.c: New file.
69358 * sysdeps/powerpc/fpu/s_sinf.c: New file.
69359 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
69360 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
69362 2011-08-15 Alan Modra <amodra@gmail.com>
69365 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
69366 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
69367 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
69368 ppc_mcount to static-only-routines.
69369 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
69371 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
69372 __mcount_internal with usual JUMPTARGET. Remove useless nop.
69374 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
69376 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
69377 for finite and infinity parameters.
69379 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
69381 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
69382 and add nop instructions for throughput optimization.
69383 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
69385 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
69387 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
69388 aligned copy for power7 with vector-scalar instructions.
69389 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
69391 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
69393 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
69396 2011-09-07 Andreas Schwab <schwab@redhat.com>
69399 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
69402 2011-09-07 Ulrich Drepper <drepper@gmail.com>
69404 * sysdeps/unix/sysv/linux/x86_64/init-first.c
69405 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
69406 syscall wrapper around clock_gettime in __vdso_clock_gettime.
69407 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
69410 2011-09-06 Ulrich Drepper <drepper@gmail.com>
69412 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
69413 Forgot to demangle the pointer.
69415 * sysdeps/i386/sysdep.h: Define atom_text_section.
69416 * sysdeps/x86_64/sysdep.h: Likewise.
69417 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
69418 section with atom_text_section.
69419 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
69420 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
69421 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
69422 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
69423 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
69425 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
69426 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
69427 already be defined. Change to take two parameters and don't assign
69428 result to variable. Adjust all users.
69429 Define INTERNAL_GETTIME if not already defined.
69430 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
69432 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
69433 HAVE_CLOCK_GETTIME_VSYSCALL.
69434 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
69436 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
69437 gettimeofday vsyscall, just use time.
69439 2011-09-06 Andreas Schwab <schwab@redhat.com>
69441 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
69444 2011-09-06 Ulrich Drepper <drepper@gmail.com>
69446 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
69448 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
69450 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
69451 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
69452 syscall if possible.
69454 2011-09-05 Ulrich Drepper <drepper@gmail.com>
69456 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
69457 e_ident. Don't pass to find_mapsXX.
69458 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
69460 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
69462 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
69463 strchr-sse2-no-bsf strrchr-sse2-no-bsf
69464 * sysdeps/x86_64/multiarch/strchr.S: Update.
69465 Check bit_slow_BSF bit.
69466 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
69467 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
69468 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
69470 2011-09-05 Ulrich Drepper <drepper@gmail.com>
69473 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
69475 (tryshell): Define.
69476 (__spawni): Change last parameter to be flag. Test
69477 SPAWN_XFLAGS_USE_PATH flag to use path or not.
69478 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
69479 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
69480 * posix/spawni.c: Likewise.
69481 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
69482 * posix/spawnp.c: Likewise. Change normal version to use
69483 SPAWN_XFLAGS_USE_PATH.
69484 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
69485 SPAWN_XFLAGS_TRY_SHELL.
69488 * posix/glob.h: Remove gcc 1.x support.
69491 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
69493 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
69495 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
69496 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
69498 * sysdeps/i386/i686/multiarch/strchr.S: New file.
69499 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
69500 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
69501 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
69502 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
69503 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
69505 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
69507 * sysdeps/x86_64/wcscmp.S: New file.
69509 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
69510 wcscmp-c wcscmp-sse2
69511 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
69512 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
69513 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
69514 * wcsmbs/wcscmp.c: Allow renaming.
69516 2011-09-05 David S. Miller <davem@davemloft.net>
69518 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
69519 stack slot, rather than the struct return pointer slot.
69520 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
69521 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
69522 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
69523 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
69525 2011-09-05 Ulrich Drepper <drepper@gmail.com>
69527 * po/ja.po: Update from translation team.
69530 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
69531 kernel in 64-bit binaries.
69533 2011-09-01 David S. Miller <davem@davemloft.net>
69535 * elf/elf.h (HWCAP_SPARC_*): Move to..
69536 * sysdeps/sparc/sysdep.h: this new file and add new values.
69537 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
69538 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
69539 _DL_HWCAP_COUNT to 24.
69540 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
69542 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
69543 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
69544 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
69545 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
69546 instead of magic constants.
69547 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
69549 2011-08-31 David S. Miller <davem@davemloft.net>
69551 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
69552 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
69553 Reimplement to do errno handling inline.
69554 (SYSCALL_ERROR_HANDLER): New macro.
69555 (__SYSCALL_STRING): Do not do errno handling in asm.
69556 (__CLONE_SYSCALL_STRING): Delete.
69557 (__INTERNAL_SYSCALL_STRING): Delete.
69558 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
69559 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
69560 (PSEUDO): Reimplement to do errno handling inline.
69561 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
69562 (SYSCALL_ERROR_HANDLER): New macro.
69563 (__SYSCALL_STRING): Do not do errno handling in asm.
69564 (__CLONE_SYSCALL_STRING): Delete.
69565 (__INTERNAL_SYSCALL_STRING): Delete.
69566 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
69567 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
69569 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
69570 (inline_syscall*): Add 'err' argument.
69571 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
69572 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
69573 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
69574 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
69576 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
69577 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
69579 2011-08-30 Andreas Schwab <schwab@redhat.com>
69581 * elf/rtld.c (dl_main): Relocate objects in dependency order.
69583 2011-08-29 Jiri Olsa <jolsa@redhat.com>
69585 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
69588 2011-08-24 David S. Miller <davem@davemloft.net>
69590 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
69592 2011-08-24 Andreas Schwab <schwab@redhat.com>
69594 * elf/Makefile: Add rules to build and run unload8 test.
69595 * elf/unload8.c: New file.
69596 * elf/unload8mod1.c: New file.
69597 * elf/unload8mod1x.c: New file.
69598 * elf/unload8mod2.c: New file.
69599 * elf/unload8mod3.c: New file.
69601 * elf/dl-close.c (_dl_close_worker): Reset private search list if
69604 2011-08-23 David S. Miller <davem@davemloft.net>
69606 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
69607 subtract stack bias.
69608 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
69609 %sp not %fp in calculations.
69610 (_JMPBUF_UNWINDS_ADJ): Likewise.
69612 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
69613 (aio_suspend): Call it to force an exception region around the
69614 AIO_MISC_WAIT() invocation.
69616 2011-08-23 Andreas Schwab <schwab@redhat.com>
69618 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
69621 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
69623 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
69625 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
69626 and <dl-machine.h>.
69627 (Elf64_FuncDesc): Remove.
69629 2011-08-22 David S. Miller <davem@davemloft.net>
69631 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
69632 sigaltstack check, add missing cfi directives.
69633 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
69634 missing cfi directives, and sigaltstack handling.
69636 2011-08-16 Andreas Schwab <schwab@redhat.com>
69639 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
69640 object is seen twice.
69641 * elf/dl-fini.c (_dl_sort_fini): Likewise.
69643 * elf/Makefile (distribute): Add tst-initorder2.c.
69644 (tests): Add tst-initorder2.
69645 (modules-names): Add tst-initorder2a tst-initorder2b
69646 tst-initorder2c tst-initorder2d. Add rules to build them.
69647 ($(objpfx)tst-initorder2.out): New rule.
69648 * elf/tst-initorder2.c: New file.
69649 * elf/tst-initorder2.exp: New file.
69651 2011-08-22 Andreas Schwab <schwab@redhat.com>
69653 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
69655 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
69656 dependencies back to end of function.
69658 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
69659 $(elfobjdir)/ld.so.
69661 2011-08-21 Ulrich Drepper <drepper@gmail.com>
69663 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
69664 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
69665 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
69666 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
69667 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
69668 of __vdso_gettimeofday.
69669 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
69670 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
69672 (_libc_vdso_platform_setup): Remove initialization of
69673 __vdso_gettimeofday and __vdso_time.
69675 2011-08-20 Ulrich Drepper <drepper@gmail.com>
69677 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
69678 and fgetc_unlocked.
69679 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
69682 * elf/dl-open.c (add_to_global): Report additions to the global scope
69683 for LD_DEBUG=scopes.
69684 (dl_open_worker): Also print scope of newly loaded dependencies.
69685 (_dl_show_scope): Indicate if there is no scope.
69688 * stdio-common/Makefile (tests): Add bug24.
69689 * stdio-common/bug24.c: New file.
69691 2011-08-19 Andreas Jaeger <aj@suse.de>
69694 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
69695 non-existant file when using close-on-exec mode.
69697 2011-08-20 Ulrich Drepper <drepper@gmail.com>
69699 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
69700 the very first instruction.
69702 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
69703 the CFI state in the end.
69704 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
69705 inclusion of dl-trampoline.h.
69706 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
69708 2011-08-19 Andreas Schwab <schwab@redhat.com>
69710 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
69711 expectations for long double.
69713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
69714 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
69716 2011-08-14 David S. Miller <davem@davemloft.net>
69718 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
69719 artificual limit depends upon the system page size.
69721 2011-08-17 Ulrich Drepper <drepper@gmail.com>
69723 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
69724 * resolv/Makefile: Define CFLAGS-libresolv.
69726 2011-08-17 Andreas Schwab <schwab@redhat.com>
69728 * nss/makedb.c (compute_tables): Make variables used in nested
69731 2011-08-17 Ulrich Drepper <drepper@gmail.com>
69733 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
69734 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
69735 if buffer was too small.
69737 * elf/pldd.c (main): Attach to all threads in the process.
69738 Rewrite /proc handling to use *at functions.
69740 2011-08-16 Ulrich Drepper <drepper@gmail.com>
69742 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
69743 specifies first scope to show.
69744 (dl_open_worker): Update callers. Move printing scope of new
69745 object to before the relocation.
69746 * elf/rtld.c (dl_main): Update _dl_show_scope call.
69747 * sysdeps/generic/ldsodefs.h: Update declaration.
69749 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
69750 string for the scope number.
69752 2011-08-14 Ulrich Drepper <drepper@gmail.com>
69754 * nscd/servicescache.c (cache_addserv): Make sure written is always
69757 2011-08-14 Roland McGrath <roland@hack.frob.com>
69759 * sysdeps/i386/i486/bits/atomic.h
69760 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
69761 statement expression, so as to suppress "set but not used" warning.
69762 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
69764 * string/strncat.c (STRNCAT): Use prototype definition.
69766 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
69767 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
69769 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
69770 (localedef-modules): Add localedef.
69771 (locale-modules): Add locale.
69773 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
69774 * elf/rtld.c (dl_main): Invert order of assignment in last change,
69775 to avoid a warning.
69777 2011-08-14 David S. Miller <davem@davemloft.net>
69779 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
69780 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
69782 2011-08-13 Ulrich Drepper <drepper@gmail.com>
69784 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
69785 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
69786 * elf/rtld.c (dl_main): Set l_name of vDSO.
69787 Call _dl_show_scope when DL_DEBUG_SCOPES.
69788 (process_dl_debug): Recognize scopes flag and also set it for all.
69789 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
69790 Declare _dl_show_scope.
69792 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
69793 (do_dlopen): Pass caller_dlopen to dl_open.
69794 (__libc_dlopen_mode): Initialize caller_dlopen.
69796 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
69797 of libc. Make tolower call locale-independent. Optimize a bit by
69798 using isdigit instead of isalnum.
69799 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
69801 2011-08-12 Ulrich Drepper <drepper@gmail.com>
69803 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
69804 was a dependency or dynamically loaded.
69806 2011-08-11 Ulrich Drepper <drepper@gmail.com>
69808 * intl/l10nflist.c: Allow architecture-specific pop function.
69809 * sysdeps/x86_64/l10nflist.c: New file.
69811 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
69814 2011-08-10 Andreas Schwab <schwab@redhat.com>
69816 * include/dirent.h: Add libc_hidden_proto for scandirat and
69817 scandirat64. Don't declare __scandirat64.
69818 * dirent/scandirat.c: Add libc_hidden_def.
69819 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
69820 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
69822 2011-08-10 David S. Miller <davem@davemloft.net>
69824 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
69826 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
69827 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
69828 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
69830 2011-08-09 Ulrich Drepper <drepper@gmail.com>
69832 * Versions.def [libc]: Add GLIBC_2.15.
69833 * dirent/Makefile (routines): Add scandirat and scandirat64.
69834 * dirent/Versions [libc]: Export scandirat and scandirat64 for
69836 * dirent/dirent.h: Declare scandirat and scandirat64.
69837 * dirent/scandirat.c: New file.
69838 * dirent/scandirat64.c: New file.
69839 * sysdeps/wordsize-64/scandirat.c: New file.
69840 * sysdeps/wordsize-64/scandirat64.c: New file.
69841 * dirent/opendir.c: Define opendirat.
69842 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
69844 * dirent/scandir64.c: Adjust for scandir.c change.
69845 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
69846 __scandirat64, and __scandir_cancel_handler.
69847 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
69848 additional parameter and use openat instead of open (outside of ld.so).
69849 Add new __opendir as wrapper around __opendirat.
69850 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
69851 here without requiring old scandirat implementation.
69853 2011-08-08 Ulrich Drepper <drepper@gmail.com>
69855 * dirent/scandir.c (cancel_handler): Renamed to
69856 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
69857 defined. Adjust users.
69858 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
69859 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
69861 2011-08-04 Ulrich Drepper <drepper@gmail.com>
69863 * string/test-string.h (IMPL): Use __STRING to expand name and then
69866 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
69869 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
69871 * string/Makefile: Update.
69872 (strop-tests): Append strncat.
69873 * string/test-wcscmp.c: New file.
69874 New comprehensive test for wcscmp.
69875 * string/test-strcmp.c: Update.
69876 (WIDE): New define.
69878 2011-07-22 Andreas Schwab <schwab@redhat.com>
69880 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
69883 2011-07-26 Andreas Schwab <schwab@redhat.com>
69885 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
69886 encoding to ACE if AI_IDN.
69888 2011-08-01 Jakub Jelinek <jakub@redhat.com>
69890 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
69891 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
69893 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
69895 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
69896 Fix overflow bug in strncat.
69897 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
69899 * string/test-strncat.c: Update.
69900 Add new tests for checking overflow bugs.
69902 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
69904 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
69905 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
69906 * sysdeps/i386/i686/multiarch/strcat.S: New file.
69907 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
69908 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
69909 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
69910 * sysdeps/i386/i686/multiarch/strncat.S: New file.
69911 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
69912 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
69914 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
69915 (USE_AS_STRCAT): Define.
69916 Add strcat and strncat support.
69917 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
69919 2011-07-25 Andreas Schwab <schwab@redhat.com>
69921 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
69922 __n bigger than INT_MAX+1.
69923 (__strncmp_g): Likewise.
69925 2011-07-23 Ulrich Drepper <drepper@gmail.com>
69927 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
69928 * libio/stido.h: Likewise.
69930 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
69932 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
69935 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
69936 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
69937 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
69938 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
69939 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
69942 * scripts/test-installation.pl: Don't expect libnss_test1 to be
69945 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
69947 (_dl_x86_64_save_sse): Likewise.
69949 2011-07-22 Ulrich Drepper <drepper@gmail.com>
69951 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
69953 (_dl_x86_64_save_sse): Likewise.
69955 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
69957 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
69959 2011-07-21 Andreas Schwab <schwab@redhat.com>
69961 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
69963 (_dl_x86_64_save_sse): Use correct AVX check.
69965 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
69967 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
69968 bug in strncpy/strncat.
69969 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
69971 2011-07-21 Ulrich Drepper <drepper@gmail.com>
69973 * string/tester.c (test_strcat): Add tests for different alignments
69974 of source and destination.
69975 (test_strncat): Likewise.
69977 2011-07-20 Ulrich Drepper <drepper@gmail.com>
69980 * posix/glob.c (glob): Check passed in values before using them in
69981 expressions to avoid some overflows.
69982 (glob_in_dir): Likewise.
69985 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
69986 check for AVX enablement so that we don't crash with old kernels and
69988 * elf/tst-audit4.c: Add same checks here.
69989 * elf/tst-audit6.c: Likewise.
69991 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
69993 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
69995 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
69997 2011-07-20 Ulrich Drepper <drepper@gmail.com>
69999 * po/cs.po: Update from translation team.
70000 * po/bg.po: Likewise.
70002 2011-07-12 Marek Polacek <mpolacek@redhat.com>
70004 * misc/sys/cdefs.h: Add support for const attribute.
70005 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
70006 to gnu_dev_{major,minor,makedev} functions.
70008 2011-07-20 Marek Polacek <mpolacek@redhat.com>
70010 * intl/dcigettext.c (get_output_charset): Add missing bracket.
70012 2011-07-20 Andreas Schwab <schwab@redhat.com>
70014 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
70017 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
70019 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
70020 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
70021 register in order to avoid conflicts with the soft frame pointer
70022 being held in r11 when necessary.
70023 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
70024 (INTERNAL_VSYSCALL_NCS): Likewise.
70026 2011-07-14 Marek Polacek <mpolacek@redhat.com>
70028 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
70029 * elf/dl-fini.c (_dl_fini): Adjust caller.
70030 * elf/dl-close.c (_dl_close_worker): Likewise.
70031 * sysdeps/generic/ldsodefs.h: Adjust declaration.
70033 2011-07-15 Marek Polacek <mpolacek@redhat.com>
70035 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
70036 "aux_cache->nlibs < 0".
70038 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
70039 in the reload-count case.
70041 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
70043 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
70044 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
70045 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
70046 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
70047 * sysdeps/x86_64/multiarch/strcat.S: New file.
70048 * sysdeps/x86_64/multiarch/strncat.S: New file.
70049 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
70050 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
70051 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
70052 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
70053 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
70054 (USE_AS_STRCAT): Define.
70055 Add strcat and strncat support.
70056 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
70057 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
70058 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
70059 * string/strncat.c: Update.
70060 (USE_AS_STRNCAT): Define.
70061 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
70062 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
70064 * sysdeps/x86_64/multiarch/init-arch.h
70065 (bit_Prefer_PMINUB_for_stringop): New.
70066 (index_Prefer_PMINUB_for_stringop): Likewise.
70067 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
70068 bit_Prefer_PMINUB_for_stringop.
70070 2011-07-19 Ulrich Drepper <drepper@gmail.com>
70072 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
70074 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
70075 of casting of buffer.
70076 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
70077 buffer32 and buffer64.
70078 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
70079 writes instead of casting of buffer.
70080 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
70082 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
70085 2011-07-19 Andreas Schwab <schwab@redhat.com>
70087 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
70089 2011-07-19 Ulrich Drepper <drepper@gmail.com>
70091 * nscd/nscd.c (termination_handler): Don't do anything for a database
70092 if it has not yet been initialized.
70094 2011-07-18 Ulrich Drepper <drepper@gmail.com>
70096 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
70098 2011-07-15 Marek Polacek <mpolacek@redhat.com>
70100 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
70102 2011-07-18 Ulrich Drepper <drepper@gmail.com>
70104 * po/nl.po: Update from translation team.
70105 * po/sv.po: Likewise.
70107 2011-07-16 Roland McGrath <roland@hack.frob.com>
70109 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
70110 now disallowed by GCC.
70112 * configure.in (use-default-link): Default to yes if a test -shared
70113 link meets our qualifications.
70114 * configure: Regenerated.
70116 * config.make.in (output-format): New variable.
70117 * configure.in: Check for ld --print-output-format support.
70118 * configure: Regenerated.
70119 * Makerules ($(common-objpfx)format.lds)
70120 [$(output-format) != unknown]: Just use $(output-format),
70121 instead of the linker-script munging.
70123 2011-07-14 Roland McGrath <roland@hack.frob.com>
70125 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
70126 of $(common-objpfx)shlib.lds.
70127 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
70129 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
70130 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
70132 * configure.in (-z relro check): Adjust test code to add a large
70133 writable data section after it.
70134 * configure: Regenerated.
70136 2011-07-11 Roland McGrath <roland@hack.frob.com>
70138 * configure.in (-z relro check): Fix test code to make the variable
70140 * configure: Regenerated.
70142 2011-07-11 Ulrich Drepper <drepper@gmail.com>
70144 * nscd/nscd.h (struct traced_file): Define.
70145 (struct database_dyn): Remove inotify_descr, reset_res, and filename
70146 elements. Add traced_files.
70147 (inotify_fd): Declare.
70148 (register_traced_file): Declare.
70149 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
70150 (inotify_fd): Export.
70151 (resolv_conf_descr): Remove.
70152 (nscd_init): Move inotify descriptor creation to main.
70153 Don't register files for notification here.
70154 (register_traced_file): New function.
70155 (invalidate_cache): Don't use reset_res to determine whether to call
70156 res_init, go through the list of registered files.
70157 (main_loop_poll): The inotify descriptors are now stored in the
70158 structures for the traced files.
70159 (main_loop_epoll): Likewise.
70160 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
70161 to __nss_disable_nscd.
70162 * nscd/cache.c (prune_cache): There is no single inotify descriptor
70163 for a database anymore. Check the records for all the registered
70165 * nss/Makefile (libnss_files-routines): Add files-init.
70166 (libnss_db-routines): Add db-init.
70167 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
70168 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
70169 * nss/nss_db/db-init.c: New file.
70170 * nss/nss_files/files-init.c: New file.
70171 * nss/nsswitch.c (nss_load_library): New function. Broken out of
70172 __nss_lookup_function.
70173 (__nss_lookup_function): Call nss_load_library.
70174 (nss_load_all_libraries): New function.
70175 (__nss_disable_nscd): Take parameter with callback function for files
70176 to register. Set is_nscd. Load all the DSOs for the NSS modules
70177 used for the cached services.
70178 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
70179 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
70180 options for features to all the files in nscd.
70182 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
70184 2011-07-10 Roland McGrath <roland@hack.frob.com>
70186 * csu/elf-init.c (__libc_csu_init): Comment typo.
70188 2011-07-09 Ulrich Drepper <drepper@gmail.com>
70190 * po/pl.po: Update from translation team.
70191 * po/ja.po: Likewise.
70192 * po/ru.po: Likewise.
70193 * po/ko.po: Likewise.
70194 * po/fr.po: Likewise.
70196 2011-07-09 Roland McGrath <roland@hack.frob.com>
70198 * configure.in (.ctors/.dtors header and trailer check):
70199 Use an empirical test on a built program.
70200 * configure: Regenerated.
70202 * configure.in (-z relro check): Use an empirical test on a built DSO.
70203 Detect, but do not require, on ia64.
70204 * configure: Regenerated.
70206 * configure.in (READELF): Find it with AC_CHECK_TOOL.
70207 Update tests that use readelf to use $READELF instead.
70208 * configure: Regenerated.
70210 2011-07-08 Ulrich Drepper <drepper@gmail.com>
70212 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
70213 if the result is not used.
70215 2011-07-05 Andreas Jaeger <aj@suse.de>
70218 * stdlib/tst-strtod.c: Add testcase.
70220 2011-07-07 Ulrich Drepper <drepper@gmail.com>
70222 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
70223 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
70224 The latter has a higher limit. Take additional parameter to pass to
70226 (__pathconf): Pass file to __statfs_link_max.
70227 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
70229 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
70233 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
70234 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
70236 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
70237 (__statfs_filesize_max): Likewise.
70238 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
70240 2011-07-05 Andreas Jaeger <aj@suse.de>
70242 * resolv/res_comp.c (dn_skipname): Remove unused variable.
70244 2011-07-06 Marek Polacek <mpolacek@redhat.com>
70246 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
70248 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
70251 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
70253 * Makefile (strop-tests): Add strncat.
70254 * string/test-strncat.c: New file.
70256 2011-06-30 Marek Polacek <mpolacek@redhat.com>
70258 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
70260 2011-06-21 Andreas Jaeger <aj@suse.de>
70262 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
70263 Copy rule from iconvdata/Makefile.
70265 2011-07-06 Ulrich Drepper <drepper@gmail.com>
70268 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
70269 but no long options are defined, just return 'W'.
70271 2011-06-22 Marek Polacek <mpolacek@redhat.com>
70274 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
70276 2011-07-06 Ulrich Drepper <drepper@gmail.com>
70278 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
70280 (innetgr): Likewise.
70282 2011-07-05 Roland McGrath <roland@hack.frob.com>
70284 * config.make.in (install_root): Default to $(DESTDIR).
70286 2011-07-05 Ulrich Drepper <drepper@gmail.com>
70288 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
70290 2011-07-02 Roland McGrath <roland@hack.frob.com>
70292 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
70294 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
70295 containing directory rather than embedding absolute directory names.
70297 * scripts/check-local-headers.sh: Rewritten using awk.
70298 Match by word, not by line. Print error messages for matches.
70299 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
70301 * Makerules [shlib-lds-flags empty]:
70302 ($(common-objpfx)libc_pic.opts): New target.
70303 ($(common-objpfx)libc_pic.os.clean): New target.
70304 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
70306 * config.make.in (OBJCOPY): New variable.
70307 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
70308 * configure: Regenerated.
70310 * config.make.in (use-default-link): New variable.
70311 * configure.in (use_default_link): Grok --with-default-link to set it.
70312 * configure: Regenerated.
70313 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
70314 (shlib-lds, shlib-lds-flags): Define to empty.
70316 * Makerules (shlib-lds): New variable.
70317 (shlib-lds-flags): New variable.
70318 (build-shlib, build-moduile, build-module-asneeded): Use it.
70319 ($(common-objpfx)libc.so): Use $(shlib-lds).
70320 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
70321 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
70323 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
70324 DT_FLAGS/DT_FLAGS_1 with zero flags.
70326 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
70327 linker script munging.
70329 2011-07-02 Ulrich Drepper <drepper@gmail.com>
70331 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
70333 * crypt/sha512.c (sha512_process_block): Perform total addition using
70334 128-bit if possible.
70335 (__sha512_finish_ctx): Likewise.
70336 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
70338 * crypt/sha256.c (SWAP64): Define.
70339 (sha256_process_block): Perform total addition using 64-bit if
70341 (__sha256_finish_ctx): Likewise.
70343 2011-07-01 Ulrich Drepper <drepper@gmail.com>
70345 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
70346 * nscd/initgrcache.c (addinitgroupsX): Likewise.
70347 * nscd/hstcache.c (cache_addhst): Likewise.
70348 * nscd/grpcache.c (cache_addgr): Likewise.
70349 * nscd/aicache.c (addhstaiX): Likewise.
70350 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
70352 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
70354 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
70355 * nscd/initgrcache.c (addinitgroupsX): Likewise.
70356 * nscd/hstcache.c (cache_addhst): Likewise.
70357 * nscd/grpcache.c (cache_addgr): Likewise.
70358 * nscd/aicache.c (addhstaiX): Likewise.
70360 2011-07-01 Andreas Schwab <schwab@redhat.com>
70362 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
70363 domain only when needed.
70365 2011-06-30 Andreas Schwab <schwab@redhat.com>
70367 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
70368 is always restored.
70370 2011-06-29 Ulrich Drepper <drepper@gmail.com>
70372 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
70373 are re-adding the entry.
70374 * nscd/servicescache.c (cache_addserv): Likewise.
70376 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
70378 * sysdeps/generic/dl-irel.h: fix protection against multiple
70380 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
70382 2011-06-28 Ulrich Drepper <drepper@gmail.com>
70385 * malloc/memusage.sh: Fix quoting in message.
70386 * debug/xtrace.sh: Likewise.
70388 * configure.in: Remove support for --experimental-malloc option, make
70390 * config.make.in: Likewise.
70391 * malloc/Makefile: Likewise.
70393 2011-06-27 Andreas Schwab <schwab@redhat.com>
70395 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
70396 two-byte characters.
70398 2011-06-27 Roland McGrath <roland@hack.frob.com>
70400 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
70401 AC_CACHE_CHECK invocation.
70402 * configure: Regenerated.
70404 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
70406 2011-06-27 Ulrich Drepper <drepper@gmail.com>
70409 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
70410 bit from old_res_options.
70412 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
70414 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
70415 value type for setfct.
70417 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
70419 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
70420 __gettimeofday instead of gettimeofday.
70422 2011-06-26 Ulrich Drepper <drepper@gmail.com>
70424 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
70426 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
70428 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
70430 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
70433 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
70435 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
70436 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
70437 strcpy-sse2-unaligned strncpy-sse2-unaligned
70438 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
70439 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
70440 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
70441 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
70442 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
70443 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
70444 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
70445 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
70446 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
70447 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
70448 (STRCPY): Support SSE2 and SSSE3 versions.
70450 2011-06-24 Ulrich Drepper <drepper@gmail.com>
70453 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
70454 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
70455 kernels which artificially limit size of requests.
70457 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
70459 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
70460 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
70461 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
70462 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
70463 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
70464 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
70465 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
70466 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
70467 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
70468 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
70469 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
70470 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
70471 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
70472 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
70473 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
70474 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
70475 Enable unaligned load optimization for Intel Core i3, i5 and i7
70477 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
70479 (index_Fast_Unaligned_Load): Define.
70480 (HAS_FAST_UNALIGNED_LOAD): Define.
70482 2011-06-23 Marek Polacek <mpolacek@redhat.com>
70484 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
70486 2011-06-22 Ulrich Drepper <drepper@gmail.com>
70489 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
70490 until it is clear that the information is realy needed.
70491 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
70493 2011-06-22 Andreas Schwab <schwab@redhat.com>
70495 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
70497 2011-06-22 Ulrich Drepper <drepper@gmail.com>
70499 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
70500 /sys/devices/system/cpu/online if it is usable.
70502 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
70503 reading the information from the /proc filesystem to once a second.
70505 2011-06-21 Andreas Jaeger <aj@suse.de>
70507 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
70508 NULL after inclusion of kernel headers.
70510 2011-06-21 Ulrich Drepper <drepper@gmail.com>
70512 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
70513 calls to internal_setent.
70516 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
70517 addresses using gethostbyname4_r ignore IPv4 addresses.
70519 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
70520 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
70522 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
70524 2011-06-20 David S. Miller <davem@davemloft.net>
70526 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
70528 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
70530 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
70531 (elf_irel): Use it.
70532 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
70533 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
70534 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
70535 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
70536 * sysdeps/x86_64/dl-irel.h: Likewise.
70538 * elf/dl-runtime.c: Use elf_ifunc_invoke.
70539 * elf/dl-sym.c: Likewise.
70541 2011-06-15 Ulrich Drepper <drepper@gmail.com>
70543 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
70544 need to dereference resplen2.
70546 2011-06-14 Andreas Schwab <schwab@redhat.com>
70548 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
70550 2011-06-15 Ulrich Drepper <drepper@gmail.com>
70552 * Makeconfig: Define vardbdir and inst_vardbdir.
70553 * nss/Makefile: Add rules to install db-Makefile.
70555 * nss/nss_db/db-XXX.c: Cleanup.
70557 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
70558 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
70560 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
70561 * nss/makedb.c: Implement -g option to specify that value strings
70562 are generated and should not be added to table iterated over for
70564 * nss/nss_db/db-initgroups.c: New file.
70566 * nss/getent.c: Add support for initgroups lookups through getgrouplist
70569 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
70570 (internal_getgrouplist): Adjust to name change.
70571 Update use_initgroups_entry if this is not the first call.
70572 * nss/databases.def: Add initgroups entry.
70574 * nss/makedb.c (compute_tables): Check result of multiple hash table
70575 sizes to minimize maximum chain length.
70577 2011-06-14 Ulrich Drepper <drepper@gmail.com>
70579 * Versions.def: Add entry for libnss_db.
70580 * shlib-versions: Likewise.
70581 * nss/Makefile: Add rules to build libnss_db.
70582 * nss/Versions: Add libnss_db information. Organize libnss_files
70584 * nss/db-Makefile: Add gshadow support. Change rules for the new
70585 makedb progra. Some minor improvements to generate smaller files.
70586 * nss/nss_db/nss_db.h: Move NSS database header data structures to
70588 * nss/makedb.c: ...here.
70589 Improve database format to be smaller and require less memory at
70591 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
70593 * nss/nss_db/db-netgrp.c: Likewise.
70594 * nss/nss_db/db-open.c: Likewise.
70595 * nss/nss_files/flies-XXX.x: Adjust comments.
70596 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
70597 * nss/nss_files/files-grp.c: Likewise.
70598 * nss/nss_files/files-hosts.c: Likewise.
70599 * nss/nss_files/files-network.c: Likewise.
70600 * nss/nss_files/files-proto.c: Likewise.
70601 * nss/nss_files/files-pwd.c: Likewise.
70602 * nss/nss_files/files-rpc.c: Likewise.
70603 * nss/nss_files/files-service.c: Likewise.
70604 * nss/nss_files/files-sgrp.c: Likewise.
70605 * nss/nss_files/files-spwd.c: Likewise.
70606 * nss/nss_db/db-alias.c: Removed.
70607 * nss/nss_db/dummy-db.h: Removed.
70609 2011-06-02 Ulrich Drepper <drepper@gmail.com>
70611 * nss/makedb.c: Rewritten to not use database library.
70612 * nss/Makefile: Update to build new makedb program.
70614 2011-06-14 Andreas Jaeger <aj@suse.de>
70616 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
70617 memset declaration.
70619 2011-06-10 Andreas Schwab <schwab@redhat.com>
70621 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
70624 2011-06-10 Roland McGrath <roland@hack.frob.com>
70626 * Makerules (shlib.lds): Fail if the linker script comes out empty.
70627 * elf/Makefile ($(objpfx)ld.so): Likewise.
70629 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
70630 Don't list ld.so twice in dependencies.
70632 * posix/bug-regex31.c: Include <stdlib.h>.
70634 * nscd/hstcache.c (cache_addhst): Remove unused variable.
70636 * nis/nss_compat/compat-spwd.c
70637 (getspent_next_nss_netgr): Remove unused variable.
70638 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
70640 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
70641 nonmembers" output to use the right array.
70643 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
70645 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
70647 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
70648 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
70649 * catgets/gencat.c (read_input_file): Likewise.
70650 * locale/programs/locarchive.c (enlarge_archive): Likewise.
70652 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
70653 variable definition inside #if's controlling its use.
70655 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
70657 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
70659 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
70661 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
70664 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
70666 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
70667 * configure: Regenerated.
70669 * Makerules: Revert last change.
70670 * elf/Makefile: Likewise.
70672 2011-06-09 Roland McGrath <roland@hack.frob.com>
70674 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
70675 * elf/Makefile ($(objpfx)librtld.os): Likewise.
70676 (reloc-link): Likewise.
70678 2011-06-09 Ulrich Drepper <drepper@gmail.com>
70680 * elf/Makefile: Add rules to build pldd.
70681 * elf/pldd.c: New file.
70682 * elf/pldd-xx.c: New file.
70684 2011-06-07 Ulrich Drepper <drepper@gmail.com>
70686 * version.h: Update for 2.15 development version.
70688 2011-06-07 David S. Miller <davem@davemloft.net>
70690 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
70692 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
70693 elf_machine_lazy_rel): Likewise.
70694 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
70695 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
70696 elf_machine_lazy_rel): Likewise.
70697 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
70698 dl_hwcap via passed in argument.
70699 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
70702 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
70704 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
70706 2011-06-06 Roland McGrath <roland@hack.frob.com>
70709 * manual/fdl-1.1.texi: New file, verbatim from:
70710 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
70711 * manual/lgpl-2.1.texi: New file, verbatim from:
70712 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
70713 * manual/Makefile (licenses): New variable, list those new file names.
70715 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
70717 * manual/fdl.texi: File removed.
70718 * manual/lesser.texi: File removed.
70719 * manual/libc.texinfo (Copying, Documentation License):
70720 Use new @include file names, put @appendix directive before @include.
70722 2011-06-04 Jakub Jelinek <jakub@redhat.com>
70725 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
70726 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
70727 (mq_open): Add __NTH.
70729 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
70731 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
70732 Assume Intel Core i3/i5/i7 processor if AVX is available.
70734 2011-05-31 Ulrich Drepper <drepper@gmail.com>
70736 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
70739 2011-05-31 Andreas Schwab <schwab@redhat.com>
70741 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
70742 memory. Use alloca_account. Fix memory leak when retrying.
70744 2011-05-31 Ulrich Drepper <drepper@gmail.com>
70746 * version.h (RELEASE): Bump for 2.14 release.
70747 * include/features.h (__GLIBC_MINOR__): Bump to 14.
70749 * config.make.in (RANLIB): Remove entry.
70751 2011-05-30 Ulrich Drepper <drepper@gmail.com>
70753 * po/Makefile (po-sed-cmd): Add ksh to extensions.
70754 (libc.pot): Work around missing support for .ksh extension in xgettext.
70757 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
70758 if both request failed.
70759 (send_dg): In case of server errors clear resplen or *resplen2.
70762 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
70763 when there are multiple maps.
70764 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
70765 (_dl_fini): Remove test here.
70767 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
70769 2011-05-29 Ulrich Drepper <drepper@gmail.com>
70772 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
70773 bit from old_res_options.
70774 (gaih_inet): Likewise.
70777 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
70780 * resolv/res_init.c (res_setoptions): Make the code more compact.
70783 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
70787 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
70789 * malloc/malloc.h: Mark malloc hook variables as deprecated.
70792 * malloc/malloc.h: Declare malloc hook variables as volatile.
70794 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
70798 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
70799 raise in the comment.
70800 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
70801 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
70802 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
70804 2011-05-28 Ulrich Drepper <drepper@gmail.com>
70807 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
70808 grow the buffers more if it already has to be sufficient.
70809 (build_wcs_upper_buffer): Likewise.
70810 * posix/regexec.c (check_matching): Likewise.
70811 (clean_state_log_if_needed): Likewise.
70812 (extend_buffers): Don't enlarge buffers beyond size of the input
70814 Patches mostly by Emil Wojak <emil@wojak.eu>.
70815 * posix/bug-regex32.c: New file.
70816 * posix/Makefile (tests): Add bug-regex32.
70818 * locale/findlocale.c (_nl_find_locale): Return right away if
70819 _nl_explode_name failed.
70820 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
70822 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
70824 * debug/xtrace.sh: Unify messages.
70825 * malloc/memusage.sh: Likewise.
70828 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
70829 time symbol from vDSO. Substitute with vsyscall if not available.
70830 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
70833 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
70834 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
70835 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
70836 Add sendmmsg and internal_sendmmsg.
70837 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
70838 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
70839 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
70841 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
70842 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
70843 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
70845 2011-05-27 Ulrich Drepper <drepper@gmail.com>
70848 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
70849 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
70851 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
70855 * iconvdata/Makefile (tests): Add bug-iconv9.
70856 * iconvdata/bug-iconv9.c: New file.
70858 2011-05-27 Andreas Schwab <schwab@redhat.com>
70861 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
70863 2011-05-25 Jakub Jelinek <jakub@redhat.com>
70865 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
70866 (struct user_regs_struct): Change intcs field back to cs.
70868 2011-05-25 Ulrich Drepper <drepper@gmail.com>
70870 * po/ja.po: Update from translation team.
70872 2011-05-23 Ulrich Drepper <drepper@gmail.com>
70875 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
70876 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
70878 2011-05-20 Andreas Schwab <schwab@redhat.com>
70880 * stdlib/longlong.h: Update from GCC.
70882 2011-05-23 Andreas Schwab <schwab@redhat.com>
70884 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
70886 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
70887 Add parameter name.
70888 (__sysconf): Pass it down.
70890 2011-05-22 Ulrich Drepper <drepper@gmail.com>
70893 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
70895 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
70896 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
70897 add in in __libc_use_alloca calls. Adjust callers.
70898 (glob): Use malloc in some situations.
70900 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
70901 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
70904 2011-05-21 Ulrich Drepper <drepper@gmail.com>
70906 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
70907 and CLOCK_BOOTTIME_ALARM.
70910 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
70913 * string/_strerror.c (__strerror_r): Print negative errors as signed
70917 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
70918 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
70919 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
70921 * configure.in: Fix typo in redirection and correct removal of test
70922 files in two cases.
70925 * locale/setlocale.c (new_composite_name): Fix test to check for
70926 identical name of all categories.
70929 * libio/filedoalloc.c (local_isatty): New function.
70930 (_IO_file_doallocate): Use local_isatty.
70931 * stdio-common/perror.c (perror): In case a new stream is used
70932 forward the stream error.
70933 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
70936 2011-05-20 Ulrich Drepper <drepper@gmail.com>
70939 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
70941 * include/alloca.h (extend_alloca_account): Define.
70944 * posix/regex.h: Fix comments with documentation of user-accessible
70945 fields after compilation and describe correct free'ing of pattern
70946 after re_compile_pattern.
70947 Patch by Reuben Thomas <rrt@sc3d.org>.
70949 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
70951 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
70952 and -mno-altivec to prevent the compiler from using Altivec and/or
70953 VSX instructions when the corresponding registers are not available.
70955 2011-05-19 Andreas Schwab <schwab@redhat.com>
70957 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
70959 2011-05-19 Ulrich Drepper <drepper@gmail.com>
70961 * libio/freopen.c (freopen): Use __dup2, not dup2.
70962 * libio/freopen64.c (freopen64): Likewise.
70964 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
70967 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
70968 * math/Makefile (tests): Add test-powl.
70969 (CFLAGS-test-powl.c): Define.
70970 * math/test-powl.c: New file.
70972 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
70974 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
70976 2011-05-17 Ulrich Drepper <drepper@gmail.com>
70979 * iconvdata/gb18030.c: Update to GB18020-2005.
70981 2011-05-16 Ulrich Drepper <drepper@gmail.com>
70983 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
70984 RE_SYNTAX_POSIX_AWK): Update to match recent development.
70985 Patch by Aharon Robbins <arnold@skeeve.com>.
70988 * stdlib/putenv.c (putenv): Don't always create copy of the variable
70992 * misc/pselect.c (__pselect): Handle timeout value errors hidden
70993 through underflows.
70996 * misc/error.c (error_at_line): Ensure file_name and old_file_name
70997 point to strings before performing equality test for error_one_per_line
71001 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
71004 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
71005 (struct user_fpregs_struct): Avoid __uint*_t types.
71008 * malloc/mtrace.c (tr_where): Add additional parameter to point to
71009 symbol info. Use it instead of calling _dl_addr locally.
71010 (lock_and_info): New function.
71011 (tr_freehook): Call lock_and_info and pass symbol info as additional
71012 parameter to tr_where.
71013 (tr_mallochook): Likewise.
71014 (tr_reallochook): Likewise.
71015 (tr_memalignhook): Likewise.
71017 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
71018 used and couldn't be at all thread-safe.
71020 2011-05-15 Ulrich Drepper <drepper@gmail.com>
71022 * libio/freopen.c (freopen): Don't close old file descriptor
71023 before the new one is opened. Instead dup the new file descriptor
71024 to the old one after the new stream is created.
71025 * libio/freopen64.c (freopen64): Likewise.
71026 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
71027 * libio/fileops.c (_IO_new_file_close_it): Handle new
71028 _IO_FLAGS2_NOCLOSE flag.
71029 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
71030 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
71031 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
71032 _IO_FLAGS2_NOCLOSE flag.
71033 * include/unistd.h: Add hidden_proto for dup3.
71034 Define __have_dup3.
71035 * io/dup3.c: Define hidden symbol.
71036 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
71039 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
71040 when an incomplete long option is used.
71041 * posix/tst-getopt_long1.c: New file.
71042 * posix/Makefile (tests): Add tst-getopt_long1.
71045 * scripts/config.guess: Update from autoconf-2.68.
71046 * scripts/config.sub: Likewise.
71049 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
71051 (has_cpuclock): ...this. New function.
71052 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
71053 macro here based on has_cpuclock code.
71056 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
71057 First byte (not low byte) is now always NUL.
71058 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
71060 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
71061 Use non-cancelable interfaces.
71064 * locale/iso-639.def: Add entry for Sorani.
71067 * include/stdlib.h: Move include protection to the right place.
71068 Define abort_msg_s. Declare __abort_msg with it.
71069 * stdlib/abort.c (__abort_msg): Adjust type.
71070 * assert/assert.c (__assert_fail_base): New function. Majority
71071 of code from __assert_fail. Allocate memory for __abort_msg with
71073 (__assert_fail): Now call __assert_fail_base.
71074 * assert/assert-perr.c: Remove bulk of implementation. Use
71075 __assert_fail_base.
71076 * include/assert.hL Declare __assert_fail_base.
71077 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
71079 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
71081 2011-05-14 Ulrich Drepper <drepper@gmail.com>
71085 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
71086 until all modules are registered in the DTV.
71087 * elf/Makefile: Add rules to build and run tst-tls19.
71088 * elf/tst-tls19.c: New file.
71089 * elf/tst-tls19mod1.c: New file.
71090 * elf/tst-tls19mod2.c: New file.
71091 * elf/tst-tls19mod3.c: New file.
71092 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
71095 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
71099 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
71100 two-byte sequence errors.
71101 * iconvdata/Makefile (tests): Add bug-iconv8.
71102 * iconvdata/bug-iconv8.c: New file.
71105 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
71108 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
71111 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
71112 (dummy_getcfa): New function.
71113 (init): Get _Unwind_GetCFA address, use dummy if not found.
71114 (backtrace_helper): In recursion check, also check whether CFA changes.
71115 (__backtrace): Completely initialize arg.
71117 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
71118 storing incomplete byte sequence in state object. Avoid testing for
71119 guaranteed too small input if we know there is enough data available.
71121 2011-05-11 Andreas Schwab <schwab@redhat.com>
71123 * Makeconfig (+link-pie): Indent.
71124 * Rules (binaries-pie): Define if $(have-fpie) and
71126 (binaries-shared): Also filter out $(binaries-pie).
71127 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
71128 * nscd/Makefile (others-pie): Add nscd.
71129 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
71130 ($(objpfx)nscd): Remove command override.
71131 * login/Makefile (others-pie): Add pt_chown.
71132 ($(objpfx)pt_chown): Remove command override.
71133 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
71134 remove command overrides.
71136 2011-05-13 Ulrich Drepper <drepper@gmail.com>
71138 * libio/tst_putwc.c: Fix error messages.
71141 * libio/fileops.c (_IO_new_file_close_it): Always flush when
71142 currently writing and seek to current position when not.
71143 * libio/Makefile (tests): Add bug-fclose1.
71144 * libio/bug-fclose1.c: New file.
71146 2011-05-12 Ulrich Drepper <drepper@gmail.com>
71149 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
71150 don't set DF_1_NODELETE here.
71151 (do_lookup_x): When entering new entry test for copy relocation
71152 and if necessary set DF_1_NODELETE flag.
71153 * elf/tst-unique4.cc: New file.
71154 * elf/tst-unique4.h: New file.
71155 * elf/tst-unique4lib.cc: New file.
71156 * elf/Makefile: Add rules to build and run tst-unique4.
71157 Patch by Piotr Bury <pbury@goahead.com>.
71159 2011-05-11 Ulrich Drepper <drepper@gmail.com>
71162 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
71165 * misc/mntent_r.c (addmntent): Flush the stream after the output
71168 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
71169 (is_trusted_path_normalize): Skip initial colon. Append slash
71170 to empty buffer. Duplicate is_trusted_path code but allow
71171 constructed patch to be prefix.
71172 (is_dst): Allow $ORIGIN followed by /.
71173 (_dl_dst_substitute): Correct clearing of check_for_trusted.
71174 Correct testing of result of is_trusted_path_normalize
71175 (decompose_rpath): Fix warning.
71177 2011-05-10 Ulrich Drepper <drepper@gmail.com>
71180 * grp/initgroups.c (internal_getgrouplist): When we found the service
71181 list through the initgroups entry in nsswitch.conf do not always
71182 continue on a successful lookup. Don't always use the
71183 __nss_group_database value if it is set.
71184 * nss/nsswitch.conf (initgroups): Change action for successful db
71185 lookup to continue for compatibility.
71187 2011-05-09 Ulrich Drepper <drepper@gmail.com>
71190 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
71192 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
71194 * iconvdata/tst-tables.sh: Likewise.
71195 * iconvdata/cp770.c: New file.
71196 * iconvdata/cp771.c: New file.
71197 * iconvdata/cp772.c: New file.
71198 * iconvdata/cp773.c: New file.
71199 * iconvdata/cp774.c: New file.
71200 * iconvdata/testdata/CP770: New file.
71201 * iconvdata/testdata/CP770..UTF8: New file.
71202 * iconvdata/testdata/CP771: New file.
71203 * iconvdata/testdata/CP771..UTF8: New file.
71204 * iconvdata/testdata/CP772: New file.
71205 * iconvdata/testdata/CP772..UTF8: New file.
71206 * iconvdata/testdata/CP773: New file.
71207 * iconvdata/testdata/CP773..UTF8: New file.
71208 * iconvdata/testdata/CP774: New file.
71209 * iconvdata/testdata/CP774..UTF8: New file.
71211 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
71213 * iconvdata/gen-8bit-gap.sh: Likewise.
71214 * iconvdata/gen-8bit.sh: Likewise.
71216 * locale/iso-639.def: Add ary entry.
71219 * locale/C-translit.h.in: Add U20A1 transliteration.
71222 * locale/iso-639.def: Add wae entry.
71223 Patch by Kevin Bortis <bortis@translate-wae.ch>.
71226 * locale/programs/localedef.c (construct_output_path): Use ssize_t
71230 * locale/C-translit.h.in: Add entry for U20B9.
71231 Patch by pravin.d.s@gmail.com.
71233 2011-05-08 Ulrich Drepper <drepper@gmail.com>
71236 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
71237 ENAMETOOLONG use generic getcwd.
71238 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
71239 in rtld. Use *stat64.
71240 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
71241 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
71242 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
71243 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
71244 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
71245 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
71246 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
71247 __fstatat64 macros.
71248 * include/dirent.h: Add libc_hidden_proto for rewinddir.
71249 * dirent/rewinddir.c: Add libc_hidden_def.
71250 * sysdeps/mach/hurd/rewinddir.c: Likewise.
71251 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
71253 * include/dirent.h (__alloc_dir): Add flags parameter.
71254 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
71255 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
71257 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
71258 from fdopendir if O_CLOEXEC is already set.
71260 2011-03-15 Alan Modra <amodra@gmail.com>
71262 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
71263 l_tls_firstbyte_offset non-zero. Save padding offset in
71264 l_tls_firstbyte_offset for later use.
71265 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
71266 freeing static tls block.
71268 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
71270 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
71271 where #ifdef was intended. The intent is to prevent ARG_MAX from
71272 being defined by the kernel headers.
71274 2011-05-07 Ulrich Drepper <drepper@gmail.com>
71277 * resolv/resolv.h: Define RES_NOTLDQUERY.
71278 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
71279 no-tld-query and set RES_NOTLDQUERY.
71280 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
71281 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
71282 modern BIND to search name as TLD unless forbidden.
71284 2011-05-07 Petr Baudis <pasky@suse.cz>
71285 Ulrich Drepper <drepper@gmail.com>
71288 * elf/dl-load.c (fillin_rpath): Move trusted path check...
71289 (is_trusted_path): ...to here.
71290 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
71291 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
71292 using is_trusted_path_normalize() in setuid scripts.
71294 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
71296 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
71297 __BEGIN/__END_DECLS.
71299 2011-05-06 Ulrich Drepper <drepper@gmail.com>
71301 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
71302 NSS_STATUS_NOTFOUND if no record was found.
71304 2011-05-05 Andreas Schwab <schwab@redhat.com>
71306 * sunrpc/Makefile (headers): Add rpc/netdb.h.
71307 (headers-not-in-tirpc): Remove rpc/netdb.h
71308 * resolv/netdb.h: Revert last change.
71310 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
71312 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
71313 circular dependency between libgcc.a and libc.a.
71315 2011-05-05 Andreas Schwab <schwab@redhat.com>
71317 * resolv/netdb.h: Don't include <rpc/netdb.h>.
71318 * nis/Makefile: Don't install rpcsvc/*.
71319 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
71320 instead of <rpc/types.h>.
71321 (MAXHOSTNAMELEN): Define.
71323 2011-05-03 Andreas Schwab <schwab@redhat.com>
71325 * elf/ldconfig.c (add_dir): Don't crash on empty path.
71327 2011-04-28 Maciej Babinski <mbabinski@google.com>
71330 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
71331 gethostbyname4_r when IPv6 results are possible.
71333 2011-05-02 Ulrich Drepper <drepper@gmail.com>
71336 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
71337 _PC_PIPE_BUF handling.
71339 2011-04-30 Bruno Haible <bruno@clisp.org>
71342 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
71343 * resolv/netdb.h (getnameinfo): Change type of flags parameter
71345 * inet/getnameinfo.c (getnameinfo): Likewise.
71347 2011-04-29 Ulrich Drepper <drepper@gmail.com>
71349 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
71350 to groups setting in database lookup.
71351 * nss/nsswitch.conf: Add initgroups entry.
71353 2011-04-22 Ulrich Drepper <drepper@gmail.com>
71356 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
71358 Patch by Eric Blake <eblake@redhat.com>.
71360 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
71362 * sunrpc/Makefile (need-export-routines): Add svc_run.
71363 (routines): Remove svc_run.
71364 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
71365 * sunrpc/clnt_perr.c (clnt_perrno): Export.
71366 * sunrpc/svc_run.c (svc_run): Likewise.
71367 * sunrpc/svc_udp.c (svcudp_create): Likewise.
71369 2011-04-21 Ulrich Drepper <drepper@gmail.com>
71371 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
71372 problem in reallocation in last patch.
71374 2011-04-20 Ulrich Drepper <drepper@gmail.com>
71376 * sunrpc/Makefile: Move inclusion of Rules.
71378 2011-04-19 Ulrich Drepper <drepper@gmail.com>
71380 * nss/nss_files/files-initgroups.c: New file.
71381 * nss/Makefile (libnss_files-routines): Add files-initgroups.
71382 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
71383 _nss_files_initgroups_dyn.
71385 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
71387 * elf/elf.h (R_ARM_IRELATIVE): Define.
71389 2011-04-19 Ulrich Drepper <drepper@gmail.com>
71391 * po/ru.po: Update from translation team.
71393 2011-04-17 Ulrich Drepper <drepper@gmail.com>
71395 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
71398 2011-02-06 Mike Frysinger <vapier@gentoo.org>
71401 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
71402 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
71403 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
71404 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
71405 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
71407 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
71409 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
71411 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
71412 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
71413 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
71415 2011-04-17 Ulrich Drepper <drepper@gmail.com>
71418 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
71420 * stdlib/bug-getcontext.c: New file.
71421 * stdlib/Makefile: Add rules to build and run bug-getcontext.
71423 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
71425 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
71426 instructions into .machine "z9-109".
71427 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
71428 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
71430 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
71432 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
71433 between environment variables and auxiliary vector.
71435 2011-04-16 Ulrich Drepper <drepper@gmail.com>
71437 * Makefile: Add rules to build linkobj/libc.so.
71438 * include/libc-symbols.h: Define libc_hidden_nolink.
71439 * include/rpc/auth.h: Mark functions which are to be hidden.
71440 * include/rpc/auth_des.h: Likewise.
71441 * include/rpc/auth_unix.h: Likewise.
71442 * include/rpc/clnt.h: Likewise.
71443 * include/rpc/des_crypt.h: Likewise.
71444 * include/rpc/key_prot.h: Likewise.
71445 * include/rpc/pmap_clnt.h: Likewise.
71446 * include/rpc/pmap_prot.h: Likewise.
71447 * include/rpc/pmap_rmt.h: Likewise.
71448 * include/rpc/rpc_msg.h: Likewise.
71449 * include/rpc/svc.h: Likewise.
71450 * include/rpc/svc_auth.h: Likewise.
71451 * include/rpc/xdr.h: Likewise.
71452 * nis/Makefile: Link all DSOs against linkobj/libc.so.
71453 * nss/Makefile: Likewise.
71454 * sunrpc/Makefile: Don't install headers. Build library with normal
71455 entry points. Don't build rpcinfo. Link RPC tests appropriately.
71456 * sunrpc/auth_des.c: Hide exported symbols by default, export some
71457 for the compat linking library. Remove use of INTDEF/INTUSE.
71458 * sunrpc/auth_none.c: Likewise.
71459 * sunrpc/auth_unix.c: Likewise.
71460 * sunrpc/authdes_prot.c: Likewise.
71461 * sunrpc/authuxprot.c: Likewise.
71462 * sunrpc/clnt_gen.c: Likewise.
71463 * sunrpc/clnt_perr.c: Likewise.
71464 * sunrpc/clnt_raw.c: Likewise.
71465 * sunrpc/clnt_simp.c: Likewise.
71466 * sunrpc/clnt_tcp.c: Likewise.
71467 * sunrpc/clnt_udp.c: Likewise.
71468 * sunrpc/clnt_unix.c: Likewise.
71469 * sunrpc/des_crypt.c: Likewise.
71470 * sunrpc/des_soft.c: Likewise.
71471 * sunrpc/get_myaddr.c: Likewise.
71472 * sunrpc/key_call.c: Likewise.
71473 * sunrpc/key_prot.c: Likewise.
71474 * sunrpc/netname.c: Likewise.
71475 * sunrpc/pm_getmaps.c: Likewise.
71476 * sunrpc/pm_getport.c: Likewise.
71477 * sunrpc/pmap_clnt.c: Likewise.
71478 * sunrpc/pmap_prot.c: Likewise.
71479 * sunrpc/pmap_prot2.c: Likewise.
71480 * sunrpc/pmap_rmt.c: Likewise.
71481 * sunrpc/publickey.c: Likewise.
71482 * sunrpc/rpc_cmsg.c: Likewise.
71483 * sunrpc/rpc_common.c: Likewise.
71484 * sunrpc/rpc_dtable.c: Likewise.
71485 * sunrpc/rpc_prot.c: Likewise.
71486 * sunrpc/rpc_thread.c: Likewise.
71487 * sunrpc/rtime.c: Likewise.
71488 * sunrpc/svc.c: Likewise.
71489 * sunrpc/svc_auth.c: Likewise.
71490 * sunrpc/svc_authux.c: Likewise.
71491 * sunrpc/svc_raw.c: Likewise.
71492 * sunrpc/svc_run.c: Likewise.
71493 * sunrpc/svc_simple.c: Likewise.
71494 * sunrpc/svc_tcp.c: Likewise.
71495 * sunrpc/svc_udp.c: Likewise.
71496 * sunrpc/svc_unix.c: Likewise.
71497 * sunrpc/svcauth_des.c: Likewise.
71498 * sunrpc/xcrypt.c: Likewise.
71499 * sunrpc/xdr.c: Likewise.
71500 * sunrpc/xdr_array.c: Likewise.
71501 * sunrpc/xdr_float.c: Likewise.
71502 * sunrpc/xdr_intXX_t.c: Likewise.
71503 * sunrpc/xdr_mem.c: Likewise.
71504 * sunrpc/xdr_rec.c: Likewise.
71505 * sunrpc/xdr_ref.c: Likewise.
71506 * sunrpc/xdr_sizeof.c: Likewise.
71507 * sunrpc/xdr_stdio.c: Likewise.
71509 2011-04-10 Ulrich Drepper <drepper@gmail.com>
71512 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
71513 * sysdeps/ia64/dl-tls.h: Likewise.
71514 * sysdeps/powerpc/dl-tls.h: Likewise.
71515 * sysdeps/s390/dl-tls.h: Likewise.
71516 * sysdeps/sh/dl-tls.h: Likewise.
71517 * sysdeps/sparc/dl-tls.h: Likewise.
71518 * sysdeps/x86_64/dl-tls.h: Likewise.
71519 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
71521 2011-03-14 Andreas Schwab <schwab@redhat.com>
71523 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
71524 rpath element also skip the following colon.
71525 (expand_dynamic_string_token): Add is_path parameter and pass
71526 down to DL_DST_REQUIRED and _dl_dst_substitute.
71527 (decompose_rpath): Call expand_dynamic_string_token with
71528 non-zero is_path. Ignore empty rpaths.
71529 (_dl_map_object_from_fd): Call expand_dynamic_string_token
71532 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
71534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
71537 2011-04-09 Ulrich Drepper <drepper@gmail.com>
71540 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
71541 Patch by Filipe David Manana <fdmanana@apache.org>.
71543 2011-04-07 Andreas Schwab <schwab@redhat.com>
71545 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
71546 Maintain aligned stack.
71547 (CHECK_RSP): Remove unused macro.
71549 2011-04-03 Ulrich Drepper <drepper@gmail.com>
71551 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
71552 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
71554 2011-04-02 Ulrich Drepper <drepper@gmail.com>
71556 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
71558 * include/features.h: Mention __USE_XOPEN2K8 in comment.
71560 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
71563 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
71564 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
71565 * sysdeps/x86_64/memmove.c: New file.
71566 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
71567 (memcpy): Renamed to ...
71568 (__new_memcpy): This.
71569 (memcpy): Provide GLIBC_2_14 memcpy.
71570 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
71571 (memcpy): Provide GLIBC_2_2_5 memcpy.
71573 2011-04-01 Ulrich Drepper <drepper@gmail.com>
71576 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
71578 2011-03-30 Andreas Schwab <schwab@redhat.com>
71580 * misc/syncfs.c: New file.
71581 * misc/Makefile (routines): Add syncfs.
71582 * posix/unistd.h: Declare syncfs.
71583 * sysdeps/unix/syscalls.list: Add syncfs.
71585 2011-04-01 Andreas Schwab <schwab@redhat.com>
71587 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
71589 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
71590 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
71591 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
71592 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
71593 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
71594 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
71595 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
71597 2011-04-01 Ulrich Drepper <drepper@gmail.com>
71599 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
71600 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
71601 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
71602 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
71603 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
71604 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
71605 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
71607 * io/Makefile: Compile fallocate.c, fallocate64.c, and
71608 sync_file_range.c with -fexceptions.
71609 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
71610 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
71611 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
71612 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
71613 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
71614 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
71615 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
71616 sync_file_range as cancellation point
71617 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
71618 now a wrapper around __call_sync_file_range with cancellation handling.
71619 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
71620 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
71621 function name to __call_sync_file_range.
71622 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
71623 Add call_sync_file_range.
71625 2011-04-01 Andreas Schwab <schwab@redhat.com>
71627 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
71630 2011-04-01 Ulrich Drepper <drepper@gmail.com>
71632 * iconv/iconv.h: Fix typo in comment.
71633 * io/fcntl.h: Likewise.
71634 * libio/stdio.h: Likewise.
71635 * posix/spawn.h: Likewise.
71636 * posix/unistd.h: Likewise.
71637 * stdlib/stdlib.h: Likewise.
71638 * time/time.h: Likewise.
71639 * wcsmbs/wchar.h: Likewise.
71641 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
71642 open_by_handle): Add.
71643 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
71644 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
71645 Augment a few comments.
71646 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
71647 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
71648 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
71649 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
71650 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
71651 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
71654 * io/fcntl.h (AT_EMPTY_PATH): Define.
71656 2011-03-30 Ulrich Drepper <drepper@gmail.com>
71658 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
71659 * sysdeps/unix/sysv/linux/bits/time.h: New file.
71660 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
71662 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
71663 * Versions.def: Add GLIBC_2.14.
71664 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
71667 2011-03-22 Ulrich Drepper <drepper@gmail.com>
71669 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
71671 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
71673 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
71676 * string/test-strncmp.c (do_page_test): New function.
71677 (check2): Likewise.
71678 (test_main): Call check2.
71679 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
71681 2011-03-20 Ulrich Drepper <drepper@gmail.com>
71684 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
71685 Handle cache information in CPU leaf 4.
71686 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
71688 2011-03-18 Ulrich Drepper <drepper@gmail.com>
71691 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
71692 character representation.
71693 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
71695 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
71697 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
71698 END(__isnan) to END(__isnanf) to match function entry point/label
71699 EALIGN(__isnanf,...).
71701 2011-03-10 Jakub Jelinek <jakub@redhat.com>
71703 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
71705 2011-03-10 Ulrich Drepper <drepper@gmail.com>
71708 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
71709 copy from the symbol referenced in the relocation to initialize the
71711 Patch by Piotr Bury <pbury@goahead.com>.
71712 * elf/Makefile: Add rules to build and tst-unique3.
71713 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
71714 * elf/tst-unique3.cc: New file.
71715 * elf/tst-unique3.h: New file.
71716 * elf/tst-unique3lib.cc: New file.
71717 * elf/tst-unique3lib2.cc: New file.
71719 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
71721 2011-03-10 Mike Frysinger <vapier@gentoo.org>
71723 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
71724 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
71727 2011-03-06 Ulrich Drepper <drepper@gmail.com>
71729 * elf/dl-load.c (_dl_map_object): If we are looking for the first
71730 to-be-loaded object along a path to loader is ld.so.
71732 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
71733 Ulrich Drepper <drepper@gmail.com>
71735 * sysdeps/x86_64/memset.S: After aligning destination, code
71736 branches to different locations depending on the value of
71737 misalignment, when multiarch is enabled. Fix this.
71739 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
71741 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
71742 Set _x86_64_preferred_memory_instruction for AMD processsors.
71743 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
71744 Set bit_Prefer_SSE_for_memop for AMD processors.
71746 2011-03-04 Ulrich Drepper <drepper@gmail.com>
71748 * libio/fmemopen.c (fmemopen): Optimize a bit.
71750 2011-03-03 Andreas Schwab <schwab@redhat.com>
71752 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
71754 2011-03-03 Roland McGrath <roland@redhat.com>
71756 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
71758 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
71760 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
71761 __bzero_ultra1 instead of __memset_ultra1.
71763 2011-02-23 Andreas Schwab <schwab@redhat.com>
71764 Ulrich Drepper <drepper@gmail.com>
71767 * include/link.h (struct link_map): Add l_orig_initfini.
71768 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
71769 returning unsuccessfully.
71770 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
71771 close of a file loaded at startup, restore the original l_initfini
71773 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
71774 list, store the pointer.
71775 * elf/Makefile ($(objpfx)noload-mem): New rule.
71776 (noload-ENV): Define.
71777 (tests): Add $(objpfx)noload-mem.
71778 * elf/noload.c: Include <memcheck.h>.
71779 (main): Call mtrace. Close all opened handles.
71781 2011-02-17 Andreas Schwab <schwab@redhat.com>
71784 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
71785 dependencies are missing.
71787 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
71789 Fix __if_freereq crash: Unlike the generic version which uses free,
71791 * sysdeps/mach/hurd/ifreq.h: New file.
71793 2011-01-27 Petr Baudis <pasky@suse.cz>
71794 Ulrich Drepper <drepper@gmail.com>
71797 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
71798 to extend_alloca().
71799 * stdio-common/bug23.c: New file.
71800 * stdio-common/Makefile (tests): Add bug23.
71802 2010-09-28 Andreas Schwab <schwab@redhat.com>
71803 Ulrich Drepper <drepper@gmail.com>
71806 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
71807 before performing relro protection. At old place add assertion
71808 to make sure nothing changed.
71810 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
71811 Glauber de Oliveira Costa <glommer@gmail.com>
71813 * elf/elf.h: Add new ARM TLS relocs.
71815 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
71817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
71818 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
71820 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
71822 * sysdeps/wordsize-64/tst-writev.c: New file.
71824 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
71826 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
71827 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
71828 insns in _dl_start to prevent a TOC reference before relocs are
71831 2011-02-15 Ulrich Drepper <drepper@gmail.com>
71834 * Makeconfig: Remove RANLIB definition.
71835 * Makerules: Don't use RANLIB.
71836 * aclocal.m4: Remove ranlib test.
71837 * configure.in: No need to check for ranlib.
71838 * elf/rtld-Rules: Don't use RANLIB.
71840 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
71842 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
71844 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
71845 inclusion protection macro.
71847 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
71848 SIGRTMIN and SIGRTMAX and print information in that case only when
71849 SIGRTMIN is defined.
71851 2011-02-11 Jakub Jelinek <jakub@redhat.com>
71853 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
71854 arginfo fn returning -1.
71856 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
71857 and thousands string is zero terminated.
71859 2011-02-03 Andreas Schwab <schwab@redhat.com>
71861 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
71862 sysdeps/unix/sysv/linux/bits/socket.h.
71864 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
71866 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
71867 (__CPU_COUNT): Remove old macros.
71868 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
71869 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
71870 (__CPU_ALLOC, __CPU_FREE): Add macros.
71871 (__sched_cpualloc, __sched_cpufree): Add declarations.
71873 2011-02-05 Ulrich Drepper <drepper@gmail.com>
71875 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
71876 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
71877 * nscd/aicache.c (addhstaiX): Return timeout of added value.
71878 (readdhstai): Return value of addhstaiX call.
71879 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
71880 (addgrbyX): Return value returned by cache_addgr.
71881 (readdgrbyname): Return value returned by addgrbyX.
71882 (readdgrbygid): Likewise.
71883 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
71884 (addpwbyX): Return value returned by cache_addpw.
71885 (readdpwbyname): Return value returned by addhstbyX.
71886 (readdpwbyuid): Likewise.
71887 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
71888 (addservbyX): Return value returned by cache_addserv.
71889 (readdservbyname): Return value returned by addservbyX:
71890 (readdservbyport): Likewise.
71891 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
71892 (addhstbyX): Return value returned by cache_addhst.
71893 (readdhstbyname): Return value returned by addhstbyX.
71894 (readdhstbyaddr): Likewise.
71895 (readdhstbynamev6): Likewise.
71896 (readdhstbyaddrv6): Likewise.
71897 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
71898 (readdinitgroups): Return value returned by addinitgroupsX.
71899 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
71900 (prune_cache): Keep track of timeout value of re-added entries.
71901 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
71902 * nscd/nscd.h: Adjust prototypes of readd* functions.
71904 2011-02-04 Roland McGrath <roland@redhat.com>
71906 * nis/nis_server.c (nis_servstate): Use the right name for 0.
71907 (nis_stats): Likewise.
71908 * nis/nis_modify.c (nis_modify): Likewise.
71909 * nis/nis_remove.c (nis_remove): Likewise.
71910 * nis/nis_add.c (nis_add): Likewise.
71912 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
71914 * posix/fnmatch_loop.c: Add some consts.
71916 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
71918 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
71921 * config.make.in (config-cflags-novzeroupper): Define.
71922 * configure.in: Substitute libc_cv_cc_novzeroupper.
71923 * elf/Makefile (AVX-CFLAGS): Define.
71924 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
71925 (CFLAGS-tst-auditmod4a.c): Likewise.
71926 (CFLAGS-tst-auditmod4b.c): Likewise.
71927 (CFLAGS-tst-auditmod6b.c): Likewise.
71928 (CFLAGS-tst-auditmod6c.c): Likewise.
71929 (CFLAGS-tst-auditmod7b.c): Likewise.
71930 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
71932 2011-02-02 Ulrich Drepper <drepper@gmail.com>
71934 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
71935 function to the callback.
71936 Patch partly by Jiri Olsa <jolsa@redhat.com>.
71938 2011-02-02 Andreas Schwab <schwab@redhat.com>
71940 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
71943 2011-01-19 Ulrich Drepper <drepper@gmail.com>
71946 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
71948 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
71950 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
71953 * elf/Makefile: Add rules to build and run new test.
71954 * elf/tst-initorder.c: New file.
71955 * elf/tst-initorder.exp: New file.
71956 * elf/tst-initordera1.c: New file.
71957 * elf/tst-initordera2.c: New file.
71958 * elf/tst-initordera3.c: New file.
71959 * elf/tst-initordera4.c: New file.
71960 * elf/tst-initorderb1.c: New file.
71961 * elf/tst-initorderb2.c: New file.
71962 * elf/tst-order-a1.c: New file.
71963 * elf/tst-order-a2.c: New file.
71964 * elf/tst-order-a3.c: New file.
71965 * elf/tst-order-a4.c: New file.
71966 * elf/tst-order-b1.c: New file.
71967 * elf/tst-order-b2.c: New file.
71968 * elf/tst-order-main.c: New file.
71969 New test case by George Gensure <werkt0@gmail.com>.
71971 2010-10-01 Andreas Schwab <schwab@redhat.com>
71973 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
71974 decoding ACE if AI_CANONIDN.
71976 2011-01-18 Ulrich Drepper <drepper@gmail.com>
71978 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
71980 2011-01-17 Ulrich Drepper <drepper@gmail.com>
71982 * version.h (RELEASE): Bump for 2.13 release.
71983 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
71985 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
71987 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
71989 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
71990 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
71991 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
71992 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
71993 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
71994 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
71996 * posix/getconf.c: Update copyright year.
71997 * catgets/gencat.c: Likewise.
71998 * csu/version.c: Likewise.
71999 * debug/catchsegv.sh: Likewise.
72000 * debug/xtrace.sh: Likewise.
72001 * elf/ldconfig.c: Likewise.
72002 * elf/ldd.bash.in: Likewise.
72003 * elf/sprof.c (print_version): Likewise.
72004 * iconv/iconv_prog.c: Likewise.
72005 * iconv/iconvconfig.c: Likewise.
72006 * locale/programs/locale.c: Likewise.
72007 * locale/programs/localedef.c: Likewise.
72008 * malloc/memusage.sh: Likewise.
72009 * malloc/mtrace.pl: Likewise.
72010 * nscd/nscd.c (print_version): Likewise.
72011 * nss/getent.c: Likewise.
72013 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
72014 PF_CAIF, and PF_ALG.
72015 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
72017 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
72019 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
72020 (modules-names): Use them.
72021 (ifunc-test-modules, ifunc-pie-tests): Define.
72022 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
72023 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
72024 (test-extras): Likewise.
72025 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
72026 $(compile-command.c).
72027 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
72028 (all-built-dso): Define.
72029 (check-textrel.out, check-execstack.out): Depend on it.
72031 * configure.in: Don't override --enable-multi-arch.
72033 2011-01-15 Ulrich Drepper <drepper@gmail.com>
72036 * nscd/hstcache.c (tryagain): Define.
72037 (cache_addhst): Return tryagain not notfound for temporary errors.
72038 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
72041 2011-01-14 Ulrich Drepper <drepper@gmail.com>
72044 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
72045 to make the syscall.
72046 * sysdeps/unix/sysv/linux/setgroups.c: New file.
72049 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
72050 and fall back to matching as normal character if the string ends before
72051 the matching ']' is found. This is what POSIX requires.
72052 * posix/testfnm.c: Adjust test result.
72053 * posix/globtest.sh: Adjust test result. Add new test.
72054 * posix/tst-fnmatch.input: Likewise.
72055 * posix/tst-fnmatch2.c: Add new test.
72057 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
72059 * elf/Makefile (check-execstack): Revert last change. Depend on
72061 (check-execstack.h): New target.
72062 (generated): Add check-execstack.h.
72063 * elf/check-execstack.c: Include "check-execstack.h".
72064 (main): Revert last change.
72065 (handle_file): Return zero if GNU_STACK is absent and
72066 DEFAULT_STACK_PERMS doesn't include PF_X.
72068 2011-01-13 Ulrich Drepper <drepper@gmail.com>
72070 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
72071 in child fails because the descriptor is already closed.
72072 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
72073 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
72074 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
72077 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
72081 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
72082 temporary buffer used to handle multi lookups locally.
72083 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
72085 2011-01-12 Ulrich Drepper <drepper@gmail.com>
72087 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
72090 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
72092 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
72093 alignment for SSE2.
72095 2011-01-12 Ulrich Drepper <drepper@gmail.com>
72098 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
72099 characters. When rounding increased number of integer digits recompute
72101 * stdio-common/tst-grouping.c: New file.
72102 * stdio-common/Makefile: Add rules to build and run tst-grouping.
72104 2011-01-09 Ulrich Drepper <drepper@gmail.com>
72106 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
72107 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
72109 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
72111 * bits/select.h: Likewise.
72113 2011-01-08 Ulrich Drepper <drepper@gmail.com>
72115 * po/ja.po: Update from translation team.
72117 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
72120 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
72121 implementation just like for lxstat, fxstatat, et al.
72123 2010-12-27 Jim Meyering <meyering@redhat.com>
72126 * posix/regexec.c (build_trtable): Return failure indication upon
72127 calloc failure. Otherwise, re_search_internal could infloop on OOM.
72129 2010-12-25 Ulrich Drepper <drepper@gmail.com>
72132 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
72133 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
72134 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
72135 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
72138 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
72141 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
72142 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
72144 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
72146 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
72147 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
72148 script has SORT_BY_INIT_PRIORITY.
72149 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
72150 NO_CTORS_DTORS_SECTIONS is defined.
72151 * elf/soinit.c: Likewise.
72152 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
72153 NO_CTORS_DTORS_SECTIONS is defined.
72154 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
72155 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
72156 * sysdeps/sh/init-first.c: Likewise.
72157 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
72159 2010-12-24 Ulrich Drepper <drepper@gmail.com>
72161 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
72162 always use the slow path.
72164 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
72166 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
72167 similar rule which adds the sysdep directories to the header search in
72168 order to pick up the correct platform stackinfo.h.
72169 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
72170 perform test if it is, otherwise return successfully without testing.
72171 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
72172 DEFAULT_STACK_PERMS define in stackinfo.h.
72173 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
72174 defined in stackinfo.h.
72175 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
72176 DEFAULT_STACK_PERMS defined in stackinfo.h.
72177 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
72178 * sysdeps/ia64/stackinfo.h: Likewise.
72179 * sysdeps/s390/stackinfo.h: Likewise.
72180 * sysdeps/sh/stackinfo.h: Likewise.
72181 * sysdeps/sparc/stackinfo.h: Likewise.
72182 * sysdeps/x86_64/stackinfo.h: Likewise.
72183 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
72184 PF_X for powerpc64. Retain PF_X for powerpc32.
72186 2010-12-19 Ulrich Drepper <drepper@gmail.com>
72188 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
72190 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
72191 GETDENTS_64BIT_ALIGNED.
72193 2010-12-14 Ulrich Drepper <dreper@gmail.com>
72195 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
72197 2010-12-10 Andreas Schwab <schwab@redhat.com>
72199 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
72202 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
72203 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
72205 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
72206 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
72208 2010-12-09 Ulrich Drepper <drepper@gmail.com>
72211 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
72214 2010-12-09 Jakub Jelinek <jakub@redhat.com>
72216 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
72218 2010-12-03 Ulrich Drepper <drepper@gmail.com>
72220 * po/it.po: Update from translation team.
72222 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
72224 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
72227 2010-11-30 Ulrich Drepper <drepper@gmail.com>
72229 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
72231 2010-11-24 Andreas Schwab <schwab@redhat.com>
72233 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
72235 (gaih_getanswer_slice): Likewise.
72237 2010-10-20 Jakub Jelinek <jakub@redhat.com>
72239 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
72241 2010-05-31 Petr Baudis <pasky@suse.cz>
72244 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
72245 silently even in the chroot mode.
72247 2010-11-22 Ulrich Drepper <drepper@gmail.com>
72249 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
72250 last patch a bit. Pretty printing
72252 2010-05-31 Petr Baudis <pasky@suse.cz>
72255 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
72256 initialization of skip_initgroups_dyn.
72258 2010-11-19 Ulrich Drepper <drepper@gmail.com>
72260 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
72261 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
72263 2010-11-16 Ulrich Drepper <drepper@gmail.com>
72265 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
72267 2010-11-11 Andreas Schwab <schwab@redhat.com>
72269 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
72270 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
72271 (tst-fnmatch-ENV): Set MALLOC_TRACE.
72272 ($(objpfx)tst-fnmatch-mem): New rule.
72273 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
72274 * posix/tst-fnmatch.c (main): Call mtrace.
72276 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
72278 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
72279 Support Intel processor model 6 and model 0x2c.
72281 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
72283 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
72286 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
72289 * string/test-strncasecmp.c (check_result): New function.
72290 (do_one_test): Use it.
72291 (check1): New function.
72292 (test_main): Use it.
72293 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
72294 Support strcasecmp and strncasecmp.
72296 2010-11-08 Ulrich Drepper <drepper@gmail.com>
72299 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
72300 * sysdeps/x86_64/bits/byteswap.h: Likewise.
72302 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
72304 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
72306 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
72308 * sysdeps/x86_64/multiarch/bzero.S: New file.
72309 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
72310 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
72311 * sysdeps/x86_64/multiarch/memset.S: New file.
72312 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
72313 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
72314 Set bit_Prefer_SSE_for_memop for Intel processors.
72315 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
72317 (index_Prefer_SSE_for_memop): Define.
72318 (HAS_PREFER_SSE_FOR_MEMOP): Define.
72320 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
72322 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
72323 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
72325 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
72328 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
72329 (__x86_64_raw_data_cache_size_half): Likewise.
72330 (__x86_64_raw_shared_cache_size): Likewise.
72331 (__x86_64_raw_shared_cache_size_half): Likewise.
72333 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
72334 (__x86_64_raw_data_cache_size_half): Likewise.
72335 (__x86_64_raw_shared_cache_size): Likewise.
72336 (__x86_64_raw_shared_cache_size_half): Likewise.
72337 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
72338 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
72339 and __x86_64_raw_shared_cache_size_half. Round
72340 __x86_64_data_cache_size_half, __x86_64_data_cache_size
72341 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
72342 to multiple of 256 bytes.
72344 2010-11-03 Ulrich Drepper <drepper@gmail.com>
72347 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
72348 of inacessible symlinks. Verify result of symlink before returning it.
72349 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
72350 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
72352 2010-10-28 Erich Ritz <erichritz@gmail.com>
72354 * math/math.h (isinf): Fix typo in comment.
72356 2010-11-01 Ulrich Drepper <drepper@gmail.com>
72358 * po/da.po: Update from translation team.
72360 2010-10-26 Ulrich Drepper <drepper@gmail.com>
72362 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
72363 is added to the list.
72365 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
72366 Ulrich Drepper <drepper@gmail.com>
72368 * elf/dl-object.c (_dl_new_object): Don't append the new object to
72369 the global list here. Move code to...
72370 (_dl_add_to_namespace_list): ...here. New function.
72371 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
72372 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
72373 * elf/dl-load.c (lose): Don't remove the element from the list.
72374 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
72375 (_dl_map_object): Likewise.
72377 2010-10-25 Ulrich Drepper <drepper@gmail.com>
72380 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
72381 into all bytes of SSE register.
72382 Patch by Richard Li <richardpku@gmail.com>.
72384 2010-10-24 Ulrich Drepper <drepper@gmail.com>
72387 * malloc/malloc.c (_int_free): Fill correct number of bytes when
72390 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
72392 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
72393 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
72394 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
72395 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
72396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
72398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
72400 2010-10-22 Andreas Schwab <schwab@redhat.com>
72402 * include/dlfcn.h (__RTLD_SECURE): Define.
72403 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
72404 mode & __RTLD_SECURE instead.
72405 (open_path): Rename preloaded parameter to secure.
72406 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
72407 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
72408 * elf/dl-deps.c (openaux): Likewise.
72409 * elf/rtld.c (struct map_args): Remove is_preloaded.
72410 (map_doit): Don't use it.
72411 (dl_main): Likewise.
72412 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
72413 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
72415 2010-09-09 Andreas Schwab <schwab@redhat.com>
72417 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
72418 (sysd-rules-targets): Remove duplicates.
72419 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
72420 rtld-%.$o dependency.
72422 2010-10-18 Andreas Schwab <schwab@redhat.com>
72424 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
72425 _dl_map_object do it.
72427 2010-10-19 Ulrich Drepper <drepper@gmail.com>
72429 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
72430 fast fma builtins, define the macros in the C99 standard.
72431 (FP_FAST_FMAF): Likewise.
72432 (FP_FAST_FMAL): Likewise.
72433 * sysdeps/x86_64/bits/mathdef.h: Likewise.
72435 * bits/mathdef.h: Update copyright year.
72436 * sysdeps/powerpc/bits/mathdef.h: Likewise.
72438 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
72440 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
72441 builtins, define the macros in the C99 standard.
72442 (FP_FAST_FMAF): Likewise.
72443 (FP_FAST_FMAL): Likewise.
72444 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
72446 (FP_FAST_FMAF): Likewise.
72448 2010-10-15 Jakub Jelinek <jakub@redhat.com>
72451 * math/libm-test.inc (fma_test): Some new testcases.
72452 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
72453 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
72454 y and infinite z. Do multiplication by C already in long double.
72455 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
72456 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
72457 y and infinite z. Do bitwise or of inexact bit into u.d.
72458 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
72459 * sysdeps/i386/fpu/s_fmaf.S: Removed.
72460 * sysdeps/i386/fpu/s_fma.S: Removed.
72461 * sysdeps/i386/fpu/s_fmal.S: Removed.
72463 2010-10-16 Jakub Jelinek <jakub@redhat.com>
72466 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
72467 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
72468 computation is not scheduled after fetestexcept. Fix value
72469 of minimum denormal long double.
72471 2010-10-14 Jakub Jelinek <jakub@redhat.com>
72474 * math/libm-test.inc (fma_test): Add some more tests.
72475 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
72478 2010-10-15 Andreas Schwab <schwab@redhat.com>
72480 * scripts/data/localplt-s390-linux-gnu.data: New file.
72481 * scripts/data/localplt-s390x-linux-gnu.data: New file.
72483 2010-10-13 Jakub Jelinek <jakub@redhat.com>
72486 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
72487 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
72489 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
72491 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
72492 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
72493 if one of x and y is very large and the other is subnormal.
72494 * sysdeps/s390/fpu/s_fmaf.c: New file.
72495 * sysdeps/s390/fpu/s_fma.c: New file.
72496 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
72497 * sysdeps/powerpc/fpu/s_fma.S: New file.
72498 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
72499 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
72500 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
72502 2010-10-12 Jakub Jelinek <jakub@redhat.com>
72505 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
72507 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
72508 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
72509 * sysdeps/i386/i686/multiarch/s_fma.c: Include
72510 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
72511 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
72512 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
72513 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
72515 2010-10-12 Ulrich Drepper <drepper@redhat.com>
72518 * posix/regcomp.c (parse_branch): One more memory leak plugged.
72519 * posix/bug-regex31.input: Add test case.
72521 2010-10-11 Ulrich Drepper <drepper@gmail.com>
72523 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
72524 * posix/bug-regex31.input: New file.
72527 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
72528 (parse_sub_exp): Fix last change, use postorder.
72530 * posix/bug-regex31.c: New file.
72531 * posix/Makefile: Add rules to build and run bug-regex31.
72533 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
72536 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
72539 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
72540 to have entries in sys_siglist.
72543 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
72546 2010-10-07 Jakub Jelinek <jakub@redhat.com>
72549 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
72550 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
72551 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
72552 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
72553 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
72554 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
72555 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
72556 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
72557 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
72558 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
72559 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
72560 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
72561 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
72562 * math/ftestexcept.c (fetestexcept): Likewise.
72563 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
72564 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
72565 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
72566 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
72567 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
72568 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
72569 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
72571 2010-10-11 Ulrich Drepper <drepper@gmail.com>
72574 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
72577 2010-10-06 Ulrich Drepper <drepper@gmail.com>
72579 * string/bug-strstr1.c: New file.
72580 * string/Makefile: Add rules to build and run bug-strstr1.
72582 2010-10-05 Eric Blake <eblake@redhat.com>
72585 * string/str-two-way.h (two_way_long_needle): Always clear memory
72586 when skipping input due to the shift table.
72588 2010-10-03 Ulrich Drepper <drepper@gmail.com>
72591 * malloc/mcheck.c: Handle large requests.
72594 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
72595 for strncmp and strncasecmp.
72596 * string/stratcliff.c: Add tests for strcmp and strncmp.
72597 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
72599 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
72601 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
72604 2010-09-30 Andreas Jaeger <aj@suse.de>
72606 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
72607 (CGROUP_SUPER_MAGIC): Define.
72608 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
72609 Handle btrfs and cgroup file systems.
72610 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
72613 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
72615 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
72616 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
72618 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
72621 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
72622 trying to locate the ELF header.
72624 2010-09-27 Andreas Schwab <schwab@redhat.com>
72627 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
72628 Mask out sign-bit copies when constructing f_fsid.
72630 2010-09-24 Petr Baudis <pasky@suse.cz>
72632 * debug/stack_chk_fail_local.c: Add missing licence exception.
72633 * debug/warning-nop.c: Likewise.
72635 2010-09-15 Joseph Myers <joseph@codesourcery.com>
72637 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
72638 implementing getdents64 using getdents syscall, set d_type if
72639 __ASSUME_GETDENTS32_D_TYPE.
72641 2010-09-16 Andreas Schwab <schwab@redhat.com>
72643 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
72644 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
72646 2010-09-21 Ulrich Drepper <drepper@redhat.com>
72649 * posix/unistd.h: Undo change of feature selection for ftruncate from
72652 2010-09-20 Ulrich Drepper <drepper@redhat.com>
72654 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
72657 2010-09-20 Andreas Schwab <schwab@redhat.com>
72659 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
72661 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
72663 2010-09-14 Andreas Schwab <schwab@redhat.com>
72665 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
72666 variables after CHECK_SP call.
72667 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
72669 2010-09-13 Andreas Schwab <schwab@redhat.com>
72670 Ulrich Drepper <drepper@redhat.com>
72672 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
72673 re-relocationg ld.so.
72674 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
72675 _dl_init_paths call.
72676 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
72679 2010-09-14 Ulrich Drepper <drepper@redhat.com>
72681 * resolv/res_init.c (__res_vinit): Count the default server we added.
72683 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
72684 Ulrich Drepper <drepper@redhat.com>
72687 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
72688 (____longjmp_chk): Use %ebx for saving value across system call.
72691 2010-09-06 Andreas Schwab <schwab@redhat.com>
72693 * manual/Makefile: Don't mix pattern rules with normal rules.
72695 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
72697 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
72699 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
72700 * libio/iofopncook.c (_IO_cookie_init): Likewise.
72701 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
72702 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
72703 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
72706 2010-09-04 Ulrich Drepper <drepper@redhat.com>
72709 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
72710 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
72712 2010-09-02 Ulrich Drepper <drepper@redhat.com>
72714 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
72715 * sysdeps/x86_64/addmul_1.S: Likewise.
72716 * sysdeps/x86_64/lshift.S: Likewise.
72717 * sysdeps/x86_64/mul_1.S: Likewise.
72718 * sysdeps/x86_64/rshift.S: Likewise.
72719 * sysdeps/x86_64/sub_n.S: Likewise.
72720 * sysdeps/x86_64/submul_1.S: Likewise.
72722 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
72724 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
72725 Define __sched_param instead of SCHED_* and sched_param when
72726 <bits/sched.h> is included with __need_schedparam defined.
72727 * bits/sched.h [__need_schedparam]
72728 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
72729 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
72730 (__defined_schedparam): Define to 1.
72731 (__sched_param): New structure, identical to sched_param.
72732 (__need_schedparam): Undefine.
72734 2010-08-31 Mike Frysinger <vapier@gentoo.org>
72736 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
72737 (epoll_create1): Declare.
72739 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
72741 2010-08-31 Andreas Schwab <schwab@redhat.com>
72744 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
72745 shifting retval into place.
72747 2010-09-01 Ulrich Drepper <drepper@redhat.com>
72749 * nis/rpcsvc/nis.h: Update copyright notice.
72750 * nis/rpcsvc/nis.x: Likewise.
72751 * nis/rpcsvc/nis_callback.h: Likewise.
72752 * nis/rpcsvc/nis_callback.x: Likewise.
72753 * nis/rpcsvc/nis_object.x: Likewise.
72754 * nis/rpcsvc/nis_tags.h: Likewise.
72755 * nis/rpcsvc/yp.h: Likewise.
72756 * nis/rpcsvc/yp.x: Likewise.
72757 * nis/rpcsvc/ypupd.h: Likewise.
72758 * nis/yp_xdr.c: Likewise.
72759 * nis/ypupdate_xdr.c: Likewise.
72761 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
72762 mainly the body of pmap_getport. Add parameters to specify timeouts.
72763 (pmap_getport): Use __libc_rpc_getport.
72764 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
72765 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
72766 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
72768 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
72770 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
72773 2010-08-27 Roland McGrath <roland@redhat.com>
72775 * sysdeps/i386/i686/multiarch/Makefile
72776 (CFLAGS-varshift.c): New variable.
72778 2010-08-27 Ulrich Drepper <drepper@redhat.com>
72780 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
72781 * sysdeps/i386/i686/multiarch/varshift.c: New file.
72783 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
72785 * sysdeps/x86_64/strlen.S: Minimal code improvement.
72787 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
72789 * sysdeps/x86_64/strlen.S: Unroll the loop.
72790 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
72791 strlen-sse2 strlen-sse2-bsf.
72792 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
72793 __strlen_no_bsf if bit_Slow_BSF is set.
72794 (__strlen_sse42): Removed.
72795 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
72796 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
72798 2010-08-25 Roland McGrath <roland@redhat.com>
72800 * sysdeps/x86_64/multiarch/varshift.S: File removed.
72801 * sysdeps/x86_64/multiarch/varshift.c: New file.
72802 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
72803 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
72804 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
72805 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
72807 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
72809 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
72810 strlen-sse2 strlen-sse2-bsf.
72811 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
72812 __strlen_sse2_bsf if bit_Slow_BSF is unset.
72813 (__strlen_sse2): Removed.
72814 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
72815 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
72816 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
72817 bit_Slow_BSF for Atom.
72818 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
72819 (index_Slow_BSF): Define.
72820 (HAS_SLOW_BSF): Define.
72822 2010-08-25 Ulrich Drepper <drepper@redhat.com>
72825 * resolv/res_init.c (__res_vinit): When no server address at all
72826 is given default to loopback.
72828 2010-08-24 Roland McGrath <roland@redhat.com>
72830 * configure.in: Remove config-name.h generation.
72831 * configure: Regenerated.
72832 * config-name.in: File removed.
72833 * scripts/config-uname.sh: New file.
72834 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
72835 ($(objdir)config-name.h): New target.
72837 * sunrpc/rpc_parse.h: Avoid nested comment.
72839 2010-08-24 Richard Henderson <rth@redhat.com>
72840 Ulrich Drepper <drepper@redhat.com>
72841 H.J. Lu <hongjiu.lu@intel.com>
72843 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
72844 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
72845 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
72846 Replace _mm_srli_si128 with __m128i_shift_right. Replace
72847 _mm_alignr_epi8 with _mm_loadu_si128.
72848 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
72849 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
72850 (__m128i_shift_right): Removed.
72851 * sysdeps/i386/i686/multiarch/varshift.h: New file.
72852 * sysdeps/i386/i686/multiarch/varshift.S: New file.
72853 * sysdeps/x86_64/multiarch/varshift.h: New file.
72854 * sysdeps/x86_64/multiarch/varshift.S: New file.
72856 2010-08-21 Mike Frysinger <vapier@gentoo.org>
72858 * configure.in: Move assembler checks to before sysdep dir checking.
72860 2010-08-20 Petr Baudis <pasky@suse.cz>
72862 * LICENSES: Sync the sunrpc license.
72864 2010-08-19 Ulrich Drepper <drepper@redhat.com>
72866 * sunrpc/auth_des.c: Update copyright notice once again.
72867 * sunrpc/auth_none.c: Likewise.
72868 * sunrpc/auth_unix.c: Likewise.
72869 * sunrpc/authdes_prot.c: Likewise.
72870 * sunrpc/authuxprot.c: Likewise.
72871 * sunrpc/bindrsvprt.c: Likewise.
72872 * sunrpc/clnt_gen.c: Likewise.
72873 * sunrpc/clnt_perr.c: Likewise.
72874 * sunrpc/clnt_raw.c: Likewise.
72875 * sunrpc/clnt_simp.c: Likewise.
72876 * sunrpc/clnt_tcp.c: Likewise.
72877 * sunrpc/clnt_udp.c: Likewise.
72878 * sunrpc/clnt_unix.c: Likewise.
72879 * sunrpc/des_crypt.c: Likewise.
72880 * sunrpc/des_soft.c: Likewise.
72881 * sunrpc/get_myaddr.c: Likewise.
72882 * sunrpc/getrpcport.c: Likewise.
72883 * sunrpc/key_call.c: Likewise.
72884 * sunrpc/key_prot.c: Likewise.
72885 * sunrpc/openchild.c: Likewise.
72886 * sunrpc/pm_getmaps.c: Likewise.
72887 * sunrpc/pm_getport.c: Likewise.
72888 * sunrpc/pmap_clnt.c: Likewise.
72889 * sunrpc/pmap_prot.c: Likewise.
72890 * sunrpc/pmap_prot2.c: Likewise.
72891 * sunrpc/pmap_rmt.c: Likewise.
72892 * sunrpc/rpc/auth.h: Likewise.
72893 * sunrpc/rpc/auth_unix.h: Likewise.
72894 * sunrpc/rpc/clnt.h: Likewise.
72895 * sunrpc/rpc/des_crypt.h: Likewise.
72896 * sunrpc/rpc/key_prot.h: Likewise.
72897 * sunrpc/rpc/netdb.h: Likewise.
72898 * sunrpc/rpc/pmap_clnt.h: Likewise.
72899 * sunrpc/rpc/pmap_prot.h: Likewise.
72900 * sunrpc/rpc/pmap_rmt.h: Likewise.
72901 * sunrpc/rpc/rpc.h: Likewise.
72902 * sunrpc/rpc/rpc_des.h: Likewise.
72903 * sunrpc/rpc/rpc_msg.h: Likewise.
72904 * sunrpc/rpc/svc.h: Likewise.
72905 * sunrpc/rpc/svc_auth.h: Likewise.
72906 * sunrpc/rpc/types.h: Likewise.
72907 * sunrpc/rpc/xdr.h: Likewise.
72908 * sunrpc/rpc_clntout.c: Likewise.
72909 * sunrpc/rpc_cmsg.c: Likewise.
72910 * sunrpc/rpc_common.c: Likewise.
72911 * sunrpc/rpc_cout.c: Likewise.
72912 * sunrpc/rpc_dtable.c: Likewise.
72913 * sunrpc/rpc_hout.c: Likewise.
72914 * sunrpc/rpc_main.c: Likewise.
72915 * sunrpc/rpc_parse.c: Likewise.
72916 * sunrpc/rpc_parse.h: Likewise.
72917 * sunrpc/rpc_prot.c: Likewise.
72918 * sunrpc/rpc_sample.c: Likewise.
72919 * sunrpc/rpc_scan.c: Likewise.
72920 * sunrpc/rpc_scan.h: Likewise.
72921 * sunrpc/rpc_svcout.c: Likewise.
72922 * sunrpc/rpc_tblout.c: Likewise.
72923 * sunrpc/rpc_util.c: Likewise.
72924 * sunrpc/rpc_util.h: Likewise.
72925 * sunrpc/rpcinfo.c: Likewise.
72926 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
72927 * sunrpc/rpcsvc/key_prot.x: Likewise.
72928 * sunrpc/rpcsvc/klm_prot.x: Likewise.
72929 * sunrpc/rpcsvc/mount.x: Likewise.
72930 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
72931 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
72932 * sunrpc/rpcsvc/rex.x: Likewise.
72933 * sunrpc/rpcsvc/rstat.x: Likewise.
72934 * sunrpc/rpcsvc/rusers.x: Likewise.
72935 * sunrpc/rpcsvc/sm_inter.x: Likewise.
72936 * sunrpc/rpcsvc/spray.x: Likewise.
72937 * sunrpc/rpcsvc/yppasswd.x: Likewise.
72938 * sunrpc/rtime.c: Likewise.
72939 * sunrpc/svc.c: Likewise.
72940 * sunrpc/svc_auth.c: Likewise.
72941 * sunrpc/svc_authux.c: Likewise.
72942 * sunrpc/svc_raw.c: Likewise.
72943 * sunrpc/svc_run.c: Likewise.
72944 * sunrpc/svc_simple.c: Likewise.
72945 * sunrpc/svc_tcp.c: Likewise.
72946 * sunrpc/svc_udp.c: Likewise.
72947 * sunrpc/svc_unix.c: Likewise.
72948 * sunrpc/svcauth_des.c: Likewise.
72949 * sunrpc/xcrypt.c: Likewise.
72950 * sunrpc/xdr.c: Likewise.
72951 * sunrpc/xdr_array.c: Likewise.
72952 * sunrpc/xdr_float.c: Likewise.
72953 * sunrpc/xdr_mem.c: Likewise.
72954 * sunrpc/xdr_rec.c: Likewise.
72955 * sunrpc/xdr_ref.c: Likewise.
72956 * sunrpc/xdr_sizeof.c: Likewise.
72957 * sunrpc/xdr_stdio.c: Likewise.
72959 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
72962 2010-08-19 Andreas Schwab <schwab@redhat.com>
72964 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
72966 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
72968 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
72969 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
72970 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
72971 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
72972 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
72973 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
72974 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
72975 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
72976 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
72977 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
72978 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
72979 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
72980 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
72981 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
72983 2010-07-26 Anton Blanchard <anton@samba.org>
72985 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
72986 * malloc/arena.c (heap_trim): Likewise.
72988 2010-08-16 Ulrich Drepper <drepper@redhat.com>
72990 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
72992 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
72993 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
72995 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
72997 * sysdeps/i386/elf/Makefile: New file.
72999 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
73001 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
73002 from fanotify_init.
73003 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
73004 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
73006 2010-08-15 Ulrich Drepper <drepper@redhat.com>
73008 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
73010 * sysdeps/multiarch/strcmp.S: Likewise.
73012 2010-08-14 Ulrich Drepper <drepper@redhat.com>
73014 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
73015 strncase_l-nonascii.
73016 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
73017 Add strncase_l-ssse3.
73018 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
73019 * sysdeps/x86_64/strcmp.S: Likewise.
73020 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
73021 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
73022 * sysdeps/x86_64/strncase.S: New file.
73023 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
73024 * sysdeps/x86_64/strncase_l.S: New file.
73025 * string/Makefile (strop-tests): Add strncasecmp.
73026 * string/test-strncasecmp.c: New file.
73028 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
73031 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
73032 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
73034 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
73036 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
73038 2010-08-12 Ulrich Drepper <drepper@redhat.com>
73040 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
73041 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
73042 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
73044 2010-05-01 Alan Modra <amodra@gmail.com>
73046 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
73047 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
73048 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
73049 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
73050 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
73051 tidying. Don't tail-call __sigjmp_save for static lib.
73052 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
73054 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
73055 (CALL_MCOUNT): Add eh info, and nop after bl.
73056 (TAIL_CALL_SYSCALL_ERROR): New macro.
73057 (PSEUDO_RET): Use it.
73058 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
73059 Correct save location of integer regs and cr.
73060 (_dl_profile_resolve): Correct cr save location. Delete nops
73061 after bl when SHARED. Reduce cfi size a little by better
73062 placement of cfi directives.
73063 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
73064 make a stack frame. Instead use parm save area as a temp.
73065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
73066 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
73067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
73068 Don't make a stack frame for parent, use parm save area.
73069 Increase child stack frame to 112 bytes. Don't save unused reg,
73070 and adjust reg usage. Set up cfi on error recovery and
73071 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
73072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
73073 (__makecontext): Add dummy nop after jump to exit.
73074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
73075 Use correct parm save area and cr save, reduce stack frame.
73076 Correct cfi for possible PSEUDO_RET frame setup.
73077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
73078 Branch to local label emitted by PSEUDO_RET rather than
73081 2010-08-12 Andreas Schwab <schwab@redhat.com>
73084 * locale/programs/locale.c (print_assignment): New function.
73085 (show_locale_vars): Use it.
73087 2010-08-11 Ulrich Drepper <drepper@redhat.com>
73089 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
73091 (struct statfs64): Likewise.
73092 (_STATFS_F_FLAGS): Define.
73093 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
73094 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
73095 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
73096 (ST_VALID): Define locally.
73097 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
73098 __statvfs_getflags, use the provided value.
73099 * sysdeps/unix/sysv/linux/kernel-features.h: Define
73100 __ASSUME_STATFS_F_FLAGS.
73102 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
73104 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
73105 Add sys/fanotify.h.
73106 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
73107 fanotify_mask for GLIBC_2.13.
73108 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
73109 fanotify_init and fanotify_mark.
73110 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
73111 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
73113 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
73115 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
73116 prlimit64 for GLIBC_2.13.
73117 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
73119 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
73121 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
73122 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
73123 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
73124 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
73125 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
73127 * sysdeps/unix/sysv/linux/prlimit.c: New file.
73130 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
73131 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
73133 * nss/Makefile: Add rules to build and run tst-nss-test1.
73134 * shlib-versions: Add entry for libnss_test1.
73135 * nss/nss_test1.c: New file.
73136 * nss/tst-nss-test1.c: New file.
73138 * nss/nsswitch.c (__nss_database_custom): Define new variable.
73139 (__nss_configure_lookup): Set appropriate entry in
73140 __nss_configure_lookup to true.
73141 * nss/nsswitch.h: Define enum with indeces of databases in
73142 databases and __nss_database_custom arrays. Declare
73143 __nss_database_custom.
73144 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
73145 to avoid using nscd when custom rules are installed.
73146 * nss/getXXbyYY_r.c: Likewise.
73147 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
73149 * nss/nss_files/files-parse.c: Whitespace fixes.
73151 2010-08-09 Ulrich Drepper <drepper@redhat.com>
73154 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
73155 * posix/fnmatch_loop.c: Likewise.
73157 2010-07-17 Andi Kleen <ak@linux.intel.com>
73159 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
73160 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
73161 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
73162 * Versions.def [GLIBC_2.13]: Add.
73164 2010-08-06 Ulrich Drepper <drepper@redhat.com>
73166 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
73167 Also fail if tpwd after pwuid call is NULL.
73169 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
73171 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
73172 when converting to ms.
73174 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
73176 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
73177 EOPNOTSUPP errors with ENOTTY.
73178 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
73179 EOPNOTSUPP errors with ENOTTY.
73181 2010-07-31 Ulrich Drepper <drepper@redhat.com>
73183 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
73184 Add strcasecmp_l-ssse3.
73185 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
73187 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
73188 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
73189 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
73191 2010-07-30 Ulrich Drepper <drepper@redhat.com>
73193 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
73195 * string/Makefile (strop-tests): Add strcasecmp.
73196 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
73197 strcasecmp_l-nonascii.
73198 (gen-as-const-headers): Add locale-defines.sym.
73199 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
73200 * sysdeps/x86_64/strcasecmp.S: New file.
73201 * sysdeps/x86_64/strcasecmp_l.S: New file.
73202 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
73203 * sysdeps/x86_64/locale-defines.sym: New file.
73204 * string/test-strcasecmp.c: New file.
73206 * string/test-strcasestr.c: Test both ends of the range of characters.
73207 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
73209 2010-07-29 Roland McGrath <roland@redhat.com>
73212 * manual/locale.texi (Yes-or-No Questions): Fix example code.
73214 2010-07-27 Ulrich Drepper <drepper@redhat.com>
73216 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
73219 2010-07-27 Andreas Schwab <schwab@redhat.com>
73221 * manual/memory.texi (Malloc Tunable Parameters): Document
73224 2010-07-26 Roland McGrath <roland@redhat.com>
73227 * configure.in (-fgnu89-inline check): Set and substitute
73228 gnu89_inline, not libc_cv_gnu89_inline.
73229 * configure: Regenerated.
73230 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
73232 2010-07-26 Ulrich Drepper <drepper@redhat.com>
73234 * string/test-strnlen.c: New file.
73235 * string/Makefile (strop-tests): Add strnlen.
73236 * string/tester.c (test_strnlen): Add a few more test cases.
73237 * string/tst-strlen.c: Better error reporting.
73239 * sysdeps/x86_64/strnlen.S: New file.
73241 2010-07-24 Ulrich Drepper <drepper@redhat.com>
73243 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
73244 lower-latency instructions.
73246 2010-07-23 Ulrich Drepper <drepper@redhat.com>
73248 * string/test-strcasestr.c: New file.
73249 * string/test-strstr.c: New file.
73250 * string/Makefile (strop-tests): Add strstr and strcasestr.
73251 * string/str-two-way.h: Don't undefine MAX.
73252 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
73254 2010-07-21 Andreas Schwab <schwab@redhat.com>
73256 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
73257 strcasestr-nonascii.
73258 (CFLAGS-strcasestr-nonascii.c): Define.
73259 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
73260 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
73261 Remove unused attribute.
73263 2010-07-20 Roland McGrath <roland@redhat.com>
73265 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
73266 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
73267 ld.so.cache was broken. With it, there is no way to disable dsocaps
73268 like LD_HWCAP_MASK can disable hwcaps.
73270 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
73272 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
73274 2010-07-16 Ulrich Drepper <drepper@redhat.com>
73276 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
73277 call in strcasestr.
73278 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
73279 __strcasestr_sse42_nonascii.
73280 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
73281 strcasestr-nonascii.c.
73282 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
73284 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
73286 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
73287 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
73288 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
73289 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
73291 2010-07-09 Ulrich Drepper <drepper@redhat.com>
73293 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
73296 2010-07-06 Andreas Schwab <schwab@redhat.com>
73299 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
73302 2010-07-06 Ulrich Drepper <drepper@redhat.com>
73304 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
73305 _PC_PIPE_BUF using F_GETPIPE_SZ.
73307 2010-07-05 Roland McGrath <roland@redhat.com>
73309 * manual/arith.texi (Rounding Functions): Fix rint description
73310 implicit in round description.
73312 2010-07-02 Ulrich Drepper <drepper@redhat.com>
73314 * elf/Makefile: Fix linking for a few tests to make recent linker
73317 2010-06-30 Andreas Schwab <schwab@redhat.com>
73319 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
73320 $(common-objpfx)libc_nonshared.a.
73322 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
73324 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
73325 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
73326 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
73327 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
73328 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
73329 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
73330 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
73331 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
73332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
73333 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
73334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
73335 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
73336 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
73337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
73338 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
73339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
73340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
73341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
73342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
73343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
73344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
73345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
73346 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
73347 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
73348 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
73349 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
73350 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
73351 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
73352 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
73353 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
73354 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
73355 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
73356 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
73357 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
73358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
73359 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
73360 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
73361 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
73362 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
73363 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
73364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
73365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
73366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
73367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
73368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
73369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
73370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
73371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
73373 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
73375 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
73376 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
73377 * string/memmove.c (memmove): Renamed to ...
73378 (MEMMOVE): ...this. Default to memmove.
73379 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
73380 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
73382 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
73383 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
73384 mempcpy-ssse3-back memmove-ssse3-back.
73385 * sysdeps/x86_64/multiarch/bcopy.S: New file .
73386 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
73387 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
73388 * sysdeps/x86_64/multiarch/memcpy.S: New file.
73389 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
73390 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
73391 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
73392 * sysdeps/x86_64/multiarch/memmove.c: New file.
73393 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
73394 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
73395 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
73396 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
73397 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
73398 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
73400 (index_Fast_Copy_Backward): Define.
73401 (HAS_ARCH_FEATURE): Define.
73402 (HAS_FAST_REP_STRING): Define.
73403 (HAS_FAST_COPY_BACKWARD): Define.
73405 2010-06-21 Andreas Schwab <schwab@redhat.com>
73407 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
73408 Restore proper fallback handling.
73410 2010-06-19 Ulrich Drepper <drepper@redhat.com>
73413 * posix/group_member.c (__group_member): Correct checking loop.
73415 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
73416 OOM in getpwuid_r correctly. Return error number when the caller
73417 should return, otherwise -1.
73418 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
73419 call returning > 0 value.
73420 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
73422 2010-06-07 Andreas Schwab <schwab@redhat.com>
73424 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
73425 libc_nonshared.a from targets in modules-names.
73427 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
73429 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
73432 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
73434 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
73435 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
73436 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
73437 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
73439 2010-06-02 Andreas Schwab <schwab@redhat.com>
73441 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
73443 2010-06-14 Ulrich Drepper <drepper@redhat.com>
73445 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
73447 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
73448 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
73449 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
73450 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
73451 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
73452 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
73454 2010-06-14 Roland McGrath <roland@redhat.com>
73456 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
73458 2010-06-07 Jakub Jelinek <jakub@redhat.com>
73460 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
73461 __REDIRECT followed by __THROW.
73462 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
73463 * posix/getopt.h (getopt): Likewise.
73465 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
73467 * hurd/lookup-at.c (__file_name_lookup_at): Accept
73468 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
73469 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
73471 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
73472 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
73474 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
73476 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
73478 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
73481 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
73482 Properly check family and model.
73484 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
73486 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
73488 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
73490 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
73492 2010-05-21 Ulrich Drepper <drepper@redhat.com>
73494 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
73497 2010-05-19 Andreas Schwab <schwab@redhat.com>
73499 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
73502 2010-05-21 Andreas Schwab <schwab@redhat.com>
73504 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
73505 and internal_recvmmsg.
73506 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
73507 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
73508 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
73509 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
73511 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
73512 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
73513 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
73515 2010-05-20 Andreas Schwab <schwab@redhat.com>
73517 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
73519 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
73521 POWER7 optimizations.
73522 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
73523 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
73525 2010-05-19 Ulrich Drepper <drepper@redhat.com>
73527 * version.h: Update for 2.13 development version.
73529 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
73531 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
73532 exceptions. Return 0.
73534 2010-05-07 Roland McGrath <roland@redhat.com>
73536 * elf/ldconfig.c (main): Add a const.
73538 2010-05-06 Ulrich Drepper <drepper@redhat.com>
73540 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
73541 (args_options): Add no-idn option.
73542 (ahosts_keys_int): Add idn_flags to ai_flags.
73543 (parse_option): Handle 'i' option to clear idn_flags.
73545 * malloc/malloc.c (_int_free): Possible race in the most recently
73546 added check. Only act on the data if no current modification
73549 See ChangeLog.17 for earlier changes.