1 2014-05-01 Roland McGrath <roland@hack.frob.com>
3 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
4 (_IO_JUMPS_OFFSET): Define to 0.
6 * nptl/sysdeps/pthread/bits/libc-lock.h
7 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
8 (__libc_lock_define_initialized_recursive): Always define using
9 initializer. Modern compilers treat uninitialized (implicit zero) and
10 explicit zero initializers the same (i.e. put the datum in bss).
12 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
14 * nscd/nscd-client.h: Include <string.h>.
16 2014-05-01 David S. Miller <davem@davemloft.net>
19 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
20 multiple zero bytes exist at the end of a string.
21 Reported by Aurelien Jarno <aurelien@aurel32.net>
23 * string/test-strcmp.c (check): Add explicit test for situations where
24 there are multiple zero bytes after the first.
26 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
29 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
30 when compiling wprintf.
31 * stdio-common/tstdiomisc.c (t3): New function.
34 2014-05-01 Steve Ellcey <sellcey@mips.com>
36 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
37 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
38 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
39 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
41 2014-05-01 Steve Ellcey <sellcey@mips.com>
43 * stdlib/longlong.h: Updated from GCC.
45 2014-05-01 Will Newton <will.newton@linaro.org>
46 Bernard Ogden <bernie.ogden@linaro.org>
48 * NEWS: Update fixed bug list.
51 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
53 2014-04-30 David S. Miller <davem@davemloft.net>
55 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
56 (libc_feholdexcept_setround_sparc_ctx): New function.
57 (libc_fesetenv_sparc_ctx): Likewise.
58 (libc_feupdateenv_sparc_ctx): Likewise.
59 (libc_feholdsetround_sparc_ctx): Likewise.
60 (libc_feholdexcept_setround_ctx): Define.
61 (libc_feholdexcept_setroundf_ctx): Likewise.
62 (libc_feholdexcept_setroundl_ctx): Likewise.
63 (libc_fesetenv_ctx): Likewise.
64 (libc_fesetenvf_ctx): Likewise.
65 (libc_fesetenvl_ctx): Likewise.
66 (libc_feupdateenv_ctx): Likewise.
67 (libc_feupdateenvf_ctx): Likewise.
68 (libc_feupdateenvl_ctx): Likewise.
69 (libc_feresetround_ctx): Likewise.
70 (libc_feresetroundf_ctx): Likewise.
71 (libc_feresetroundl_ctx): Likewise.
72 (libc_feholdsetround_ctx): Likewise.
73 (libc_feholdsetroundf_ctx): Likewise.
74 (libc_feholdsetroundl_ctx): Likewise.
76 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
77 with __USE_GNU instead of XOPEN cpp guards.
79 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
82 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
83 with XOPEN cpp guards.
85 2014-04-30 Julian Brown <julian@codesourcery.com>
88 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
91 2014-04-30 Joseph Myers <joseph@codesourcery.com>
94 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
96 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
97 * sysdeps/unix/sysv/linux/configure: Regenerated.
98 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
99 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
100 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
101 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
102 * README: Update reference to required Linux kernel version.
103 * manual/install.texi (Linux): Update reference to required Linux
104 kernel headers version.
105 * INSTALL: Regenerated.
107 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
109 [POSIX] (limits.h): Likewise.
110 [POSIX] (math.h): Likewise.
111 [POSIX] (sys/wait.h): Likewise.
112 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
114 [POSIX] (stddef.h): Do not allow header inclusion.
116 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
118 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
120 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
122 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
123 Return immediately after lll_futex_wake.
125 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
128 * nscd/nscd-client.h (datahead_init_common): Initialize entire
130 (datahead_init_pos): Call datahead_init_common early.
131 (datahead_init_neg): Likewise.
133 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
134 datahead_init_neg): New functions.
135 * nscd/aicache.c (addhstaiX): Use them.
136 * nscd/grpcache.c (cache_addgr): Likewise.
137 * nscd/hstcache.c (cache_addhst): Likewise.
138 * nscd/initgrcache.c (addinitgroupsX): Likewise.
139 * nscd/netgroupcache.c (do_notfound): Likewise.
140 (addgetnetgrentX): Likewise.
141 (addinnetgrX): Likewise.
142 * nscd/pwdcache.c (cache_addpw): Likewise.
143 * nscd/servicescache.c (cache_addserv): Likewise.
145 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
146 Atsushi Onoe <atsushi@onoe.org>
151 * resolv/res_query.c (__libc_res_nsearch): Return if at least
152 one response is valid.
153 * resolv/res_send.c (send_dg): Check for validity of other
154 response if the current response is a referral.
156 2014-04-29 Steve Ellcey <sellcey@mips.com>
158 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
160 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
163 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
164 Always divide by positive zero when computing -Inf result.
165 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
166 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
168 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
170 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
171 FPSCR if value do not change.
172 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
173 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
174 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
175 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
176 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
177 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
180 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
182 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
183 * sysdeps/unix/sysv/linux/hppa: Move directory from
184 ports/systeps/unix/sysv/linux/hppa.
185 * README: Update listing for hppa-*-linux-gnu.
187 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
190 * manual/stdio.texi (Hook functions): Fix types of stream hook
193 * socket/sys/socket.h: Fix typo in comment.
195 2014-04-28 Wilco <wdijkstr@arm.com>
197 * sysdeps/arm/fenv_private.h: New file.
198 * sysdeps/arm/math_private.h: New file.
199 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
201 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
203 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
205 (La_x86_64_retval): Likewise.
207 2014-04-24 Ian Bolton <ian.bolton@arm.com>
209 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
210 fpsr if value didn't change.
211 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
212 to fpcr if value didn't change.
213 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
214 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
215 fpsr or fpcr if value didn't change.
216 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
217 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
218 fpcr if value didn't change.
219 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
220 to fpsr if value didn't change.
222 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
224 * nptl/tst-sem3.c: Use test-skeleton.c
225 (main): Rename to do_test. Use return instead of
227 * nptl/tst-sem4.c: Use test-skeleton.c
228 (main): Rename to do_test.
230 2014-04-22 David S. Miller <davem@davemloft.net>
232 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
233 (struct sigaction): New struct member __glibc_reserved0, change
234 type of sa_flags to int.
236 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
238 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
239 (COUNT_LEADING_ZEROS_0): Define for AArch64.
241 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
243 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
244 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
246 2014-04-22 Will Newton <will.newton@linaro.org>
247 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
249 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
250 (__longjmp): Add longjmp and longjmp_target SystemTap
252 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
253 (__sigsetjmp): Add setjmp SystemTap probe.
255 2014-04-17 Carlos O'Donell <carlos@redhat.com>
257 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
260 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
262 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
264 * sysdeps/powerpc/fpu/fenv_private.h
265 (libc_feholdexcept_setroundl_ctx): Define to
266 libc_feholdexcept_setround_ppc_ctx.
267 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
268 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
269 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
270 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
272 2014-04-17 Ian Bolton <ian.bolton@arm.com>
274 * sysdeps/aarch64/math-tests.h: New file.
276 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
278 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
280 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
281 Check and set bit_AVX2_Usable.
282 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
284 (bit_AVX2): Likewise.
285 (index_AVX2_Usable): Likewise.
286 (CPUID_AVX2): Likewise.
287 (HAS_AVX2): Likewise.
289 2014-04-17 Will Newton <will.newton@linaro.org>
291 * manual/setjmp.texi (System V contexts): Add note that
292 calling setcontext on a context created by a call to a
293 signal handler is undefined. Update text to note that
294 setcontext from a signal handler is possible but not
298 * stdlib/tst-setcontext.c: Include signal.h.
299 (main): Check that the signal stack before and
300 after swapcontext is the same.
302 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
303 Re-implement to restore registers in user code and avoid
304 rt_sigreturn system call.
306 2014-04-17 Wilco <wdijkstr@arm.com>
308 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
309 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
310 * math/test-fenv.c: Skip exception trap tests on targets which only
311 support non-stop mode.
313 2014-04-17 Ian Bolton <ian.bolton@arm.com>
314 Wilco Dijkstra <wilco.dijkstra@arm.com>
316 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
317 (libc_feholdsetround_aarch64_ctx)
318 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
319 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
320 (libc_feresetround_ctx, libc_feresetroundf_ctx)
321 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
322 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
323 (libc_feresetround_noexl_ctx): Define.
325 2014-04-16 Richard Henderson <rth@redhat.com>
327 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
329 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
332 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
333 const from the non-libc, non-ldso copy.
335 * sysdeps/alpha/libm-test-ulps: Regenerate.
337 2014-04-16 Ian Bolton <ian.bolton@arm.com>
338 Wilco Dijkstra <wilco.dijkstra@arm.com>
340 * sysdeps/aarch64/fpu/math_private.h: New file.
342 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
344 * sysdeps/aarch64/libm-test-ulps: Regenerate.
346 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
348 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
349 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
350 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
351 Intel MPX bound registers before _dl_profile_fixup.
352 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
353 registers after _dl_profile_fixup. Save and restore bound
354 registers bnd0/bnd1 when calling _dl_call_pltexit.
355 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
356 (LR_BND_OFFSET): Likewise.
357 (LRV_BND0_OFFSET): Likewise.
358 (LRV_BND1_OFFSET): Likewise.
360 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
362 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
364 * sysdeps/mach/hurd/i386/tls.h: ... here.
365 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
366 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
369 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
371 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
373 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
375 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
377 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
380 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
381 * sysdeps/s390/configure: Regenerate.
384 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
385 Set round-to-nearest internally to reduce error accumulation.
387 2014-04-16 Alan Modra <amodra@gmail.com>
391 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
392 * math/libm-test.inc (frexp_test_data): Add tests.
393 * NEWS: Update fixed bug list.
395 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
397 * benchtests/Makefile: Depend on libraries in build directory.
398 (bench-math): Separate out math tests.
399 (bench-pthread): Separate out pthread tests.
400 (bench): Include math and pthread tests.
402 2014-04-14 Carlos O'Donell <carlos@redhat.com>
405 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
406 _dl_debug_initialize.
408 * configure.ac: Remove SELinux header check.
409 * configure: Regenerate.
410 * nscd/selinux.c (perms): Array of const char* to permission names.
411 (nscd_request_avc_has_perm): Call security_deny_unknown to find
412 default policy. Call string_to_security_class and string_to_av_perm to
413 translate strings. Enforce default policy and call avs_has_perm with
414 results of translated strings.
416 2014-04-13 David S. Miller <davem@davemloft.net>
418 * sysdeps/sparc/fpu/libm-test-ulps: Update.
420 2014-04-12 Allan McRae <allan@archlinux.org>
423 * manual/string.texi (Collation Functions): Fix qsort argument
425 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
427 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
429 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
430 Make the test a no-op if there are no exceptions defined.
432 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
434 * elf/Makefile (tests): make tst-dlopen-aout conditional on
435 enable-hardcoded-path-in-tests
437 2014-04-11 Will Newton <will.newton@linaro.org>
439 * benchtests/Makefile (extra-objs): Add json-lib.o.
440 (bench-func): Tidy up JSON output.
441 * benchtests/bench-skeleton.c: Include json-lib.h.
442 (main): Use JSON library functions to do output of
444 * benchtests/bench-timing-type.c (main): Output the
445 timing type simply, leaving formatting to the user.
446 * benchtests/json-lib.c: New file.
447 * benchtests/json-lib.h: Likewise.
449 2014-04-11 Torvald Riegel <triegel@redhat.com>
452 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
453 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
454 memory barriers. Add comments.
455 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
456 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
457 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
458 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
459 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
460 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
462 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
464 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
465 * sysdeps/s390/s390-64/configure.ac: ... this ...
466 * sysdeps/s390/configure.ac: ... to here.
467 * sysdeps/s390/s390-32/configure: Delete file.
468 * sysdeps/s390/s390-64/configure: Delete file.
469 * sysdeps/s390/configure: Regenerate.
471 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
473 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
475 2014-04-11 Will Newton <will.newton@linaro.org>
477 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
478 to zero if it is not defined elsewhere. (mtrim): Test
479 the value of MALLOC_DEBUG with #if rather than #ifdef.
481 2014-04-10 Torvald Riegel <triegel@redhat.com>
483 * benchtests/pthread_once-inputs: New file.
484 * benchtests/pthread_once-source.c: New file.
485 * benchtests/README: Update documentation.
487 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
488 H.J. Lu <hongjiu.lu@intel.com>
490 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
491 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
492 * sysdeps/x86_64/configure: Regenerated.
493 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
495 (REGISTER_SAVE_RAX): Likewise.
496 (REGISTER_SAVE_RCX): Likewise.
497 (REGISTER_SAVE_RDX): Likewise.
498 (REGISTER_SAVE_RSI): Likewise.
499 (REGISTER_SAVE_RDI): Likewise.
500 (REGISTER_SAVE_R8): Likewise.
501 (REGISTER_SAVE_R9): Likewise.
502 (REGISTER_SAVE_BND0): Likewise.
503 (REGISTER_SAVE_BND1): Likewise.
504 (REGISTER_SAVE_BND2): Likewise.
505 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
506 bound registers when calling _dl_fixup.
508 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
510 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
511 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
513 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
514 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
515 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
516 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
517 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
518 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
519 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
521 2014-04-09 Peter Brett <peter@peter-b.co.uk>
524 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
525 pathconf(_PC_NAME_MAX).
527 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
529 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
531 (__PTHREAD_SPINS): Move definition to ...
532 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
533 (__PTHREAD_SPINS): ... here.
534 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
535 (__PTHREAD_SPIN): Likewise.
536 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
537 (__PTHREAD_SPIN): Likewise.
538 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
539 (__PTHREAD_SPIN): Likewise.
540 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
541 (__PTHREAD_SPIN): Likewise.
542 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
543 (__PTHREAD_SPIN): Likewise.
544 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
545 (__PTHREAD_SPIN): Likewise.
546 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
547 (__PTHREAD_SPIN): Likewise.
548 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
549 (__PTHREAD_SPIN): Likewise.
550 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
551 (__PTHREAD_SPIN): Likewise.
552 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
553 (__PTHREAD_SPIN): Likewise.
554 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
555 (__PTHREAD_SPIN): Likewise.
556 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
557 (__PTHREAD_SPIN): Likewise.
559 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
560 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
561 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
562 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
564 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
565 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
566 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
567 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
569 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
570 strlen symbol for non multi-arch builds.
571 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
572 missing hidden_def and weak_alias.
574 2014-04-08 Carlos O'Donell <carlos@redhat.com>
576 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
578 2014-04-07 Will Newton <will.newton@linaro.org>
580 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
581 and contents. [!_LIBC] Remove #ifndef and contents.
582 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
583 * string/memccpy.c (__memccpy): Use ANSI prototype.
584 * string/memfrob.c (memfrob): Likewise.
585 * string/strcoll.c (STRCOLL): Likewise.
586 * string/strlen.c (strlen): Likewise.
587 * string/strtok.c (STRTOK): Likewise.
588 * string/strcat.c: Remove unused #include of memcopy.h.
589 (strcat): Use ANSI prototype.
590 * string/strchr.c: Remove unused #include of memcopy.h.
591 (strchr): Use ANSI prototype.
592 * string/strcmp.c: Remove unused #include of memcopy.h.
593 (strcmp): Use ANSI prototype.
594 * string/strcpy.c: Remove unused #include of memcopy.h.
595 (strcpy): Use ANSI prototype.
597 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
599 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
600 * config.make.in (config-extra-cppflags): Set it from
602 * configure.ac (libc_extra_cflags): Make it accumulate over
604 (libc_extra_cppflags): New flag.
605 * configure. Regenerate.
606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
607 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
608 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
612 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
613 result for FE_DOWNWARD rounding mode.
614 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
616 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
618 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
620 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
621 in function argument name.
623 2014-04-03 David Svoboda <svoboda@cert.org>
626 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
629 2014-04-03 Roland McGrath <roland@hack.frob.com>
631 * elf/dl-unmap-segments.h: New file.
632 * sysdeps/generic/ldsodefs.h
633 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
634 * elf/dl-close.c: Include <dl-unmap-segments.h>.
635 * elf/dl-fptr.c: Likewise.
636 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
637 * sysdeps/aarch64/tlsdesc.c: Likewise.
638 * sysdeps/arm/tlsdesc.c: Likewise.
639 * sysdeps/i386/tlsdesc.c: Likewise.
640 * sysdeps/tile/dl-runtime.c: Likewise.
641 * sysdeps/x86_64/tlsdesc.c: Likewise.
642 * elf/dl-load.h: New file.
643 * elf/dl-load.c: Include it.
644 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
645 Macros moved to dl-load.h.
646 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
647 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
648 Use _dl_unmap_segments in place of __munmap.
649 Break out segment-mapping loop into ...
650 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
652 2014-04-03 Will Newton <will.newton@linaro.org>
654 * elf/dl-lookup.c (do_lookup_x): Remove comment
655 referring to nested function and move variable
656 declarations down to before first use.
658 2014-04-02 Joseph Myers <joseph@codesourcery.com>
662 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
664 * math/s_catanf.c (__catanf): Likewise.
665 * math/s_catanh.c (__catanh): Likewise.
666 * math/s_catanhf.c (__catanhf): Likewise.
667 * math/s_catanhl.c (__catanhl): Likewise.
668 * math/s_catanl.c (__catanl): Likewise.
669 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
670 by positive zero when computing -Inf result.
671 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
672 (catanh_test): Likewise.
673 * sysdeps/i386/fpu/libm-test-ulps: Update.
674 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
677 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
678 instead of using underflowing value in computing result.
679 * math/s_clog10.c (__clog10): Likewise.
680 * math/s_clog10f.c (__clog10f): Likewise.
681 * math/s_clog10l.c (__clog10l): Likewise.
682 * math/s_clogf.c (__clogf): Likewise.
683 * math/s_clogl.c (__clogl): Likewise.
684 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
685 (clog10_test): Likewise.
686 * sysdeps/i386/fpu/libm-test-ulps: Update.
687 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
689 2014-04-02 Alan Modra <amodra@gmail.com>
692 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
693 output when value is near a power of two. Use int64_t for lx and
694 remove casts. Use decimal rather than hex exponent constants.
695 Don't use long double multiplication when double will suffice.
696 * math/libm-test.inc (nextafter_test_data): Add tests.
697 * NEWS: Add 16739 and 16786 to bug list.
699 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
701 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
703 2014-04-01 Will Newton <will.newton@linaro.org>
705 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
706 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
708 2014-04-01 Florian Weimer <fweimer@redhat.com>
711 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
712 * nptl/tst-setuid2.c: New file.
713 * nptl/Makefile (xtests): Add tst-setuid2.
715 2014-04-01 Alan Modra <amodra@gmail.com>
718 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
720 2014-03-31 Joseph Myers <joseph@codesourcery.com>
724 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
725 set errno as appropriate.
726 * math/w_scalbf.c (__scalbf): Likewise.
727 * math/w_scalbl.c (__scalbl): Likewise.
728 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
729 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
730 * math/libm-test.inc (scalb_test_data): Add errno expectations.
734 * math/w_atan2.c: Include <errno.h>.
735 (__atan2): Set errno for result underflowing to zero.
736 * math/w_atan2f.c: Include <errno.h>.
737 (__atan2f): Set errno for result underflowing to zero.
738 * math/w_atan2l.c: Include <errno.h>.
739 (__atan2l): Set errno for result underflowing to zero.
740 * math/auto-libm-test-in: Don't allow missing errno for some atan2
742 * math/auto-libm-test-out: Regenerated.
744 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
746 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
747 Encode instruction correctly in little endian.
748 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
750 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
752 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
754 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
757 2014-03-31 Joseph Myers <joseph@codesourcery.com>
760 * sysdeps/unix/sysv/linux/kernel-features.h
761 [__sparc__ && !__arch64__ && !__sparc_v9__]
762 (__ASSUME_SET_ROBUST_LIST): Do not define.
763 [__sparc__ && !__arch64__ && !__sparc_v9__]
764 (__ASSUME_FUTEX_LOCK_PI): Likewise.
765 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
767 * sysdeps/unix/sysv/linux/arm/kernel-features.h
768 (__ASSUME_FUTEX_LOCK_PI): Undefine.
769 (__ASSUME_REQUEUE_PI): Likewise.
770 (__ASSUME_SET_ROBUST_LIST): Likewise.
771 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
772 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
774 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
775 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
777 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
779 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
781 * sysdeps/unix/sysv/linux/mips/kernel-features.h
782 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
784 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
785 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
789 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
790 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
791 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
793 2014-03-31 Will Newton <will.newton@linaro.org>
795 * benchtests/Makefile (bench): Add ffs and ffsll to list
797 * benchtests/ffs-inputs: New file.
798 * benchtests/ffsll-inputs: Likewise.
800 2014-03-29 Joseph Myers <joseph@codesourcery.com>
803 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
804 too large before casting to int.
805 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
806 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
807 * math/libm-test.inc (scalb_test_data): Add more tests.
809 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
811 * benchtests/Makefile (DETAILED_OPT): New make option.
812 (bench-func): Run benchmark program with -d if DETAILED_OPT is
814 * benchtests/bench-skeleton.c: Include stdbool.h.
815 (main): Store and print timings per input.
816 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
817 member to each argument value.
818 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
819 (_print_arg_data): Initialize per-input timing to 0.
821 * benchtests/Makefile (timing-type): New binary.
822 (bench-clean): Also remove bench-timing-type.
823 (bench): New target for timing-type.
824 (bench-func): Print output in JSON format.
825 * benchtests/bench-skeleton.c (main): Print output in JSON
827 * benchtests/bench-timing-type.c: New file.
828 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
829 (TIMING_PRINT_STATS): Remove.
830 * benchtests/scripts/bench.py (_print_arg_data): Store variant
833 * benchtests/bench-modf.c: Remove.
834 * benchtests/modf-inputs: New inputs file.
836 2014-03-28 Joseph Myers <joseph@codesourcery.com>
839 * math/s_clog10.c (M_PI_LOG10E): New macro.
840 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
841 imaginary parts are 0.
842 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
843 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
844 imaginary parts are 0.
845 * math/s_clog10l.c (M_PI_LOG10El): New macro.
846 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
847 imaginary parts are 0.
848 * math/libm-test.inc (clog10_test_data): Update expected results
849 for when real and imaginary parts are 0.
851 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
853 * elf/dl-load.c: Finish conversion of __builtin_expect into
856 2014-03-27 Joseph Myers <joseph@codesourcery.com>
859 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
860 1+x for argument with exponent below -67.
861 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
863 * math/auto-libm-test-in: Add more tests of exp.
864 * math/auto-libm-test-out: Regenerated.
866 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
869 * inet/getnetgrent_r.c (get_nonempty_val): New function.
870 (nscd_getnetgrent): Use it.
873 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
876 2014-03-27 Andi Kleen <ak@linux.intel.com>
878 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
879 (lll_robust_lock, lll_cond_lock, lll_timedlock)
880 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
881 (lll_robust_unlock): Remove out of line section. Use cfi
883 (LLL_STUB_UNWIND_INFO*): Remove.
884 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
885 (lll_robust_lock, lll_cond_lock, lll_timedlock)
886 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
887 (lll_robust_unlock): Remove out of line section. Use cfi
889 (LLL_STUB_UNWIND_INFO*): Remove.
891 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
894 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
897 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
899 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
901 2014-03-26 Joseph Myers <joseph@codesourcery.com>
904 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
906 * math/test-fenv-preserve.c: New file.
907 * math/Makefile (tests): Add test-fenv-preserve.
909 2014-03-26 Will Newton <will.newton@linaro.org>
911 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
913 2014-03-25 Roland McGrath <roland@hack.frob.com>
915 * scripts/versionlist.awk: Partition the version sets and emit all
916 GLIBC_* (sorted) before all others (sorted).
918 2014-03-25 Joseph Myers <joseph@codesourcery.com>
920 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
923 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
925 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
928 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
931 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
933 2014-03-25 Andreas Schwab <schwab@suse.de>
935 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
936 label to be used after in6ailist is initialized.
938 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
940 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
941 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
943 2014-03-25 Joseph Myers <joseph@codesourcery.com>
947 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
949 (fp_formats): Update initializers.
950 (init_fp_formats): Initialize new field.
951 (output_for_one_input_case): Allow underflow for results up to
953 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
954 * math/auto-libm-test-in: Don't mark some underflows from asin and
956 * math/auto-libm-test-out: Regenerated.
957 * sysdeps/i386/fpu/libm-test-ulps: Update.
958 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
960 2014-03-25 Andreas Schwab <schwab@suse.de>
962 * libio/Makefile (tst-ftell-partial-wide-ENV)
963 (tst-ftell-active-handler-ENV): Define.
965 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
967 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
969 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
971 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
973 2014-03-24 Joseph Myers <joseph@codesourcery.com>
975 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
976 * sysdeps/x86_64/fpu/multiarch/e_exp.c
977 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
979 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
982 * elf/dl-load.c (open_verify): Add mode parameter.
983 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
984 (open_path): Change from boolean 'secure' to complete flag 'mode'
985 (_dl_map_object): Adjust.
986 * elf/Makefile (tests): Add tst-dlopen-aout.
987 * elf/tst-dlopen-aout.c: New test.
989 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
992 * sysdeps/unix/sysv/linux/s390/bits/stat.h
993 (struct stat): Rename member pad0 to __glibc_reserved0.
996 * sysdeps/s390/s390-32/bits/wordsize.h
997 (__WORDSIZE32_SIZE_ULONG): New define.
998 * sysdeps/s390/s390-64/bits/wordsize.h
999 (__WORDSIZE32_SIZE_ULONG): Likewise.
1000 * sysdeps/generic/stdint.h (SIZE_MAX):
1001 Define as UL if __WORDSIZE32_SIZE_ULONG.
1004 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
1005 (__glibc_reserved0): New variable.
1006 (sa_flags): Change type to int.
1008 * posix/Makefile (before-compile): Use += before-compile instead
1011 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
1012 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
1014 2014-03-20 Andreas Schwab <schwab@suse.de>
1017 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
1018 non-matching result from nscd.
1020 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1022 * scripts/bench.py: Moved to ...
1023 * benchtests/scripts/bench.py: ... here.
1024 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
1026 2014-03-24 Andreas Schwab <schwab@suse.de>
1029 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
1030 alloca_account and account alloca use for struct in6ailist.
1032 2014-03-24 Joseph Myers <joseph@codesourcery.com>
1035 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
1036 rounding mode to recompute results that overflow to infinity or
1038 * math/auto-libm-test-in: Don't mark tests as expected to fail for
1040 * math/auto-libm-test-out: Regenerated.
1041 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
1042 (ccosh_test): Likewise.
1043 (csin_test_data): Use plus_oflow.
1044 (csin_test): Use ALL_RM_TEST.
1045 (csinh_test_data): Use plus_oflow.
1046 (csinh_test): Use ALL_RM_TEST.
1047 * sysdeps/i386/fpu/libm-test-ulps: Update.
1048 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1050 2014-03-21 Joseph Myers <joseph@codesourcery.com>
1052 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
1053 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
1054 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
1057 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
1059 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
1060 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
1061 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
1062 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
1064 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
1065 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
1067 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
1068 * sysdeps/i386/fpu/libm-test-ulps: Update.
1069 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1071 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1073 * scripts/bench.pl: Remove file.
1074 * scripts/bench.py: New benchmark script.
1075 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
1076 * benchtests/README: Mention python dependency.
1077 * scripts/pylintrc: New file.
1078 * scripts/pylint: New file.
1080 * bits/mathdef.h: Use #ifdef instead of #if.
1081 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
1082 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
1083 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
1084 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
1085 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
1086 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
1088 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1089 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1091 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
1092 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
1093 and strpbrk-ppc64 objects.
1094 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1095 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
1096 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
1097 multiarch strpbrk for POWER7.
1098 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
1099 multiarch strpbrk for PPC64.
1100 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
1102 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
1105 2014-03-20 Joseph Myers <joseph@codesourcery.com>
1107 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
1108 (atan_test): Likewise.
1109 (atanh_test_data): Use NO_TEST_INLINE for two tests.
1110 (atanh_test): Use ALL_RM_TEST.
1111 (atan2_test_data): Likewise.
1112 (cabs_test): Likewise.
1113 (cacosh_test): Likewise.
1114 (carg_test): Likewise.
1115 (casin_test): Likewise.
1116 (casinh_test): Likewise.
1117 (cbrt_test): Likewise.
1118 (csqrt_test): Likewise.
1119 (erf_test): Likewise.
1120 (erfc_test): Likewise.
1121 (pow10_test): Likewise.
1122 (exp2_test): Likewise.
1123 (hypot_test): Likewise.
1124 (j0_test): Likewise.
1125 (j1_test): Likewise.
1126 (lgamma_test): Likewise.
1127 (gamma_test): Likewise.
1128 (sincos_test): Likewise.
1129 (tanh_test): Likewise.
1130 (y0_test): Likewise.
1131 (y1_test): Likewise.
1132 * sysdeps/i386/fpu/libm-test-ulps: Update.
1133 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1135 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1137 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
1138 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
1139 and strcspn-ppc64 objects.
1140 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1141 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
1142 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
1143 multiarch strcspn for POWER7.
1144 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
1145 multiarch strcspn for PPC64.
1146 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
1148 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
1151 2014-03-20 Joseph Myers <joseph@codesourcery.com>
1153 * math/gen-libm-test.pl (generate_testfile): Expect only function
1154 name as argument to AUTO_TESTS_* and pass results for all rounding
1155 modes to parse_args.
1156 (parse_auto_input): Separate inputs of automatic tests from
1157 outputs before storing in %auto_tests.
1158 * math/libm-test.inc (acos_test_data): Update call to
1160 (acos_test): Use ALL_RM_TEST.
1161 (acos_tonearest_test_data): Remove.
1162 (acos_test_tonearest): Likewise.
1163 (acos_towardzero_test_data): Likewise.
1164 (acos_test_towardzero): Likewise.
1165 (acos_downward_test_data): Likewise.
1166 (acos_test_downward): Likewise.
1167 (acos_upward_test_data): Likewise.
1168 (acos_test_upward): Likewise.
1169 (acosh_test_data): Update call to AUTO_TESTS_f_f.
1170 (asin_test_data): Likewise.
1171 (asin_test): Use ALL_RM_TEST.
1172 (asin_tonearest_test_data): Remove.
1173 (asin_test_tonearest): Likewise.
1174 (asin_towardzero_test_data): Likewise.
1175 (asin_test_towardzero): Likewise.
1176 (asin_downward_test_data): Likewise.
1177 (asin_test_downward): Likewise.
1178 (asin_upward_test_data): Likewise.
1179 (asin_test_upward): Likewise.
1180 (asinh_test_data): Update call to AUTO_TESTS_f_f.
1181 (atan_test_data): Likewise.
1182 (atanh_test_data): Likewise.
1183 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
1184 (cabs_test_data): Update call to AUTO_TESTS_c_f.
1185 (carg_test_data): Likewise.
1186 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
1187 (ccos_test_data): Update call to AUTO_TESTS_c_c.
1188 (ccosh_test_data): Likewise.
1189 (cexp_test_data): Likewise.
1190 (clog_test_data): Likewise.
1191 (clog10_test_data): Likewise.
1192 (cos_test_data): Update call to AUTO_TESTS_f_f.
1193 (cos_test): Use ALL_RM_TEST.
1194 (cos_tonearest_test_data): Remove.
1195 (cos_test_tonearest): Likewise.
1196 (cos_towardzero_test_data): Likewise.
1197 (cos_test_towardzero): Likewise.
1198 (cos_downward_test_data): Likewise.
1199 (cos_test_downward): Likewise.
1200 (cos_upward_test_data): Likewise.
1201 (cos_test_upward): Likewise.
1202 (cosh_test_data): Update call to AUTO_TESTS_f_f.
1203 (cosh_test): Use ALL_RM_TEST.
1204 (cosh_tonearest_test_data): Remove.
1205 (cosh_test_tonearest): Likewise.
1206 (cosh_towardzero_test_data): Likewise.
1207 (cosh_test_towardzero): Likewise.
1208 (cosh_downward_test_data): Likewise.
1209 (cosh_test_downward): Likewise.
1210 (cosh_upward_test_data): Likewise.
1211 (cosh_test_upward): Likewise.
1212 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
1213 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
1214 (ctan_test_data): Likewise.
1215 (ctan_test): Use ALL_RM_TEST.
1216 (ctan_tonearest_test_data): Remove.
1217 (ctan_test_tonearest): Likewise.
1218 (ctan_towardzero_test_data): Likewise.
1219 (ctan_test_towardzero): Likewise.
1220 (ctan_downward_test_data): Likewise.
1221 (ctan_test_downward): Likewise.
1222 (ctan_upward_test_data): Likewise.
1223 (ctan_test_upward): Likewise.
1224 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
1225 (ctanh_test): Use ALL_RM_TEST.
1226 (ctanh_tonearest_test_data): Remove.
1227 (ctanh_test_tonearest): Likewise.
1228 (ctanh_towardzero_test_data): Likewise.
1229 (ctanh_test_towardzero): Likewise.
1230 (ctanh_downward_test_data): Likewise.
1231 (ctanh_test_downward): Likewise.
1232 (ctanh_upward_test_data): Likewise.
1233 (ctanh_test_upward): Likewise.
1234 (erf_test_data): Update call to AUTO_TESTS_f_f.
1235 (erfc_test_data): Likewise.
1236 (exp_test_data): Likewise.
1237 (exp_test): Use ALL_RM_TEST.
1238 (exp_tonearest_test_data): Remove.
1239 (exp_test_tonearest): Likewise.
1240 (exp_towardzero_test_data): Likewise.
1241 (exp_test_towardzero): Likewise.
1242 (exp_downward_test_data): Likewise.
1243 (exp_test_downward): Likewise.
1244 (exp_upward_test_data): Likewise.
1245 (exp_test_upward): Likewise.
1246 (exp10_test_data): Update call to AUTO_TESTS_f_f.
1247 (exp10_test): Use ALL_RM_TEST.
1248 (exp10_tonearest_test_data): Remove.
1249 (exp10_test_tonearest): Likewise.
1250 (exp10_towardzero_test_data): Likewise.
1251 (exp10_test_towardzero): Likewise.
1252 (exp10_downward_test_data): Likewise.
1253 (exp10_test_downward): Likewise.
1254 (exp10_upward_test_data): Likewise.
1255 (exp10_test_upward): Likewise.
1256 (exp2_test_data): Update call to AUTO_TESTS_f_f.
1257 (expm1_test_data): Likewise.
1258 (expm1_test): Use ALL_RM_TEST.
1259 (expm1_tonearest_test_data): Remove.
1260 (expm1_test_tonearest): Likewise.
1261 (expm1_towardzero_test_data): Likewise.
1262 (expm1_test_towardzero): Likewise.
1263 (expm1_downward_test_data): Likewise.
1264 (expm1_test_downward): Likewise.
1265 (expm1_upward_test_data): Likewise.
1266 (expm1_test_upward): Likewise.
1267 (fma_test_data): Update call to AUTO_TESTS_fff_f.
1268 (fma_test): Use ALL_RM_TEST.
1269 (fma_towardzero_test_data): Remove.
1270 (fma_test_towardzero): Likewise.
1271 (fma_downward_test_data): Likewise.
1272 (fma_test_downward): Likewise.
1273 (fma_upward_test_data): Likewise.
1274 (fma_test_upward): Likewise.
1275 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
1276 (j0_test_data): Update call to AUTO_TESTS_f_f.
1277 (j1_test_data): Likewise.
1278 (jn_test_data): Update call to AUTO_TESTS_if_f.
1279 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
1280 (log_test_data): Update call to AUTO_TESTS_f_f.
1281 (log10_test_data): Likewise.
1282 (log1p_test_data): Likewise.
1283 (log2_test_data): Likewise.
1284 (pow_test_data): Update call to AUTO_TESTS_ff_f.
1285 (pow_tonearest_test_data): Likewise.
1286 (sin_test_data): Update call to AUTO_TESTS_f_f.
1287 (sin_test): Use ALL_RM_TEST.
1288 (sin_tonearest_test_data): Remove.
1289 (sin_test_tonearest): Likewise.
1290 (sin_towardzero_test_data): Likewise.
1291 (sin_test_towardzero): Likewise.
1292 (sin_downward_test_data): Likewise.
1293 (sin_test_downward): Likewise.
1294 (sin_upward_test_data): Likewise.
1295 (sin_test_upward): Likewise.
1296 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
1297 (sinh_test_data): Update call to AUTO_TESTS_f_f.
1298 (sinh_test): Use ALL_RM_TEST.
1299 (sinh_tonearest_test_data): Remove.
1300 (sinh_test_tonearest): Likewise.
1301 (sinh_towardzero_test_data): Likewise.
1302 (sinh_test_towardzero): Likewise.
1303 (sinh_downward_test_data): Likewise.
1304 (sinh_test_downward): Likewise.
1305 (sinh_upward_test_data): Likewise.
1306 (sinh_test_upward): Likewise.
1307 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
1308 (sqrt_test): Use ALL_RM_TEST.
1309 (sqrt_tonearest_test_data): Remove.
1310 (sqrt_test_tonearest): Likewise.
1311 (sqrt_towardzero_test_data): Likewise.
1312 (sqrt_test_towardzero): Likewise.
1313 (sqrt_downward_test_data): Likewise.
1314 (sqrt_test_downward): Likewise.
1315 (sqrt_upward_test_data): Likewise.
1316 (sqrt_test_upward): Likewise.
1317 (tan_test_data): Update call to AUTO_TESTS_f_f.
1318 (tan_test): Use ALL_RM_TEST.
1319 (tan_tonearest_test_data): Remove.
1320 (tan_test_tonearest): Likewise.
1321 (tan_towardzero_test_data): Likewise.
1322 (tan_test_towardzero): Likewise.
1323 (tan_downward_test_data): Likewise.
1324 (tan_test_downward): Likewise.
1325 (tan_upward_test_data): Likewise.
1326 (tan_test_upward): Likewise.
1327 (tanh_test_data): Update call to AUTO_TESTS_f_f.
1328 (tgamma_test_data): Likewise.
1329 (y0_test_data): Likewise.
1330 (y1_test_data): Likewise.
1331 (yn_test_data): Update call to AUTO_TESTS_if_f.
1332 (main): Do not call removed functions.
1334 2014-03-19 Joseph Myers <joseph@codesourcery.com>
1336 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
1337 (ldexp_test_data): Remove.
1338 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
1340 (scalb_test): Use ALL_RM_TEST.
1342 2014-03-19 Andreas Schwab <schwab@suse.de>
1344 * nscd/nscd.service: Also invalidate netgroup cache on reload.
1346 2014-03-19 Joseph Myers <joseph@codesourcery.com>
1349 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1350 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
1351 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
1352 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1353 (__ASSUME_PREADV): Undefine.
1354 (__ASSUME_PWRITEV): Likewise.
1356 2014-03-18 Roland McGrath <roland@hack.frob.com>
1358 * bits/mman-linux.h: Add comment about non-Linux use.
1359 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
1360 bits/mman-linux.h resting place.
1362 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
1363 * bits/mman-linux.h: ... here.
1365 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1367 * conform/conformtest.pl: Add standard definition when calling C
1368 preprocessor on data files.
1369 (checknamespace): Remove unused variable.
1371 2014-03-18 Joseph Myers <joseph@codesourcery.com>
1373 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
1374 minus_oflow, plus_uflow and minus_uflow in expected results.
1375 * math/libm-test.inc (scalbn_test_data): Add more tests of
1376 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
1378 (scalbn_test): Use ALL_RM_TEST.
1379 (scalbln_test_data): Add more tests of negative arguments. Use
1380 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
1381 (scalbln_test): Use ALL_RM_TEST.
1383 2014-03-18 Roland McGrath <roland@hack.frob.com>
1385 * scripts/abilist.awk: Ignore symbols marked with .hidden.
1387 2014-03-18 Will Newton <will.newton@linaro.org>
1389 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
1392 2014-03-18 Joseph Myers <joseph@codesourcery.com>
1394 * Makerules [!subdir] (check-abi): Exit with error status if a
1397 2014-03-17 Joseph Myers <joseph@codesourcery.com>
1399 * math/libm-test.inc (nearbyint_test_data): Include all tests used
1400 for rint. Include results for all rounding modes.
1401 (nearbyint_test): Use ALL_RM_TEST.
1402 (rint_test_data): Include all tests used for nearbyint.
1404 2014-03-17 Will Newton <will.newton@linaro.org>
1406 * nptl/sysdeps/pthread/pthread.h: Revert previous
1409 * sysdeps/generic/ldsodefs.h: Revert previous
1412 * libio/genops.c: Revert previous change.
1413 * libio/libioP.h: Likewise.
1414 * stdio-common/vfprintf.c: Likewise.
1416 * sysdeps/generic/math_private.h: Revert previous
1419 * sysdeps/generic/math_private.h: Check whether
1420 HAVE_RM_CTX is defined with #ifdef rather
1423 * argp/argp-fmtstream.h: Check whether
1424 __STRICT_ANSI__ is defined with #ifdef rather
1426 * argp/argp.h: Likewise.
1428 * libio/genops.c: Check whether
1429 _IO_JUMPS_OFFSET is defined with #ifdef rather
1431 * libio/libioP.h: Likewise.
1432 * stdio-common/vfprintf.c: Likewise.
1434 * sysdeps/generic/ldsodefs.h: Check whether
1435 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
1438 * nptl/sysdeps/pthread/pthread.h: Check
1439 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
1442 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
1444 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
1446 * libio/tst-ftell-active-handler.c (do_append_test): Add a
1450 * libio/fileops.c (_IO_file_open): Seek to end of file but
1451 don't cache the offset.
1452 (get_file_offset): Remove function.
1453 (do_ftell): Use cached offset when available.
1454 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
1455 don't cache the offset.
1456 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
1458 (do_one_test): Call it.
1459 (do_ftell_test): Fix up expected old offset for a+ mode.
1460 * libio/wfileops.c (do_ftell_wide): Used cached offset when
1463 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
1464 up test status with function return status.
1465 (do_write_test): Likewise.
1466 (do_append_test): Likewise.
1468 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
1469 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
1472 2014-03-17 Joseph Myers <joseph@codesourcery.com>
1474 * math/gen-libm-test.pl (parse_args): Handle results specified for
1475 each rounding mode separately.
1476 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
1477 tests and results from lrint_tonearest_test_data,
1478 lrint_towardzero_test_data, lrint_downward_test_data and
1479 lrint_upward_test_data.
1480 (lrint_test): Use ALL_RM_TEST.
1481 (lrint_tonearest_test_data): Remove.
1482 (lrint_test_tonearest): Likewise.
1483 (lrint_towardzero_test_data): Likewise.
1484 (lrint_test_towardzero): Likewise.
1485 (lrint_downward_test_data): Likewise.
1486 (lrint_test_downward): Likewise.
1487 (lrint_upward_test_data): Likewise.
1488 (lrint_test_upward): Likewise.
1489 (llrint_test_data): Merge in per-rounding-mode tests and results
1490 from llrint_tonearest_test_data, llrint_towardzero_test_data,
1491 llrint_downward_test_data and llrint_upward_test_data.
1492 (llrint_test): Use ALL_RM_TEST.
1493 (llrint_tonearest_test_data): Remove.
1494 (llrint_test_tonearest): Likewise.
1495 (llrint_towardzero_test_data): Likewise.
1496 (llrint_test_towardzero): Likewise.
1497 (llrint_downward_test_data): Likewise.
1498 (llrint_test_downward): Likewise.
1499 (llrint_upward_test_data): Likewise.
1500 (llrint_test_upward): Likewise.
1501 (rint_test_data): Merge in per-rounding-mode tests and results
1502 from rint_tonearest_test_data, rint_towardzero_test_data,
1503 rint_downward_test_data and rint_upward_test_data. Add
1504 per-rounding-mode results for tests not in those arrays.
1505 (rint_test): Use ALL_RM_TEST.
1506 (rint_tonearest_test_data): Remove.
1507 (rint_test_tonearest): Likewise.
1508 (rint_towardzero_test_data): Likewise.
1509 (rint_test_towardzero): Likewise.
1510 (rint_downward_test_data): Likewise.
1511 (rint_test_downward): Likewise.
1512 (rint_upward_test_data): Likewise.
1513 (rint_test_upward): Likewise.
1514 (main): Don't call removed functions.
1516 2014-03-14 Roland McGrath <roland@hack.frob.com>
1518 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
1519 "Compiled on ..." crapola. It is anti-useful.
1521 2014-03-14 Joseph Myers <joseph@codesourcery.com>
1523 * scripts/evaluate-test.sh: Handle fourth argument to determine
1524 whether test run should stop on failure.
1525 * Makeconfig (stop-on-test-failure): New variable.
1526 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
1527 $(stop-on-test-failure).
1528 * Makefile (tests): Give a summary of results from testing and
1529 exit with failure status if they include an ERROR or FAIL.
1531 * manual/install.texi (Configuring and compiling): Mention
1532 stop-on-test-failure=y.
1533 * INSTALL: Regenerated.
1535 2014-03-14 Roland McGrath <roland@hack.frob.com>
1537 * scripts/versionlist.awk: New file.
1538 * Makerules [$(build-shared) = yes]
1539 (postclean-generated): Add Versions.def, not Versions.def.v and
1541 ($(common-objpfx)Versions.def.v.i): Target removed.
1542 ($(common-objpfx)Versions.def): New target.
1543 ($(common-objpfx)Versions.all): Depend on that rather that
1544 $(common-objpfx)Versions.def.v.
1545 * Versions.def: File removed.
1547 * Makeconfig (+gccwarn): Add -Wundef.
1548 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
1549 a dl-sysdep.h breaking its contract.
1550 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
1551 * include/stackinfo.h: New file.
1552 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
1553 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
1554 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
1555 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
1556 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
1557 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
1558 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1559 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1560 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1561 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1562 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1563 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
1564 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1565 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1566 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1568 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1571 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
1573 * math/libm-test.inc (round_test_data): Add more tests.
1576 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
1578 * math/libm-test.inc (nearbyint_test_data): Add more tests.
1581 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
1583 * math/libm-test.inc (ceil_test_data): Add more tests.
1585 * math/libm-test.inc (trunc_test_data): Add more tests related to
1588 2014-03-14 Roland McGrath <roland@hack.frob.com>
1590 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
1591 with #if rather than #ifdef.
1592 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
1594 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
1596 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
1597 first. Disable AVX-512 GCC support if assembler doesn't support
1599 * sysdeps/x86_64/configure: Regenerated.
1601 2014-03-13 Carlos O'Donell <carlos@redhat.com>
1603 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
1604 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
1605 (__old_pthread_attr_setstack): Likewise.
1606 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
1607 [!_STACK_GROWS_DOWN]: Likewise.
1609 2014-03-13 Mike Frysinger <vapier@gentoo.org>
1611 * config.make.in (have-bash2): Delete.
1612 * configure.ac (libc_cv_have_bash2): Delete.
1613 * configure: Regenerate.
1614 * elf/Makefile (common-ldd-rewrite): Rename to ...
1615 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
1616 (sh-ldd-rewrite): Delete.
1617 (bash-ldd-rewrite): Delete.
1618 (have-bash2): Delete checks.
1619 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
1622 * config.make.in (have-ksh): Delete.
1624 * configure.ac (libc_cv_have_ksh): Delete.
1625 * configure: Regenerate.
1627 * elf/Makefile: Delete $(have-ksh) check.
1628 ($(objpfx)sotruss): Change KSH to BASH.
1629 * elf/sotruss.ksh: Rename to ...
1630 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
1631 function style to match POSIX. Drop ksh vim mode setting.
1633 * manual/time.texi (Specifying the Time Zone with TZ): Change
1634 Tuesday to Thursday.
1636 * debug/tst-longjmp_chk2.c: Update header comment.
1637 (stackoverflow_handler): Add comment. Call assert on pass value.
1639 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
1641 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
1642 (HAVE_AVX512_ASM_SUPPORT): Likewise.
1643 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
1644 (La_x86_64_vector): Add zmm.
1645 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
1646 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
1647 ($(objpfx)tst-audit10): New target.
1648 ($(objpfx)tst-audit10.out): Likewise.
1649 (tst-audit10-ENV): New.
1650 (AVX512-CFLAGS): Likewise.
1651 (CFLAGS-tst-audit10.c): Likewise.
1652 (CFLAGS-tst-auditmod10a.c): Likewise.
1653 (CFLAGS-tst-auditmod10b.c): Likewise.
1654 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
1655 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
1656 * sysdeps/x86_64/configure: Regenerated.
1657 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
1658 AVX-512 zmm register support.
1659 (_dl_x86_64_save_sse): Likewise.
1660 (_dl_x86_64_restore_sse): Likewise.
1661 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
1662 size vector registers.
1663 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
1664 (ZMM_SIZE): Likewise.
1665 * sysdeps/x86_64/tst-audit10.c: New file.
1666 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
1667 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
1669 2014-03-13 Roland McGrath <roland@hack.frob.com>
1671 * configure.ac (HAVE_EHDR_START): New check.
1672 * configure: Regenerated.
1673 * config.h.in (HAVE_EHDR_START): New #undef.
1674 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
1675 assuming the lowest-addressed segment maps the start of the file.
1677 2014-03-13 Joseph Myers <joseph@codesourcery.com>
1679 * INSTALL: Regenerated.
1681 2014-03-13 Will Newton <will.newton@linaro.org>
1683 * manual/setjmp.texi (System V contexts): Improve
1684 clarity and grammar of documentation.
1686 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
1689 * elf/Makefile (tests): Add tst-pie2.
1690 (tests-pie): Add tst-pie2.
1691 * elf/tst-pie2.c: New file.
1692 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
1694 * elf/rtld.c (map_doit): Load executable as lt_executable.
1695 (dl_main): Likewise.
1697 2014-03-12 Joseph Myers <joseph@codesourcery.com>
1700 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1701 (__ASSUME_PSELECT): Undefine.
1703 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1706 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
1707 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
1709 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
1710 selector for static builds.
1712 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1715 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
1718 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1720 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
1721 IFUNC selector for static builds.
1723 2014-03-11 Joseph Myers <joseph@codesourcery.com>
1725 * sysdeps/mips/math_private.h [__mips_hard_float]
1726 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
1727 libc_feresetround_mips_ctx.
1728 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
1729 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
1730 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
1733 * math/s_nextafter.c (__nextafter): Do not return value from
1734 overflowing computation.
1735 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
1736 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
1737 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
1739 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
1741 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
1742 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
1744 2014-03-11 Roland McGrath <roland@hack.frob.com>
1746 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
1747 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
1748 Move sfi_sp use from the load-multiple (that no longer sets sp) to
1749 the new mov targetting sp.
1751 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1754 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
1755 Define it for static builds as well.
1756 (NO_BZERO_IMPL): Likewise.
1758 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1760 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
1761 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
1762 multiarch strspn for PPC64.
1763 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
1764 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
1765 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1766 (__libc_ifunc_impl_list): Likewise.
1767 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
1768 multiarch optimizations
1769 * string/strspn.c (strspn): Using macro to redefine symbol name.
1771 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1772 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1774 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
1775 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
1776 multiarch strncat for PPC64.
1777 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
1778 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
1779 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1780 (__libc_ifunc_impl_list): Likewise.
1781 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
1782 multiarch optimizations
1784 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1787 * nscd/nscd.service: Make service type forking.
1789 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1791 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
1792 sign in non default rounding modes.
1793 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
1795 2014-03-08 Joseph Myers <joseph@codesourcery.com>
1797 * math/libm-test.inc (ALL_RM_TEST): New macro.
1798 (ceil_test): Use ALL_RM_TEST.
1799 (cimag_test): Likewise.
1800 (conj_test): Likewise.
1801 (copysign_test): Likewise.
1802 (cproj_test): Likewise.
1803 (creal_test): Likewise.
1804 (fabs_test): Likewise.
1805 (floor_test): Likewise.
1806 (fmax_test): Likewise.
1807 (fmin_test): Likewise.
1808 (fmod_test): Likewise.
1809 (fpclassify_test): Likewise.
1810 (frexp_test): Likewise.
1811 (ilogb_test): Likewise.
1812 (isfinite_test): Likewise.
1813 (finite_test): Likewise.
1814 (isgreater_test): Likewise.
1815 (isgreaterequal_test): Likewise.
1816 (isinf_test): Likewise.
1817 (isless_test): Likewise.
1818 (islessequal_test): Likewise.
1819 (islessgreater_test): Likewise.
1820 (isnan_test): Likewise.
1821 (isnormal_test): Likewise.
1822 (issignaling_test): Likewise.
1823 (isunordered_test): Likewise.
1824 (logb_test): Likewise.
1825 (logb_downward_test_data): Remove.
1826 (logb_test_downward): Likewise.
1827 (lround_test): Use ALL_RM_TEST.
1828 (llround_test): Likewise.
1829 (modf_test): Likewise.
1830 (nexttoward_test): Likewise.
1831 (remainder_test): Likewise.
1832 (drem_test): Likewise.
1833 (remainder_tonearest_test_data): Likewise.
1834 (remainder_test_tonearest): Likewise.
1835 (drem_test_tonearest): Likewise.
1836 (remainder_towardzero_test_data): Likewise.
1837 (remainder_test_towardzero): Likewise.
1838 (drem_test_towardzero): Likewise.
1839 (remainder_downward_test_data): Likewise.
1840 (remainder_test_downward): Likewise.
1841 (drem_test_downward): Likewise.
1842 (remainder_upward_test_data): Likewise.
1843 (remainder_test_upward): Likewise.
1844 (drem_test_upward): Likewise.
1845 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
1846 (round_test): Use ALL_RM_TEST.
1847 (signbit_test): Likewise.
1848 (trunc_test): Likewise.
1849 (significand_test): Likewise.
1850 (main): Don't call removed functions.
1852 2014-03-07 Joseph Myers <joseph@codesourcery.com>
1855 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
1857 (ILL_ILLOPN): Likewise.
1858 (ILL_ILLADR): Likewise.
1859 (ILL_ILLTRP): Likewise.
1860 (ILL_PRVOPC): Likewise.
1861 (ILL_PRVREG): Likewise.
1862 (ILL_COPROC): Likewise.
1863 (ILL_BADSTK): Likewise.
1864 (FPE_INTDIV): Likewise.
1865 (FPE_INTOVF): Likewise.
1866 (FPE_FLTDIV): Likewise.
1867 (FPE_FLTOVF): Likewise.
1868 (FPE_FLTUND): Likewise.
1869 (FPE_FLTRES): Likewise.
1870 (FPE_FLTINV): Likewise.
1871 (FPE_FLTSUB): Likewise.
1872 (SEGV_MAPERR): Likewise.
1873 (SEGV_ACCERR): Likewise.
1874 (BUS_ADRALN): Likewise.
1875 (BUS_ADRERR): Likewise.
1876 (BUS_OBJERR): Likewise.
1877 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1878 (TRAP_TRACE): Likewise.
1879 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1881 (CLD_KILLED): Likewise.
1882 (CLD_DUMPED): Likewise.
1883 (CLD_TRAPPED): Likewise.
1884 (CLD_STOPPED): Likewise.
1885 (CLD_CONTINUED): Likewise.
1886 (POLL_IN): Likewise.
1887 (POLL_OUT): Likewise.
1888 (POLL_MSG): Likewise.
1889 (POLL_ERR): Likewise.
1890 (POLL_PRI): Likewise.
1891 (POLL_HUP): Likewise.
1892 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
1894 (ILL_ILLOPN): Likewise.
1895 (ILL_ILLADR): Likewise.
1896 (ILL_ILLTRP): Likewise.
1897 (ILL_PRVOPC): Likewise.
1898 (ILL_PRVREG): Likewise.
1899 (ILL_COPROC): Likewise.
1900 (ILL_BADSTK): Likewise.
1901 (FPE_INTDIV): Likewise.
1902 (FPE_INTOVF): Likewise.
1903 (FPE_FLTDIV): Likewise.
1904 (FPE_FLTOVF): Likewise.
1905 (FPE_FLTUND): Likewise.
1906 (FPE_FLTRES): Likewise.
1907 (FPE_FLTINV): Likewise.
1908 (FPE_FLTSUB): Likewise.
1909 (SEGV_MAPERR): Likewise.
1910 (SEGV_ACCERR): Likewise.
1911 (BUS_ADRALN): Likewise.
1912 (BUS_ADRERR): Likewise.
1913 (BUS_OBJERR): Likewise.
1914 (BUS_MCEERR_AR): Likewise.
1915 (BUS_MCEERR_AO): Likewise.
1916 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1917 (TRAP_TRACE): Likewise.
1918 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1920 (CLD_KILLED): Likewise.
1921 (CLD_DUMPED): Likewise.
1922 (CLD_TRAPPED): Likewise.
1923 (CLD_STOPPED): Likewise.
1924 (CLD_CONTINUED): Likewise.
1925 (POLL_IN): Likewise.
1926 (POLL_OUT): Likewise.
1927 (POLL_MSG): Likewise.
1928 (POLL_ERR): Likewise.
1929 (POLL_PRI): Likewise.
1930 (POLL_HUP): Likewise.
1931 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
1932 (ILL_ILLOPN): Likewise.
1933 (ILL_ILLADR): Likewise.
1934 (ILL_ILLTRP): Likewise.
1935 (ILL_PRVOPC): Likewise.
1936 (ILL_PRVREG): Likewise.
1937 (ILL_COPROC): Likewise.
1938 (ILL_BADSTK): Likewise.
1939 (FPE_INTDIV): Likewise.
1940 (FPE_INTOVF): Likewise.
1941 (FPE_FLTDIV): Likewise.
1942 (FPE_FLTOVF): Likewise.
1943 (FPE_FLTUND): Likewise.
1944 (FPE_FLTRES): Likewise.
1945 (FPE_FLTINV): Likewise.
1946 (FPE_FLTSUB): Likewise.
1947 (SEGV_MAPERR): Likewise.
1948 (SEGV_ACCERR): Likewise.
1949 (BUS_ADRALN): Likewise.
1950 (BUS_ADRERR): Likewise.
1951 (BUS_OBJERR): Likewise.
1952 (BUS_MCEERR_AR): Likewise.
1953 (BUS_MCEERR_AO): Likewise.
1954 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1955 (TRAP_TRACE): Likewise.
1956 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1958 (CLD_KILLED): Likewise.
1959 (CLD_DUMPED): Likewise.
1960 (CLD_TRAPPED): Likewise.
1961 (CLD_STOPPED): Likewise.
1962 (CLD_CONTINUED): Likewise.
1963 (POLL_IN): Likewise.
1964 (POLL_OUT): Likewise.
1965 (POLL_MSG): Likewise.
1966 (POLL_ERR): Likewise.
1967 (POLL_PRI): Likewise.
1968 (POLL_HUP): Likewise.
1969 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
1971 (ILL_ILLOPN): Likewise.
1972 (ILL_ILLADR): Likewise.
1973 (ILL_ILLTRP): Likewise.
1974 (ILL_PRVOPC): Likewise.
1975 (ILL_PRVREG): Likewise.
1976 (ILL_COPROC): Likewise.
1977 (ILL_BADSTK): Likewise.
1978 (ILL_BADIADDR): Likewise.
1979 (ILL_BREAK): Likewise.
1980 (FPE_INTDIV): Likewise.
1981 (FPE_INTOVF): Likewise.
1982 (FPE_FLTDIV): Likewise.
1983 (FPE_FLTOVF): Likewise.
1984 (FPE_FLTUND): Likewise.
1985 (FPE_FLTRES): Likewise.
1986 (FPE_FLTINV): Likewise.
1987 (FPE_FLTSUB): Likewise.
1988 (FPE_DECOVF): Likewise.
1989 (FPE_DECDIV): Likewise.
1990 (FPE_DECERR): Likewise.
1991 (FPE_INVASC): Likewise.
1992 (FPE_INVDEC): Likewise.
1993 (SEGV_MAPERR): Likewise.
1994 (SEGV_ACCERR): Likewise.
1995 (SEGV_PSTKOVF): Likewise.
1996 (BUS_ADRALN): Likewise.
1997 (BUS_ADRERR): Likewise.
1998 (BUS_OBJERR): Likewise.
1999 (BUS_MCEERR_AR): Likewise.
2000 (BUS_MCEERR_AO): Likewise.
2001 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2002 (TRAP_TRACE): Likewise.
2003 (TRAP_BRANCH): Likewise.
2004 (TRAP_HWBKPT): Likewise.
2005 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2007 (CLD_KILLED): Likewise.
2008 (CLD_DUMPED): Likewise.
2009 (CLD_TRAPPED): Likewise.
2010 (CLD_STOPPED): Likewise.
2011 (CLD_CONTINUED): Likewise.
2012 (POLL_IN): Likewise.
2013 (POLL_OUT): Likewise.
2014 (POLL_MSG): Likewise.
2015 (POLL_ERR): Likewise.
2016 (POLL_PRI): Likewise.
2017 (POLL_HUP): Likewise.
2018 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
2019 (ILL_ILLOPN): Likewise.
2020 (ILL_ILLADR): Likewise.
2021 (ILL_ILLTRP): Likewise.
2022 (ILL_PRVOPC): Likewise.
2023 (ILL_PRVREG): Likewise.
2024 (ILL_COPROC): Likewise.
2025 (ILL_BADSTK): Likewise.
2026 (FPE_INTDIV): Likewise.
2027 (FPE_INTOVF): Likewise.
2028 (FPE_FLTDIV): Likewise.
2029 (FPE_FLTOVF): Likewise.
2030 (FPE_FLTUND): Likewise.
2031 (FPE_FLTRES): Likewise.
2032 (FPE_FLTINV): Likewise.
2033 (FPE_FLTSUB): Likewise.
2034 (SEGV_MAPERR): Likewise.
2035 (SEGV_ACCERR): Likewise.
2036 (BUS_ADRALN): Likewise.
2037 (BUS_ADRERR): Likewise.
2038 (BUS_OBJERR): Likewise.
2039 (BUS_MCEERR_AR): Likewise.
2040 (BUS_MCEERR_AO): Likewise.
2041 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2042 (TRAP_TRACE): Likewise.
2043 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2045 (CLD_KILLED): Likewise.
2046 (CLD_DUMPED): Likewise.
2047 (CLD_TRAPPED): Likewise.
2048 (CLD_STOPPED): Likewise.
2049 (CLD_CONTINUED): Likewise.
2050 (POLL_IN): Likewise.
2051 (POLL_OUT): Likewise.
2052 (POLL_MSG): Likewise.
2053 (POLL_ERR): Likewise.
2054 (POLL_PRI): Likewise.
2055 (POLL_HUP): Likewise.
2056 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
2057 (ILL_ILLOPN): Likewise.
2058 (ILL_ILLADR): Likewise.
2059 (ILL_ILLTRP): Likewise.
2060 (ILL_PRVOPC): Likewise.
2061 (ILL_PRVREG): Likewise.
2062 (ILL_COPROC): Likewise.
2063 (ILL_BADSTK): Likewise.
2064 (FPE_INTDIV): Likewise.
2065 (FPE_INTOVF): Likewise.
2066 (FPE_FLTDIV): Likewise.
2067 (FPE_FLTOVF): Likewise.
2068 (FPE_FLTUND): Likewise.
2069 (FPE_FLTRES): Likewise.
2070 (FPE_FLTINV): Likewise.
2071 (FPE_FLTSUB): Likewise.
2072 (SEGV_MAPERR): Likewise.
2073 (SEGV_ACCERR): Likewise.
2074 (BUS_ADRALN): Likewise.
2075 (BUS_ADRERR): Likewise.
2076 (BUS_OBJERR): Likewise.
2077 (BUS_MCEERR_AR): Likewise.
2078 (BUS_MCEERR_AO): Likewise.
2079 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2080 (TRAP_TRACE): Likewise.
2081 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2083 (CLD_KILLED): Likewise.
2084 (CLD_DUMPED): Likewise.
2085 (CLD_TRAPPED): Likewise.
2086 (CLD_STOPPED): Likewise.
2087 (CLD_CONTINUED): Likewise.
2088 (POLL_IN): Likewise.
2089 (POLL_OUT): Likewise.
2090 (POLL_MSG): Likewise.
2091 (POLL_ERR): Likewise.
2092 (POLL_PRI): Likewise.
2093 (POLL_HUP): Likewise.
2094 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
2095 (ILL_ILLOPN): Likewise.
2096 (ILL_ILLADR): Likewise.
2097 (ILL_ILLTRP): Likewise.
2098 (ILL_PRVOPC): Likewise.
2099 (ILL_PRVREG): Likewise.
2100 (ILL_COPROC): Likewise.
2101 (ILL_BADSTK): Likewise.
2102 (FPE_INTDIV): Likewise.
2103 (FPE_INTOVF): Likewise.
2104 (FPE_FLTDIV): Likewise.
2105 (FPE_FLTOVF): Likewise.
2106 (FPE_FLTUND): Likewise.
2107 (FPE_FLTRES): Likewise.
2108 (FPE_FLTINV): Likewise.
2109 (FPE_FLTSUB): Likewise.
2110 (SEGV_MAPERR): Likewise.
2111 (SEGV_ACCERR): Likewise.
2112 (BUS_ADRALN): Likewise.
2113 (BUS_ADRERR): Likewise.
2114 (BUS_OBJERR): Likewise.
2115 (BUS_MCEERR_AR): Likewise.
2116 (BUS_MCEERR_AO): Likewise.
2117 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2118 (TRAP_TRACE): Likewise.
2119 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2121 (CLD_KILLED): Likewise.
2122 (CLD_DUMPED): Likewise.
2123 (CLD_TRAPPED): Likewise.
2124 (CLD_STOPPED): Likewise.
2125 (CLD_CONTINUED): Likewise.
2126 (POLL_IN): Likewise.
2127 (POLL_OUT): Likewise.
2128 (POLL_MSG): Likewise.
2129 (POLL_ERR): Likewise.
2130 (POLL_PRI): Likewise.
2131 (POLL_HUP): Likewise.
2132 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
2133 (ILL_ILLOPN): Likewise.
2134 (ILL_ILLADR): Likewise.
2135 (ILL_ILLTRP): Likewise.
2136 (ILL_PRVOPC): Likewise.
2137 (ILL_PRVREG): Likewise.
2138 (ILL_COPROC): Likewise.
2139 (ILL_BADSTK): Likewise.
2140 (ILL_DBLFLT): Likewise.
2141 (ILL_HARDWALL): Likewise.
2142 (FPE_INTDIV): Likewise.
2143 (FPE_INTOVF): Likewise.
2144 (FPE_FLTDIV): Likewise.
2145 (FPE_FLTOVF): Likewise.
2146 (FPE_FLTUND): Likewise.
2147 (FPE_FLTRES): Likewise.
2148 (FPE_FLTINV): Likewise.
2149 (FPE_FLTSUB): Likewise.
2150 (SEGV_MAPERR): Likewise.
2151 (SEGV_ACCERR): Likewise.
2152 (BUS_ADRALN): Likewise.
2153 (BUS_ADRERR): Likewise.
2154 (BUS_OBJERR): Likewise.
2155 (BUS_MCEERR_AR): Likewise.
2156 (BUS_MCEERR_AO): Likewise.
2157 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2158 (TRAP_TRACE): Likewise.
2159 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2161 (CLD_KILLED): Likewise.
2162 (CLD_DUMPED): Likewise.
2163 (CLD_TRAPPED): Likewise.
2164 (CLD_STOPPED): Likewise.
2165 (CLD_CONTINUED): Likewise.
2166 (POLL_IN): Likewise.
2167 (POLL_OUT): Likewise.
2168 (POLL_MSG): Likewise.
2169 (POLL_ERR): Likewise.
2170 (POLL_PRI): Likewise.
2171 (POLL_HUP): Likewise.
2172 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
2173 (ILL_ILLOPN): Likewise.
2174 (ILL_ILLADR): Likewise.
2175 (ILL_ILLTRP): Likewise.
2176 (ILL_PRVOPC): Likewise.
2177 (ILL_PRVREG): Likewise.
2178 (ILL_COPROC): Likewise.
2179 (ILL_BADSTK): Likewise.
2180 (FPE_INTDIV): Likewise.
2181 (FPE_INTOVF): Likewise.
2182 (FPE_FLTDIV): Likewise.
2183 (FPE_FLTOVF): Likewise.
2184 (FPE_FLTUND): Likewise.
2185 (FPE_FLTRES): Likewise.
2186 (FPE_FLTINV): Likewise.
2187 (FPE_FLTSUB): Likewise.
2188 (SEGV_MAPERR): Likewise.
2189 (SEGV_ACCERR): Likewise.
2190 (BUS_ADRALN): Likewise.
2191 (BUS_ADRERR): Likewise.
2192 (BUS_OBJERR): Likewise.
2193 (BUS_MCEERR_AR): Likewise.
2194 (BUS_MCEERR_AO): Likewise.
2195 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2196 (TRAP_TRACE): Likewise.
2197 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2199 (CLD_KILLED): Likewise.
2200 (CLD_DUMPED): Likewise.
2201 (CLD_TRAPPED): Likewise.
2202 (CLD_STOPPED): Likewise.
2203 (CLD_CONTINUED): Likewise.
2204 (POLL_IN): Likewise.
2205 (POLL_OUT): Likewise.
2206 (POLL_MSG): Likewise.
2207 (POLL_ERR): Likewise.
2208 (POLL_PRI): Likewise.
2209 (POLL_HUP): Likewise.
2210 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
2211 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
2214 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
2215 before #include of <time.h>.
2216 [!__USE_XOPEN2K] (__need_timespec): Likewise.
2217 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
2218 (test-xfail-UNIX98/sched.h/conform): Likewise.
2220 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
2222 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
2223 error absence of trapping exception support.
2224 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
2226 2014-03-07 Joseph Myers <joseph@codesourcery.com>
2228 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
2229 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
2230 * timezone/Makefile (testdata): Move definition above include of
2232 (test-zones): New variable.
2233 (tests-special): Add zone files.
2234 (build-testdata): Use $(evaluate-test).
2236 * elf/Makefile (tests-special): Rename tests to end with .out.
2237 ($(objpfx)noload-mem): Likewise.
2238 ($(objpfx)tst-leaks1-mem): Likewise.
2239 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
2240 * iconv/Makefile (xtests-special): Change test-iconvconfig to
2241 $(objpfx)test-iconvconfig.out.
2242 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
2243 set -e inside subshell and redirect output to file.
2244 * iconvdata/Makefile (generated): Rename tests to end with .out.
2246 (tests-special): Rename tests to end with .out.
2247 ($(objpfx)mtrace-tst-loading): Likewise.
2248 * intl/Makefile (generated): Likewise.
2249 (tests-special): Likewise.
2250 ($(objpfx)mtrace-tst-gettext): Likewise.
2251 * misc/Makefile (generated): Likewise.
2252 (tests-special): Likewise.
2253 ($(objpfx)tst-error1-mem): Likewise.
2254 * nptl/Makefile (tests-special): Likewise.
2255 ($(objpfx)tst-stack3-mem): Likewise.
2256 (generated): Likewise.
2257 * posix/Makefile (generated): Likewise.
2258 (tests-special): Likewise.
2259 (xtests-special): Likewise.
2260 ($(objpfx)tst-fnmatch-mem): Likewise.
2261 ($(objpfx)bug-regex2-mem): Likewise.
2262 ($(objpfx)bug-regex14-mem): Likewise.
2263 ($(objpfx)bug-regex21-mem): Likewise.
2264 ($(objpfx)bug-regex31-mem): Likewise.
2265 ($(objpfx)tst-vfork3-mem): Likewise.
2266 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
2267 ($(objpfx)tst-pcre-mem): Likewise.
2268 ($(objpfx)tst-boost-mem): Likewise.
2269 ($(objpfx)bug-ga2-mem): Likewise.
2270 ($(objpfx)bug-glob2-mem): Likewise.
2271 * resolv/Makefile (generate): Likewise.
2272 (tests-special): Likewise.
2273 (xtests-special): Likewise.
2274 (generated): Likewise.
2275 ($(objpfx)mtrace-tst-leaks): Likewise.
2276 ($(objpfx)mtrace-tst-leaks2): Likewise.
2278 * scripts/merge-test-results.sh: New file.
2279 * Makefile (tests-special-notdir): New variable.
2280 (tests): Run merge-test-results.sh.
2282 * Rules (tests-special-notdir): New variable.
2283 (xtests-special-notdir): Likewise.
2284 (tests): Run merge-test-results.sh
2287 * Makeconfig (test-xfail-name): New variable.
2288 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
2289 compute variable name for expected failures.
2290 * conform/Makefile (conformtest-headers-data): New variable.
2291 (conformtest-standards): Likewise.
2292 (conformtest-headers-ISO): Likewise.
2293 (conformtest-headers-ISO99): Likewise.
2294 (conformtest-headers-ISO11): Likewise.
2295 (conformtest-headers-POSIX): Likewise.
2296 (conformtest-headers-XPG3): Likewise.
2297 (conformtest-headers-XPG4): Likewise.
2298 (conformtest-headers-UNIX98): Likewise.
2299 (conformtest-headers-XOPEN2K): Likewise.
2300 (conformtest-headers-POSIX2008): Likewise.
2301 (conformtest-headers-XOPEN2K8): Likewise.
2302 (conformtest-header-list-base): Likewise.
2303 (conformtest-header-list-tests): Likewise.
2304 (conformtest-header-base): Likewise.
2305 (conformtest-header-tests): Likewise.
2306 (tests-special): Add $(conformtest-header-list-tests). If
2307 [$(fast-check) && !$(cross-compiling)], add
2308 $(conformtest-header-tests) instead of
2309 $(objpfx)run-conformtest.out.
2310 (generated): Add $(conformtest-header-list-base). If
2311 [$(fast-check) && !$(cross-compiling)], add
2312 $(conformtest-header-base). Remove previous setting.
2313 ($(conformtest-header-list-tests)): New target.
2314 (test-xfail-run-conformtest): Remove variable.
2315 ($(objpfx)run-conformtest.out): Remove target.
2316 (test-xfail-ISO11/complex.h/conform): New variable.
2317 (test-xfail-ISO11/stdalign.h/conform): Likewise.
2318 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
2319 (test-xfail-XPG3/varargs.h/conform): Likewise.
2320 (test-xfail-XPG4/varargs.h/conform): Likewise.
2321 (test-xfail-UNIX98/varargs.h/conform): Likewise.
2322 (test-xfail-XPG4/ndbm.h/conform): Likewise.
2323 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
2324 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
2325 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
2326 (test-xfail-XPG3/fcntl.h/conform): Likewise.
2327 (test-xfail-XPG3/ftw.h/conform): Likewise.
2328 (test-xfail-XPG3/grp.h/conform): Likewise.
2329 (test-xfail-XPG3/langinfo.h/conform): Likewise.
2330 (test-xfail-XPG3/limits.h/conform): Likewise.
2331 (test-xfail-XPG3/pwd.h/conform): Likewise.
2332 (test-xfail-XPG3/search.h/conform): Likewise.
2333 (test-xfail-XPG3/signal.h/conform): Likewise.
2334 (test-xfail-XPG3/stdio.h/conform): Likewise.
2335 (test-xfail-XPG3/stdlib.h/conform): Likewise.
2336 (test-xfail-XPG3/string.h/conform): Likewise.
2337 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
2338 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
2339 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
2340 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
2341 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
2342 (test-xfail-XPG3/sys/types.h/conform): Likewise.
2343 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
2344 (test-xfail-XPG3/termios.h/conform): Likewise.
2345 (test-xfail-XPG3/time.h/conform): Likewise.
2346 (test-xfail-XPG3/unistd.h/conform): Likewise.
2347 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
2348 (test-xfail-XPG4/fcntl.h/conform): Likewise.
2349 (test-xfail-XPG4/langinfo.h/conform): Likewise.
2350 (test-xfail-XPG4/netdb.h/conform): Likewise.
2351 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
2352 (test-xfail-XPG4/signal.h/conform): Likewise.
2353 (test-xfail-XPG4/stdio.h/conform): Likewise.
2354 (test-xfail-XPG4/stdlib.h/conform): Likewise.
2355 (test-xfail-XPG4/stropts.h/conform): Likewise.
2356 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
2357 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
2358 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
2359 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
2360 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
2361 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
2362 (test-xfail-XPG4/sys/time.h/conform): Likewise.
2363 (test-xfail-XPG4/sys/types.h/conform): Likewise.
2364 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
2365 (test-xfail-XPG4/termios.h/conform): Likewise.
2366 (test-xfail-XPG4/ucontext.h/conform): Likewise.
2367 (test-xfail-XPG4/unistd.h/conform): Likewise.
2368 (test-xfail-XPG4/utmpx.h/conform): Likewise.
2369 (test-xfail-POSIX/sched.h/conform): Likewise.
2370 (test-xfail-POSIX/signal.h/conform): Likewise.
2371 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
2372 (test-xfail-POSIX/tar.h/conform): Likewise.
2373 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
2374 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
2375 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
2376 (test-xfail-UNIX98/netdb.h/conform): Likewise.
2377 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
2378 (test-xfail-UNIX98/sched.h/conform): Likewise.
2379 (test-xfail-UNIX98/signal.h/conform): Likewise.
2380 (test-xfail-UNIX98/stdio.h/conform): Likewise.
2381 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
2382 (test-xfail-UNIX98/stropts.h/conform): Likewise.
2383 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
2384 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
2385 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
2386 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
2387 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
2388 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
2389 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
2390 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
2391 (test-xfail-UNIX98/unistd.h/conform): Likewise.
2392 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
2393 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
2394 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
2395 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
2396 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
2397 (test-xfail-XOPEN2K/math.h/conform): Likewise.
2398 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
2399 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
2400 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
2401 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
2402 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
2403 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
2404 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
2405 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
2406 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
2407 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
2408 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
2409 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
2410 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
2411 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
2412 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
2413 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
2414 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
2415 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
2416 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
2417 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
2418 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
2419 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
2420 (test-xfail-POSIX2008/signal.h/conform): Likewise.
2421 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
2422 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
2423 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
2424 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
2425 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
2426 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
2427 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
2428 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
2429 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
2430 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
2431 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
2432 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
2433 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
2434 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
2435 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
2436 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
2437 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
2438 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
2439 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
2440 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
2441 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
2442 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
2443 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
2444 (conformtest-cc-flags): Likewise.
2445 ($(conformtest-header-tests): New target.
2446 * conform/check-header-lists.sh: New file.
2447 * conform/run-conformtest.sh: Remove.
2449 * conform/conformtest.pl: Allow ' and \ in values given for
2451 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
2453 [POSIX] (sys/types.h): Likewise.
2454 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
2456 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
2458 * conform/data/signal.h-data (SIGIO): Remove expectation.
2459 [XPG3] (SIGBUS): Do not expect.
2460 [POSIX || XPG3] (SIGPOLL): Likewise.
2461 [POSIX || XPG3] (SIGPROF): Likewise.
2462 [POSIX || XPG3] (SIGSYS): Likewise.
2463 [XPG3] (SIGTRAP): Likewise.
2464 [POSIX || XPG3] (SIGURG): Likewise.
2465 [POSIX || XPG3] (SIGVTALRM): Likewise.
2466 [POSIX || XPG3] (SIGXCPU): Likewise.
2467 [POSIX || XPG3] (SIGXFSZ): Likewise.
2468 [POSIX] (SA_SIGINFO): Expect.
2469 [XPG3] (siginfo_t): Do not expect type or contents.
2470 [POSIX] (si_pid): Do not expect element.
2471 [POSIX] (si_uid): Likewise.
2472 [POSIX] (si_addr): Likewise.
2473 [POSIX] (si_status): Likewise.
2474 [POSIX] (si_band): Likewise.
2475 [XPG4] (si_value): Likewise.
2476 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
2477 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
2478 [POSIX || XPG3] (ILL_ILLADR): Likewise.
2479 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
2480 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
2481 [POSIX || XPG3] (ILL_PRVREG): Likewise.
2482 [POSIX || XPG3] (ILL_COPROC): Likewise.
2483 [POSIX || XPG3] (ILL_BADSTK): Likewise.
2484 [POSIX || XPG3] (FPE_INTDIV): Likewise.
2485 [POSIX || XPG3] (FPE_INTOVF): Likewise.
2486 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
2487 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
2488 [POSIX || XPG3] (FPE_FLTUND): Likewise.
2489 [POSIX || XPG3] (FPE_FLTRES): Likewise.
2490 [POSIX || XPG3] (FPE_FLTINV): Likewise.
2491 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
2492 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
2493 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
2494 [POSIX || XPG3] (BUS_ADRALN): Likewise.
2495 [POSIX || XPG3] (BUS_ADRERR): Likewise.
2496 [POSIX || XPG3] (BUS_OBJERR): Likewise.
2497 [POSIX || XPG3] (CLD_EXITED): Likewise.
2498 [POSIX || XPG3] (CLD_KILLED): Likewise.
2499 [POSIX || XPG3] (CLD_DUMPED): Likewise.
2500 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
2501 [POSIX || XPG3] (CLD_STOPPED): Likewise.
2502 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
2503 [POSIX || XPG3] (POLL_IN): Likewise.
2504 [POSIX || XPG3] (POLL_OUT): Likewise.
2505 [POSIX || XPG3] (POLL_MSG): Likewise.
2506 [POSIX || XPG3] (POLL_ERR): Likewise.
2507 [POSIX || XPG3] (POLL_PRI): Likewise.
2508 [POSIX || XPG3] (POLL_HUP): Likewise.
2509 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
2510 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
2511 (SIG*): Do not allow.
2512 [XPG3] (si_*): Likewise.
2513 [XPG3] (SI_*): Likewise.
2514 [XPG3 || XPG4] (sigev_*): Likewise.
2515 [XPG3 || XPG4] (SIGEV_*): Likewise.
2516 [XPG3 || XPG4] (sival_*): Likewise.
2517 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
2518 [POSIX || XPG3] (BUS_*): Likewise.
2519 [POSIX || XPG3] (CLD_*): Likewise.
2520 [POSIX || XPG3] (FPE_*): Likewise.
2521 [POSIX || XPG3] (ILL_*): Likewise.
2522 [POSIX || XPG3] (POLL_*): Likewise.
2523 [POSIX || XPG3] (SEGV_*): Likewise.
2524 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
2525 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
2526 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
2527 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
2528 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
2529 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
2530 Specify type and value.
2531 (TVERSLEN): Likewise.
2532 (REGTYPE): Likewise.
2533 (AREGTYPE): Likewise.
2534 (LNKTYPE): Likewise.
2535 (SYMTYPE): Likewise.
2536 (CHRTYPE): Likewise.
2537 (BLKTYPE): Likewise.
2538 (DIRTYPE): Likewise.
2539 (FIFOTYPE): Likewise.
2540 (CONTTYPE): Likewise.
2545 (TUWRITE): Likewise.
2548 (TGWRITE): Likewise.
2551 (TOWRITE): Likewise.
2553 [POSIX] (TSVTX): Expect constant.
2555 2014-03-06 Joseph Myers <joseph@codesourcery.com>
2557 * Makefile (tests): Change dependencies to ....
2558 (tests-special): ... additions to this variable.
2559 (tests): Depend on $(tests-special).
2560 * Makerules (check-abi-list): New variable.
2561 (check-abi): Depend on $(check-abi-list).
2562 [$(subdir) = elf] (tests-special): Add
2563 $(objpfx)check-abi-libc.out.
2564 [$(build-shared) = yes && subdir] (tests-special): Add
2566 [$(build-shared) = yes && subdir] (tests): Do not depend on
2568 * Rules (tests): Depend on $(tests-special).
2569 (xtests): Depend on $(xtests-special).
2570 * catgets/Makefile (tests): Change dependencies to ....
2571 (tests-special): ... additions to this variable.
2572 * conform/Makefile (tests): Change dependencies to ....
2573 (tests-special): ... additions to this variable.
2574 * elf/Makefile (tests): Change dependencies to ....
2575 (tests-special): ... additions to this variable.
2576 * grp/Makefile (tests): Change dependencies to ....
2577 (tests-special): ... additions to this variable.
2578 * iconv/Makefile (xtests): Change dependencies to ....
2579 (xtests-special): ... additions to this variable.
2580 * iconvdata/Makefile (tests): Change dependencies to ....
2581 (tests-special): ... additions to this variable.
2582 * intl/Makefile (tests): Change dependencies to ....
2583 (tests-special): ... additions to this variable. Also add
2584 $(objpfx)tst-gettext.out.
2585 * io/Makefile (tests): Change dependencies to ....
2586 (tests-special): ... additions to this variable.
2587 * libio/Makefile (tests): Change dependencies to ....
2588 (tests-special): ... additions to this variable.
2589 * malloc/Makefile (tests): Change dependencies to ....
2590 (tests-special): ... additions to this variable.
2591 * misc/Makefile (tests): Change dependencies to ....
2592 (tests-special): ... additions to this variable.
2593 * nptl/Makefile (tests): Change dependencies to ....
2594 (tests-special): ... additions to this variable.
2595 * nptl_db/Makefile (tests): Change dependencies to ....
2596 (tests-special): ... additions to this variable.
2597 * posix/Makefile (tests): Change dependencies to ....
2598 (tests-special): ... additions to this variable.
2599 (xtests): Change dependencies to ....
2600 (xtests-special): ... additions to this variable.
2601 * resolv/Makefile (tests): Change dependencies to ....
2602 (tests-special): ... additions to this variable.
2603 (xtests): Change dependencies to ....
2604 (xtests-special): ... additions to this variable.
2605 * stdio-common/Makefile (tests): Change dependencies to ....
2606 (tests-special): ... additions to this variable.
2607 (do-tst-unbputc): Remove target.
2608 (do-tst-printf): Likewise.
2609 * stdlib/Makefile (tests): Change dependencies to ....
2610 (tests-special): ... additions to this variable.
2611 * string/Makefile (tests): Change dependencies to ....
2612 (tests-special): ... additions to this variable.
2613 * sysdeps/x86/Makefile (tests): Change dependencies to ....
2614 (tests-special): ... additions to this variable.
2616 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
2618 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
2620 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
2621 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
2623 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
2624 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
2625 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
2626 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
2627 * conform/data/libgen.h-data [XPG3]: Likewise.
2628 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
2629 * conform/data/ndbm.h-data [XPG3]: Likewise.
2630 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
2631 * conform/data/netdb.h-data [XPG3]: Likewise.
2632 * conform/data/netinet/in.h-data [XPG3]: Likewise.
2633 * conform/data/poll.h-data [XPG3]: Likewise.
2634 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
2635 * conform/data/strings.h-data [XPG3]: Likewise.
2636 * conform/data/stropts.h-data [XPG3]: Likewise.
2637 * conform/data/sys/mman.h-data [XPG3]: Likewise.
2638 * conform/data/sys/resource.h-data [XPG3]: Likewise.
2639 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
2641 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
2642 * conform/data/sys/time.h-data [XPG3]: Likewise.
2643 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
2644 * conform/data/sys/uio.h-data [XPG3]: Likewise.
2645 * conform/data/sys/un.h-data [XPG3]: Likewise.
2646 * conform/data/syslog.h-data [XPG3]: Likewise.
2647 * conform/data/ucontext.h-data [XPG3]: Likewise.
2648 * conform/data/utmpx.h-data [XPG3]: Likewise.
2649 * conform/data/varargs.h-data [UNIX98]: Enable file.
2651 * manual/Makefile (INSTALL_INFO): Remove variable setting.
2653 * math/libm-test.inc (struct test_f_f_data): Move expected results
2654 into structure for each rounding mode.
2655 (struct test_ff_f_data): Likewise.
2656 (struct test_ff_f_data_nexttoward): Likewise.
2657 (struct test_fi_f_data): Likewise.
2658 (struct test_fl_f_data): Likewise.
2659 (struct test_if_f_data): Likewise.
2660 (struct test_fff_f_data): Likewise.
2661 (struct test_c_f_data): Likewise.
2662 (struct test_f_f1_data): Likewise.
2663 (struct test_fF_f1_data): Likewise.
2664 (struct test_ffI_f1_data): Likewise.
2665 (struct test_c_c_data): Likewise.
2666 (struct test_cc_c_data): Likewise.
2667 (struct test_f_i_data): Likewise.
2668 (struct test_ff_i_data): Likewise.
2669 (struct test_f_l_data): Likewise.
2670 (struct test_f_L_data): Likewise.
2671 (struct test_fFF_11_data): Likewise.
2673 (RM_FE_DOWNWARD): Likewise.
2674 (RM_FE_TONEAREST): Likewise.
2675 (RM_FE_TOWARDZERO): Likewise.
2676 (RM_FE_UPWARD): Likewise.
2677 (RUN_TEST_LOOP_f_f): Update references to expected results.
2678 (RUN_TEST_LOOP_2_f): Likewise.
2679 (RUN_TEST_LOOP_fff_f): Likewise.
2680 (RUN_TEST_LOOP_c_f): Likewise.
2681 (RUN_TEST_LOOP_f_f1): Likewise.
2682 (RUN_TEST_LOOP_fF_f1): Likewise.
2683 (RUN_TEST_LOOP_fI_f1): Likewise.
2684 (RUN_TEST_LOOP_ffI_f1): Likewise.
2685 (RUN_TEST_LOOP_c_c): Likewise.
2686 (RUN_TEST_LOOP_cc_c): Likewise.
2687 (RUN_TEST_LOOP_f_i): Likewise.
2688 (RUN_TEST_LOOP_f_i_tg): Likewise.
2689 (RUN_TEST_LOOP_ff_i_tg): Likewise.
2690 (RUN_TEST_LOOP_f_b): Likewise.
2691 (RUN_TEST_LOOP_f_b_tg): Likewise.
2692 (RUN_TEST_LOOP_f_l): Likewise.
2693 (RUN_TEST_LOOP_f_L): Likewise.
2694 (RUN_TEST_LOOP_fFF_11): Likewise.
2695 * math/gen-libm-test.pl (parse_args): Output four copies of
2696 expected results for each test.
2698 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2699 (__ASSUME_UTIMES): Remove.
2700 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2701 (__ASSUME_UTIMES): Likewise.
2703 * math/gen-auto-libm-tests.c: Update comment on output format.
2704 (output_for_one_input_case): Generate before-rounding and
2705 after-rounding information as conditions on output flags not
2706 floating-point format.
2707 * math/auto-libm-test-out: Regenerated.
2708 * math/gen-libm-test.pl (cond_value): New function.
2709 (or_cond_value): Use cond_value.
2710 (generate_testfile): Handle conditional exceptions.
2712 2014-03-05 Joseph Myers <joseph@codesourcery.com>
2714 * math/libm-test.inc (max_valid_error): New variable.
2715 (init_max_error): Take new argument specifying whether function
2716 results are exactly determined. Set max_valid_error and bound
2717 other variables for errors based on this argument.
2718 (set_max_error): Do not record results above max_valid_error.
2719 (check_float_internal): Only accept errors of up to 0.5ulps if
2720 also at most max_valid_error.
2721 (START): Take new argument EXACT and pass it to init_max_error.
2722 (acos_test): Update call to START.
2723 (acos_test_tonearest): Likewise.
2724 (acos_test_towardzero): Likewise.
2725 (acos_test_downward): Likewise.
2726 (acos_test_upward): Likewise.
2727 (acosh_test): Likewise.
2728 (asin_test): Likewise.
2729 (asin_test_tonearest): Likewise.
2730 (asin_test_towardzero): Likewise.
2731 (asin_test_downward): Likewise.
2732 (asin_test_upward): Likewise.
2733 (asinh_test): Likewise.
2734 (atan_test): Likewise.
2735 (atanh_test): Likewise.
2736 (atan2_test): Likewise.
2737 (cabs_test): Likewise.
2738 (cacos_test): Likewise.
2739 (cacosh_test): Likewise.
2740 (carg_test): Likewise.
2741 (casin_test): Likewise.
2742 (casinh_test): Likewise.
2743 (catan_test): Likewise.
2744 (catanh_test): Likewise.
2745 (cbrt_test): Likewise.
2746 (ccos_test): Likewise.
2747 (ccosh_test): Likewise.
2748 (ceil_test): Likewise.
2749 (cexp_test): Likewise.
2750 (cimag_test): Likewise.
2751 (clog_test): Likewise.
2752 (clog10_test): Likewise.
2753 (conj_test): Likewise.
2754 (copysign_test): Likewise.
2755 (cos_test): Likewise.
2756 (cos_test_tonearest): Likewise.
2757 (cos_test_towardzero): Likewise.
2758 (cos_test_downward): Likewise.
2759 (cos_test_upward): Likewise.
2760 (cosh_test): Likewise.
2761 (cosh_test_tonearest): Likewise.
2762 (cosh_test_towardzero): Likewise.
2763 (cosh_test_downward): Likewise.
2764 (cosh_test_upward): Likewise.
2765 (cpow_test): Likewise.
2766 (cproj_test): Likewise.
2767 (creal_test): Likewise.
2768 (csin_test): Likewise.
2769 (csinh_test): Likewise.
2770 (csqrt_test): Likewise.
2771 (ctan_test): Likewise.
2772 (ctan_test_tonearest): Likewise.
2773 (ctan_test_towardzero): Likewise.
2774 (ctan_test_downward): Likewise.
2775 (ctan_test_upward): Likewise.
2776 (ctanh_test): Likewise.
2777 (ctanh_test_tonearest): Likewise.
2778 (ctanh_test_towardzero): Likewise.
2779 (ctanh_test_downward): Likewise.
2780 (ctanh_test_upward): Likewise.
2781 (erf_test): Likewise.
2782 (erfc_test): Likewise.
2783 (exp_test): Likewise.
2784 (exp_test_tonearest): Likewise.
2785 (exp_test_towardzero): Likewise.
2786 (exp_test_downward): Likewise.
2787 (exp_test_upward): Likewise.
2788 (exp10_test): Likewise.
2789 (exp10_test_tonearest): Likewise.
2790 (exp10_test_towardzero): Likewise.
2791 (exp10_test_downward): Likewise.
2792 (exp10_test_upward): Likewise.
2793 (pow10_test): Likewise.
2794 (exp2_test): Likewise.
2795 (expm1_test): Likewise.
2796 (expm1_test_tonearest): Likewise.
2797 (expm1_test_towardzero): Likewise.
2798 (expm1_test_downward): Likewise.
2799 (expm1_test_upward): Likewise.
2800 (fabs_test): Likewise.
2801 (fdim_test): Likewise.
2802 (floor_test): Likewise.
2803 (fma_test): Likewise.
2804 (fma_test_towardzero): Likewise.
2805 (fma_test_downward): Likewise.
2806 (fma_test_upward): Likewise.
2807 (fmax_test): Likewise.
2808 (fmin_test): Likewise.
2809 (fmod_test): Likewise.
2810 (fpclassify_test): Likewise.
2811 (frexp_test): Likewise.
2812 (hypot_test): Likewise.
2813 (ilogb_test): Likewise.
2814 (isfinite_test): Likewise.
2815 (finite_test): Likewise.
2816 (isgreater_test): Likewise.
2817 (isgreaterequal_test): Likewise.
2818 (isinf_test): Likewise.
2819 (isless_test): Likewise.
2820 (islessequal_test): Likewise.
2821 (islessgreater_test): Likewise.
2822 (isnan_test): Likewise.
2823 (isnormal_test): Likewise.
2824 (issignaling_test): Likewise.
2825 (isunordered_test): Likewise.
2826 (j0_test): Likewise.
2827 (j1_test): Likewise.
2828 (jn_test): Likewise.
2829 (ldexp_test): Likewise.
2830 (lgamma_test): Likewise.
2831 (gamma_test): Likewise.
2832 (lrint_test): Likewise.
2833 (lrint_test_tonearest): Likewise.
2834 (lrint_test_towardzero): Likewise.
2835 (lrint_test_downward): Likewise.
2836 (lrint_test_upward): Likewise.
2837 (llrint_test): Likewise.
2838 (llrint_test_tonearest): Likewise.
2839 (llrint_test_towardzero): Likewise.
2840 (llrint_test_downward): Likewise.
2841 (llrint_test_upward): Likewise.
2842 (log_test): Likewise.
2843 (log10_test): Likewise.
2844 (log1p_test): Likewise.
2845 (log2_test): Likewise.
2846 (logb_test): Likewise.
2847 (logb_test_downward): Likewise.
2848 (lround_test): Likewise.
2849 (llround_test): Likewise.
2850 (modf_test): Likewise.
2851 (nearbyint_test): Likewise.
2852 (nextafter_test): Likewise.
2853 (nexttoward_test): Likewise.
2854 (pow_test): Likewise.
2855 (pow_test_tonearest): Likewise.
2856 (pow_test_towardzero): Likewise.
2857 (pow_test_downward): Likewise.
2858 (pow_test_upward): Likewise.
2859 (remainder_test): Likewise.
2860 (drem_test): Likewise.
2861 (remainder_test_tonearest): Likewise.
2862 (drem_test_tonearest): Likewise.
2863 (remainder_test_towardzero): Likewise.
2864 (drem_test_towardzero): Likewise.
2865 (remainder_test_downward): Likewise.
2866 (drem_test_downward): Likewise.
2867 (remainder_test_upward): Likewise.
2868 (drem_test_upward): Likewise.
2869 (remquo_test): Likewise.
2870 (rint_test): Likewise.
2871 (rint_test_tonearest): Likewise.
2872 (rint_test_towardzero): Likewise.
2873 (rint_test_downward): Likewise.
2874 (rint_test_upward): Likewise.
2875 (round_test): Likewise.
2876 (scalb_test): Likewise.
2877 (scalbn_test): Likewise.
2878 (scalbln_test): Likewise.
2879 (signbit_test): Likewise.
2880 (sin_test): Likewise.
2881 (sin_test_tonearest): Likewise.
2882 (sin_test_towardzero): Likewise.
2883 (sin_test_downward): Likewise.
2884 (sin_test_upward): Likewise.
2885 (sincos_test): Likewise.
2886 (sinh_test): Likewise.
2887 (sinh_test_tonearest): Likewise.
2888 (sinh_test_towardzero): Likewise.
2889 (sinh_test_downward): Likewise.
2890 (sinh_test_upward): Likewise.
2891 (sqrt_test): Likewise.
2892 (sqrt_test_tonearest): Likewise.
2893 (sqrt_test_towardzero): Likewise.
2894 (sqrt_test_downward): Likewise.
2895 (sqrt_test_upward): Likewise.
2896 (tan_test): Likewise.
2897 (tan_test_tonearest): Likewise.
2898 (tan_test_towardzero): Likewise.
2899 (tan_test_downward): Likewise.
2900 (tan_test_upward): Likewise.
2901 (tanh_test): Likewise.
2902 (tgamma_test): Likewise.
2903 (trunc_test): Likewise.
2904 (y0_test): Likewise.
2905 (y1_test): Likewise.
2906 (yn_test): Likewise.
2907 (significand_test): Likewise.
2909 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
2910 individual tests in comment.
2911 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
2912 (prev_max_error): New variable.
2913 (prev_real_max_error): Likewise.
2914 (prev_imag_max_error): Likewise.
2915 (compare_ulp_data): Don't refer to test names in comment.
2916 (find_test_ulps): Remove function.
2917 (find_function_ulps): Likewise.
2918 (find_complex_function_ulps): Likewise.
2919 (init_max_error): Take function name as argument. Look up ulps
2921 (print_ulps): Remove function.
2922 (print_max_error): Use prev_max_error instead of calling
2924 (print_complex_max_error): Use prev_real_max_error and
2925 prev_imag_max_error instead of calling find_complex_function_ulps.
2926 (check_float_internal): Take max_ulp parameter instead of calling
2927 find_test_ulps. Don't call print_ulps.
2928 (check_float): Update call to check_float_internal.
2929 (check_complex): Update calls to check_float_internal.
2930 (START): Pass argument to init_max_error.
2931 * math/gen-libm-test.pl (%results): Don't include "kind"
2933 (parse_ulps): Don't handle ulps of individual tests.
2934 (print_ulps_file): Likewise.
2935 (output_ulps): Likewise.
2936 * math/README.libm-test: Update.
2937 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
2939 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
2940 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
2941 * sysdeps/arm/libm-test-ulps: Likewise.
2942 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
2943 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
2944 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
2945 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
2946 * sysdeps/microblaze/libm-test-ulps: Likewise.
2947 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
2948 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2949 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2950 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
2951 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2952 * sysdeps/sh/libm-test-ulps: Likewise.
2953 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2954 * sysdeps/tile/libm-test-ulps: Likewise.
2955 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2957 2014-03-04 Joseph Myers <joseph@codesourcery.com>
2959 * math/libm-test.inc (print_complex_max_error): Check separately
2960 whether real and imaginary errors are within allowed range and
2961 pass 0 to print_complex_function_ulps instead of value within
2964 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2966 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
2968 (get_handles_fopen): Likewise.
2969 (do_write_test): Likewise.
2971 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
2973 * libio/fileops.c (do_ftell): Use cached offset when
2975 * libio/iofwide.c (do_ftell_wide): Likewise.
2976 * libio/iofdopen.c (_IO_new_fdopen): Don't use
2978 * libio/wfileops.c (_IO_fwide): Don't cache offset.
2981 * libio/libioP.h (get_file_offset): New function.
2982 * libio/fileops.c (get_file_offset): Likewise.
2983 (do_ftell): Likewise.
2984 (_IO_new_file_seekoff): Split out ftell logic.
2985 * libio/wfileops.c (do_ftell_wide): Likewise.
2986 (_IO_wfile_seekoff): Split out ftell logic.
2987 * libio/tst-ftell-active-handler.c: New test case.
2988 * libio/Makefile (tests): Add it.
2990 2014-03-03 Roland McGrath <roland@hack.frob.com>
2992 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
2993 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
2995 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
2998 * nscd/connections.c (nscd_init): Call do_exit.
2999 (start_threads): Call do_exit and notify_parent.
3000 (begin_drop_privileges): Call do_exit.
3001 (finish_drop_privileges): Likewise.
3002 * nscd/selinux.c (preserve_capabilities): Likewise.
3003 (install_real_capabilities): Likewise.
3004 (nscd_selinux_enabled): Likewise.
3005 (avc_create_thread): Likewise.
3006 (avc_alloc_lock): Likewise.
3007 (nscd_avc_init): Likewise.
3008 * nscd/nscd.c (parent_fd): New static variable.
3009 (main): Create a pipe between parent and child processes.
3010 Skip closing parent_fd.
3011 (monitor_child): New function.
3012 (do_exit): Likewise.
3013 (notify_parent): Likewise.
3014 * nscd/nscd.h (notify_parent): Likewise.
3015 (do_exit): Likewise.
3017 2014-03-03 Carlos O'Donell <carlos@redhat.com>
3019 * malloc/malloc.c (__libc_calloc): Revert last change.
3021 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3023 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3025 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3027 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
3028 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
3030 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3031 (__libc_ifunc_impl_list): Likewise.
3032 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
3033 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
3034 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
3035 * string/strrchr.c: Define STRRCHR.
3037 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
3039 * benchtest/bench-strtok.c (simple_strtok): Delete.
3040 (strtok_string): Use as benchmark.
3041 * string/strtok (STRTOK): New macro.
3043 2014-02-28 Carlos O'Donell <carlos@redhat.com>
3045 * manual/threads.texi: Add header and standard comments to all
3048 * elf/dl-lookup.c (check_match): New function.
3049 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
3050 (do_lookup_x): Remove nested function check_match. Use non-nested
3051 function check_match.
3053 2014-02-28 Roland McGrath <roland@hack.frob.com>
3055 * csu/Makefile (generated, before-compile): Use += rather than =.
3056 * catgets/Makefile (generated, generated-dirs): Likewise.
3057 * debug/Makefile (generated): Likewise.
3058 * dlfcn/Makefile (generated): Likewise.
3059 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
3060 * iconvdata/Makefile (before-compile, generated): Likewise.
3061 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
3062 * libio/Makefile (generated): Likewise.
3063 * malloc/Makefile (generated): Likewise.
3064 * manual/Makefile (generated, generated-dirs): Likewise.
3065 * misc/Makefile (generated): Likewise.
3066 * posix/Makefile (generated): Likewise.
3067 * resolv/Makefile (generated): Likewise.
3068 * sunrpc/Makefile (generated, generated-dirs): Likewise.
3069 * timezone/Makefile (generated, generated-dirs): Likewise.
3071 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
3073 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3075 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
3076 power8 implementation.
3077 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
3078 file: POWER8 llround ifunc implementation.
3079 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
3080 (__lllround): Add POWER8 implementation.
3081 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
3082 POWER8 llround implementation.
3084 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
3085 power8 implementation.
3086 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
3087 file: POWER8 llrint ifunc implementation.
3088 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
3089 Add POWER8 implementation.
3090 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
3091 POWER8 llrint implementation.
3093 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
3094 power8 implementation.
3095 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
3096 file: POWER8 finite ifunc implementation.
3097 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
3098 Add POWER8 implementation.
3099 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
3101 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
3102 POWER8 finite implementation.
3103 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
3105 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
3106 power8 implementation.
3107 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
3108 file: POWER8 isinf ifunc implementation.
3109 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
3110 POWER8 implementation.
3111 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
3113 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
3114 isinf implementation.
3115 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
3117 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
3118 (INIT_ARCH): Add hwcap2 initialization.
3119 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
3120 power8 implementation.
3121 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
3122 file: POWER8 isnan ifunc implementation.
3123 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
3124 POWER8 implementation.
3125 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
3127 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
3128 isnan implementation.
3129 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
3131 2014-02-27 Joey Ye <joey.ye@arm.com>
3133 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
3134 (_FP_NANFRAC_Q): Set to zero.
3136 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3139 * math/auto-libm-test-in: New test inputs.
3140 * math/auto-libm-test-out: Regenerate.
3141 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
3144 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
3146 2014-02-27 Joseph Myers <joseph@codesourcery.com>
3148 * scripts/evaluate-test.sh: Take new argument indicating whether
3149 failure is expected.
3150 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
3151 indicating whether failure is expected.
3152 * conform/Makefile (test-xfail-run-conformtest): New variable.
3153 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
3155 * posix/Makefile (test-xfail-annexc): New variable.
3156 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
3158 2014-02-26 Joseph Myers <joseph@codesourcery.com>
3160 * argp/Makefile: Include Makeconfig immediately after defining
3162 * assert/Makefile: Likewise.
3163 * benchtests/Makefile: Likewise.
3164 * catgets/Makefile: Likewise.
3165 * conform/Makefile: Likewise.
3166 * crypt/Makefile: Likewise.
3167 * csu/Makefile: Likewise.
3168 (all): Remove target.
3169 * ctype/Makefile: Include Makeconfig immediately after defining
3171 * debug/Makefile: Likewise.
3172 * dirent/Makefile: Likewise.
3173 * dlfcn/Makefile: Likewise.
3174 * gmon/Makefile: Likewise.
3175 * gnulib/Makefile: Likewise.
3176 * grp/Makefile: Likewise.
3177 * gshadow/Makefile: Likewise.
3178 * hesiod/Makefile: Likewise.
3179 * hurd/Makefile: Likewise.
3180 (all): Remove target.
3181 * iconvdata/Makefile: Include Makeconfig immediately after
3183 * inet/Makefile: Likewise.
3184 * intl/Makefile: Likewise.
3185 * io/Makefile: Likewise.
3186 * libio/Makefile: Likewise.
3187 (all): Remove target.
3188 * locale/Makefile: Include Makeconfig immediately after defining
3190 * login/Makefile: Likewise.
3191 * mach/Makefile: Likewise.
3192 (all): Remove target.
3193 * malloc/Makefile: Include Makeconfig immediately after defining
3195 (all): Remove target.
3196 * manual/Makefile: Include Makeconfig immediately after defining
3198 * math/Makefile: Likewise.
3199 * misc/Makefile: Likewise.
3200 * nis/Makefile: Likewise.
3201 * nss/Makefile: Likewise.
3202 * po/Makefile: Likewise.
3203 (all): Remove target.
3204 * posix/Makefile: Include Makeconfig immediately after defining
3206 * pwd/Makefile: Likewise.
3207 * resolv/Makefile: Likewise.
3208 * resource/Makefile: Likewise.
3209 * rt/Makefile: Likewise.
3210 * setjmp/Makefile: Likewise.
3211 * shadow/Makefile: Likewise.
3212 * signal/Makefile: Likewise.
3213 * socket/Makefile: Likewise.
3214 * soft-fp/Makefile: Likewise.
3215 * stdio-common/Makefile: Likewise.
3216 * stdlib/Makefile: Likewise.
3217 * streams/Makefile: Likewise.
3218 * string/Makefile: Likewise.
3219 * sunrpc/Makefile: Likewise.
3220 (all): Remove target.
3221 * sysvipc/Makefile: Include Makeconfig immediately after defining
3223 * termios/Makefile: Likewise.
3224 * time/Makefile: Likewise.
3225 * timezone/Makefile: Likewise.
3226 (all): Remove target.
3227 * wcsmbs/Makefile: Include Makeconfig immediately after defining
3229 * wctype/Makefile: Likewise.
3231 2014-02-26 Steve Ellcey <sellcey@mips.com>
3233 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
3234 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
3235 (libc_feholdexcept_setround_mips): Ditto.
3236 (libc_feholdsetround): New.
3237 (libc_feholdsetroundf): New.
3238 (libc_feholdsetroundl): New.
3239 (libc_feupdateenv_test_mips): New.
3240 (libc_feupdateenv_test): New.
3241 (libc_feupdateenv_testf): New.
3242 (libc_feupdateenv_testl): New.
3243 (libc_feresetround): New.
3244 (libc_feresetroundf): New.
3245 (libc_feresetroundl): New.
3246 (libc_fetestexcept_mips): New.
3247 (libc_fetestexcept): New.
3248 (libc_fetestexceptf): New.
3249 (libc_fetestexceptl): New.
3251 (libc_feholdexcept_setround_mips_ctx): New.
3252 (libc_feholdexcept_setround_ctx): New.
3253 (libc_feholdexcept_setroundf_ctx): New.
3254 (libc_feholdexcept_setroundl_ctx): New.
3255 (libc_fesetenv_mips_ctx): New.
3256 (libc_fesetenv_ctx): New.
3257 (libc_fesetenv_ctxf): New.
3258 (libc_fesetenv_ctxl): New.
3259 (libc_feupdateenv_mips_ctx): New.
3260 (libc_feupdateenv_ctx): New.
3261 (libc_feupdateenvf_ctx): New.
3262 (libc_feupdateenvl_ctx): New.
3263 (libc_feholdsetround_mips_ctx): New.
3264 (libc_feholdsetround_ctx): New.
3265 (libc_feholdsetroundf_ctx): New.
3266 (libc_feholdsetroundl_ctx): New.
3267 (libc_feresetround_mips_ctx): New.
3268 (libc_feresetround_ctx): New.
3269 (libc_feresetroundf_ctx): New.
3270 (libc_feresetroundl_ctx): New.
3272 2014-02-26 Carlos O'Donell <carlos@redhat.com>
3274 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
3276 * manual/ipc.texi: New file.
3277 * manual/Makefile (chapters): Add ipc.
3278 * manual/job.texi: Add "Inter-Process Communication" to next.
3279 * manual/process.texi: Add "Inter-Process Communication" to prev.
3281 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3283 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3285 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
3287 * malloc/malloc.c (__libc_calloc): Simplify implementation.
3289 * manual/arith.texi: Fix spaces after sentences.
3290 * manual/charset.texi: Likewise.
3291 * manual/errno.texi: Likewise.
3292 * manual/install.texi: Likewise.
3293 * manual/llio.texi: Likewise.
3294 * manual/locale.texi: Likewise.
3295 * manual/maint.texi: Likewise.
3296 * manual/math.texi: Likewise.
3297 * manual/memory.texi: Likewise.
3298 * manual/message.texi: Likewise.
3299 * manual/probes.texi: Likewise.
3300 * manual/resource.texi: Likewise.
3301 * manual/signal.texi: Likewise.
3302 * manual/socket.texi: Likewise.
3303 * manual/stdio.texi: Likewise.
3304 * manual/string.texi: Likewise.
3305 * manual/time.texi: Likewise.
3306 * manual/users.texi: Likewise.
3308 2014-02-25 Carlos O'Donell <carlos@redhat.com>
3311 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
3312 _DEFAULT_SOURCE is defined.
3314 2014-02-25 Ulrich Drepper <drepper@gmail.com>
3315 Carlos O'Donell <carlos@redhat.com>
3318 * elf/dl-tls.c (_dl_count_modids): New function.
3319 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
3320 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
3321 audit library and increment generation counter.
3322 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
3323 * elf/tst-audit9.c: New file.
3324 * elf/tst-auditmod9a.c: New file.
3325 * elf/tst-auditmod9b.c: New file.
3326 * elf/Makefile: Add rules to build and run tst-audit9.
3328 2014-02-25 Florian Weimer <fweimer@redhat.com>
3331 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
3333 2014-02-25 Will Newton <will.newton@linaro.org>
3335 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
3336 (__longjmp): Restore sp and lr before restoring callee
3337 saved registers. Add longjmp and longjmp_target
3338 SystemTap probe point.
3339 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
3340 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
3341 Define to zero to match jmpbuf layout.
3342 * sysdeps/arm/setjmp.S: Include stap-probe.h.
3343 (__sigsetjmp): Save sp and lr before saving callee
3344 saved registers. Add setjmp SystemTap probe point.
3346 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
3348 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3350 2014-02-24 Andreas Schwab <schwab@suse.de>
3353 * elf/pldd.c (wait_for_ptrace_stop): New function.
3354 (main): Call it after attaching.
3356 2014-02-22 Roland McGrath <roland@hack.frob.com>
3358 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
3359 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
3360 Versions files is now verboten.
3361 * hurd/Versions (libc: GLIBC_2.0):
3362 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
3363 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
3364 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
3365 * mach/Versions: Likewise.
3367 * csu/Versions: Remove unused %include.
3368 * resolv/Versions: Likewise.
3370 2014-02-21 Joseph Myers <joseph@codesourcery.com>
3372 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
3373 ($(objpfx)check-local-headers.out): Likewise.
3374 ($(objpfx)begin-end-check.out): Likewise.
3375 * Makerules (check-abi-%.out): Likewise.
3376 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
3377 ($(objpfx)test2.cat): Likewise.
3378 ($(objpfx)de/libc.cat): Likewise.
3379 ($(objpfx)test-gencat.out): Likewise.
3380 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
3381 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
3382 ($(objpfx)noload-mem): Likewise.
3383 ($(objpfx)tst-pathopt.out): Likewise.
3384 ($(objpfx)tst-rtld-load-self.out): Likewise.
3385 ($(objpfx)tst-array1-cmp.out): Likewise.
3386 ($(objpfx)tst-array1-static-cmp.out): Likewise.
3387 ($(objpfx)tst-array2-cmp.out): Likewise.
3388 ($(objpfx)tst-array3-cmp.out): Likewise.
3389 ($(objpfx)tst-array4-cmp.out): Likewise.
3390 ($(objpfx)tst-array5-cmp.out): Likewise.
3391 ($(objpfx)tst-array5-static-cmp.out): Likewise.
3392 ($(objpfx)check-textrel.out): Likewise.
3393 ($(objpfx)check-execstack.out): Likewise.
3394 ($(objpfx)check-localplt.out): Likewise.
3395 ($(objpfx)order2-cmp.out): Likewise.
3396 ($(objpfx)tst-leaks1-mem): Likewise.
3397 ($(objpfx)tst-leaks1-static-mem): Likewise.
3398 ($(objpfx)tst-initorder-cmp.out): Likewise.
3399 ($(objpfx)tst-initorder2-cmp.out): Likewise.
3400 ($(objpfx)tst-unused-dep.out): Likewise.
3401 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
3402 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
3403 * iconv/Makefile (test-iconvconfig): Likewise.
3404 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
3405 ($(objpfx)iconv-test.out): Likewise.
3406 ($(objpfx)tst-tables.out): Likewise.
3407 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
3408 ($(objpfx)tst-gettext.out): Likewise.
3409 ($(objpfx)tst-translit.out): Likewise.
3410 ($(objpfx)tst-gettext2.out): Likewise.
3411 ($(objpfx)tst-gettext4.out): Likewise.
3412 ($(objpfx)tst-gettext6.out): Likewise.
3413 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
3414 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
3415 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
3416 ($(objpfx)tst-fopenloc-mem.out): Likewise.
3417 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
3418 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
3419 * posix/Makefile ($(objpfx)globtest.out): Likewise.
3420 ($(objpfx)wordexp-tst.out): Likewise.
3421 ($(objpfx)annexc.out): Likewise.
3422 ($(objpfx)tst-fnmatch-mem): Likewise.
3423 ($(objpfx)bug-regex2-mem): Likewise.
3424 ($(objpfx)bug-regex14-mem): Likewise.
3425 ($(objpfx)bug-regex21-mem): Likewise.
3426 ($(objpfx)bug-regex31-mem): Likewise.
3427 ($(objpfx)tst-vfork3-mem): Likewise.
3428 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
3429 ($(objpfx)tst-pcre-mem): Likewise.
3430 ($(objpfx)tst-boost-mem): Likewise.
3431 ($(objpfx)tst-getconf.out): Likewise.
3432 ($(objpfx)bug-ga2-mem): Likewise.
3433 ($(objpfx)bug-glob2-mem): Likewise.
3434 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
3435 ($(objpfx)mtrace-tst-leaks2): Likewise.
3436 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
3437 ($(objpfx)tst-printf.out): Likewise.
3438 ($(objpfx)tst-setvbuf1.out): Likewise.
3439 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
3440 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
3441 ($(objpfx)tst-fmtmsg.out): Likewise.
3442 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
3443 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
3445 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
3446 * bits/sigaction.h [__USE_MISC]: Likewise.
3447 * bits/waitstatus.h: Update #endif comments.
3448 * ctype/ctype.h: Likewise.
3449 * dirent/dirent.h: Likewise.
3450 [__USE_MISC]: Remove redundant conditionals.
3451 * grp/grp.h: Update #endif comments.
3452 [__USE_GNU]: Remove redundant conditionals.
3453 [__USE_MISC]: Likewise.
3454 * inet/netinet/in.h [__USE_GNU]: Likewise.
3455 * io/sys/stat.h [__USE_MISC]: Likewise.
3456 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
3457 * libio/bits/stdio.h: Update #endif comments.
3458 [__USE_MISC]: Remove redundant conditionals.
3459 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
3460 * libio/stdio.h: Update #endif comments.
3461 [__USE_MISC]: Remove redundant conditionals.
3462 * math/bits/math-finite.h [__USE_MISC]: Likewise.
3463 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
3464 * math/math.h: Update #else and #endif comments.
3465 [__USE_MISC]: Remove redundant conditionals.
3466 * misc/sys/uio.h: Update #endif comments.
3467 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
3468 * posix/glob.h [__USE_MISC]: Likewise.
3469 * posix/sys/types.h: Update #endif comments.
3470 [__USE_MISC]: Remove redundant conditionals.
3471 * posix/sys/wait.h: Update #endif comments.
3472 [__USE_MISC]: Remove redundant conditionals.
3473 * posix/unistd.h: Update #endif comments.
3474 [__USE_MISC]: Remove redundant conditionals.
3475 * pwd/pwd.h [__USE_GNU]: Likewise.
3476 [__USE_MISC]: Likewise.
3477 * resolv/netdb.h [__USE_GNU]: Likewise.
3478 * signal/signal.h: Update #endif comments.
3479 [__USE_MISC]: Remove redundant conditionals.
3480 * stdlib/stdlib.h: Update #else and #endif comments.
3481 [__USE_MISC]: Remove redundant conditionals.
3482 [__USE_GNU]: Likewise.
3483 * string/bits/string2.h [__USE_MISC]: Likewise.
3484 * string/string.h: Update #endif comments.
3485 [__USE_MISC]: Remove redundant conditionals.
3486 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
3488 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
3489 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
3490 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
3492 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
3494 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
3496 [__USE_MISC]: Remove redundant conditionals.
3497 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
3498 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
3499 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
3500 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
3501 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
3503 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
3504 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
3506 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
3507 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
3509 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
3511 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
3512 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
3514 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
3516 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
3517 * sysdeps/x86/bits/string.h: Update #endif comments.
3518 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
3520 * time/sys/time.h: Update #endif comments.
3521 * time/time.h: Likewise.
3522 [__USE_MISC]: Remove redundant conditionals.
3524 2014-02-21 Yury Gribov <y.gribov@samsung.com>
3527 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
3529 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
3531 * Versions.def (librt): Add GLIBC_2.17.
3533 2014-02-21 Adam Conrad <adconrad@0c3.net>
3535 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
3536 synonym for _SYS_AUXV_H to allow direct inclusion.
3537 * sysdeps/sparc/bits/hwcap.h: Likewise.
3538 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
3539 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
3540 * sysdeps/sparc/sysdep.h: Likewise.
3542 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3544 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
3546 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3548 * benchtests/bench-strrchr.c: Print length instead of position.
3550 2014-02-20 Joseph Myers <joseph@codesourcery.com>
3553 * sysdeps/unix/sysv/linux/kernel-features.h
3554 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
3555 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
3556 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
3557 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
3559 [__i386__ || __powerpc__ || __sh__ || __sparc__]
3560 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3561 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
3562 (__ASSUME_SENDMMSG): Define instead of using previous
3563 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
3564 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3565 (__ASSUME_SENDMMSG_SYSCALL): Define.
3566 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3567 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
3569 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3570 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3572 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3573 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3575 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
3576 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
3577 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
3578 [__ASSUME_SENDMMSG]: Change conditionals to
3579 [__ASSUME_SENDMMSG_SOCKETCALL].
3580 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3581 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
3583 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3584 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
3586 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
3587 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
3588 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
3589 [!__ASSUME_SENDMMSG]: Change conditional to
3590 [!__ASSUME_SENDMMSG_SOCKETCALL].
3591 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3592 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3596 * sysdeps/unix/sysv/linux/kernel-features.h
3597 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
3598 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
3599 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
3600 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
3601 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3602 [__i386__ || __sparc__]
3603 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3604 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
3605 (__ASSUME_RECVMMSG): Define instead of using previous
3606 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
3607 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3608 (__ASSUME_RECVMMSG_SYSCALL): Define.
3609 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3610 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3612 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3613 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3615 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3616 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3618 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
3619 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
3620 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
3621 [__ASSUME_RECVMMSG]: Change condition to
3622 [__ASSUME_RECVMMSG_SOCKETCALL].
3623 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3624 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3626 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3627 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3628 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3630 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
3631 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
3632 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
3633 [!__ASSUME_RECVMMSG]: Change condition to
3634 [!__ASSUME_RECVMMSG_SOCKETCALL].
3635 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3636 (__ASSUME_RECVMMSG_SYSCALL): Define.
3639 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
3640 __powerpc__ || __s390__ || __sh__ || __sparc__]
3641 (__ASSUME_SOCKETCALL): Define.
3642 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
3643 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
3644 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
3645 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
3646 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3647 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
3648 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
3649 (__ASSUME_ACCEPT4): Define instead of using previous
3650 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
3651 __powerpc__ || __sparc__ || __s390__)] condition.
3652 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3653 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
3654 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
3655 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
3656 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
3657 [!__ASSUME_ACCEPT4]: Change condition to
3658 [!__ASSUME_ACCEPT4_SOCKETCALL].
3659 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3660 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
3661 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
3662 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3663 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
3664 __ASSUME_ACCEPT4_SYSCALL.
3665 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
3666 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
3667 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3668 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
3669 __ASSUME_ACCEPT4_SYSCALL.
3670 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
3671 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
3672 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
3673 [__ASSUME_ACCEPT4]: Change condition to
3674 [__ASSUME_ACCEPT4_SOCKETCALL].
3675 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3676 (__ASSUME_SOCKETCALL): Define.
3677 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
3678 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3679 (__ASSUME_SOCKETCALL): Define.
3680 (__ASSUME_ACCEPT4): Remove.
3681 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
3683 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3684 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
3686 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3687 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
3689 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
3691 (HWCAP_ARM_LPAE): Likewise.
3692 (HWCAP_ARM_EVTSTRM): Likewise.
3693 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
3694 Add vpfd32, lpae and evtstrm.
3695 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
3698 2014-02-19 Joseph Myers <joseph@codesourcery.com>
3700 * math/auto-libm-test-in: Add tests of clog10.
3701 * math/auto-libm-test-out: Regenerated.
3702 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
3703 * sysdeps/i386/fpu/libm-test-ulps: Update.
3704 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3706 2014-02-18 Andreas Schwab <schwab@suse.de>
3709 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
3710 Store non-zero if the second buffer was newly allocated.
3711 (send_dg): Likewise.
3712 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
3713 to send_vc and send_dg.
3714 (res_nsend): Pass NULL for ansp2_malloced.
3715 * resolv/res_query.c (__libc_res_nquery): Add parameter
3716 answerp2_malloced and pass it down to __libc_res_nsend.
3717 (res_nquery): Pass additional NULL to __libc_res_nquery.
3718 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
3719 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
3720 second answer buffer if answerp2_malloced was set.
3721 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
3722 (__libc_res_nquerydomain): Add parameter
3723 answerp2_malloced and pass it down to __libc_res_nquery.
3724 (res_nquerydomain): Pass additional NULL to
3725 __libc_res_nquerydomain.
3726 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
3727 additional NULL to __libc_res_nsend and __libc_res_nquery.
3728 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
3729 additional NULL to __libc_res_nsearch.
3730 (_nss_dns_gethostbyname4_r): Revert last change. Use new
3731 parameter of __libc_res_nsearch to check for separately allocated
3733 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
3735 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
3736 additional NULL to __libc_res_nquery.
3737 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
3739 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
3740 * include/resolv.h: Update prototypes of __libc_res_nquery,
3741 __libc_res_nsearch, __libc_res_nsend.
3743 2014-02-18 Joseph Myers <joseph@codesourcery.com>
3745 * math/auto-libm-test-in: Add tests of fma.
3746 * math/auto-libm-test-out: Regenerated.
3747 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
3748 (fma_towardzero_test_data): Likewise.
3749 (fma_downward_test_data): Likewise.
3750 (fma_upward_test_data): Likewise.
3751 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
3753 (rounding_modes): Add values for new field.
3754 (func_calc_method): Add value mpfr_fff_f.
3755 (func_calc_desc): Add mpfr_fff_f union field.
3756 (test_function): Add field exact_args.
3757 (FUNC): Add macro argument EXACT_ARGS.
3758 (FUNC_mpfr_f_f): Update call to FUNC.
3759 (FUNC_mpfr_f_f): Likewise.
3760 (FUNC_mpfr_ff_f): Likewise.
3761 (FUNC_mpfr_if_f): Likewise.
3762 (FUNC_mpc_c_f): Likewise.
3763 (FUNC_mpc_c_c): Likewise.
3764 (test_functions): Add fma. Update calls to FUNC.
3765 (handle_input_arg): Add argument exact_args.
3766 (add_test): Update call to handle_input_arg.
3767 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
3768 (output_for_one_input_case): Update call to calc_generic_results.
3769 Recalculate exact zero results in each rounding mode.
3771 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
3772 non-negative before setting low bit.
3773 * math/auto-libm-test-in: Mark one asin test possibly having
3775 * math/auto-libm-test-out: Regenerated.
3776 * sysdeps/i386/fpu/libm-test-ulps: Update.
3777 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3779 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
3781 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
3782 * sysdeps/unix/sysv/linux/microblaze: Move directory from
3783 ports/sysdeps/unix/sysv/linux/microblaze.
3784 * README: Add missing listing for microblaze*-*-linux-gnu.
3786 2014-02-16 Mike Frysinger <vapier@gentoo.org>
3788 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
3789 * sysdeps/unix/sysv/linux/ia64: Move directory from
3790 ports/sysdeps/unix/sysv/linux/ia64.
3791 * README: Update listing for ia64-*-linux-gnu.
3793 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
3794 Joseph Myers <joseph@codesourcery.com>
3796 * Makeconfig (test-name): New variable.
3797 (evaluate-test): Likewise.
3798 * Makerules (do-test-clean): Remove .test-result files.
3799 (common-mostlyclean): Likewise.
3800 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
3801 * scripts/evaluate-test.sh: New file.
3803 2014-02-14 Joseph Myers <joseph@codesourcery.com>
3805 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
3806 separate $(objpfx)tst-fopenloc-cmp.out and
3807 $(objpfx)tst-fopenloc-mem.out targets.
3808 (tests): Update dependencies.
3809 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
3810 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
3811 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
3812 (tst-rxspencer-no-utf8-ARGS): New variable.
3813 (tst-rxspencer-no-utf8-ENV): Likewise.
3814 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
3815 instead of $(objpfx)tst-rxspencer-mem.
3816 ($(objpfx)tst-rxspencer-mem): Change target to
3817 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
3818 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
3819 * posix/tst-rxspencer-no-utf8.c: New file.
3821 * elf/Makefile ($(objpfx)order.out): Remove rule.
3822 [$(run-built-tests) = yes] (tests): Depend on
3823 $(objpfx)order-cmp.out.
3824 ($(objpfx)order-cmp.out): New rule.
3825 [$(run-built-tests) = yes] (tests): Depend on
3826 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
3827 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
3828 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
3829 $(objpfx)tst-array5-static-cmp.out.
3830 ($(objpfx)tst-array1.out): Remove rule.
3831 ($(objpfx)tst-array1-cmp.out): New rule.
3832 ($(objpfx)tst-array1-static.out): Remove rule.
3833 ($(objpfx)tst-array1-static-cmp.out): New rule.
3834 ($(objpfx)tst-array2.out): Remove rule.
3835 ($(objpfx)tst-array2-cmp.out): New rule.
3836 ($(objpfx)tst-array3.out): Remove rule.
3837 ($(objpfx)tst-array3-cmp.out): New rule.
3838 ($(objpfx)tst-array4.out): Remove rule.
3839 ($(objpfx)tst-array4-cmp.out): New rule.
3840 ($(objpfx)tst-array5.out): Remove rule.
3841 ($(objpfx)tst-array5-cmp.out): New rule.
3842 ($(objpfx)tst-array5-static.out): Remove rule.
3843 ($(objpfx)tst-array5-static-cmp.out): New rule.
3844 [$(run-built-tests) = yes] (tests): Depend on
3845 $(objpfx)order2-cmp.out.
3846 ($(objpfx)order2.out): Remove rule.
3847 ($(objpfx)order2-cmp.out): New rule.
3848 ($(objpfx)tst-initorder.out): Remove rule.
3849 [$(run-built-tests) = yes] (tests): Depend on
3850 $(objpfx)tst-initorder-cmp.out.
3851 ($(objpfx)tst-initorder-cmp.out): New rule.
3852 ($(objpfx)tst-initorder2.out): Remove rule.
3853 [$(run-built-tests) = yes] (tests): Depend on
3854 $(objpfx)tst-initorder2-cmp.out.
3855 ($(objpfx)tst-initorder2-cmp.out): New rule.
3856 [$(run-built-tests) = yes] (tests): Depend on
3857 $(objpfx)tst-unused-dep-cmp.out.
3858 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
3859 ($(objpfx)tst-unused-dep-cmp.out): New rule.
3860 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
3861 on $(objpfx)tst-setvbuf1-cmp.out.
3862 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
3863 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
3864 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
3865 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
3866 ($(objpfx)tst-svc.out): Remove rule.
3867 ($(objpfx)tst-svc-cmp.out): New rule.
3869 2014-02-13 Joseph Myers <joseph@codesourcery.com>
3871 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
3872 * ctype/ctype.h [__USE_MISC]: Likewise.
3873 * dirent/dirent.h [__USE_MISC]: Likewise.
3874 * grp/grp.h [__USE_MISC]: Likewise.
3875 * io/fcntl.h [__USE_MISC]: Likewise.
3876 * io/sys/stat.h [__USE_MISC]: Likewise.
3877 * libio/stdio.h [__USE_MISC]: Likewise.
3878 * posix/unistd.h [__USE_MISC]: Likewise.
3879 * pwd/pwd.h [__USE_MISC]: Likewise.
3880 * stdlib.h [__USE_MISC]: Likewise.
3881 * string/bits/string2.h [__USE_MISC]: Likewise.
3882 * string/string.h [__USE_MISC]: Likewise.
3883 * time/time.h [__USE_MISC]: Likewise.
3885 2014-02-13 Andreas Schwab <schwab@suse.de>
3888 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
3889 second answer buffer if it was separately allocated.
3891 2014-02-12 Joseph Myers <joseph@codesourcery.com>
3893 * sysdeps/mips/math-tests.h: Include <features.h>.
3894 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
3895 (ROUNDING_TESTS_long_double): Do not define.
3896 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
3897 (EXCEPTION_TESTS_long_double): Likewise.
3898 * sysdeps/mips/mips64/libm-test-ulps: Update.
3900 * include/features.h (__USE_BSD): Remove macro definitions.
3901 (__USE_SVID): Likewise.
3902 (_BSD_SOURCE): Likewise.
3903 (_SVID_SOURCE): Likewise.
3904 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
3905 from definition of _DEFAULT_SOURCE.
3906 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
3908 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
3909 * bits/mman.h [__USE_BSD]: Likewise.
3910 * bits/termios.h [__USE_BSD]: Likewise.
3911 * bits/waitstatus.h [__USE_BSD]: Likewise.
3912 * ctype/ctype.h [__USE_SVID]: Likewise.
3913 * dirent/dirent.h [__USE_BSD]: Likewise.
3914 * grp/grp.h [__USE_SVID]: Likewise.
3915 [__USE_BSD]: Likewise.
3916 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
3917 * io/fcntl.h [__USE_BSD]: Likewise.
3918 * io/ftw.h [__USE_BSD]: Likewise.
3919 * io/sys/stat.h [__USE_BSD]: Likewise.
3920 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
3921 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
3922 * libio/stdio.h [__USE_SVID]: Likewise.
3923 [__USE_BSD]: Likewise.
3924 * math/math.h [__USE_SVID]: Likewise.
3925 [__USE_BSD]: Likewise.
3926 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
3927 * misc/bits/syslog.h [__USE_BSD]: Likewise.
3928 * misc/search.h [__USE_SVID]: Likewise.
3929 * misc/sys/mman.h [__USE_BSD]: Likewise.
3930 * misc/sys/syslog.h [__USE_BSD]: Likewise.
3931 * misc/sys/uio.h [__USE_BSD]: Likewise.
3932 * posix/bits/unistd.h [__USE_BSD]: Likewise.
3933 * posix/glob.h [__USE_BSD]: Likewise.
3934 * posix/regex.h [__USE_BSD]: Likewise.
3935 * posix/sys/types.h [__USE_BSD]: Likewise.
3936 [__USE_SVID]: Likewise.
3937 * posix/sys/utsname.h [__USE_SVID]: Likewise.
3938 * posix/sys/wait.h [__USE_BSD]: Likewise.
3939 [__USE_SVID]: Likewise.
3940 * posix/unistd.h [__USE_BSD]: Likewise.
3941 [__USE_SVID]: Likewise.
3942 * pwd/pwd.h [__USE_SVID]: Likewise.
3943 * resolv/netdb.h [__USE_BSD]: Likewise.
3944 * setjmp/setjmp.h [__USE_BSD]: Likewise.
3945 * signal/signal.h [__USE_BSD]: Likewise.
3946 [__USE_SVID]: Likewise.
3947 * socket/sys/socket.h [__USE_BSD]: Likewise.
3948 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
3949 * stdlib/stdlib.h [__USE_BSD]: Likewise.
3950 [__USE_SVID]: Likewise.
3951 * string/bits/string2.h [__USE_BSD]: Likewise.
3952 [__USE_SVID]: Likewise.
3953 * string/bits/string3.h [__USE_BSD]: Likewise.
3954 * string/endian.h [__USE_BSD]: Likewise.
3955 * string/string.h [__USE_SVID]: Likewise.
3956 [__USE_BSD]: Likewise.
3957 * string/strings.h [__USE_BSD]: Likewise.
3958 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
3959 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
3960 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
3961 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
3962 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
3963 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
3965 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
3967 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
3968 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
3970 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
3971 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
3973 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
3975 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
3976 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
3977 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
3979 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
3981 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
3982 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
3983 * termios/termios.h [__USE_BSD]: Likewise.
3984 * time/sys/time.h [__USE_BSD]: Likewise.
3985 * time/time.h [__USE_BSD]: Likewise.
3986 [__USE_SVID]: Likewise.
3988 * Makefile (subdir_targets): Remove subdir_lint.out.
3990 * stdio-common/Makefile (do-tst-unbputc): Remove target.
3991 (do-tst-printf): Likewise.
3992 (tests): Depend directly on $(objpfx)tst-unbputc.out and
3993 $(objpfx)tst-printf.out.
3995 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
3997 * Makerules (check-abi-%): Change target to
3998 $(objpfx)check-abi-%.out.
3999 (check-abi target): Update dependencies.
4000 (check-abi-pattern variable): Redirect output of diff to $@.
4001 (check-abi variable): Likewise.
4002 * elf/Makefile (check-abi): Update dependencies.
4004 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
4006 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
4007 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
4009 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
4010 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
4011 value has largest subnormal exponent.
4012 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
4013 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
4014 * sysdeps/aarch64/soft-fp/sfp-machine.h
4015 (_FP_TININESS_AFTER_ROUNDING): New macro.
4016 * sysdeps/alpha/soft-fp/sfp-machine.h
4017 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4018 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4020 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
4021 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4022 * sysdeps/mips/soft-fp/sfp-machine.h
4023 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4024 * sysdeps/powerpc/soft-fp/sfp-machine.h
4025 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4026 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4028 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
4029 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4030 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
4031 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4032 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4035 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
4038 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
4041 2014-02-12 Richard Henderson <rth@redhat.com>
4043 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
4044 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
4045 * sysdeps/unix/sysv/linux/alpha: Move directory from
4046 ports/sysdeps/unix/sysv/linux/alpha.
4047 * README: Update listing for alpha-*-linux-gnu.
4049 2014-02-11 Joseph Myers <joseph@codesourcery.com>
4051 * include/features.h: Update comment documenting feature test
4053 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
4055 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
4056 (_SVID_SOURCE): Likewise.
4057 (_DEFAULT_SOURCE): Update description of default features.
4058 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
4060 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
4061 (S_ISVTX): Likewise.
4062 * manual/math.texi (Mathematical Constants): Likewise.
4063 * manual/signal.texi (Interrupted Primitives): Likewise.
4064 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
4065 * math/test-matherr.c (_SVID_SOURCE): Do not define.
4066 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
4067 Don't refer to _SVID_SOURCE in warning text.
4069 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4071 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
4073 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
4074 * sysdeps/mips/dl-lookup.c: Remove.
4075 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
4077 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
4080 * math/auto-libm-test-in: Add testcase for expl.
4081 * math/auto-libm-test-out: Regenerate.
4082 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
4083 calculation of unsafe.
4084 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
4086 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
4088 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
4089 * sysdeps/unix/sysv/linux/aarch64: Move directory from
4090 ports/sysdeps/unix/sysv/linux/aarch64.
4091 * README: Update listing for aarch64*-*-linux-gnu.
4093 2014-02-11 Will Newton <will.newton@linaro.org>
4095 * manual/probes.texi (Mathematical Function Probes): Use
4096 "triggered" instead of "hit".
4098 * manual/probes.texi (Internal Probes): Add documentation
4099 of setjmp, longjmp and longjmp_target probes.
4101 * include/stap-probe.h: Add comment about probe argument
4104 * malloc/mtrace.c (attribute_hidden): Remove unused macro
4105 definition. (tr_where, tr_freehook, tr_mallochook,
4106 tr_reallochook, tr_memalignhook): Use ANSI protoype.
4108 2014-02-11 David S. Miller <davem@davemloft.net>
4110 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
4111 processing int_tests.
4113 2014-02-10 Joseph Myers <joseph@codesourcery.com>
4115 * sysdeps/mips: Move directory from ports/sysdeps/mips.
4116 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
4117 * sysdeps/unix/sysv/linux/mips: Move directory from
4118 ports/sysdeps/unix/sysv/linux/mips.
4119 * README: Update listing for mips-*-linux-gnu and
4122 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
4124 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
4125 * sysdeps/unix/sysv/linux/m68k: Move directory from
4126 ports/sysdeps/unix/sysv/linux/m68k.
4127 * README: Update listing for m68k-*-linux-gnu.
4129 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
4131 * sysdeps/tile: Move directory from ports/sysdeps/tile.
4132 * sysdeps/unix/sysv/linux/generic: Move directory from
4133 ports/sysdeps/unix/sysv/linux/generic.
4134 * sysdeps/unix/sysv/linux/tile: Move directory from
4135 ports/sysdeps/unix/sysv/linux/tile.
4136 * README: Update listing for tile*-*-linux-gnu.
4138 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
4140 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
4142 * benchtests/bench-memmem.c (simple_memmem): Likewise.
4143 * catgets/open_catalog.c (__open_catalog): Likewise.
4144 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
4145 * debug/confstr_chk.c: Likewise.
4146 * debug/fread_chk.c (__fread_chk): Likewise.
4147 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
4148 * debug/getgroups_chk.c: Likewise.
4149 * debug/mbsnrtowcs_chk.c: Likewise.
4150 * debug/mbsrtowcs_chk.c: Likewise.
4151 * debug/mbstowcs_chk.c: Likewise.
4152 * debug/memcpy_chk.c: Likewise.
4153 * debug/memmove_chk.c: Likewise.
4154 * debug/mempcpy_chk.c: Likewise.
4155 * debug/memset_chk.c: Likewise.
4156 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
4157 * debug/strcat_chk.c (__strcat_chk): Likewise.
4158 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
4159 * debug/strncat_chk.c (__strncat_chk): Likewise.
4160 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
4161 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
4162 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
4163 * debug/wcpncpy_chk.c: Likewise.
4164 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
4165 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
4166 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
4167 * debug/wcsncpy_chk.c: Likewise.
4168 * debug/wcsnrtombs_chk.c: Likewise.
4169 * debug/wcsrtombs_chk.c: Likewise.
4170 * debug/wcstombs_chk.c: Likewise.
4171 * debug/wmemcpy_chk.c: Likewise.
4172 * debug/wmemmove_chk.c: Likewise.
4173 * debug/wmempcpy_chk.c: Likewise.
4174 * debug/wmemset_chk.c: Likewise.
4175 * dirent/scandirat.c (SCANDIRAT): Likewise.
4176 * dlfcn/dladdr1.c (dladdr1): Likewise.
4177 * dlfcn/dladdr.c (dladdr): Likewise.
4178 * dlfcn/dlclose.c (dlclose_doit): Likewise.
4179 * dlfcn/dlerror.c (__dlerror): Likewise.
4180 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
4181 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
4182 * dlfcn/dlopen.c (dlopen_doit): Likewise.
4183 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
4184 * dlfcn/dlsym.c (dlsym_doit): Likewise.
4185 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
4186 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
4187 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
4189 * elf/dl-conflict.c: Likewise.
4190 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
4191 * elf/dl-dst.h: Likewise.
4192 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
4193 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
4194 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
4195 * elf/dl-init.c (call_init, _dl_init): Likewise.
4196 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
4197 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
4198 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
4200 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
4202 * elf/dl-minimal.c (__libc_memalign): Likewise.
4203 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
4204 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
4205 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
4206 * elf/dl-sym.c (do_sym): Likewise.
4207 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
4208 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
4209 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
4210 * elf/dl-writev.h (_dl_writev): Likewise.
4211 * elf/ldconfig.c (search_dir): Likewise.
4212 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
4213 (dl_main): Likewise.
4214 * elf/setup-vdso.h (setup_vdso): Likewise.
4215 * grp/compat-initgroups.c (compat_call): Likewise.
4216 * grp/fgetgrent.c (fgetgrent): Likewise.
4217 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
4218 * grp/putgrent.c (putgrent): Likewise.
4219 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
4221 * hurd/hurdinit.c: Likewise.
4222 * iconvdata/8bit-gap.c (struct): Likewise.
4223 * iconvdata/ansi_x3.110.c : Likewise.
4224 * iconvdata/big5.c : Likewise.
4225 * iconvdata/big5hkscs.c : Likewise.
4226 * iconvdata/cp1255.c: Likewise.
4227 * iconvdata/cp1258.c : Likewise.
4228 * iconvdata/cp932.c : Likewise.
4229 * iconvdata/euc-cn.c: Likewise.
4230 * iconvdata/euc-jisx0213.c : Likewise.
4231 * iconvdata/euc-jp.c: Likewise.
4232 * iconvdata/euc-jp-ms.c : Likewise.
4233 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
4234 * iconvdata/gb18030.c : Likewise.
4235 * iconvdata/gbbig5.c (const): Likewise.
4236 * iconvdata/gbgbk.c: Likewise.
4237 * iconvdata/gbk.c : Likewise.
4238 * iconvdata/ibm1364.c : Likewise.
4239 * iconvdata/ibm930.c : Likewise.
4240 * iconvdata/ibm932.c: Likewise.
4241 * iconvdata/ibm933.c : Likewise.
4242 * iconvdata/ibm935.c : Likewise.
4243 * iconvdata/ibm937.c : Likewise.
4244 * iconvdata/ibm939.c : Likewise.
4245 * iconvdata/ibm943.c: Likewise.
4246 * iconvdata/iso_11548-1.c: Likewise.
4247 * iconvdata/iso-2022-cn.c : Likewise.
4248 * iconvdata/iso-2022-cn-ext.c : Likewise.
4249 * iconvdata/iso-2022-jp-3.c: Likewise.
4250 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
4251 * iconvdata/iso-2022-kr.c : Likewise.
4252 * iconvdata/iso646.c (gconv_end): Likewise.
4253 * iconvdata/iso_6937-2.c : Likewise.
4254 * iconvdata/iso_6937.c : Likewise.
4255 * iconvdata/iso8859-1.c: Likewise.
4256 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
4257 * iconvdata/shift_jisx0213.c : Likewise.
4258 * iconvdata/sjis.c : Likewise.
4259 * iconvdata/t.61.c : Likewise.
4260 * iconvdata/tcvn5712-1.c : Likewise.
4261 * iconvdata/tscii.c: Likewise.
4262 * iconvdata/uhc.c : Likewise.
4263 * iconvdata/unicode.c (gconv_end): Likewise.
4264 * iconvdata/utf-16.c (gconv_end): Likewise.
4265 * iconvdata/utf-32.c (gconv_end): Likewise.
4266 * iconvdata/utf-7.c (base64): Likewise.
4267 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
4268 * iconv/gconv_close.c (__gconv_close): Likewise.
4269 * iconv/gconv_open.c (__gconv_open): Likewise.
4270 * iconv/gconv_simple.c (internal_ucs4_loop_single)
4271 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
4272 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
4273 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
4274 (ucs4le_internal_loop_single): Likewise.
4275 * iconv/iconv.c (iconv): Likewise.
4276 * iconv/iconv_close.c: Likewise.
4277 * iconv/loop.c (SINGLE): Likewise.
4278 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
4279 * include/atomic.h: Likewise.
4280 * inet/inet6_option.c (option_alloc): Likewise.
4281 * intl/bindtextdom.c (set_binding_values): Likewise.
4282 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
4283 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
4284 * intl/localealias.c (read_alias_file): Likewise.
4285 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
4286 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
4287 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
4288 * libio/fmemopen.c (fmemopen): Likewise.
4289 * libio/iofgets.c (_IO_fgets): Likewise.
4290 * libio/iofgets_u.c (fgets_unlocked): Likewise.
4291 * libio/iofgetws.c (fgetws): Likewise.
4292 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
4293 * libio/iogetdelim.c (_IO_getdelim): Likewise.
4294 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
4295 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
4296 * locale/findlocale.c (_nl_find_locale): Likewise.
4297 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
4298 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
4300 * locale/setlocale.c (setlocale): Likewise.
4301 * login/programs/pt_chown.c (main): Likewise.
4302 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
4303 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
4304 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
4305 (mmap, mmap64, mremap, munmap): Likewise.
4306 * math/e_exp2l.c: Likewise.
4307 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
4308 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
4309 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
4310 * math/s_catan.c (__catan): Likewise.
4311 * math/s_catanf.c (__catanf): Likewise.
4312 * math/s_catanh.c (__catanh): Likewise.
4313 * math/s_catanhf.c (__catanhf): Likewise.
4314 * math/s_catanhl.c (__catanhl): Likewise.
4315 * math/s_catanl.c (__catanl): Likewise.
4316 * math/s_ccosh.c (__ccosh): Likewise.
4317 * math/s_ccoshf.c (__ccoshf): Likewise.
4318 * math/s_ccoshl.c (__ccoshl): Likewise.
4319 * math/s_cexp.c (__cexp): Likewise.
4320 * math/s_cexpf.c (__cexpf): Likewise.
4321 * math/s_cexpl.c (__cexpl): Likewise.
4322 * math/s_clog10.c (__clog10): Likewise.
4323 * math/s_clog10f.c (__clog10f): Likewise.
4324 * math/s_clog10l.c (__clog10l): Likewise.
4325 * math/s_clog.c (__clog): Likewise.
4326 * math/s_clogf.c (__clogf): Likewise.
4327 * math/s_clogl.c (__clogl): Likewise.
4328 * math/s_csin.c (__csin): Likewise.
4329 * math/s_csinf.c (__csinf): Likewise.
4330 * math/s_csinh.c (__csinh): Likewise.
4331 * math/s_csinhf.c (__csinhf): Likewise.
4332 * math/s_csinhl.c (__csinhl): Likewise.
4333 * math/s_csinl.c (__csinl): Likewise.
4334 * math/s_csqrt.c (__csqrt): Likewise.
4335 * math/s_csqrtf.c (__csqrtf): Likewise.
4336 * math/s_csqrtl.c (__csqrtl): Likewise.
4337 * math/s_ctan.c (__ctan): Likewise.
4338 * math/s_ctanf.c (__ctanf): Likewise.
4339 * math/s_ctanh.c (__ctanh): Likewise.
4340 * math/s_ctanhf.c (__ctanhf): Likewise.
4341 * math/s_ctanhl.c (__ctanhl): Likewise.
4342 * math/s_ctanl.c (__ctanl): Likewise.
4343 * math/w_pow.c: Likewise.
4344 * math/w_powf.c: Likewise.
4345 * math/w_powl.c: Likewise.
4346 * math/w_scalb.c (sysv_scalb): Likewise.
4347 * math/w_scalbf.c (sysv_scalbf): Likewise.
4348 * math/w_scalbl.c (sysv_scalbl): Likewise.
4349 * misc/error.c (error_tail): Likewise.
4350 * misc/pselect.c (__pselect): Likewise.
4351 * nis/nis_callback.c (__nis_create_callback): Likewise.
4352 * nis/nis_call.c (__nisfind_server): Likewise.
4353 * nis/nis_creategroup.c (nis_creategroup): Likewise.
4354 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
4355 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
4356 * nis/nis_getservlist.c (nis_getservlist): Likewise.
4357 * nis/nis_lookup.c (nis_lookup): Likewise.
4358 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
4359 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
4360 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
4361 * nis/nis_xdr.c (xdr_endpoint): Likewise.
4362 * nis/nss_compat/compat-grp.c (getgrent_next_file)
4363 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
4364 * nis/nss_compat/compat-initgroups.c (add_group)
4365 (internal_getgrent_r): Likewise.
4366 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
4367 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
4368 * nis/nss_compat/compat-spwd.c (getspent_next_file)
4369 (internal_getspnam_r): Likewise.
4370 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
4371 (_nss_nis_getaliasbyname_r): Likewise.
4372 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
4373 (_nss_nis_getntohost_r): Likewise.
4374 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
4375 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
4376 (_nss_nis_getgrgid_r): Likewise.
4377 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
4378 (internal_nis_gethostent_r, internal_gethostbyname2_r)
4379 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
4380 (_nss_nis_gethostbyname4_r): Likewise.
4381 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
4382 (initgroups_netid): Likewise.
4383 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
4384 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
4385 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
4386 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
4387 (_nss_nis_getprotobynumber_r): Likewise.
4388 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
4389 (_nss_nis_getsecretkey): Likewise.
4390 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
4391 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
4392 (_nss_nis_getpwuid_r): Likewise.
4393 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
4394 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
4395 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
4396 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
4397 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
4398 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
4399 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
4401 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
4402 (_nss_nisplus_getntohost_r): Likewise.
4403 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
4404 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
4405 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
4406 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
4408 * nis/nss_nisplus/nisplus-initgroups.c
4409 (_nss_nisplus_initgroups_dyn): Likewise.
4410 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
4411 (_nss_nisplus_getnetbyaddr_r): Likewise.
4412 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
4413 (_nss_nisplus_getprotobynumber_r): Likewise.
4414 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
4415 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
4416 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
4418 * nis/nss_nisplus/nisplus-service.c
4419 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
4420 (_nss_nisplus_getservbyport_r): Likewise.
4421 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
4422 (_nss_nisplus_getspnam_r): Likewise.
4423 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
4425 * nscd/aicache.c (addhstaiX): Likewise.
4426 * nscd/cache.c (cache_search, prune_cache): Likewise.
4427 * nscd/connections.c (register_traced_file, send_ro_fd)
4428 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
4429 (main_loop_epoll): Likewise.
4430 * nscd/grpcache.c (addgrbyX): Likewise.
4431 * nscd/hstcache.c (addhstbyX): Likewise.
4432 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4433 * nscd/mem.c (gc, mempool_alloc): Likewise.
4434 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
4435 (addinnetgrX): Likewise.
4436 * nscd/nscd-client.h (__nscd_acquire_maplock)
4437 (__nscd_drop_map_ref): Likewise.
4438 * nscd/nscd_getai.c (__nscd_getai): Likewise.
4439 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
4440 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
4442 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
4443 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
4444 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
4445 (__nscd_get_map_ref): Likewise.
4446 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
4447 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
4449 * nscd/pwdcache.c (addpwbyX): Likewise.
4450 * nscd/selinux.c (preserve_capabilities): Likewise.
4451 * nscd/servicescache.c (addservbyX): Likewise.
4452 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
4453 * posix/fnmatch.c (fnmatch): Likewise.
4454 * posix/getopt.c (_getopt_internal_r): Likewise.
4455 * posix/glob.c (glob, glob_in_dir): Likewise.
4456 * posix/wordexp.c (exec_comm_child): Likewise.
4457 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
4458 (getanswer_r, gaih_getanswer_slice): Likewise.
4459 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
4460 * resolv/res_init.c: Likewise.
4461 * resolv/res_mkquery.c (res_nmkquery): Likewise.
4462 * resolv/res_query.c (__libc_res_nquery): Likewise.
4463 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
4465 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
4466 * stdio-common/perror.c (perror): Likewise.
4467 * stdio-common/printf_fp.c (___printf_fp): Likewise.
4468 * stdio-common/tmpnam.c (tmpnam): Likewise.
4469 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
4470 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
4471 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
4473 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
4474 * stdlib/putenv.c (putenv): Likewise.
4475 * stdlib/setenv.c (__add_to_environ): Likewise.
4476 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
4477 * stdlib/strtol_l.c (INTERNAL): Likewise.
4478 * string/memmem.c (memmem): Likewise.
4479 * string/strerror.c (strerror): Likewise.
4480 * string/strnlen.c (__strnlen): Likewise.
4481 * string/test-memmem.c (simple_memmem): Likewise.
4482 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
4483 * sunrpc/pm_getport.c (__get_socket): Likewise.
4484 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
4485 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
4486 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
4487 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
4489 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
4490 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
4491 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
4492 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
4493 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
4494 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
4496 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
4498 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
4499 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
4500 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4501 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
4502 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
4503 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
4504 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
4505 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
4506 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
4507 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
4508 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
4509 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
4511 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
4513 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
4515 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
4516 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
4517 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
4518 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
4519 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
4520 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
4521 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
4522 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
4523 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
4524 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
4525 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
4526 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4527 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
4528 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
4529 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4530 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
4532 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
4534 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
4536 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
4538 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4539 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4540 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
4542 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
4543 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
4544 * sysdeps/posix/opendir.c (__opendirat): Likewise.
4545 * sysdeps/posix/sleep.c: Likewise.
4546 * sysdeps/posix/tempname.c: Likewise.
4547 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
4548 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4550 * sysdeps/powerpc/powerpc32/dl-machine.h
4551 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
4552 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
4553 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4554 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
4555 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
4557 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
4558 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
4559 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
4560 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
4561 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
4562 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
4563 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
4564 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
4565 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
4566 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
4567 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
4568 (elf_machine_lazy_rel): Likewise.
4569 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
4570 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
4571 (elf_machine_lazy_rel): Likewise.
4572 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
4573 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
4574 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
4575 * sysdeps/unix/grantpt.c (grantpt): Likewise.
4576 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
4577 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
4578 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
4579 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4581 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
4582 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
4583 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
4584 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
4585 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
4586 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
4587 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
4588 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
4589 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
4590 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
4591 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
4593 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
4594 (__posix_fallocate64_l64): Likewise.
4595 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
4596 (posix_fallocate): Likewise.
4597 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
4599 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4600 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
4601 (getifaddrs_internal): Likewise.
4602 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
4603 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
4604 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
4605 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
4606 * sysdeps/unix/sysv/linux/posix_fallocate64.c
4607 (__posix_fallocate64_l64): Likewise.
4608 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
4610 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
4611 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
4612 (__get_clockfreq): Likewise.
4613 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
4614 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
4615 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
4616 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4617 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4618 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
4619 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
4620 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
4622 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
4623 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
4624 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
4625 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
4626 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
4627 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
4628 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
4630 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
4631 (posix_fallocate): Likewise.
4632 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4633 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
4634 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
4635 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
4636 (elf_machine_rela, elf_machine_rela_relative)
4637 (elf_machine_lazy_rel): Likewise.
4638 * time/asctime.c (asctime_internal): Likewise.
4639 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
4640 * time/tzset.c (__tzset_parse_tz): Likewise.
4641 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
4642 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
4643 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
4644 * wcsmbs/wcsmbsload.h: Likewise.
4647 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
4649 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
4650 (arena_get2): Remove THREAD_STATS conditionals.
4651 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
4652 (__malloc_stats, int): Likewise.
4654 2014-02-08 Mike Frysinger <vapier@gentoo.org>
4656 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
4657 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
4659 * manual/setjmp.texi: Fix typos/grammar errors.
4661 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
4662 Only return early when n is <= 0. Delete unused return statement.
4664 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
4665 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
4666 * debug/tst-longjmp_chk3.c: New file.
4668 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
4669 (test_main): Replace code with set_fortify_handler call.
4670 * debug/test-strcpy_chk.c: Likewise.
4671 * debug/tst-chk1.c: Likewise.
4672 * debug/tst-longjmp_chk.c: Likewise.
4673 * test-skeleton.c: Include fcntl.h & paths.h
4674 (set_fortify_handler): Define.
4676 * debug/tst-longjmp_chk.c: Add header comment and include
4678 (do_test): Mark static.
4679 (TEST_FUNCTION): Define.
4681 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
4682 (IP_PMTUDISC_INTERFACE): Likewise.
4683 (IP_MULTICAST_IF): Likewise.
4684 (IP_MULTICAST_TTL): Likewise.
4685 (IP_MULTICAST_LOOP): Likewise.
4686 (IP_ADD_MEMBERSHIP): Likewise.
4687 (IP_DROP_MEMBERSHIP): Likewise.
4688 (IP_UNBLOCK_SOURCE): Likewise.
4689 (IP_BLOCK_SOURCE): Likewise.
4690 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
4691 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
4692 (IP_MSFILTER): Likewise.
4693 (MCAST_JOIN_GROUP): Likewise.
4694 (MCAST_BLOCK_SOURCE): Likewise.
4695 (MCAST_UNBLOCK_SOURCE): Likewise.
4696 (MCAST_LEAVE_GROUP): Likewise.
4697 (MCAST_JOIN_SOURCE_GROUP): Likewise.
4698 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
4699 (MCAST_MSFILTER): Likewise.
4700 (IP_MULTICAST_ALL): Likewise.
4701 (IP_UNICAST_IF): Likewise.
4703 * timezone/Makefile: Delete $(have-ksh) check.
4704 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
4705 * timezone/tzselect.ksh: Add +x mode bits.
4707 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
4708 (ANON_INODE_FS_MAGIC): Likewise.
4709 (BDEVFS_MAGIC): Likewise.
4710 (BINFMTFS_MAGIC): Likewise.
4711 (BTRFS_TEST_MAGIC): Likewise.
4712 (CRAMFS_MAGIC_WEND): Likewise.
4713 (DEBUGFS_MAGIC): Likewise.
4714 (ECRYPTFS_SUPER_MAGIC): Likewise.
4715 (EXT3_SUPER_MAGIC): Likewise.
4716 (EXT4_SUPER_MAGIC): Likewise.
4717 (FUTEXFS_SUPER_MAGIC): Likewise.
4718 (HOSTFS_SUPER_MAGIC): Likewise.
4719 (HUGETLBFS_MAGIC): Likewise.
4720 (MINIX3_SUPER_MAGIC): Likewise.
4721 (MTD_INODE_FS_MAGIC): Likewise.
4722 (NILFS_SUPER_MAGIC): Likewise.
4723 (OPENPROM_SUPER_MAGIC): Likewise.
4724 (PIPEFS_MAGIC): Likewise.
4725 (PSTOREFS_MAGIC): Likewise.
4726 (QNX6_SUPER_MAGIC): Likewise.
4727 (RAMFS_MAGIC): Likewise.
4728 (REISERFS_SUPER_MAGIC_STRING): Likewise.
4729 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
4730 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
4731 (SECURITYFS_MAGIC): Likewise.
4732 (SELINUX_MAGIC): Likewise.
4733 (SMACK_MAGIC): Likewise.
4734 (SOCKFS_MAGIC): Likewise.
4735 (SQUASHFS_MAGIC): Likewise.
4736 (STACK_END_MAGIC): Likewise.
4737 (TMPFS_MAGIC): Likewise.
4738 (USBDEVICE_SUPER_MAGIC): Likewise.
4739 (V9FS_MAGIC): Likewise.
4740 (XENFS_SUPER_MAGIC): Likewise.
4741 (CRAMFS_MAGIC): Fix typo in comment.
4742 (EXT2_SUPER_MAGIC): Update comment.
4743 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
4745 2014-02-08 Joseph Myers <joseph@codesourcery.com>
4747 * sysdeps/arm: Move directory from ports/sysdeps/arm.
4748 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
4749 * sysdeps/unix/sysv/linux/arm: Move directory from
4750 ports/sysdeps/unix/sysv/linux/arm.
4751 * README: Update listing for arm-*-linux-gnueabi.
4753 * README: Remove mention of am33.
4755 2014-02-07 Roland McGrath <roland@hack.frob.com>
4757 * bits/sigset.h (__sigemptyset): Use a statement expression rather
4758 than the comma operator, to avoid "rhs of comma has no effect"
4760 (__sigfillset, __sigandset, __sigorset): Likewise.
4761 * include/signal.h (__sigemptyset): Likewise.
4762 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
4764 2014-02-07 Allan McRae <allan@archlinux.org>
4766 * version.h (RELEASE): Set to "development".
4767 (VERSION): Set to "2.19.90"
4768 * NEWS: Add 2.20 section.
4770 2014-02-06 Carlos O'Donell <carlos@redhat.com>
4773 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
4775 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
4777 * manual/contrib.texi: Update entry for Carlos O'Donell,
4778 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
4780 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
4782 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
4784 * sysdeps/unix/sysv/linux/kernel-features.h
4785 [__LINUX_KERNEL_VERSION >= 0x020621]
4786 (__ASSUME_PROC_PID_TASK_COMM): Define.
4788 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4791 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
4792 conversion when destination buffer does not have enough space.
4793 * libio/tst-ftell-partial-wide.c: New test case.
4794 * libio/Makefile (tests): Add tst-ftell-partial-wide.
4796 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
4797 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
4798 Leonard and Allan McRae.
4800 2014-02-04 David S. Miller <davem@davemloft.net>
4802 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
4805 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
4809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
4811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
4813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
4815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
4817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
4819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
4821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
4823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
4825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
4827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
4829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
4831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
4834 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4836 * nptl/shlib-versions: Change powerpc*le start to 2.17.
4837 * shlib-versions: Likewise.
4839 2014-02-04 Roland McGrath <roland@hack.frob.com>
4840 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4842 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
4843 (abilist-pattern): New variable, set to %-le.abilist.
4845 * Makerules (abilist-pattern): New variable.
4846 (vpath): Use $(abilist-pattern) in place of %.abilist.
4847 (check-abi-% pattern rule): Likewise.
4848 (check-abi, update-abi): Likewise.
4850 2014-02-04 Eric Wong <normalperson@yhbt.net>
4852 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4854 2014-02-03 Carlos O'Donell <carlos@redhat.com>
4856 * manual/startup.texi: Add next, previous, and top entries for
4857 the `Program Arguments' and `Environment Variables' nodes.
4859 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
4861 * manual/macros.texi: Add comments before MTASC-safety macros.
4863 * manual/users.texi: Document MTASC-safety properties.
4865 * manual/threads.texi (pthread_key_create, pthread_key_delete)
4866 (pthread_getspecific, pthread_setspecific): Format with
4867 @deftypefun, and add @safety note.
4868 * manual/signal.texi: Move comments that analyze the above
4869 functions to their home place.
4871 2014-02-03 Allan McRae <allan@archlinux.org>
4873 * po/sl.po: Update Slovenian translation from translation project.
4875 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
4877 * manual/time.texi (timegm): Add missing blank after @c.
4878 Reported by Joseph Myers <joseph@codesourcery.com>.
4880 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
4882 * manual/check-safety.sh: New.
4883 * manual/Makefile ($(objpfx)stamp-summary): Run it.
4885 * manual/terminal.texi: Document MTASC-safety properties.
4887 * manual/filesys.texi: Document MTASC-safety properties.
4889 * manual/errno.texi: Document MTASC-safety properties.
4891 * manual/intro.texi: Document safety identifiers and
4894 * manual/string.texi (wcstok): Fix prototype.
4895 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
4897 * manual/time.texi: Document MTASC-safety properties.
4899 * manual/string.texi: Document MTASC-safety properties.
4901 * manual/threads.texi: Document MTASC-safety properties.
4903 * manual/stdio.texi: Document MTASC-safety properties.
4905 * manual/syslog.texi: Document MTASC-safety properties.
4907 * manual/sysinfo.texi: Document MTASC-safety properties.
4909 * manual/startup.texi: Document MTASC-safety properties.
4911 * manual/socket.texi: Document MTASC-safety properties.
4913 * manual/signal.texi: Document MTASC-safety properties.
4915 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
4917 * manual/setjmp.texi: Document MTASC-safety properties.
4919 * manual/search.texi: Document MTASC-safety properties.
4921 * manual/resource.texi: Document MTASC-safety properties.
4923 * manual/process.texi: Document MTASC-safety properties.
4925 * manual/platform.texi: Document MTASC-safety properties.
4927 * manual/pipe.texi: Document MTASC-safety properties.
4929 * manual/pattern.texi: Document MTASC-safety properties.
4931 * manual/message.texi: Document MTASC-safety properties.
4934 * manual/memory.texi: Document MTASC-safety properties.
4936 * manual/math.texi: Document MTASC-safety properties.
4938 * manual/locale.texi: Document MTASC-safety properties.
4940 * manual/llio.texi: Document MTASC-safety properties.
4942 * manual/libdl.texi: New.
4944 * manual/lang.texi: Document MTASC-safety properties.
4946 * manual/job.texi: Document MTASC-safety properties.
4948 * manual/getopt.texi: Document MTASC-safety properties.
4950 * manual/ctype.texi: Document MTASC-safety properties.
4952 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
4955 * csu/libc-tls.c (static_map): Remove variable.
4956 (__libc_setup_tls): Use main executable's link map for TLS data.
4957 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
4958 casing for LM_ID_BASE and GL(dl_nns).
4959 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
4960 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
4961 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
4962 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
4963 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
4965 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
4968 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
4970 * manual/debug.texi: Document MTASC-safety properties.
4972 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
4975 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
4976 of __x86_64__ when disabling x87 inline functions.
4978 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
4980 * manual/charset.texi: Document MTASC-safety properties.
4982 * manual/crypt.texi: Document MTASC-safety properties.
4984 * manual/conf.texi: Document MTASC-safety properties.
4986 * manual/arith.texi: Document MTASC-safety properties.
4988 * manual/argp.texi: Document MTASC-safety properties.
4990 * manual/macros.texi: Introduce macros to document multi
4991 thread, asynchronous signal and asynchronous cancellation
4993 * manual/intro.texi: Introduce the properties themselves.
4995 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4997 * sysdeps/sh/sh4/Makefile: New file.
4999 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
5001 * math/gen-libm-test.pl ($srcdir): New variable.
5002 ($auto_input): Use it.
5004 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5007 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
5008 access beyond array bounds when parsing netgroups file.
5010 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
5011 the old buffer before realloc.
5013 2014-01-27 Allan McRae <allan@archlinux.org>
5015 * po/fr.po: Update French translation from translation project.
5017 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5019 * sysdeps/sh/libm-test-ulps: Regenerate.
5021 2014-01-24 David S. Miller <davem@davemloft.net>
5023 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
5025 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5027 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
5028 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
5030 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5033 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
5034 string pointers after reallocation.
5036 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5038 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
5039 __SH4A__ instead of __SH_FPU_ANY__.
5041 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5043 * sysdeps/sh/fpu_control.h: New file.
5044 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
5045 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
5046 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
5047 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
5048 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
5049 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
5050 * sysdeps/sh/sys/ucontext.h: Remove.
5051 * sysdeps/sh/sys: Remove directory.
5053 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5055 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
5056 s390/sys/ucontext.h.
5057 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
5058 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
5060 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
5063 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
5065 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5068 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
5069 Adjust the vDSO correctly for internal calls.
5070 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
5072 2014-01-20 Allan McRae <allan@archlinux.org>
5074 * po/ca.po: Update Catalan translation from translation project.
5076 2014-01-16 Mike Frysinger <vapier@gentoo.org>
5078 * sysdeps/s390/sotruss-lib.c: New file.
5080 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5083 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
5084 (__GI___gettimeofday): Alias for a different internal symbol to avoid
5085 local calls issues by not having a PLT stub required for IFUNC calls.
5086 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
5088 2014-01-16 Joseph Myers <joseph@codesourcery.com>
5090 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
5091 * math/test-fpucw-static.c: Likewise.
5093 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5096 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
5098 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5100 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
5101 implementation for powerpc.
5103 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
5106 * sysdeps/posix/system.c (__libc_system): Do not enable
5107 asynchronous cancellation.
5109 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5112 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
5113 handling only for numbers special also in the IEEE case.
5115 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5117 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5119 2014-01-11 Allan McRae <allan@archlinux.org>
5121 * po/bg.po: Update Bulgarian translation from translation project.
5123 * po/de.po: Update German translation from translation project.
5125 2014-01-10 Roland McGrath <roland@hack.frob.com>
5127 * sysdeps/generic/gcc-compat.h: New file.
5129 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5131 * benchtests/asin-inputs: Correct slow inputs.
5132 * benchtests/acos-inputs: Likewise.
5134 2014-01-10 Allan McRae <allan@archlinux.org>
5136 * po:sv.po: Update Swedish translation from translation project.
5138 * po/vi.po: Update Vietnamese translation from translation project.
5140 * po/eo.po: Update Esperanto translation from translation project.
5142 * po/cs.po: Update Czech translation from translation project.
5144 * po/nl.po: Update Dutch translation from translation project.
5146 * po/pl.po: Update Polish translation from translation project.
5148 * po/ru.po: Update Russian translation from translation project.
5150 * po/uk.po: Update Ukrainian translation from translation project.
5152 2014-01-08 Brooks Moses <bmoses@google.com>
5154 * elf/dl-load.c: Fix comment typo.
5156 2014-01-08 Carlos O'Donell <carlos@redhat.com>
5158 * po/header.pot: Rename to...
5159 * po/pot.header: ... this.
5160 * po/Makefile: Use pot.header.
5162 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
5163 Maxim Kuvyrkov <maxim@kugelworks.com>
5166 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
5167 SRC and DEST against LEN.
5169 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5172 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
5174 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
5176 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5178 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5180 2014-01-08 Joseph Myers <joseph@codesourcery.com>
5183 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
5184 for large positive arguments.
5186 2014-01-07 Joseph Myers <joseph@codesourcery.com>
5188 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
5190 * math/auto-libm-test-in: Mark various tests with
5191 xfail-rounding:ldbl-128ibm.
5192 * math/auto-libm-test-out: Regenerated.
5195 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
5196 Increase overflow threshold.
5198 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
5201 * stdio-common/vfprintf.c: Check for integer overflow.
5203 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5205 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
5206 the first argument and return value of __tls_get_addr_internal.
5208 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5210 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
5211 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
5213 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5215 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
5216 * sysdeps/s390/rtld-global-offsets.sym: New file.
5217 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
5219 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
5220 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
5221 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
5223 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
5224 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
5226 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
5228 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
5230 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
5231 halfs of GPRs for high_gprs contexts.
5232 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
5233 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
5235 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
5237 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
5239 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
5240 for high GPRs (uc_high_gprs) and for future extensions
5242 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
5243 for future extensions (__reserved).
5244 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
5246 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
5247 SC_HIGHGPRS offset definition.
5248 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
5249 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
5251 * Versions.def: Add GLIBC_2.19 for libpthread.
5252 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
5253 siglongjmp for libpthread with GLIBC_2.19 symver.
5254 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
5255 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
5256 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
5257 * sysdeps/s390/__longjmp.c: New file.
5258 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
5259 * sysdeps/s390/longjmp.c: New file.
5260 * sysdeps/s390/setjmp.S: New file.
5261 * sysdeps/s390/sigjmp.S: New file.
5262 * sysdeps/s390/v1-longjmp.c: New file.
5263 * sysdeps/s390/v1-setjmp.h: New file.
5264 * sysdeps/s390/v1-sigjmp.c: New file.
5265 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
5266 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
5268 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
5269 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
5270 versioned symbols for ____longjmp_chk.
5271 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
5273 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
5275 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
5277 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
5279 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
5281 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
5282 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
5283 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
5284 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
5285 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
5286 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
5287 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
5288 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
5289 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
5290 * sysdeps/s390/rtld-__longjmp.c: New file.
5291 * sysdeps/s390/rtld-setjmp.S: New file.
5293 2014-01-06 Joseph Myers <joseph@codesourcery.com>
5296 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
5297 Return -__logl (x) for small positive arguments without evaluating
5300 2014-01-06 Mike Frysinger <vapier@gentoo.org>
5302 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
5304 (__ptrace_peeksiginfo_args): ... this.
5305 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
5306 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
5307 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
5309 2014-01-06 Allan McRae <allan@archlinux.org>
5311 * inet/netinet/in.h: Fix typo in comment.
5313 2014-01-05 Andreas Jaeger <aj@suse.de>
5315 * sysdeps/i386/fpu/libm-test-ulps: Update.
5317 2014-01-05 Allan McRae <allan@archlinux.org>
5319 * po/libc.pot: Regenerated.
5321 * malloc/memusagestat.c: Fix gettext call formatting.
5323 2014-01-04 Sami Kerola <kerolasa@iki.fi>
5325 * nscd/nscd.c: Improve usage() output.
5327 2014-01-04 Mike Frysinger <vapier@gentoo.org>
5329 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
5330 * sysdeps/unix/sysv/linux/configure: Regenerated.
5331 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
5332 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
5334 2014-01-03 Joseph Myers <joseph@codesourcery.com>
5337 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
5338 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
5340 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5342 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
5343 extra tokens at end of #undef directive.
5344 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
5345 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
5346 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
5348 2014-01-03 Joseph Myers <joseph@codesourcery.com>
5350 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
5352 * math/auto-libm-test-in: Mark various tests with
5353 xfail-rounding:ldbl-128ibm.
5354 * math/auto-libm-test-out: Regenerated.
5356 2014-01-02 Joseph Myers <joseph@codesourcery.com>
5359 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
5360 numbers with subnormal high part when calculating exponent.
5363 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
5367 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
5369 (__ieee754_acoshl): Use __log1pl not __log1p.
5371 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
5373 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
5374 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
5375 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
5376 (grow_heap, heap_trim, _int_new_arena, get_free_list)
5377 (reused_arena, arena_get2): Convert to GNU style.
5378 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
5379 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
5380 (memalign_check, __malloc_set_state): Likewise.
5381 * malloc/mallocbug.c (main): Likewise.
5382 * malloc/malloc.c (__malloc_assert, malloc_init_state)
5383 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
5384 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
5385 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
5386 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
5387 (__posix_memalign, malloc_info): Likewise.
5388 * malloc/malloc.h: Likewise.
5389 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
5390 (mallochook, memalignhook, reallochook, mabort): Likewise.
5391 * malloc/mcheck.h: Likewise.
5392 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
5393 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
5394 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
5395 * malloc/morecore.c (__default_morecore): Likewise.
5396 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
5397 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
5398 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
5399 (print_and_abort): Likewise.
5400 * malloc/obstack.h: Likewise.
5401 * malloc/set-freeres.c (__libc_freeres): Likewise.
5402 * malloc/tst-mallocstate.c (main): Likewise.
5403 * malloc/tst-mtrace.c (main): Likewise.
5404 * malloc/tst-realloc.c (do_test): Likewise.
5406 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5409 * nscd/netgroupcache.c (do_notfound): New function.
5410 (addgetnetgrentX): Use it.
5413 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
5414 NSS_STATUS_NOTFOUND.
5416 2014-01-01 Joseph Myers <joseph@codesourcery.com>
5418 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
5419 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5421 2014-01-01 Allan McRae <allan@archlinux.org>
5423 * scripts/update-copyrights: Update configure input file suffix.
5425 * NEWS: Update copyright year.
5426 * catgets/gencat.c: Likewise.
5427 * csu/version.c: Likewise.
5428 * debug/catchsegv.sh: Likewise.
5429 * debug/pcprofiledump.c: Likewise.
5430 * debug/xtrace.sh: Likewise.
5431 * elf/ldconfig.c: Likewise.
5432 * elf/ldd.bash.in: Likewise.
5433 * elf/pldd.c: Likewise.
5434 * elf/sotruss.ksh: Likewise.
5435 * elf/sprof.c: Likewise.
5436 * iconv/iconv_prog.c: Likewise.
5437 * iconv/iconvconfig.c: Likewise.
5438 * locale/programs/locale.c: Likewise.
5439 * locale/programs/localedef.c: Likewise.
5440 * login/programs/pt_chown.c: Likewise.
5441 * malloc/memusage.sh: Likewise.
5442 * malloc/memusagestat.c: Likewise.
5443 * malloc/mtrace.pl: Likewise.
5444 * manual/libc.texinfo: Likewise.
5445 * nscd/nscd.c: Likewise.
5446 * nss/getent.c: Likewise.
5447 * nss/makedb.c: Likewise.
5448 * posix/getconf.c: Likewise.
5449 * scripts/test-installation.pl: Likewise.
5451 * All files with FSF copyright notices: Update copyright dates
5452 using scripts/update-copyrights.
5453 * intl/plural.c: Regenerated.
5454 * locale/programs/charmap-kw.h: Likewise.
5455 * locale/programs/locfile-kw.h: Likewise.
5457 2013-12-31 Mike Frysinger <vapier@gentoo.org>
5459 * sysdeps/unix/sysv/linux/configure: Regenerated.
5460 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
5461 the linux/fanotify.h header.
5462 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
5463 HAVE_LINUX_FANOTIFY_H is defined.
5465 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
5467 * benchtests/cos-inputs: New inputs.
5468 * benchtests/sin-inputs: Likewise.
5470 * benchtests/atan-inputs: New inputs. Fix name of multiple
5471 precision fallback inputs.
5473 * benchtests/atanh-inputs: New inputs.
5474 * benchtests/tanh-inputs: Likewise.
5476 * benchtests/acosh-inputs: New inputs.
5477 * benchtests/asinh-inputs: Likewise.
5479 * benchtests/cosh-inputs: New inputs.
5480 * benchtests/sinh-inputs: Likewise.
5482 * benchtests/acos-inputs: Add more inputs.
5483 * benchtests/asin-inputs: Likewise.
5485 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
5488 * manual/arith.texi: Fix spelling.
5489 * manual/charset.texi: Likewise.
5490 * manual/errno.texi: Likewise.
5491 * manual/filesys.texi: Likewise.
5492 * manual/lang.texi: Likewise.
5493 * manual/llio.texi: Likewise.
5494 * manual/locale.texi: Likewise.
5495 * manual/message.texi: Likewise.
5496 * manual/resource.texi: Likewise.
5497 * manual/search.texi: Likewise.
5498 * manual/setjmp.texi: Likewise.
5499 * manual/stdio.texi: Likewise.
5500 * manual/string.texi: Likewise.
5501 * manual/sysinfo.texi: Likewise.
5502 * manual/time.texi: Likewise.
5504 2013-12-27 Carlos O'Donell <carlos@redhat.com>
5506 * po/sl.po: New file.
5508 2013-12-27 Mike Frysinger <vapier@gentoo.org>
5510 * .gitignore: Add core/.gdbinit/.gdb_history.
5512 2013-12-27 Allan McRae <allan@archlinux.org>
5515 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
5516 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
5518 2013-12-24 Brooks Moses <bmoses@google.com>
5520 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
5521 all compilers that claim C++98 compliance, not just GCC.
5522 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
5525 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
5527 * NEWS: Restore accidentally deleted bug-fix entries.
5529 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
5530 Ondřej Bílka <neleai@seznam.cz>
5533 * malloc/malloc.c (_int_free): Perform sanity check only if we
5536 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
5539 * manual/stdio.texi (String Input Conversions): Clarify that character
5540 classes are not supported.
5542 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5544 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5546 2013-12-22 Joseph Myers <joseph@codesourcery.com>
5549 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
5550 Calculate results for small negative arguments directly rather
5551 than using reflection formula with special underflow handling.
5553 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
5554 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
5555 sysdeps/unix/bsd/bsd4.4/syscalls.list.
5556 (fchflags): Likewise.
5558 (setlogin): Likewise.
5559 (sigaltstack): Likewise.
5562 (sigsetmask): Likewise.
5564 (waitpid): Likewise.
5565 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
5566 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
5568 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
5569 * sysdeps/unix/bsd/Makefile: ... here.
5570 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
5571 * sysdeps/unix/bsd/Versions: ... here.
5572 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
5573 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
5574 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
5575 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
5576 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
5577 * sysdeps/unix/bsd/sigblock.c: ... here.
5578 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
5579 * sysdeps/unix/bsd/sigsetmask.c: ... here.
5580 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
5581 * sysdeps/unix/bsd/sigvec.c: ... here.
5582 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
5583 * sysdeps/unix/bsd/tcdrain.c: ... here.
5584 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
5585 * sysdeps/unix/bsd/tcgetattr.c: ... here.
5586 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
5587 * sysdeps/unix/bsd/tcsetattr.c: ... here.
5588 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
5589 * sysdeps/unix/bsd/wait.c: ... here.
5590 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
5591 * sysdeps/unix/bsd/wait3.c: ... here.
5592 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
5593 * sysdeps/unix/bsd/waitpid.c: ... here.
5595 2013-12-21 Joseph Myers <joseph@codesourcery.com>
5598 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
5599 round-to-nearest for [!USE_AS_EXPM1L].
5600 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
5601 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
5602 more tests of exp and exp10. Expect some exp10 tests to miss
5603 exceptions or fail in directed rounding modes.
5604 * math/auto-libm-test-out: Regenerated.
5605 * math/libm-test.inc (exp10_tonearest_test_data): New array.
5606 (exp10_test_tonearest): New function.
5607 (exp10_towardzero_test_data): New array.
5608 (exp10_test_towardzero): New function.
5609 (exp10_downward_test_data): New array.
5610 (exp10_test_downward): New function.
5611 (exp10_upward_test_data): New array.
5612 (exp10_test_upward): New function.
5613 (main): Call the new functions.
5614 * sysdeps/i386/fpu/libm-test-ulps: Update.
5615 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5617 2013-12-20 Joseph Myers <joseph@codesourcery.com>
5619 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
5620 asinh, atan, atan2, atanh, cbrt, cos and cosh.
5621 * math/auto-libm-test-out: Regenerated.
5622 * math/libm-test.inc (acosh_test_data): Add more tests.
5623 (atanh_test_data): Likewise.
5624 (ceil_test_data): Likewise.
5625 (copysign_test_data): Likewise.
5626 * sysdeps/i386/fpu/libm-test-ulps: Update.
5627 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5629 * timezone/checktab.awk: Update from tzcode 2013i.
5630 * timezone/private.h: Likewise.
5631 * timezone/scheck.c: Likewise.
5632 * timezone/tzfile.h: Likewise.
5633 * timezone/tzselect.ksh: Likewise.
5634 * timezone/zdump.c: Likewise.
5635 * timezone/zic.c: Likewise.
5637 * math/auto-libm-test-in: Add tests of cpow.
5638 * math/auto-libm-test-out: Regenerated.
5639 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
5640 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5642 (func_calc_desc): Add mpc_cc_c union field.
5643 (test_functions): Add cpow.
5644 (special_fill_2pi): New function.
5645 (special_real_inputs): Add 2pi.
5646 (calc_generic_results): Handle mpc_cc_c.
5647 * sysdeps/i386/fpu/libm-test-ulps: Update.
5648 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5650 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
5651 csqrt, ctan and ctanh.
5652 * math/auto-libm-test-out: Regenerated.
5653 * math/libm-test.inc (TEST_COND_x86_64): New macro.
5654 (TEST_COND_x86): Likewise.
5655 (ccos_test_data): Use AUTO_TESTS_c_c.
5656 (ccosh_test_data): Likewise.
5657 (cexp_test_data): Likewise.
5658 (clog_test_data): Likewise.
5659 (csqrt_test_data): Likewise.
5660 (ctan_test_data): Likewise.
5661 (ctan_tonearest_test_data): Likewise.
5662 (ctan_towardzero_test_data): Likewise.
5663 (ctan_downward_test_data): Likewise.
5664 (ctan_upward_test_data): Likewise.
5665 (ctanh_test_data): Likewise.
5666 (ctanh_tonearest_test_data): Likewise.
5667 (ctanh_towardzero_test_data): Likewise.
5668 (ctanh_downward_test_data): Likewise.
5669 (ctanh_upward_test_data): Likewise.
5670 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5672 (func_calc_desc): Add mpc_c_c union field.
5673 (FUNC_mpc_c_c): New macro.
5674 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
5675 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
5677 (special_fill_min_subnorm_p120): New function.
5678 (special_real_inputs): Add min_subnorm_p120.
5679 (calc_generic_results): Handle mpc_c_c.
5680 * sysdeps/i386/fpu/libm-test-ulps: Update.
5681 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5683 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
5685 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
5686 (do_sin_slow): New functions.
5687 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
5688 (cslow2, csloww1, csloww2): Use the new functions.
5690 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
5691 Use M to change sign of result instead of X. Assume X is
5693 (csloww1): Likewise.
5697 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
5702 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
5704 (sloww1): Don't adjust sign of DX.
5705 (csloww1): Likewise.
5706 (sloww2): Use X directly and don't adjust sign of DX.
5707 (csloww2): Likewise.
5709 2013-12-19 Joseph Myers <joseph@codesourcery.com>
5711 * math/auto-libm-test-in: Add tests of cabs and carg.
5712 * math/auto-libm-test-out: Regenerated.
5713 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
5714 (carg_test_data): Likewise.
5715 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5717 (func_calc_desc): Add mpc_c_f union field.
5718 (test_functions): Add cabs and carg.
5719 (calc_generic_results): Handle mpc_c_f.
5721 * sysdeps/powerpc/powerpc32/libgcc-compat.S
5722 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
5723 as a macro and a compat symbol.
5724 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
5725 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
5726 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
5727 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
5728 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
5729 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
5731 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
5733 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
5735 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
5737 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
5739 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
5741 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
5742 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
5745 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5747 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5749 2013-12-19 Joseph Myers <joseph@codesourcery.com>
5751 * manual/texinfo.tex: Update to version 2013-11-26.10 with
5752 trailing whitespace removed.
5753 * scripts/config.guess: Update to version 2013-11-29.
5754 * scripts/config.sub: Update to version 2013-10-01.
5756 * math/auto-libm-test-in: Add tests of sincos.
5757 * math/auto-libm-test-out: Regenerated.
5758 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
5759 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5761 (func_calc_desc): Add mpfr_f_11 union field.
5762 (test_functions): Add sincos.
5763 (calc_generic_results): Handle mpfr_f_11.
5764 * sysdeps/i386/fpu/libm-test-ulps: Update.
5765 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5767 2013-12-19 Andreas Schwab <schwab@suse.de>
5769 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
5771 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
5772 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
5773 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
5775 2013-12-19 Joseph Myers <joseph@codesourcery.com>
5777 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
5778 * sysdeps/i386/fpu/libm-test-ulps: Update.
5779 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5782 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
5783 round-to-nearest mode when using frndint.
5784 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
5785 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
5786 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
5788 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
5790 * math/auto-libm-test-out: Regenerated.
5791 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
5792 (TEST_COND_x86): Likewise.
5793 (expm1_tonearest_test_data): New array.
5794 (expm1_test_tonearest): New function.
5795 (expm1_towardzero_test_data): New array.
5796 (expm1_test_towardzero): New function.
5797 (expm1_downward_test_data): New array.
5798 (expm1_test_downward): New function.
5799 (expm1_upward_test_data): New array.
5800 (expm1_test_upward): New function.
5801 (main): Run the new test functions.
5802 * sysdeps/i386/fpu/libm-test-ulps: Update.
5803 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5805 * include/features.h: Update comment documenting feature test
5806 macros. Mention _DEFAULT_SOURCE in comment.
5807 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
5808 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
5809 _BSD_SOURCE and _SVID_SOURCE.
5810 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
5811 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
5812 !_SVID_SOURCE]: Likewise.
5813 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5814 (__USE_POSIX_IMPLICITLY): Define.
5815 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5816 (_POSIX_SOURCE): Undefine and redefine.
5817 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5818 (_POSIX_C_SOURCE): Likewise.
5819 * manual/creature.texi (_DEFAULT_SOURCE): Document.
5820 (Feature Test Macros): Update documentation of default features.
5822 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5824 * benchtests/Makefile: Add bench-strtok.
5825 * benchtests/bench-strtok.c: New file: strtok benchtest.
5827 2013-12-19 Allan McRae <allan@archlinux.org>
5829 * manual/install.texi: Suppress menu for plain text output.
5830 * INSTALL: Regenerated.
5832 2013-12-18 Brooks Moses <bmoses@google.com>
5835 * misc/getauxval.c: Include errno.h.
5836 (__getauxval): Set errno to ENOENT if the requested type is not
5838 * misc/sys/auxv.h (getauxval): Document that it may set errno;
5839 don't declare with __attribute_const__.
5840 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
5841 * manual/startup.texi: Document that getauxval sets errno.
5843 2013-12-18 Joseph Myers <joseph@codesourcery.com>
5845 * math/auto-libm-test-in: Add tests of jn and yn.
5846 * math/auto-libm-test-out: Regenerated.
5847 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
5848 (yn_test_data): Likewise.
5849 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5851 (func_calc_desc): Add mpfr_if_f union field.
5852 (FUNC_mpfr_if_f): New macro.
5853 (test_functions): Add jn and yn.
5854 (calc_generic_results): Assert type of second input for
5855 mpfr_ff_f. Handle mpfr_if_f.
5856 (output_for_one_input_case): Disable all checking for arguments
5857 fitting floating-point types in case of an integer argument.
5858 * sysdeps/i386/fpu/libm-test-ulps: Update.
5859 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5861 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
5862 Don't expect fegetround reference in libm.so.
5864 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5866 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
5867 $(config-cflags-nofma).
5869 2013-12-18 Joseph Myers <joseph@codesourcery.com>
5871 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
5872 * math/auto-libm-test-out: Regenerated.
5875 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
5876 to determine exponent and adjust argument to have exponent of -1.
5877 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
5879 * math/auto-libm-test-out: Regenerated.
5880 * sysdeps/i386/fpu/libm-test-ulps: Update.
5881 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5883 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
5885 * manual/probes.texi: Remove cases when per-thread arenas are
5888 2013-12-18 Andreas Schwab <schwab@suse.de>
5890 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
5891 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
5892 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
5893 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
5894 * sysdeps/i386/i686/multiarch/Makefile: Update.
5895 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
5897 2013-12-17 Joseph Myers <joseph@codesourcery.com>
5899 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
5900 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
5902 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
5905 Support TZ transition times < 00:00:00.
5906 This is needed for version-3 tz-format files; it supports time
5907 stamps past 2037 for America/Godthab (the only entry in the tz
5908 database for which this change is relevant).
5909 * manual/time.texi (TZ Variable): Document transition times
5910 from -167:59:59 through -00:00:01.
5911 * time/tzset.c (tz_rule): Time of day is now signed.
5912 (__tzset_parse_tz): Parse negative time of day.
5914 Document TZ transition times >= 25:00:00.
5915 * manual/time.texi (TZ Variable): Document transition times from
5916 25:00:00 through 167:59:59. These are already supported, and this
5917 support will help with version-3 tz-format files.
5919 * manual/time.texi (TZ Variable): Modernize North America example
5920 to reflect current (i.e., 2007-and-later) daylight saving rules.
5922 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
5924 2013-12-17 Joseph Myers <joseph@codesourcery.com>
5926 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
5927 * sysdeps/unix/bsd/bits/stat.h: Likewise.
5928 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
5929 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
5930 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
5931 * sysdeps/unix/bsd/bsdstat.h: Likewise.
5932 * sysdeps/unix/bsd/clock.c: Likewise.
5933 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
5934 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
5935 * sysdeps/unix/bsd/init-posix.c: Likewise.
5936 * sysdeps/unix/bsd/poll.c: Likewise.
5937 * sysdeps/unix/bsd/ptsname.c: Likewise.
5938 * sysdeps/unix/bsd/seekdir.c: Likewise.
5939 * sysdeps/unix/bsd/setegid.c: Likewise.
5940 * sysdeps/unix/bsd/seteuid.c: Likewise.
5941 * sysdeps/unix/bsd/setgid.c: Likewise.
5942 * sysdeps/unix/bsd/setrgid.c: Likewise.
5943 * sysdeps/unix/bsd/setruid.c: Likewise.
5944 * sysdeps/unix/bsd/setsid.c: Likewise.
5945 * sysdeps/unix/bsd/setuid.c: Likewise.
5946 * sysdeps/unix/bsd/sigaction.c: Likewise.
5947 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
5948 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
5949 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
5950 * sysdeps/unix/bsd/telldir.c: Likewise.
5951 * sysdeps/unix/bsd/times.c: Likewise.
5952 * sysdeps/unix/bsd/usleep.c: Likewise.
5954 * misc/Makefile (install-lib): Remove libbsd-compat.a.
5955 ($(objpfx)libbsd-compat.a): Remove rule.
5957 * include/features.h (__FAVOR_BSD): Do not define.
5958 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
5959 features conflicting with POSIX.
5960 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
5961 (_BSD_SOURCE): Remove description of not being a subset of other
5962 feature test macros.
5963 * manual/job.texi (getpgrp): Do not document BSD version.
5964 (getpgid): Do not document by reference to BSD getpgrp.
5965 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
5966 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
5967 * signal/signal.h [__FAVOR_BSD]: Likewise.
5968 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
5969 instead of making contents conditional on [__FAVOR_BSD].
5970 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
5972 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5974 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5976 2013-12-17 Joseph Myers <joseph@codesourcery.com>
5979 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
5980 values below 2**-450, not 2**-500.
5981 * math/auto-libm-test-in: Don't allow spurious underflow from
5983 * math/auto-libm-test-out: Regenerated.
5987 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
5988 values of ha and hb and sort them after adjusting subnormal
5990 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
5992 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
5993 values of ea and eb and sort them after adjusting subnormal
5995 * math/auto-libm-test-in: Do not expect some hypot tests of
5996 subnormals to fail. Add more hypot tests.
5997 * math/auto-libm-test-out: Regenerated.
5999 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6002 * sysdeps/sh/s_fma.c: New file.
6003 * sysdeps/sh/s_fmaf.c: New file.
6004 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
6006 * sysdeps/sh/Implies: Add sh/soft-fp.
6008 2013-12-16 Roland McGrath <roland@hack.frob.com>
6010 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
6011 level of indirection to members `objname', `errstring', `malloced'.
6012 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
6013 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
6014 it as the __longjmp argument (just pass 1 instead).
6015 (_dl_catch_error): Initialize C with argument pointers and address of
6016 volatile local ERRCODE rather than copying values out of C at return.
6018 2013-12-16 Joseph Myers <joseph@codesourcery.com>
6020 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
6021 * math/auto-libm-test-out: Regenerated.
6022 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
6023 (hypot_test_data): Likewise.
6024 (pow_test_data): Likewise.
6025 (pow_tonearest_test_data): Likewise.
6026 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6028 (func_calc_desc): Add mpfr_ff_f union field.
6029 (FUNC_mpfr_ff_f): New macro.
6030 (test_functions): Add atan2, hypot and pow.
6031 (special_fill_min): New function.
6032 (special_fill_minus_min): Likewise.
6033 (special_fill_min_subnorm): Likewise.
6034 (special_fill_minus_min_subnorm): Likewise.
6035 (special_real_inputs): Add min, -min, min_subnorm and
6037 (calc_generic_results): Handle mpfr_ff_f.
6038 * sysdeps/i386/fpu/libm-test-ulps: Update.
6039 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6041 2013-12-16 Will Newton <will.newton@linaro.org>
6043 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
6044 (Aligned Memory Blocks): Add documentation for aligned_alloc
6045 and suggest it as an alternative to posix_memalign.
6046 (Hooks for Malloc): Document __memalign_hook is also called
6047 for aligned_alloc. (Summary of Malloc): Add summary for
6048 aligned alloc. Document __memalign_hook is also called
6051 2013-12-16 Will Newton <will.newton@linaro.org>
6053 * manual/memory.texi (Malloc Examples): Clarify default
6054 alignment documentation. Suggest posix_memalign rather
6055 than memalign or valloc.
6056 (Aligned Memory Blocks): Remove suggestion to use memalign
6057 or valloc. Remove obsolete comment about BSD.
6058 Document memalign errno values and mark the function obsolete.
6059 Document posix_memalign returned error codes. Mark valloc
6060 as obsolete. (Hooks for Malloc): __memalign_hook is also
6061 called for posix_memalign and valloc.
6062 (Summary of Malloc): Add posix_memalign to function summary.
6063 __memalign_hook is also called for posix_memalign and valloc.
6065 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6067 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
6071 (sloww): Use mynumber union. Expand ternary operator into
6073 (cslow): use mynumber union.
6075 2013-12-16 Allan McRae <allan@archlinux.org>
6077 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
6078 * configure: Regenerated.
6080 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
6083 * configure.ac: Added --enable-maintainer-mode. Check for
6084 autoconf when enabled.
6085 * configure: Regenerated.
6087 * nscd/nscd.service: New file.
6088 * nscd/nscd.tmpfiles: New file.
6090 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
6093 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
6094 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
6095 * sysdeps/x86_64/multiarch/strstr.c: ... here.
6096 (strstr): Add __strstr_sse2_unaligned ifunc.
6097 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
6098 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
6099 (strcasestr): Remove __strcasestr_sse42 ifunc.
6100 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
6101 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
6102 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
6104 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6106 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
6107 * sysdeps/sh/bits/fenv.h: ... here.
6108 * sysdeps/sh/sh4/fpu/bits: Remove directory.
6110 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6112 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
6114 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
6115 hypotf multiarch implementations.
6116 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
6117 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
6118 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
6119 multiarch hypot for PPC64.
6120 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
6121 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
6122 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
6123 multiarch hypotf for PPC64.
6125 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
6126 modff multiarch implementations.
6127 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
6128 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
6129 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
6130 multiarch modf for PPC64.
6131 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
6132 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
6133 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
6134 multiarch modff for PPC64.
6136 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
6137 and logl multiarch implementations.
6138 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
6139 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
6140 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
6141 multiarch logb for PPC64.
6142 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
6143 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
6144 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
6145 multiarch logb for PPC64.
6146 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
6147 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
6148 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
6149 multiarch logb for PPC64.
6151 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
6152 isinff multiarch implementation.
6153 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
6155 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
6156 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
6157 multiarch isinf for PPC64.
6158 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
6160 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
6161 multiarch isinff for PPC64.
6163 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
6164 finitef multiarch implementation.
6165 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
6167 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
6168 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
6169 multiarch finite for PPC64.
6170 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
6172 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
6173 multiarch finitef for PPC64.
6175 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
6176 lrint multiarch implementation.
6177 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
6179 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
6180 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
6181 multiarch llrint for PPC64.
6182 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
6183 multiarch lrint for PPC64.
6185 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
6186 copysignf multiarch implementation.
6187 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
6189 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
6191 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
6192 multiarch copysign for PPC64.
6193 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
6194 multiarch copysignf for PPC64.
6196 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
6197 multiarch implementation.
6198 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
6200 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
6202 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
6204 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
6206 multiarch llround for PPC64.
6207 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
6208 multiarch trunc for PPC64.
6209 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
6210 multiarch truncf for PPC64.
6212 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
6213 multiarch implementation.
6214 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
6216 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
6218 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
6220 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
6222 multiarch llround for PPC64.
6223 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
6224 multiarch round for PPC64.
6225 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
6226 multiarch roundf for PPC64.
6228 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
6229 multiarch implementation.
6230 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
6232 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
6234 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
6236 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
6238 multiarch llround for PPC64.
6239 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
6240 multiarch floor for PPC64.
6241 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
6242 multiarch floorf for PPC64.
6244 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
6245 multiarch implementation.
6246 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
6248 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
6250 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
6252 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
6254 multiarch llround for PPC64.
6255 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
6256 multiarch ceil for PPC64.
6257 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
6258 multiarch ceilf for PPC64.
6260 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
6261 multiarch implementation.
6262 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
6264 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
6266 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
6268 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
6269 multiarch llround for PPC64.
6270 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
6271 multiarch lround for PPC64.
6273 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
6274 multiarch implementation.
6275 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
6276 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
6277 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
6279 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
6280 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
6281 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
6282 multiarch isnan for PPC64.
6283 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
6284 multiarch isnanf for PPC64.
6286 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
6287 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
6288 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
6289 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
6290 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
6291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
6293 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
6294 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
6295 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6296 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6298 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
6299 multiarch implementations.
6300 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6301 (__libc_ifunc_impl_list): Likewise.
6302 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
6303 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
6304 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
6305 multiarch stpcpy for PPC64.
6307 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
6308 multiarch implementations.
6309 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6310 (__libc_ifunc_impl_list): Likewise.
6311 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
6312 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
6313 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
6314 multiarch strcpy for PPC64.
6316 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
6317 redefine function name.
6318 (_wordcopy_fwd_dest_aligned): Likewise.
6319 (_wordcopy_bwd_aligned): Likewise.
6320 (_wordcopy_bwd_dest_aligned): Likewise.
6321 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
6322 multiarch implementations.
6323 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6324 (__libc_ifunc_impl_list): Likewise.
6325 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
6326 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
6327 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
6328 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
6329 multiarch wcscpy for PPC64.
6331 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
6332 multiarch implementations.
6333 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6334 (__libc_ifunc_impl_list): Likewise.
6335 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
6336 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
6337 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
6338 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
6339 multiarch wcscpy for PPC64.
6341 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
6342 multiarch implementations.
6343 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6344 (__libc_ifunc_impl_list): Likewise.
6345 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
6346 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
6347 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
6348 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
6349 multiarch wcsrchr for PPC64.
6351 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
6352 multiarch implementations.
6353 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6354 (__libc_ifunc_impl_list): Likewise.
6355 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
6356 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
6357 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
6358 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
6359 multiarch wcschr for PPC64.
6361 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
6362 multiarch implementations.
6363 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6364 (__libc_ifunc_impl_list): Likewise.
6365 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
6366 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
6367 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
6368 multiarch strchrnul for PPC64.
6370 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
6372 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6373 (__libc_ifunc_impl_list): Likewise.
6374 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
6375 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
6376 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
6377 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
6380 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
6382 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6383 (__libc_ifunc_impl_list): Likewise.
6384 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
6385 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
6386 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
6387 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
6390 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
6391 multiarch implementations.
6392 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6393 (__libc_ifunc_impl_list): Likewise.
6394 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
6395 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
6396 strncasecmp for PPC64.
6397 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
6398 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
6399 multiarch strncasecmp_l for PPC64.
6401 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
6402 multiarch implementations.
6403 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6404 (__libc_ifunc_impl_list): Likewise.
6405 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
6406 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
6407 multiarch strcasecmp for PPC64.
6408 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
6410 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
6411 multiarch strcasecmp_l for PPC64.
6413 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
6415 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6416 (__libc_ifunc_impl_list): Likewise.
6417 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
6418 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
6419 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
6422 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
6424 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6425 (__libc_ifunc_impl_list): Likewise.
6426 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
6427 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
6428 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
6431 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
6433 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6434 (__libc_ifunc_impl_list): Likewise.
6435 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
6436 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
6437 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
6438 rawmemrchr for PPC64.
6440 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
6442 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6443 (__libc_ifunc_impl_list): Likewise.
6444 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
6445 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
6446 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
6449 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
6451 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6452 (__libc_ifunc_impl_list): Likewise.
6453 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
6454 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
6455 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
6458 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
6460 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6461 (__libc_ifunc_impl_list): Likewise.
6462 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
6463 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
6464 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
6467 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
6468 avoid cretion of __bzero symbol.
6469 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
6471 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
6473 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
6475 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
6476 multiarch implementations.
6477 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6478 (__libc_ifunc_impl_list): Likewise.
6479 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
6480 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
6481 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
6482 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
6484 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
6485 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
6486 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
6487 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
6488 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
6490 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
6492 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
6493 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
6495 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6496 (__libc_ifunc_impl_list): Likewise.
6497 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
6498 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
6499 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
6500 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
6503 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
6504 multiarch for POWER/PPC64.
6505 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
6506 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
6507 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
6508 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
6509 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
6510 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
6511 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
6512 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
6513 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
6516 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
6517 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
6518 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
6519 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
6520 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
6521 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
6522 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
6523 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
6524 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
6525 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
6526 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
6527 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
6528 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
6529 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
6530 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
6531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
6532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
6533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
6534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
6535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
6536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
6537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
6539 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6541 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
6543 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6545 * benchtests/Makefile (bench): Add exp2 and log2.
6546 (LDLIBS-bench-exp2): Add -lm.
6547 (LDLIBS-bench-log2): Likewise.
6548 * benchtests/exp2-inputs: New inputs file.
6549 * benchtests/log2-inputs: New inputs file.
6550 * benchtests/log-inputs: Add new inputs.
6551 * benchtests/tan-inputs: Likewise.
6553 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6555 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
6557 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
6558 (csloww2): ... from here.
6560 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
6561 instead of structures.
6562 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
6563 (POLYNOMIAL): Likewise.
6564 (TAYLOR_SLOW): Likewise.
6572 (bsloww1): Likewise.
6573 (bsloww2): Likewise.
6576 (csloww1): Likewise.
6577 (csloww2): Likewise.
6579 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
6581 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
6582 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
6583 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
6584 * malloc/hooks.c (realloc_check): Likewise.
6586 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
6587 * malloc/arena.c: Remove PER_THREAD conditional.
6588 [!PER_THREAD]: Remove code.
6589 (ptmalloc_unlock_all2): Likewise.
6590 (ptmalloc_init): Likewise.
6591 (_int_new_arena): Likewise.
6592 (arena_get2): Likewise.
6593 * malloc/hooks.c (__malloc_get_state): Likewise.
6594 (__malloc_set_state): Likewise.
6595 * malloc/malloc.c: Likewise.
6596 (struct malloc_state): Likewise.
6597 (struct malloc_par): Likewise.
6598 (__libc_realloc): Likewise.
6599 (__libc_mallopt): Likewise.
6601 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6603 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
6605 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
6607 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
6608 macro to a function. Check for zero perturb_byte.
6609 (_int_malloc, _int_free): Remove zero perturb_byte checks.
6611 * malloc/malloc.c: (force_reg): Remove.
6612 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
6613 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
6614 force_reg by atomic_forced_read.
6615 * malloc/arena.c (ptmalloc_init): Likewise.
6616 * malloc/hooks.c (top_check): Likewise.
6618 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6620 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6622 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
6624 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6626 2013-12-08 Joseph Myers <joseph@codesourcery.com>
6628 * math/auto-libm-test-in: Add tests of lgamma.
6629 * math/auto-libm-test-out: Regenerated.
6630 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
6631 (M_LOG_2_SQRT_PIl): Likewise.
6632 (lgamma_test_data): Use AUTO_TESTS_f_f1.
6633 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6635 (func_calc_desc): Add mpfr_f_f1 union field.
6644 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
6645 (test_functions): Add lgamma.
6646 (calc_generic_results): Handle mpfr_f_f1.
6647 * sysdeps/i386/fpu/libm-test-ulps: Update.
6648 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6650 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6652 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
6653 __mpn_add_n for PowerPC64/POWER7.
6654 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
6655 __mpn_sub_n for PowerPC64/POWER7.
6657 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
6658 __mpn_addmul_1 for PowerPC64.
6659 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
6660 __mpn_submul_1 for PowerPC64.
6661 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
6663 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
6666 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
6669 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
6671 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6673 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
6675 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
6676 add multiarch folders.
6677 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
6678 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
6679 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
6680 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
6681 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
6682 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
6683 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
6684 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
6685 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
6686 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
6687 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
6688 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
6689 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
6690 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
6691 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
6692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
6693 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
6695 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
6696 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
6697 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
6699 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
6701 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
6702 multiarch __ieee754_hypot for PowerPC32.
6703 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
6705 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
6707 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
6708 multiarch __ieee754_hypotf for PowerPC32.
6710 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
6711 long_double_symbol only if __logbl is defined.
6712 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
6713 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
6714 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
6715 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
6716 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
6717 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
6718 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
6719 path for implementation.
6720 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
6721 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
6722 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
6723 logb, and logbl multiarch implementations for PowerPC32.
6724 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
6726 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
6728 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
6729 multiarch logb for PowerPC32.
6730 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
6732 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
6734 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
6735 multiarch logbf for PowerPC32.
6736 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
6737 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
6739 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
6740 multiarch logbl implementation for PowerPC32.
6742 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
6743 and modff multiarch implementations.
6744 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
6746 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
6748 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
6749 multiarch modf for PowerPC32.
6750 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
6752 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
6754 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
6755 multiarch modff for PowerPC32.
6757 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
6758 and lrintf multiarch implementations.
6759 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
6761 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
6763 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
6764 multiarch lrint for PowerPC32.
6765 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
6766 file: multiarch lrintf for PowerPC32.
6768 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
6769 and lroundf multiarch implementations.
6770 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
6772 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
6774 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
6776 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
6777 multiarch lround for PowerPC32.
6778 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
6779 file: multiarch lroundf for PowerPC32.
6781 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
6782 copysign and copysignf multiarch implementations.
6783 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
6785 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
6787 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
6788 file: multiarch copysign for PowerPC32.
6789 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
6790 file: multiarch copysignf for PowerPC32.
6792 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
6793 and truncf multiarch implementations.
6794 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
6796 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
6798 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
6799 multiarch trunc for PowerPC32.
6800 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
6802 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
6804 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
6805 multiarch truncf for PowerPC32.
6807 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
6808 and roundf multiarch implementations.
6809 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
6811 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
6813 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
6814 multiarch round for PowerPC32.
6815 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
6817 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
6819 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
6820 multiarch roundf for PowerPC32.
6822 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
6823 and floorf multiarch implementations.
6824 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
6826 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
6828 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
6829 multiarch floor for PowerPC32.
6830 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
6832 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
6834 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
6835 multiarch floorf for PowerPC32.
6837 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
6838 and ceilf multiarch implementations.
6839 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
6841 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
6843 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
6844 multiarch ceil for PowerPC32.
6845 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
6847 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
6849 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
6850 multiarch ceilf for PowerPC32.
6852 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
6854 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
6856 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
6857 and finitef multiarch implementations.
6858 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
6860 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
6862 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
6863 multiarch finite for PowerPC32.
6864 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
6866 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
6867 file: multiarch finitef for PowerPC32.
6869 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
6870 and isinff multiarch implementations.
6871 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
6873 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
6875 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
6876 multiarch isinf for PowerPC32.
6877 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
6879 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
6880 multiarch isinff for PowerPC32.
6882 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
6883 alias when __isnan is defined.
6884 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
6885 and isnanf multiarch implementations.
6886 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
6888 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
6890 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
6892 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
6894 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
6895 multiarch isnan for PowerPC32.
6896 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
6898 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
6900 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
6901 multiarch isnanf for PowerPC32.
6903 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
6904 and sqrtf multiarch implementations.
6905 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
6907 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
6909 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
6910 multiarch sqrt for PowerPC32.
6911 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
6913 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
6915 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
6916 multiarch sqrtf for PowerPC32.
6918 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
6919 and llroundf multiarch implementations.
6920 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
6922 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
6924 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
6926 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
6927 file: multiarch llround for PowerPC32.
6928 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
6929 file: multiarch llroundf for PowerPC32.
6931 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
6932 multiarch PowerPC32 fpu implementations.
6933 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
6935 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
6937 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
6938 multiarch llrint for PowerPC32.
6939 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
6941 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
6943 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
6946 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
6948 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
6950 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
6952 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
6954 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
6955 multiarch wordcopy for PPC32.
6956 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
6958 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6959 (__libc_ifunc_impl_list): Likewise.
6960 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
6961 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
6962 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
6963 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
6964 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
6965 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
6967 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
6968 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
6970 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
6972 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
6974 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
6975 multiarch wcscpy for PPC32.
6976 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
6978 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6979 (__libc_ifunc_impl_list): Likewise.
6980 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
6981 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
6982 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
6983 sysdeps/powerpc/power6/wcscpy.c.
6985 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
6986 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
6988 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
6990 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
6992 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
6993 multiarch wcsrchr for PPC32.
6994 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
6996 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6997 (__libc_ifunc_impl_list): Likewise.
6998 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
6999 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
7000 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
7001 sysdeps/powerpc/power6/wcsrchr.c.
7003 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
7005 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
7007 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
7008 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
7009 multiarch wcschr for PPc32.
7010 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
7012 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7013 (__libc_ifunc_impl_list): Likewise.
7014 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
7015 * sysdeps/powerpc/power6/wcschr.c: ... to here.
7016 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
7017 sysdeps/powerpc/power6/wcschr.c.
7019 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
7020 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
7022 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
7023 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
7024 file: multiarch strchr for PPC32.
7025 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
7027 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7028 (__libc_ifunc_impl_list): Likewise.
7030 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
7032 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
7034 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
7036 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
7037 multiarch strchrnul for PPC32.
7038 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
7040 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7041 (__libc_ifunc_impl_list): Likewise.
7043 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
7045 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
7046 multiarch strncasecmp for PPC32.
7047 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
7049 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
7050 multiarch strncasecmp_l for PPC32.
7051 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
7052 strncasecmp multiarch objects.
7053 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7054 (__libc_ifunc_impl_list): Likewise.
7056 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
7058 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
7059 multiarch strncasecmp for PPC32.
7060 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
7062 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
7063 multiarch strcasecmp_l for PPC32.
7064 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
7066 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7067 (__libc_ifunc_impl_list): Likewise.
7069 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
7071 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
7073 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
7074 multiarch strncmp for PPC32.
7075 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
7077 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7078 (__libc_ifunc_impl_list): Likewise.
7080 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
7081 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
7083 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
7084 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
7085 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
7087 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7088 (__libc_ifunc_impl_list): Likewise.
7090 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
7092 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
7094 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
7095 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
7097 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7098 (__libc_ifunc_impl_list): Likewise.
7100 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
7102 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
7104 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
7105 multiarch rawmemchr for PPC32.
7106 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
7108 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7109 (__libc_ifunc_impl_list): Likewise.
7111 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
7113 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
7115 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
7116 file: memrchr multiarch for PPC32.
7117 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
7119 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7120 (__libc_ifunc_impl_list): Likewise.
7122 * string/memchr.c (__memchr): Using macro to redefine symbol name.
7123 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
7125 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
7126 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
7127 multiarch memchr for PPC32.
7128 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
7130 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7131 (__libc_ifunc_impl_list): Likewise.
7133 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
7134 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
7136 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
7138 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
7139 file: multiarch mempcpy for PPC32.
7140 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
7142 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7143 (__libc_ifunc_impl_list): Likewise.
7145 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
7146 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
7147 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
7148 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
7149 multiarch bzero for PPC32.
7150 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
7152 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
7154 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
7155 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
7156 file: multiarch memset for PPC32.
7157 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
7158 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
7159 memset multiarch objects.
7160 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7161 (__libc_ifunc_impl_list): Likewise.
7163 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
7165 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
7166 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
7168 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
7169 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
7171 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7172 (__libc_ifunc_impl_list): Likewise.
7174 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
7175 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
7176 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
7178 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
7180 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
7182 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
7183 multiarch memcpy for PPC32.
7184 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
7186 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7187 (__libc_ifunc_impl_list): Likewise.
7189 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
7190 support multiarch for POWER/PPC32.
7191 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
7193 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
7194 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
7195 Implies file to make multiarch folder appers before the fpu and
7196 default folder for power4 configuration.
7198 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
7200 * scripts/bench.pl: Append volatile keyword to type.
7202 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7204 * sysdeps/sh/sotruss-lib.c: New file.
7205 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
7207 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7209 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7211 2013-12-05 Joseph Myers <joseph@codesourcery.com>
7214 * math/w_tgamma.c: Include <errno.h>.
7215 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
7216 * math/w_tgammaf.c: Include <errno.h>.
7217 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
7218 * math/w_tgammal.c: Include <errno.h>.
7219 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
7220 * math/auto-libm-test-in: Do not allow missing errno on tgamma
7221 underflow. Add more tgamma tests.
7222 * math/auto-libm-test-out: Regenerated.
7223 * sysdeps/i386/fpu/libm-test-ulps: Update.
7224 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7226 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
7227 sin, sinh, tan, tanh, tgamma, y0 and y1.
7228 * math/auto-libm-test-out: Regenerated.
7229 * math/libm-test.inc (TEST_COND_x86_64): New macro.
7230 (TEST_COND_x86): Likewise.
7231 (M_E2l): Remove macro.
7233 (M_2_SQRT_PIl): Likewise.
7234 (M_SQRT_PIl): Likewise.
7235 (M_1_DIV_El): Likewise.
7236 (log_test_data): Use AUTO_TESTS_f_f.
7237 (log10_test_data): Likewise.
7238 (log1p_test_data): Likewise.
7239 (log2_test_data): Likewise.
7240 (sin_test_data): Likewise.
7241 (sin_tonearest_test_data): Likewise.
7242 (sin_towardzero_test_data): Likewise.
7243 (sin_downward_test_data): Likewise.
7244 (sin_upward_test_data): Likewise.
7245 (sinh_test_data): Likewise.
7246 (sinh_tonearest_test_data): Likewise.
7247 (sinh_towardzero_test_data): Likewise.
7248 (sinh_downward_test_data): Likewise.
7249 (sinh_upward_test_data): Likewise.
7250 (tan_test_data): Likewise.
7251 (tan_tonearest_test_data): Likewise.
7252 (tan_towardzero_test_data): Likewise.
7253 (tan_downward_test_data): Likewise.
7254 (tan_upward_test_data): Likewise.
7255 (tanh_test_data): Likewise.
7256 (tgamma_test_data): Likewise.
7257 (y0_test_data): Likewise.
7258 (y1_test_data): Likewise.
7259 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
7260 (special_real_inputs): Add pi/4.
7261 * sysdeps/i386/fpu/libm-test-ulps: Update.
7262 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7264 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7266 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
7267 "longjmp_target" static probes.
7268 (__longjmp): Rename to __longjmp_symbol.
7269 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
7270 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
7271 on which longjmp to generate.
7272 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
7273 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
7275 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7276 (__sigjmp_save): Rename to __sigjmp_save_symbol.
7277 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
7278 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
7279 and __sigjmp_save_symbol based on which sigsetjmp to generated.
7280 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
7281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
7282 __longjmp_symbol based on which __longjmp to generate.
7283 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
7285 (setjmp): Rename to setjmp_symbol.
7286 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7287 (_setjmp): Rename to _setjmp_symbol.
7288 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7289 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
7290 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
7291 which setjmp to generate.
7292 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
7293 "longjmp_target" static probes.
7295 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7297 * benchtests/README: Add note about output arguments.
7298 * benchtests/bench-sincos.c: Remove file.
7299 * benchtests/sincos-inputs: New file.
7300 * scripts/bench.pl: Identify output arguments and define
7301 static variables for them.
7303 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
7306 * Makefile (INSTALL): Add install-plain.texi as the primary
7308 * manual/install-plain.texi: New file.
7309 * manual/install.texi: Include node directive only for
7310 non-plaintext output.
7312 2013-12-04 Joseph Myers <joseph@codesourcery.com>
7314 * stdlib/longlong.h: Update from GCC.
7318 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
7319 * math/w_j0f.c (y0f): Likewise.
7320 * math/w_j0l.c (__y0l): Likewise.
7321 * math/w_j1.c (y1): Likewise.
7322 * math/w_j1f.c (y1f): Likewise.
7323 * math/w_j1l.c (__y1l): Likewise
7324 * math/w_jn.c (yn): Likewise.
7325 * math/w_jnf.c (ynf): Likewise.
7326 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
7327 Bessel function pole errors in _POSIX_ mode. Use NAN as return
7328 value for Bessel function domain errors outside _SVID_ mode.
7329 Adjust sign of return value for yn (negative integer, 0).
7330 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
7331 by zero in return for negative x and set sign appropriately for
7333 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
7334 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
7335 * math/libm-test.inc (y0_test_data): Add more tests and adjust
7336 expectations in error cases.
7337 (y1_test_data): Likewise.
7338 (yn_test_data): Likewise.
7339 * sysdeps/i386/fpu/libm-test-ulps: Update.
7340 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7342 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7344 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
7345 "64" to "64-v1". Add "64-v2".
7346 (abi-64-options): Rename to ...
7347 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
7348 (abi-64-condition): Rename to ...
7349 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
7350 (abi-64-ld-soname): Rename to ...
7351 (abi-64-v1-ld-soname): ... this.
7352 (abi-64-v2-options): Define.
7353 (abi-64-v2-condition): Likewise.
7354 (abi-64-v2-ld-soname): Likewise.
7355 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
7356 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
7357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
7358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
7359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
7361 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7362 Alan Modra <amodra@gmail.com>
7364 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
7365 New versions for use with the ELFv2 ABI.
7366 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
7367 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
7369 (struct La_ppc64v2_retval): Likewise.
7370 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
7371 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
7372 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
7373 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
7374 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
7375 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
7376 Do not save or restore CR.
7377 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
7378 (_dl_profile_resolve): Do no save or restore CR. Support extended
7379 return values for ELFv2 ABI. Fix location of FPR return registers.
7380 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
7381 updated values for _CALL_ELF == 2.
7382 (La_regs, La_retval, int_retval): Likewise.
7384 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7386 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
7387 (FRAME_MIN_SIZE_PARM): Likewise.
7388 (FRAME_BACKCHAIN): Likewise.
7389 (FRAME_CR_SAVE): Likewise.
7390 (FRAME_LR_SAVE): Likewise.
7391 (FRAME_TOC_SAVE): Likewise.
7392 (FRAME_PARM_SAVE): Likewise.
7393 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
7394 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
7395 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
7396 (call_mcount_parm_offset): New macro.
7397 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
7398 (PROF): Use symbolic stack frame offsets.
7399 (TAIL_CALL_SYSCALL_ERROR): Likewise.
7400 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
7401 Redefine in terms of FRAME_MIN_SIZE.
7402 (_dl_runtime_resolve): Use symbolic stack frame offsets.
7403 (_dl_profile_resolve): Likewise. Update comment.
7404 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
7405 symbols stack frame offsets.
7406 (__sigsetjmp): Likewise.
7407 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
7408 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
7409 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
7410 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
7412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
7413 (FRAME_BACKCHAIN): Remove.
7414 (FRAME_CR_SAVE): Likewise.
7415 (FRAME_LR_SAVE): Likewise.
7416 (FRAME_COMPILER_DW): Likewise.
7417 (FRAME_LINKER_DW): Likewise.
7418 (FRAME_TOC_SAVE): Likewise.
7419 (FRAME_PARM_SAVE): Likewise.
7420 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
7421 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
7422 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
7423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
7424 (CHECK_SP): Use symbolic stack frame offsets.
7425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
7426 zone" instead of caller's parameter save area for temp storage.
7427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
7428 Likewise. Also, use symbolic stack frame offsets.
7429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
7430 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
7431 our own stack frame instead of the caller's.
7432 (__socket): Use symbolic stack frame offsets.
7434 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7435 Alan Modra <amodra@gmail.com>
7437 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
7439 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
7440 (PPC64_LOCAL_ENTRY_OFFSET): Define.
7441 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
7443 (elf_machine_fixup_plt): Call it.
7444 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
7446 (elf_machine_rela): Update call to elf_machine_plt_conflict.
7447 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
7448 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
7449 r2 before calling target.
7451 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7452 Alan Modra <amodra@gmail.com>
7454 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
7455 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
7456 versions of macros to support ELFv2 ABI.
7457 (LOCALENTRY): New macro.
7458 (ENTRY, EALIGN): Use it.
7459 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
7460 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
7461 fall through into ENTRY entry point.
7462 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
7463 Only define if _CALL_ELF != 2.
7465 (elf_machine_matches_host): Verify ABI version matches.
7466 (RTLD_START): Use LOCALENTRY.
7467 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
7468 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
7469 (PLT_ENTRY_WORDS): New macro.
7470 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
7471 (elf_machine_runtime_setup): Support ELFv2 ABI.
7472 (elf_machine_fixup_plt): Likewise.
7473 (elf_machine_plt_conflict): Likewise.
7474 (resolve_ifunc): Likewise.
7475 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
7476 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
7478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
7479 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
7480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
7481 (makecontext): Support ELFv2 ABI.
7482 * elf/elf.h (EF_PPC64_ABI): Define.
7484 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7486 * sysdeps/powerpc/powerpc64/sysdep.h
7487 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
7488 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
7489 (ENTRY) [ASSEMBLER]: ... but instead here ...
7490 (EALIGN) [ASSEMBLER]: ... and here.
7491 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
7492 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
7493 (ENTRY_2) [!ASSEMBLER]: Use it.
7494 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
7495 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
7496 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
7497 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
7498 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
7499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
7500 Use PPC64_LOAD_FUNCPTR.
7502 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
7504 2013-12-04 Alan Modra <amodra@gmail.com>
7506 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
7507 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
7508 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
7509 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
7511 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
7512 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
7513 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
7514 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
7515 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
7516 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
7518 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
7521 (__makecontext): Fix incorrect CFI when backtracing out of
7522 context created via makecontext.
7523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
7524 (__setcontext): Fix incorrect CFI during switch to new context.
7525 (__novec_setcontext): Likewise.
7527 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
7530 * time/strptime_l.c (__strptime_internal): Allow modifiers
7532 * time/tst-strptime.c (day_tests): Add testcase.
7534 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7536 * scripts/bench.pl: Skip over blank lines.
7538 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
7541 * manual/time.texi (Calendar Time): Clarify what timezone functions
7544 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7546 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7548 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
7550 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
7552 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
7553 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
7554 * debug/memset_chk.c (__memset_chk): Likewise.
7555 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
7556 * debug/strncpy_chk.c: Likewise.
7558 2013-12-03 Joseph Myers <joseph@codesourcery.com>
7562 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
7563 (__ieee754_exp): For possibly underflowing results, check size of
7564 result and force underflow exception if required.
7565 * math/auto-libm-test-in: Add more tests of exp.
7566 * math/auto-libm-test-out: Regenerated.
7567 * sysdeps/i386/fpu/libm-test-ulps: Update.
7568 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7571 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
7572 * math/w_exp2f.c (__exp2f): Likewise.
7573 * math/w_exp2l.c (__exp2l): Likewise.
7574 * math/auto-libm-test-in: Do not allow missing errno on exp2
7576 * math/auto-libm-test-out: Regenerated.
7578 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
7581 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
7582 handle filename validation.
7583 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
7586 2013-12-03 Joseph Myers <joseph@codesourcery.com>
7589 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
7590 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
7591 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
7593 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
7594 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
7595 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7596 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
7597 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7598 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
7599 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7600 * math/auto-libm-test-in: Don't allow missing errno from erfc.
7601 Add more erfc tests.
7602 * math/auto-libm-test-out: Regenerated.
7603 * sysdeps/i386/fpu/libm-test-ulps: Update.
7604 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7606 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
7607 exp2, expm1, j0 and j1.
7608 * math/auto-libm-test-out: Regenerated.
7609 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
7610 (erfc_test_data): Likewise.
7611 (exp_test_data): Likewise.
7612 (exp_tonearest_test_data): Likewise.
7613 (exp_towardzero_test_data): Likewise.
7614 (exp_downward_test_data): Likewise.
7615 (exp_upward_test_data): Likewise.
7616 (exp10_test_data): Likewise.
7617 (exp2_test_data): Likewise.
7618 (expm1_test_data): Likewise.
7619 (j0_test_data): Likewise.
7620 (j1_test_data): Likewise.
7621 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
7622 (input_flag_type): Add flag_xfail_rounding.
7623 (input_flags): Add xfail-rounding.
7624 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
7625 (output_for_one_input_case): Handle flag_xfail_rounding.
7626 * sysdeps/i386/fpu/libm-test-ulps: Update.
7627 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7629 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
7632 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
7635 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
7638 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
7639 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
7640 (STAP_PROBE0): New macro.
7641 (STAP_PROBE1): Likewise.
7642 (STAP_PROBE2): Likewise.
7643 (STAP_PROBE3): Likewise.
7644 (STAP_PROBE4): Likewise.
7646 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
7648 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
7650 2013-12-02 Steve Ellcey <sellcey@mips.com>
7652 * benchtests/Makefile (bench): Add sqrt.
7653 (LDLIBS-bench-sqrt): New.
7654 * benchtests/sqrt-input: New.
7656 2013-12-02 Pavel Simerda <psimerda@redhat.com>
7658 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
7659 (GAIH_EAI): Likewise.
7660 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
7661 (gaih_inet): Likewise.
7662 (getaddrinfo): Don't use GAIH_EAI.
7664 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
7665 (struct gaih): Remove definition.
7667 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7669 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
7670 Use HERRNOP directly.
7672 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7674 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7676 2013-11-30 Joseph Myers <joseph@codesourcery.com>
7678 * math/gen-auto-libm-tests.c (test_functions): Add more
7679 single-argument functions.
7680 (special_fill_pi_2): New function.
7681 (special_fill_minus_pi_2): Likewise.
7682 (special_fill_pi_6): Likewise.
7683 (special_fill_minus_pi_6): Likewise.
7684 (special_fill_pi_3): Likewise.
7685 (special_fill_2pi_3): Likewise.
7686 (special_fill_e): Likewise.
7687 (special_fill_1_e): Likewise.
7688 (special_fill_e_minus_1): Likewise.
7689 (special_real_inputs): Add more special inputs.
7690 (output_for_one_input_case): Do not require ERANGE on underflow to
7691 zero if round-to-nearest result does not underflow to zero, unless
7692 exact results required.
7693 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
7694 atan, atanh, cbrt, cos and cosh.
7695 * math/auto-libm-test-out: Regenerated.
7696 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
7697 (acos_tonearest_test_data): Likewise.
7698 (acos_towardzero_test_data): Likewise.
7699 (acos_downward_test_data): Likewise.
7700 (acos_upward_test_data): Likewise.
7701 (acosh_test_data): Likewise.
7702 (asin_test_data): Likewise.
7703 (asin_tonearest_test_data): Likewise.
7704 (asin_towardzero_test_data): Likewise.
7705 (asin_upward_test_data): Likewise.
7706 (asinh_test_data): Likewise.
7707 (atan_test_data): Likewise.
7708 (atanh_test_data): Likewise.
7709 (cbrt_test_data): Likewise.
7710 (cos_test_data): Likewise.
7711 (cos_tonearest_test_data): Likewise.
7712 (cos_towardzero_test_data): Likewise.
7713 (cos_downward_test_data): Likewise.
7714 (cos_upward_test_data): Likewise.
7715 (cosh_test_data): Likewise.
7716 (cosh_tonearest_test_data): Likewise.
7717 (cosh_towardzero_test_data): Likewise.
7718 (cosh_downward_test_data): Likewise.
7719 (cosh_upward_test_data): Likewise.
7720 * sysdeps/i386/fpu/libm-test-ulps: Update.
7721 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7723 2013-11-29 Joseph Myers <joseph@codesourcery.com>
7726 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
7727 * math/w_exp10f.c (__exp10f): Likewise.
7728 * math/w_exp10l.c (__exp10l): Likewise.
7729 * math/libm-test.inc (exp10_test_data): Add more tests and expect
7730 errno settings in existing tests.
7733 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
7734 precision control set to double precision.
7735 * sysdeps/i386/fpu/w_sqrt.c: New file.
7736 * math/auto-libm-test-in: Add more tests.
7737 * math/auto-libm-test-out: Update.
7739 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
7740 (sqrt_test_tonearest): New function.
7741 (sqrt_towardzero_test_data): New variable.
7742 (sqrt_test_towardzero): New function.
7743 (sqrt_downward_test_data): New variable.
7744 (sqrt_test_downward): New function.
7745 (sqrt_upward_test_data): New variable.
7746 (sqrt_test_upward): New function.
7747 (main): Call the new functions.
7749 * math/gen-auto-libm-tests.c: New file.
7750 * math/auto-libm-test-in: Likewise.
7751 * math/auto-libm-test-out: New generated file.
7752 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
7754 (%beautify): Add generated representations of zero.
7755 (top level): Set $auto_input and call parse_auto_input.
7756 (beautify): Remove trailing "f" from hex float constants.
7757 (parse_args): Handle XFAIL_TEST.
7758 (convert_condition): New function.
7759 (or_value): Likewise.
7760 (or_cond_value): Likewise.
7761 (generate_testfile): Handle AUTO_TESTS_* lines.
7762 (parse_auto_input): New function.
7763 * math/libm-test.inc (XFAIL_TEST): New macro.
7764 (ERRNO_UNCHANGED): Update value.
7765 (ERRNO_EDOM): Likewise.
7766 (ERRNO_ERANGE): Likewise.
7767 (IGNORE_RESULT): Likewise.
7768 (TEST_COND_flt_32): New macro.
7769 (TEST_COND_dbl_64): Likewise.
7770 (TEST_COND_ldbl_96_intel): Likewise.
7771 (TEST_COND_ldbl_96_m68k): Likewise.
7772 (TEST_COND_ldbl_128): Likewise.
7773 (TEST_COND_ldbl_128ibm): Likewise.
7774 (TEST_COND_long32): Likewise.
7775 (TEST_COND_long64): Likewise.
7776 (TEST_COND_before_rounding): Likewise.
7777 (TEST_COND_after_rounding): Likewise.
7778 (enable_test): Handle XFAIL_TEST flag.
7779 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
7780 with finite results.
7781 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
7784 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7785 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7788 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
7789 __tls_get_addr_internal instead of __tls_get_offset in order to
7790 avoid GOT pointer dependency. Make rtld export
7791 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
7792 __tls_get_addr since we are a __tls_get_offset platform.
7793 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
7794 GOT pointer being set up before.
7795 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
7797 2013-11-28 Joseph Myers <joseph@codesourcery.com>
7799 * manual/math.texi (Errors in Math Functions): Document accuracy
7803 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
7804 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
7805 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
7806 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
7807 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
7808 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
7809 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
7810 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
7811 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
7812 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
7813 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
7814 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
7815 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
7816 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
7817 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
7818 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
7820 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
7821 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
7822 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
7823 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
7824 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
7826 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
7828 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
7830 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
7831 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
7832 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
7833 atomic-feupdateenv and flt-rounds.
7834 * sysdeps/powerpc/nofpu/Versions (libc): Add
7835 __atomic_feholdexcept, __atomic_feclearexcept,
7836 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
7837 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
7838 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
7839 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
7840 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
7842 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
7845 * manual/arith.texi (FP Exceptions): Document that exceptions may
7846 not be raised when matherr is used.
7847 (Math Error Reporting): Document overflow in directed rounding
7848 modes. Document that errno may not be set when finite values are
7849 returned on overflow. Document intent to set errno on underflow
7850 only for underflow to zero.
7853 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
7854 round-to-nearest then adjust result for other rounding modes.
7855 * include/fenv.h (fegetround): Use libm_hidden_proto.
7856 * math/fegetround.c (fegetround): Use libm_hidden_def.
7857 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
7858 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
7859 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
7860 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
7862 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
7863 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
7864 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
7865 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
7867 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7870 * nss/Versions (libnss_files): Add
7871 _nss_files_gethostbyname3_r.
7872 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
7874 (HOST_DB_LOOKUP): Remove macro.
7875 (_nss_files_gethostbyname_r): Implement function without the
7876 HOST_DB_LOOKUP macro.
7877 (_nss_files_gethostbyname2_r): Likewise.
7879 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
7881 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
7883 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
7885 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
7886 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
7889 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7891 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
7892 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
7893 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
7894 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
7895 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
7896 __fe_nomask_env_priv and attribute_hidden.
7897 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
7898 (libc_feupdateenv_test_ppc): Likewise.
7899 (libc_feresetround_ppc): Likewise.
7900 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
7901 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
7902 compat_symbol macro.
7903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
7904 (__fe_nomask_env): Likewise.
7905 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
7907 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
7909 * string/Makefile: Remove ifunc tests.
7910 * string/test-string.h: Define TEST_IFUNC.
7911 * string/test-bcopy-ifunc.c: Remove.
7912 * string/test-bzero-ifunc.c: Likewise.
7913 * string/test-memccpy-ifunc.c: Likewise.
7914 * string/test-memchr-ifunc.c: Likewise.
7915 * string/test-memcmp-ifunc.c: Likewise.
7916 * string/test-memcpy-ifunc.c: Likewise.
7917 * string/test-memmem-ifunc.c: Likewise.
7918 * string/test-memmove-ifunc.c: Likewise.
7919 * string/test-mempcpy-ifunc.c: Likewise.
7920 * string/test-memrchr-ifunc.c: Likewise.
7921 * string/test-memset-ifunc.c: Likewise.
7922 * string/test-rawmemchr-ifunc.c: Likewise.
7923 * string/test-stpcpy-ifunc.c: Likewise.
7924 * string/test-stpncpy-ifunc.c: Likewise.
7925 * string/test-strcasecmp-ifunc.c: Likewise.
7926 * string/test-strcasestr-ifunc.c: Likewise.
7927 * string/test-strcat-ifunc.c: Likewise.
7928 * string/test-strchr-ifunc.c: Likewise.
7929 * string/test-strchrnul-ifunc.c: Likewise.
7930 * string/test-strcmp-ifunc.c: Likewise.
7931 * string/test-strcpy-ifunc.c: Likewise.
7932 * string/test-strcspn-ifunc.c: Likewise.
7933 * string/test-strlen-ifunc.c: Likewise.
7934 * string/test-strncasecmp-ifunc.c: Likewise.
7935 * string/test-strncat-ifunc.c: Likewise.
7936 * string/test-strncmp-ifunc.c: Likewise.
7937 * string/test-strncpy-ifunc.c: Likewise.
7938 * string/test-strnlen-ifunc.c: Likewise.
7939 * string/test-strpbrk-ifunc.c: Likewise.
7940 * string/test-strrchr-ifunc.c: Likewise.
7941 * string/test-strspn-ifunc.c: Likewise.
7942 * string/test-strstr-ifunc.c: Likewise.
7944 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
7946 * benchtests/Makefile: Remove ifunc tests.
7947 * benchtests/bench-string.h: Define TEST_IFUNC.
7948 * benchtests/bench-bcopy-ifunc.c: Remove.
7949 * benchtests/bench-bzero-ifunc.c: Likewise.
7950 * benchtests/bench-memccpy-ifunc.c: Likewise.
7951 * benchtests/bench-memchr-ifunc.c: Likewise.
7952 * benchtests/bench-memcmp-ifunc.c: Likewise.
7953 * benchtests/bench-memcpy-ifunc.c: Likewise.
7954 * benchtests/bench-memmem-ifunc.c: Likewise.
7955 * benchtests/bench-memmove-ifunc.c: Likewise.
7956 * benchtests/bench-mempcpy-ifunc.c: Likewise.
7957 * benchtests/bench-memrchr-ifunc.c: Likewise.
7958 * benchtests/bench-memset-ifunc.c: Likewise.
7959 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
7960 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
7961 * benchtests/bench-stpcpy-ifunc.c: Likewise.
7962 * benchtests/bench-stpncpy-ifunc.c: Likewise.
7963 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
7964 * benchtests/bench-strcasestr-ifunc.c: Likewise.
7965 * benchtests/bench-strcat-ifunc.c: Likewise.
7966 * benchtests/bench-strchr-ifunc.c: Likewise.
7967 * benchtests/bench-strchrnul-ifunc.c: Likewise.
7968 * benchtests/bench-strcmp-ifunc.c: Likewise.
7969 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
7970 * benchtests/bench-strcpy-ifunc.c: Likewise.
7971 * benchtests/bench-strcspn-ifunc.c: Likewise.
7972 * benchtests/bench-strlen-ifunc.c: Likewise.
7973 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
7974 * benchtests/bench-strncat-ifunc.c: Likewise.
7975 * benchtests/bench-strncmp-ifunc.c: Likewise.
7976 * benchtests/bench-strncpy-ifunc.c: Likewise.
7977 * benchtests/bench-strnlen-ifunc.c: Likewise.
7978 * benchtests/bench-strpbrk-ifunc.c: Likewise.
7979 * benchtests/bench-strrchr-ifunc.c: Likewise.
7980 * benchtests/bench-strsep-ifunc.c: Likewise.
7981 * benchtests/bench-strspn-ifunc.c: Likewise.
7982 * benchtests/bench-strstr-ifunc.c: Likewise.
7984 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
7986 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
7988 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
7990 * resolv/netdb.h: Use __glibc_reserved instead __unused.
7991 * rt/aio.h: Likewise.
7992 * sysdeps/gnu/bits/utmp.h: Likewise.
7993 * sysdeps/gnu/bits/utmpx.h: Likewise.
7994 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
7995 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
7996 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
7997 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
7998 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
7999 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
8000 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
8001 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
8002 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
8003 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
8004 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
8005 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
8006 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
8007 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
8008 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
8009 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
8010 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
8011 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
8012 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
8013 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
8014 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
8015 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
8016 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
8017 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
8018 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
8019 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8020 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
8021 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
8022 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
8023 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
8024 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
8025 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
8026 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
8027 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
8028 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
8029 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
8030 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
8031 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
8032 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
8033 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
8034 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
8035 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
8037 2013-11-25 Carlos O'Donell <carlos@redhat.com>
8040 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
8041 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
8043 2013-11-25 Joseph Myers <joseph@codesourcery.com>
8045 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
8046 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
8049 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8051 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
8052 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
8053 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
8054 (__fesetround): Remove define.
8055 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
8056 rounding and exceptions handling.
8057 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
8058 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
8059 (__fe_nomask_env): Likewise.
8060 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
8061 __fegetround instead of fegetround.
8062 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
8063 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
8065 2013-11-21 Roland McGrath <roland@hack.frob.com>
8067 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
8070 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
8072 2013-11-21 Meador Inge <meadori@codesourcery.com>
8075 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
8076 (encrypt_r): Likewise.
8077 * malloc/obstack.h (obstack_free): Likewise.
8078 * posix/unistd.h (encrypt): Likewise.
8080 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
8082 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
8083 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
8084 DL_CALL_DT_FINI() that call the functions directly.
8085 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
8086 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
8087 * elf/dl-fini.c: Likewise.
8089 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
8091 * malloc/hooks.c (memalign_check): Add alignment rounding.
8092 * malloc/malloc.c (_mid_memalign): New function.
8093 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
8094 Implement by calling _mid_memalign.
8095 * manual/probes.texi (Memory Allocation Probes): Remove
8096 memory_valloc_retry and memory_pvalloc_retry.
8098 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
8100 * locale/programs/locarchive.c (open_archive): Add const
8101 qualifier to ARCHIVEFNAME and copy default fname to
8105 * libio/tst-widetext.input: Rename Oriya to Odia.
8106 * locale/iso-639.def: Likewise.
8108 * manual/probes.texi (Mathematical Function Probes): Add
8109 documentation for sin, cos, asin and acos probes.
8110 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
8111 (__sin32): Add slowasin probe.
8112 (__cos32): Add slowacos probe.
8113 (__mpsin): Add slowsin probe.
8114 (__mpcos): Add slowcos probe.
8116 2013-11-19 Joseph Myers <joseph@codesourcery.com>
8119 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
8120 thread-local __sim_exceptions_thread and global
8121 __sim_exceptions_global.
8122 (__sim_disabled_exceptions): Change to thread-local
8123 __sim_disabled_exceptions_thread and global
8124 __sim_disabled_exceptions_global.
8125 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
8126 and global __sim_round_mode_global.
8127 (__simulate_exceptions): Use thread-local floating-point state and
8128 set global state from it as needed.
8129 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
8130 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
8131 __sim_round_mode_thread.
8132 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
8133 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
8134 and global __sim_exceptions_global.
8135 (__sim_disabled_exceptions): Change to thread-local
8136 __sim_disabled_exceptions_thread and global
8137 __sim_disabled_exceptions_global.
8138 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
8139 and global __sim_round_mode_global.
8140 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
8141 (SIM_SET_GLOBAL): Likewise.
8142 * sysdeps/powerpc/soft-fp/sfp-machine.h
8143 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
8144 __sim_round_mode_thread.
8145 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
8146 __sim_disabled_exceptions_thread.
8147 (__sim_exceptions): Change to __sim_exceptions_thread.
8148 (__sim_disabled_exceptions): Change to
8149 __sim_disabled_exceptions_thread.
8150 (__sim_round_mode): Change to __sim_round_mode_thread.
8151 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
8152 thread-local floating-point state and set global state from it as
8154 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
8155 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
8156 (__sim_disabled_exceptions): Remove extern declaration.
8157 (feenableexcept): Use thread-local floating-point state and set
8158 global state from it as needed.
8159 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
8161 (__sim_disabled_exceptions): Likewise.
8162 (__sim_round_mode): Likewise.
8163 (__fegetenv): Use thread-local floating-point state.
8164 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
8165 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
8166 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
8167 floating-point state and set global state from it as needed.
8168 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
8169 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
8170 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
8172 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
8173 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
8175 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
8176 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
8177 Use __sim_round_mode_thread.
8178 * math/test-fenv-tls.c: New file.
8179 * math/Makefile (tests): Add test-fenv-tls.
8180 ($(objpfx)test-fenv-tls): Depend on
8181 $(common-objpfx)nptl/libpthread.so.
8183 2013-11-19 Andreas Schwab <schwab@suse.de>
8185 * locale/programs/locale.c (show_info): Decode wordarray elements.
8186 * locale/categories.def (LC_MONETARY): Add element for
8187 _NL_MONETARY_CRNCYSTR.
8188 * locale/C-monetary.c (conversion_rate): New variable.
8189 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
8192 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
8194 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
8195 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
8197 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
8199 * elf/Makefile (tst-auxv): New test.
8200 * elf/tst-auxv.c: New
8201 * elf/rtld.c (dl_main): Adjust AT_EXECFN
8203 2013-11-18 Joseph Myers <joseph@codesourcery.com>
8205 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
8206 (hidden_proto): Caller changed.
8207 (hidden_tls_proto): New macro.
8208 (libc_hidden_tls_proto): Likewise.
8209 (rtld_hidden_tls_proto): Likewise.
8210 (libm_hidden_tls_proto): Likewise.
8211 (libresolv_hidden_tls_proto): Likewise.
8212 (librt_hidden_tls_proto): Likewise.
8213 (libdl_hidden_tls_proto): Likewise.
8214 (libnss_files_hidden_tls_proto): Likewise.
8215 (libnsl_hidden_tls_proto): Likewise.
8216 (libnss_nisplus_hidden_tls_proto): Likewise.
8217 (libutil_hidden_tls_proto): Likewise.
8219 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
8222 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
8223 (decompose_rpath): Defer expansion to fillin_rpath.
8224 (_dl_init_paths): Pass linkmap to fillin_rpath.
8226 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8228 * benchtests/Makefile: Add strsep.
8229 * benchtests/bench-strsep.c: New file: strsep benchtest.
8230 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
8232 2013-11-18 Andreas Schwab <schwab@suse.de>
8234 * locale/programs/locale.c (show_info) [case byte]: Check for
8235 '\377' instead of '\177'.
8236 * locale/C-monetary.c (not_available): Always use "\377".
8237 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
8238 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
8239 detect unavailable sign_posn locale elements.
8240 * locale/localeconv.c (__localeconv): For grouping and
8241 mon_grouping handle "\177" and "\377" like no grouping.
8242 (INT_ELEM): New macro. Use it to set all numeric members.
8243 * locale/programs/ld-monetary.c (monetary_read)
8244 <tok_mon_grouping>: Normalize single -1 to the empty string.
8245 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
8248 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
8251 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
8252 when we match (nil).
8253 * stdio-common/tst-sscanf.c (struct test): Add testcase.
8255 2013-11-16 Joseph Myers <joseph@codesourcery.com>
8257 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
8258 (NO_TEST_INLINE): Update value.
8259 (ERRNO_UNCHANGED): Likewise.
8260 (ERRNO_EDOM): Likewise.
8261 (ERRNO_ERANGE): Likewise.
8262 (IGNORE_RESULT): Likewise.
8263 (check_float_internal): Check signs of NaN results if
8265 (check_complex): Pass TEST_NAN_SIGN flag through to second
8266 check_float_internal call.
8267 (copysign_test_data): Add tests with quiet NaNs as second
8268 argument. Use TEST_NAN_SIGN.
8269 (fabs_test_data): Add test of negative quiet NaN argument. Use
8271 (signbit_test_data): Add tests of quiet NaN argument.
8272 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
8274 * math/gen-libm-test.pl (show_exceptions): Take extra argument
8276 (parse_args): Handle function results specified as IGNORE.
8277 * math/libm-test.inc (IGNORE_RESULT): New macro.
8278 (check_float_internal): Do not check numerical result if flag
8280 (check_complex): Pass through IGNORE_RESULT to second
8281 check_float_internal call.
8282 (check_int): Do not check numerical result if flag IGNORE_RESULT
8284 (check_long): Likewise.
8285 (check_bool): Likewise.
8286 (check_longlong): Likewise.
8287 (lrint_test_data): Add tests of infinite and NaN arguments.
8288 (lrint_tonearest_test_data): Likewise.
8289 (lrint_towardzero_test_data): Likewise.
8290 (lrint_downward_test_data): Likewise.
8291 (lrint_upward_test_data): Likewise.
8292 (llrint_test_data): Likewise.
8293 (llrint_tonearest_test_data): Likewise.
8294 (llrint_towardzero_test_data): Likewise.
8295 (llrint_downward_test_data): Likewise.
8296 (llrint_upward_test_data): Likewise.
8297 (lround_test_data): Likewise.
8298 (llround_test_data): Likewise.
8300 * math/libm-test.inc (NO_TEST_INLINE): New macro.
8301 (ERRNO_UNCHANGED): Update value.
8302 (ERRNO_EDOM): Likewise.
8303 (ERRNO_ERANGE): Likewise.
8304 (NO_TEST_INLINE_FLOAT): New macro.
8305 (NO_TEST_INLINE_DOUBLE): Likewise.
8306 (enable_test): New function.
8307 (RUN_TEST_f_f): Check enable_test before running test.
8308 (RUN_TEST_2_f): Likewise.
8309 (RUN_TEST_fff_f): Likewise.
8310 (RUN_TEST_c_f): Likewise.
8311 (RUN_TEST_f_f1): Likewise.
8312 (RUN_TEST_fF_f1): Likewise.
8313 (RUN_TEST_fI_f1): Likewise.
8314 (RUN_TEST_ffI_f1): Likewise.
8315 (RUN_TEST_c_c): Likewise.
8316 (RUN_TEST_cc_c): Likewise.
8317 (RUN_TEST_f_i): Likewise.
8318 (RUN_TEST_f_i_tg): Likewise.
8319 (RUN_TEST_ff_i_tg): Likewise.
8320 (RUN_TEST_f_b): Likewise.
8321 (RUN_TEST_f_b_tg): Likewise.
8322 (RUN_TEST_f_l): Likewise.
8323 (RUN_TEST_f_L): Likewise.
8324 (RUN_TEST_fFF_11): Likewise.
8325 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
8327 (cosh_test_data): Likewise.
8328 (exp_test_data): Likewise.
8329 (expm1_test_data): Likewise.
8330 (hypot_test_data): Likewise.
8331 (pow_test_data): Likewise.
8332 (sinh_test_data): Likewise.
8333 (tanh_test_data): Likewise.
8334 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
8337 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
8338 tests with quiet NaN input and output.
8339 (acosh_test_data): Likewise.
8340 (asin_test_data): Likewise.
8341 (asinh_test_data): Likewise.
8342 (atan_test_data): Likewise.
8343 (atanh_test_data): Likewise.
8344 (atan2_test_data): Likewise.
8345 (cbrt_test_data): Likewise.
8346 (cos_test_data): Likewise.
8347 (cosh_test_data): Likewise.
8348 (erf_test_data): Likewise.
8349 (erfc_test_data): Likewise.
8350 (exp_test_data): Likewise.
8351 (exp10_test_data): Likewise.
8352 (exp2_test_data): Likewise.
8353 (expm1_test_data): Likewise.
8354 (hypot_test_data): Likewise.
8355 (j0_test_data): Likewise.
8356 (j1_test_data): Likewise.
8357 (jn_test_data): Likewise.
8358 (lgamma_test_data): Likewise.
8359 (log_test_data): Likewise.
8360 (log10_test_data): Likewise.
8361 (log1p_test_data): Likewise.
8362 (log2_test_data): Likewise.
8363 (pow_test_data): Likewise.
8364 (scalb_test_data): Likewise.
8365 (sin_test_data): Likewise.
8366 (sincos_test_data): Likewise.
8367 (sinh_test_data): Likewise.
8368 (tan_test_data): Likewise.
8369 (tanh_test_data): Likewise.
8370 (tgamma_test_data): Likewise.
8371 (y0_test_data): Likewise.
8372 (y1_test_data): Likewise.
8373 (yn_test_data): Likewise.
8376 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
8377 argument being NaN and avoid computations with second argument in
8379 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
8380 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
8381 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
8383 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
8385 * locale/iso-639.def: Add Chitwani Tharu (the).
8387 2013-11-14 Andreas Schwab <schwab@suse.de>
8389 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
8390 word instead of empty string.
8392 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8395 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
8396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8397 (__fe_nomask_env): Likewise.
8399 2013-11-13 Steve Ellcey <sellcey@mips.com>
8401 * benchtests/bench-timing.h: Include time.h.
8403 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
8406 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
8408 * sysdeps/unix/sysv/linux/configure: Regenerated.
8410 2013-11-13 Joseph Myers <joseph@codesourcery.com>
8413 * stdlib/strtod_l.c (round_and_return): Do not consider
8414 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
8415 exponent one less than half the least subnormal exponent.
8416 * stdlib/test-strtod-round-data: Add more tests.
8417 * stdlib/tst-strtod-round.c (tests): Regenerated.
8419 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8422 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
8423 (__fe_mask_env): Likewise.
8424 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
8425 libm_hidden_proto and add function prototype.
8426 (__fe_mask_env): Add function prototype.
8427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8428 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
8429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
8430 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
8431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8432 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
8434 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8436 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
8437 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
8439 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8441 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
8442 of htab_find_slot().
8444 2013-11-11 David S. Miller <davem@davemloft.net>
8447 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
8448 symbol in the non-vis3 case in static builds.
8449 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
8450 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
8451 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
8452 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
8454 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8457 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
8460 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8462 * benchtests/Makefile: Add bench-strtod.
8463 * benchtests/bench-strtod.c: New file: strtod benchtest
8465 2013-11-11 Andreas Schwab <schwab@suse.de>
8468 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
8469 terminating NUL in key length.
8471 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8473 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
8474 Add artificial ODP entry for vDSO symbol for PPC64.
8475 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
8476 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
8478 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
8481 * nss/getent.c (services_keys): Recognize services starting with digit.
8483 2013-11-06 David S. Miller <davem@davemloft.net>
8486 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
8487 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
8489 2013-11-06 Will Newton <will.newton@linaro.org>
8491 * manual/memory.texi (Malloc Examples): Remove register
8492 keyword from examples.
8494 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
8496 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
8498 2013-11-04 Joseph Myers <joseph@codesourcery.com>
8501 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
8502 depending on [__GCC_IEC_559 > 0].
8503 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
8504 depending on [__GCC_IEC_559_COMPLEX > 0].
8506 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
8508 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
8511 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
8513 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
8515 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
8518 * malloc/malloc (malloc_info): Do not handle first bin as
8521 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
8523 * locale/iso-639.def: Add Central Nahuatl (nhn).
8525 2013-11-01 Bruno Haible <bruno@clisp.org>
8528 * manual/math.texi (BSD Random): Specify range upper bound as
8531 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
8533 * locale/iso-639.def: Add Meadow Mari (mhr).
8535 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
8537 [BZ #14752], [BZ #15763]
8538 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
8540 * rt/tst_shm.c: Add test for escaping directory.
8542 2013-10-31 Andreas Schwab <schwab@suse.de>
8545 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
8546 followed by 'x' as part of digit sequence.
8547 * stdio-common/tst-sscanf.c (double_tests2): New tests.
8549 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
8552 * configure.ac: allow GNU Make 4.0 and greater.
8553 * configure: Regenerated.
8555 2013-10-30 Will Newton <will.newton@linaro.org>
8558 * malloc/hooks.c (memalign_check): Limit alignment to the
8559 maximum representable power of two.
8560 * malloc/malloc.c (__libc_memalign): Likewise.
8561 * malloc/tst-memalign.c (do_test): Add test for very
8562 large alignment values.
8563 * malloc/tst-posix_memalign.c (do_test): Likewise.
8565 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
8568 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
8569 (munmap_chunk): Likewise.
8570 (mremap_chunk): Likewise.
8572 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
8575 * stdlib/div.c (div): Remove obsolete code.
8576 * stdlib/ldiv.c (ldiv): Likewise.
8577 * stdlib/lldiv.c (lldiv): Likewise.
8579 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8582 * nss/nss_files/files-XXX.c (get_contents_ret): New
8584 (get_contents): New function.
8585 (internal_getent): Use it. Expand size of LINEBUFLEN.
8587 2013-10-30 Mike Frysinger <vapier@gentoo.org>
8589 * configure.in: Moved to ...
8590 * configure.ac: ... here. Change reference to configure.in
8592 * sysdeps/arm/preconfigure.ac: ... here.
8593 configure.in to configure.ac.
8594 * sysdeps/gnu/configure.in: Moved to ...
8595 * sysdeps/gnu/configure.ac: ... here.
8596 * sysdeps/i386/configure.in: Moved to ...
8597 * sysdeps/i386/configure.ac: ... here.
8598 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
8599 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
8600 * sysdeps/mach/configure.in: Moved to ...
8601 * sysdeps/mach/configure.ac: ... here.
8602 * sysdeps/mach/hurd/configure.in: Moved to ...
8603 * sysdeps/mach/hurd/configure.ac: ... here.
8604 * sysdeps/powerpc/configure.in: Moved to ...
8605 * sysdeps/powerpc/configure.ac: ... here.
8606 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
8607 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
8608 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
8609 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
8610 * sysdeps/s390/s390-32/configure.in: Moved to ...
8611 * sysdeps/s390/s390-32/configure.ac: ... here.
8612 * sysdeps/s390/s390-64/configure.in: Moved to ...
8613 * sysdeps/s390/s390-64/configure.ac: ... here.
8614 * sysdeps/sh/configure.in: Moved to ...
8615 * sysdeps/sh/configure.ac: ... here.
8616 * sysdeps/sparc/configure.in: Moved to ...
8617 * sysdeps/sparc/configure.ac: ... here.
8618 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
8619 * sysdeps/unix/sysv/linux/configure.ac: ... here.
8620 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
8621 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
8622 * sysdeps/x86_64/configure.in: Moved to ...
8623 * sysdeps/x86_64/configure.ac: ... here.
8624 * sysdeps/x86_64/preconfigure.in: Moved to ...
8625 * sysdeps/x86_64/preconfigure.ac: ... here.
8626 * aclocal.m4: Change reference to configure.in to configure.ac.
8627 * config.h.in: Likewise.
8628 * manual/install.texi: Likewise.
8629 * manual/maint.texi: Likewise.
8630 * Makefile: Likewise.
8631 * malloc/Makefile: Likewise.
8632 * nscd/Makefile: Likewise.
8633 * Makeconfig: Change reference to configure.in and
8634 preconfigure.in to configure.ac and preconfigure.ac
8636 * INSTALL: Regenerated.
8637 * configure: Likewise.
8638 * sysdeps/gnu/configure: Likewise.
8639 * sysdeps/i386/configure: Likewise.
8640 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
8641 * sysdeps/mach/configure: Likewise.
8642 * sysdeps/mach/hurd/configure: Likewise.
8643 * sysdeps/powerpc/configure: Likewise.
8644 * sysdeps/powerpc/powerpc32/configure: Likewise.
8645 * sysdeps/powerpc/powerpc64/configure: Likewise.
8646 * sysdeps/s390/s390-32/configure: Likewise.
8647 * sysdeps/s390/s390-64/configure: Likewise.
8648 * sysdeps/sh/configure: Likewise.
8649 * sysdeps/sparc/configure: Likewise.
8650 * sysdeps/unix/sysv/linux/configure: Likewise.
8651 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
8652 * sysdeps/x86_64/configure: Likewise.
8653 * sysdeps/x86_64/preconfigure: Likewise.
8655 2013-10-29 Andreas Schwab <schwab@suse.de>
8657 * stdio-common/Makefile (tst-swscanf-ENV): Define.
8659 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8661 * benchtests/pow-inputs: Add new inputs.
8663 * benchtests/exp-inputs: Add new inputs.
8665 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
8666 conditional check for return value.
8667 (__cos32): Likewise.
8669 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8671 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
8672 to provide a boost for large inputs with word alignment.
8673 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
8674 implementation based on optimized PPC64 strcpy.
8675 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
8676 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
8677 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
8678 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
8680 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
8683 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
8685 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
8688 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
8689 * time/tst-strptime.c (day_tests): Add testcase.
8691 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
8694 * manual/pattern.texi: Acknowledge that fnmatch can fail.
8696 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
8699 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
8700 MAP_FAILED on error.
8702 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8705 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
8706 heap for large requests.
8708 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
8711 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
8712 result if the result has no associated interface.
8713 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
8714 interface for all 127.X.Y.Z addresses.
8716 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
8718 * locale/iso-639.def: Add Ligurian (lij)
8720 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
8723 * sunrpc/rpc_main.c: Document rpcgen -5.
8725 2013-10-19 Michael Stahl <mstahl@redhat.com>
8727 * elf/rtld.c (do_preload): Print the reason why preloading failed.
8729 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
8732 * posix/glob.c: Match only directories when trailing slash is present.
8733 * posix/tst-gnuglob.c (my_opendir): Do not open files.
8734 (main): Add testcase.
8736 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
8739 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
8741 2013-10-18 Carlos O'Donell <carlos@redhat.com>
8743 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
8744 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
8745 AUTH_DES and cindex for FIPS 140-2.
8746 (DES Encryption): Add cindex FIPS 46-3.
8748 * locale/locarchive.h (struct locarhandle): Add fname.
8749 * locale/programs/localedef.c (main): Pass ARGV[remaining]
8750 if an optional argument was specified to --list-archive,
8752 * locale/programs/locarchive.c (show_archive_content): Take new
8753 argument fname and pass it via ah.fname to open_archive.
8754 * locale/programs/localedef.h: Update decl.
8755 (open_archive): If AH->fname is non-null, open that file
8756 rather than the default file name, and don't ignore ENOENT.
8757 (create_archive): Set AH.fname to NULL.
8758 (delete_locales_from_archive): Likewise.
8759 (add_locales_to_archive): Likewise.
8760 * locale/programs/locfile.c (write_all_categories): Likewise.
8762 2013-10-18 Joseph Myers <joseph@codesourcery.com>
8763 Aldy Hernandez <aldyh@redhat.com>
8765 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
8766 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
8767 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
8768 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
8769 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
8770 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
8771 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
8772 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
8773 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
8774 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
8775 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
8776 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
8777 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
8778 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
8779 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
8781 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
8783 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
8785 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
8787 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
8788 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
8790 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
8791 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
8792 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
8793 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
8795 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
8796 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
8797 * sysdeps/powerpc/preconfigure: Likewise.
8798 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
8800 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
8801 Replace contents of file by #include of <fenv_libc.h>.
8802 * sysdeps/powerpc/soft-fp/sfp-machine.h
8803 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
8805 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
8806 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
8807 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
8808 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
8809 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
8810 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
8811 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
8812 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
8813 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
8814 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
8815 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
8816 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
8817 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
8818 Allow copysignl PLT reference to be missing.
8820 2013-10-18 Richard Sandiford <richard@codesourcery.com>
8821 Joseph Myers <joseph@codesourcery.com
8824 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
8826 (add_to_tablewc): Assert sequence of wide characters is nonempty.
8828 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8830 * elf/tst-tls-dlinfo.c: Don't include tls.h.
8831 * elf/tst-tls1.c: Likewise.
8832 * elf/tst-tls10.h: Likewise.
8833 * elf/tst-tls14.c: Likewise.
8834 * elf/tst-tls2.c: Likewise.
8835 * elf/tst-tls3.c: Likewise.
8836 * elf/tst-tls4.c: Likewise.
8837 * elf/tst-tls5.c: Likewise.
8838 * elf/tst-tls6.c: Likewise.
8839 * elf/tst-tls7.c: Likewise.
8840 * elf/tst-tls8.c: Likewise.
8841 * elf/tst-tls9.c: Likewise.
8842 * elf/tst-tlsmod1.c: Likewise.
8843 * elf/tst-tlsmod13.c: Likewise.
8844 * elf/tst-tlsmod13a.c: Likewise.
8845 * elf/tst-tlsmod14a.c: Likewise.
8846 * elf/tst-tlsmod16a.c: Likewise.
8847 * elf/tst-tlsmod16b.c: Likewise.
8848 * elf/tst-tlsmod2.c: Likewise.
8849 * elf/tst-tlsmod3.c: Likewise.
8850 * elf/tst-tlsmod4.c: Likewise.
8851 * elf/tst-tlsmod5.c: Likewise.
8852 * elf/tst-tlsmod6.c: Likewise.
8854 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
8857 * malloc/malloc.c: remove checks for statistics.
8859 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
8862 * inet/inet_net.c (inet_network): Detect additional invalid strings.
8863 * inet/tst-network.c: Add testcase.
8865 2013-10-17 Andreas Schwab <schwab@suse.de>
8868 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
8869 to determine canonical name.
8871 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
8873 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
8874 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
8875 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8876 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8877 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8878 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8879 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8880 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8881 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
8882 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8883 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
8884 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8885 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8886 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8887 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8888 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8889 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8890 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8891 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
8892 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8893 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8894 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8895 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8896 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
8897 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
8898 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
8899 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
8900 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
8901 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
8902 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
8903 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8904 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8905 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
8906 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8907 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8908 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8909 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8910 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
8911 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
8912 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8913 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
8914 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
8915 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
8916 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8917 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
8918 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8919 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
8920 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
8921 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
8922 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8923 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
8924 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8925 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
8926 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
8927 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8928 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
8929 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8930 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
8932 2013-10-17 Joseph Myers <joseph@codesourcery.com>
8935 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
8936 make result into a quiet NaN.
8938 2013-10-16 Joseph Myers <joseph@codesourcery.com>
8940 * soft-fp/adddf3.c: Fix horizontal whitespace.
8941 * soft-fp/addsf3.c: Likewise.
8942 * soft-fp/addtf3.c: Likewise.
8943 * soft-fp/divdf3.c: Likewise.
8944 * soft-fp/divsf3.c: Likewise.
8945 * soft-fp/divtf3.c: Likewise.
8946 * soft-fp/double.h: Likewise.
8947 * soft-fp/eqdf2.c: Likewise.
8948 * soft-fp/eqsf2.c: Likewise.
8949 * soft-fp/eqtf2.c: Likewise.
8950 * soft-fp/extenddftf2.c: Likewise.
8951 * soft-fp/extended.h: Likewise.
8952 * soft-fp/extendsfdf2.c: Likewise.
8953 * soft-fp/extendsftf2.c: Likewise.
8954 * soft-fp/extendxftf2.c: Likewise.
8955 * soft-fp/fixdfdi.c: Likewise.
8956 * soft-fp/fixdfsi.c: Likewise.
8957 * soft-fp/fixdfti.c: Likewise.
8958 * soft-fp/fixsfdi.c: Likewise.
8959 * soft-fp/fixsfsi.c: Likewise.
8960 * soft-fp/fixsfti.c: Likewise.
8961 * soft-fp/fixtfdi.c: Likewise.
8962 * soft-fp/fixtfsi.c: Likewise.
8963 * soft-fp/fixtfti.c: Likewise.
8964 * soft-fp/fixunsdfdi.c: Likewise.
8965 * soft-fp/fixunsdfsi.c: Likewise.
8966 * soft-fp/fixunsdfti.c: Likewise.
8967 * soft-fp/fixunssfdi.c: Likewise.
8968 * soft-fp/fixunssfsi.c: Likewise.
8969 * soft-fp/fixunssfti.c: Likewise.
8970 * soft-fp/fixunstfdi.c: Likewise.
8971 * soft-fp/fixunstfsi.c: Likewise.
8972 * soft-fp/fixunstfti.c: Likewise.
8973 * soft-fp/floatdidf.c: Likewise.
8974 * soft-fp/floatdisf.c: Likewise.
8975 * soft-fp/floatditf.c: Likewise.
8976 * soft-fp/floatsidf.c: Likewise.
8977 * soft-fp/floatsisf.c: Likewise.
8978 * soft-fp/floatsitf.c: Likewise.
8979 * soft-fp/floattidf.c: Likewise.
8980 * soft-fp/floattisf.c: Likewise.
8981 * soft-fp/floattitf.c: Likewise.
8982 * soft-fp/floatundidf.c: Likewise.
8983 * soft-fp/floatundisf.c: Likewise.
8984 * soft-fp/floatunditf.c: Likewise.
8985 * soft-fp/floatunsidf.c: Likewise.
8986 * soft-fp/floatunsisf.c: Likewise.
8987 * soft-fp/floatunsitf.c: Likewise.
8988 * soft-fp/floatuntidf.c: Likewise.
8989 * soft-fp/floatuntisf.c: Likewise.
8990 * soft-fp/floatuntitf.c: Likewise.
8991 * soft-fp/fmadf4.c: Likewise.
8992 * soft-fp/fmasf4.c: Likewise.
8993 * soft-fp/fmatf4.c: Likewise.
8994 * soft-fp/gedf2.c: Likewise.
8995 * soft-fp/gesf2.c: Likewise.
8996 * soft-fp/getf2.c: Likewise.
8997 * soft-fp/ledf2.c: Likewise.
8998 * soft-fp/lesf2.c: Likewise.
8999 * soft-fp/letf2.c: Likewise.
9000 * soft-fp/muldf3.c: Likewise.
9001 * soft-fp/mulsf3.c: Likewise.
9002 * soft-fp/multf3.c: Likewise.
9003 * soft-fp/negdf2.c: Likewise.
9004 * soft-fp/negsf2.c: Likewise.
9005 * soft-fp/negtf2.c: Likewise.
9006 * soft-fp/op-1.h: Likewise.
9007 * soft-fp/op-2.h: Likewise.
9008 * soft-fp/op-4.h: Likewise.
9009 * soft-fp/op-8.h: Likewise.
9010 * soft-fp/op-common.h: Likewise.
9011 * soft-fp/quad.h: Likewise.
9012 * soft-fp/single.h: Likewise.
9013 * soft-fp/soft-fp.h: Likewise.
9014 * soft-fp/sqrtdf2.c: Likewise.
9015 * soft-fp/sqrtsf2.c: Likewise.
9016 * soft-fp/sqrttf2.c: Likewise.
9017 * soft-fp/subdf3.c: Likewise.
9018 * soft-fp/subsf3.c: Likewise.
9019 * soft-fp/subtf3.c: Likewise.
9020 * soft-fp/truncdfsf2.c: Likewise.
9021 * soft-fp/trunctfdf2.c: Likewise.
9022 * soft-fp/trunctfsf2.c: Likewise.
9023 * soft-fp/trunctfxf2.c: Likewise.
9024 * soft-fp/unorddf2.c: Likewise.
9025 * soft-fp/unordsf2.c: Likewise.
9026 * soft-fp/unordtf2.c: Likewise.
9028 2013-10-15 Joseph Myers <joseph@codesourcery.com>
9030 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
9031 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
9033 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
9035 * elf/dl-libc.c: Clear initfini list after freeing.
9037 2013-10-14 Joseph Myers <joseph@codesourcery.com>
9039 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
9040 * soft-fp/addsf3.c: Likewise.
9041 * soft-fp/addtf3.c: Likewise.
9042 * soft-fp/divdf3.c: Likewise.
9043 * soft-fp/divsf3.c: Likewise.
9044 * soft-fp/divtf3.c: Likewise.
9045 * soft-fp/double.h: Likewise.
9046 * soft-fp/eqdf2.c: Likewise.
9047 * soft-fp/eqsf2.c: Likewise.
9048 * soft-fp/eqtf2.c: Likewise.
9049 * soft-fp/extenddftf2.c: Likewise.
9050 * soft-fp/extended.h: Likewise.
9051 * soft-fp/extendsfdf2.c: Likewise.
9052 * soft-fp/extendsftf2.c: Likewise.
9053 * soft-fp/extendxftf2.c: Likewise.
9054 * soft-fp/fixdfdi.c: Likewise.
9055 * soft-fp/fixdfsi.c: Likewise.
9056 * soft-fp/fixdfti.c: Likewise.
9057 * soft-fp/fixsfdi.c: Likewise.
9058 * soft-fp/fixsfsi.c: Likewise.
9059 * soft-fp/fixsfti.c: Likewise.
9060 * soft-fp/fixtfdi.c: Likewise.
9061 * soft-fp/fixtfsi.c: Likewise.
9062 * soft-fp/fixtfti.c: Likewise.
9063 * soft-fp/fixunsdfdi.c: Likewise.
9064 * soft-fp/fixunsdfsi.c: Likewise.
9065 * soft-fp/fixunsdfti.c: Likewise.
9066 * soft-fp/fixunssfdi.c: Likewise.
9067 * soft-fp/fixunssfsi.c: Likewise.
9068 * soft-fp/fixunssfti.c: Likewise.
9069 * soft-fp/fixunstfdi.c: Likewise.
9070 * soft-fp/fixunstfsi.c: Likewise.
9071 * soft-fp/fixunstfti.c: Likewise.
9072 * soft-fp/floatdidf.c: Likewise.
9073 * soft-fp/floatdisf.c: Likewise.
9074 * soft-fp/floatditf.c: Likewise.
9075 * soft-fp/floatsidf.c: Likewise.
9076 * soft-fp/floatsisf.c: Likewise.
9077 * soft-fp/floatsitf.c: Likewise.
9078 * soft-fp/floattidf.c: Likewise.
9079 * soft-fp/floattisf.c: Likewise.
9080 * soft-fp/floattitf.c: Likewise.
9081 * soft-fp/floatundidf.c: Likewise.
9082 * soft-fp/floatundisf.c: Likewise.
9083 * soft-fp/floatunsidf.c: Likewise.
9084 * soft-fp/floatunsisf.c: Likewise.
9085 * soft-fp/floatuntidf.c: Likewise.
9086 * soft-fp/floatuntisf.c: Likewise.
9087 * soft-fp/floatuntitf.c: Likewise.
9088 * soft-fp/fmadf4.c: Likewise.
9089 * soft-fp/fmasf4.c: Likewise.
9090 * soft-fp/fmatf4.c: Likewise.
9091 * soft-fp/gedf2.c: Likewise.
9092 * soft-fp/gesf2.c: Likewise.
9093 * soft-fp/getf2.c: Likewise.
9094 * soft-fp/ledf2.c: Likewise.
9095 * soft-fp/lesf2.c: Likewise.
9096 * soft-fp/letf2.c: Likewise.
9097 * soft-fp/muldf3.c: Likewise.
9098 * soft-fp/mulsf3.c: Likewise.
9099 * soft-fp/multf3.c: Likewise.
9100 * soft-fp/negdf2.c: Likewise.
9101 * soft-fp/negsf2.c: Likewise.
9102 * soft-fp/negtf2.c: Likewise.
9103 * soft-fp/op-1.h: Likewise.
9104 * soft-fp/op-2.h: Likewise.
9105 * soft-fp/op-4.h: Likewise.
9106 * soft-fp/op-8.h: Likewise.
9107 * soft-fp/op-common.h: Likewise.
9108 * soft-fp/quad.h: Likewise.
9109 * soft-fp/single.h: Likewise.
9110 * soft-fp/soft-fp.h: Likewise.
9111 * soft-fp/sqrtdf2.c: Likewise.
9112 * soft-fp/sqrtsf2.c: Likewise.
9113 * soft-fp/sqrttf2.c: Likewise.
9114 * soft-fp/subdf3.c: Likewise.
9115 * soft-fp/subsf3.c: Likewise.
9116 * soft-fp/subtf3.c: Likewise.
9117 * soft-fp/truncdfsf2.c: Likewise.
9118 * soft-fp/trunctfdf2.c: Likewise.
9119 * soft-fp/trunctfsf2.c: Likewise.
9120 * soft-fp/trunctfxf2.c: Likewise.
9121 * soft-fp/unorddf2.c: Likewise.
9122 * soft-fp/unordsf2.c: Likewise.
9123 * soft-fp/unordtf2.c: Likewise.
9125 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
9128 * misc/error.c (error_tail): Fix possible buffer overflow.
9130 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
9133 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
9136 2013-10-14 P. J. McDermott <pj@pehjota.net>
9139 * elf/ldd.bash.in (try_trace): New function. Delete previous code
9140 testing pipefail option.
9142 2013-10-12 Joseph Myers <joseph@codesourcery.com>
9144 * soft-fp/double.h: Indent preprocessor directives inside #if.
9145 * soft-fp/extended.h: Likewise.
9146 * soft-fp/op-2.h: Likewise.
9147 * soft-fp/op-4.h: Likewise.
9148 * soft-fp/op-common.h: Likewise.
9149 * soft-fp/quad.h: Likewise.
9150 * soft-fp/single.h: Likewise.
9151 * soft-fp/soft-fp.h: Likewise.
9153 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
9155 * iconv/iconv_prog.c: Fix typos.
9156 * stdio-common/psiginfo-data.h: Likewise.
9158 2013-10-12 Reuben Thomas <rrt@sc3d.org>
9161 * locale/setlocale.c: Fix typo.
9163 2013-10-12 Joseph Myers <joseph@codesourcery.com>
9166 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
9167 signaling NaN arguments.
9168 * soft-fp/unordsf2.c (__unordsf2): Likewise.
9169 * soft-fp/unordtf2.c (__unordtf2): Likewise.
9172 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
9174 * soft-fp/gesf2.c (__gesf2): Likewise.
9175 * soft-fp/getf2.c (__getf2): Likewise.
9176 * soft-fp/ledf2.c (__ledf2): Likewise.
9177 * soft-fp/lesf2.c (__lesf2): Likewise.
9178 * soft-fp/letf2.c (__letf2): Likewise.
9180 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
9181 * soft-fp/eqsf2.c (__eqsf2): Likewise.
9182 * soft-fp/eqtf2.c (__eqtf2): Likewise.
9183 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
9184 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
9185 * soft-fp/fixdfti.c (__fixdfti): Likewise.
9186 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
9187 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
9188 * soft-fp/fixsfti.c (__fixsfti): Likewise.
9189 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
9190 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
9191 * soft-fp/fixtfti.c (__fixtfti): Likewise.
9192 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
9193 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
9194 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
9195 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
9196 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
9197 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
9198 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
9199 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
9200 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
9201 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
9202 * soft-fp/floatdisf.c (__floatdisf): Likewise.
9203 * soft-fp/floatsisf.c (__floatsisf): Likewise.
9204 * soft-fp/floattidf.c (__floattidf): Likewise.
9205 * soft-fp/floattisf.c (__floattisf): Likewise.
9206 * soft-fp/floattitf.c (__floattitf): Likewise.
9207 * soft-fp/floatundidf.c (__floatundidf): Likewise.
9208 * soft-fp/floatundisf.c (__floatundisf): Likewise.
9209 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
9210 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
9211 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
9212 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
9213 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
9214 * soft-fp/gesf2.c (__gesf2): Likewise.
9215 * soft-fp/getf2.c (__getf2): Likewise.
9216 * soft-fp/ledf2.c (__ledf2): Likewise.
9217 * soft-fp/lesf2.c (__lesf2): Likewise.
9218 * soft-fp/letf2.c (__letf2): Likewise.
9220 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
9221 Undefine and redefine.
9222 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
9223 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
9224 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
9225 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
9226 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9227 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
9228 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9229 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
9230 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9231 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
9232 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9233 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
9234 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9235 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
9236 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9239 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
9240 without decrementing exponent if mantissa >= that for the
9242 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
9243 denominator, not >. Decrement exponent in < case instead of
9244 incrementing in >= case.
9245 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
9246 without decrementing exponent if mantissa >= that for the
9249 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
9250 computing saturated result for unsigned overflow.
9252 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9253 Jeff Law <law@redhat.com>
9255 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
9256 (atan2Mp): Add systemtap probe marker.
9257 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
9258 (__ieee754_log): Add systemtap probe marker.
9259 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
9260 (atanMp): Add systemtap probe marker.
9261 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
9262 (tanMp): Add systemtap probe marker.
9263 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
9264 (__slowexp): Add systemtap probe marker.
9265 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
9266 (__slowpow): Add systemtap probe marker.
9267 * manual/probes.texi: Document probes.
9269 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
9272 * libio/fileops.c (_IO_new_file_write): Return count of bytes
9274 (_IO_new_file_xsputn): Don't return EOF if nothing has been
9276 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
9277 written to buffer but not flushed.
9278 * libio/iofwrite_u.c: Likewise.
9279 * libio/iopadn.c: Return bytes returned even if EOF was
9281 * libio/iowpadn.c: Likewise.
9282 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
9283 if _IO_padn does not write the whole buffer.
9284 [!COMPILE_WPRINTF] (PAD): Likewise.
9286 2013-10-10 David S. Miller <davem@davemloft.net>
9288 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
9291 2013-10-10 Joseph Myers <joseph@codesourcery.com>
9293 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
9294 instead of FSF address.
9295 * soft-fp/fixdfti.c: Likewise.
9296 * soft-fp/fixsfti.c: Likewise.
9297 * soft-fp/fixtfti.c: Likewise.
9298 * soft-fp/fixunsdfti.c: Likewise.
9299 * soft-fp/fixunssfti.c: Likewise.
9300 * soft-fp/fixunstfti.c: Likewise.
9301 * soft-fp/floattidf.c: Likewise.
9302 * soft-fp/floattisf.c: Likewise.
9303 * soft-fp/floattitf.c: Likewise.
9304 * soft-fp/floatuntidf.c: Likewise.
9305 * soft-fp/floatuntisf.c: Likewise.
9306 * soft-fp/floatuntitf.c: Likewise.
9307 * soft-fp/trunctfxf2.c: Likewise.
9309 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
9310 * soft-fp/fixdfti.c: Likewise.
9311 * soft-fp/fixsfti.c: Likewise.
9312 * soft-fp/fixtfti.c: Likewise.
9313 * soft-fp/fixunsdfti.c: Likewise.
9314 * soft-fp/fixunssfti.c: Likewise.
9315 * soft-fp/fixunstfti.c: Likewise.
9316 * soft-fp/floattidf.c: Likewise.
9317 * soft-fp/floattisf.c: Likewise.
9318 * soft-fp/floattitf.c: Likewise.
9319 * soft-fp/floatuntidf.c: Likewise.
9320 * soft-fp/floatuntisf.c: Likewise.
9321 * soft-fp/floatuntitf.c: Likewise.
9322 * soft-fp/trunctfxf2.c: Likewise.
9324 2013-10-10 David S. Miller <davem@davemloft.net>
9326 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9328 2013-10-10 Joseph Myers <joseph@codsourcery.com>
9330 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
9331 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
9332 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
9333 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
9334 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
9335 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
9336 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
9338 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
9339 for NaNs before doing comparisons on argument.
9340 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
9343 2013-10-10 Will Newton <will.newton@linaro.org>
9345 * malloc/hooks.c (memalign_check): Ensure the value of bytes
9346 passed to _int_memalign does not overflow.
9348 2013-10-10 Torvald Riegel <triegel@redhat.com>
9350 * scripts/bench.pl: Add include-sources directive.
9351 * benchtests/README: Update documentation.
9353 2013-10-10 Joseph Myers <joseph@codesourcery.com>
9355 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
9356 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
9357 instead of FP_INIT_ROUNDMODE.
9358 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
9359 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
9362 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
9363 copy class of input value.
9364 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
9365 not handle exceptions.
9366 * soft-fp/negsf2.c (__negsf2): Likewise.
9367 * soft-fp/negtf2.c (__negtf2): Likewise.
9368 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
9370 2013-10-09 Joseph Myers <joseph@codesourcery.com>
9372 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
9373 semicolon. From Linux kernel.
9375 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
9377 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
9379 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
9382 * manual/socket.texi: Added statement about buffer
9383 for gethostbyname2_r.
9385 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
9387 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
9388 Use .p2align directive instead, throughout.
9389 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
9390 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
9391 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
9392 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9393 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9394 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
9395 * sysdeps/x86_64/strchr.S: Likewise.
9396 * sysdeps/x86_64/strrchr.S: Likewise.
9398 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9400 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
9402 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
9404 * sysdeps/generic/math_private.h (__mpsin1): Remove
9406 (__mpcos1): Likewise.
9407 (__mpsin): New argument __range_reduce.
9408 (__mpcos): Likewise.
9409 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9410 (slow): Use __mpsin and __mpcos.
9417 (bsloww1): Likewise.
9418 (bsloww2): Likewise.
9421 (csloww1): Likewise.
9422 (csloww2): Likewise.
9423 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
9424 range_reduce. Merge in __mpsin1.
9425 (__mpcos): Likewise.
9427 (__mpcos1): Likewise.
9429 2013-10-07 Joseph Myers <joseph@codesourcery.com>
9431 * locale/loadlocale.c (_nl_intern_locale_data): Use
9433 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
9434 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
9435 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
9436 obstack data is appropriately aligned.
9437 (obstack_int32_grow_fast): Likewise.
9438 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
9439 * locale/programs/locfile.c (add_locale_uint32): Likewise.
9440 (add_locale_uint32_array): Likewise.
9442 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
9444 * benchtests/Makefile: Remove ARGLIST and RET variables.
9445 ($(objpfx)bench-%.c): Pass only function name to the script.
9446 * benchtests/README: Update documentation.
9447 * benchtests/acos-inputs: Add new directives.
9448 * benchtests/acosh-inputs: Likewise.
9449 * benchtests/asin-inputs: Likewise.
9450 * benchtests/asinh-inputs: Likewise.
9451 * benchtests/atan-inputs: Likewise.
9452 * benchtests/atanh-inputs: Likewise.
9453 * benchtests/cos-inputs: Likewise.
9454 * benchtests/cosh-inputs: Likewise.
9455 * benchtests/exp-inputs: Likewise.
9456 * benchtests/log-inputs: Likewise.
9457 * benchtests/pow-inputs: Likewise.
9458 * benchtests/rint-inputs: Likewise.
9459 * benchtests/sin-inputs: Likewise.
9460 * benchtests/sinh-inputs: Likewise.
9461 * benchtests/tan-inputs: Likewise.
9462 * benchtests/tanh-inputs: Likewise.
9463 * scripts/bench.pl: Add support for new directives.
9465 2013-10-07 Alan Modra <amodra@gmail.com>
9467 * README: Fix careless merge.
9469 2013-10-05 Alan Modra <amodra@gmail.com>
9471 * NEWS: Mention powerpc64le support and bugs fixed.
9472 * README: Both big-endian and little-endian powerpc64 supported.
9474 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
9476 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
9477 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
9478 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
9479 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
9481 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
9483 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
9486 2013-10-04 Joseph Myers <joseph@codesourcery.com>
9488 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
9489 Move -mhard-float appending from
9490 ports/sysdeps/powerpc/powerpc32/Makefile.
9491 [$(with-fp) = yes] (ASFLAGS): Likewise.
9492 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
9493 * sysdeps/powerpc/nofpu: Move directory from
9494 ports/sysdeps/powerpc/nofpu.
9495 * sysdeps/powerpc/soft-fp: Move directory from
9496 ports/sysdeps/powerpc/soft-fp.
9497 * sysdeps/powerpc/powerpc32/405: Move directory from
9498 ports/sysdeps/powerpc/powerpc32/405.
9499 * sysdeps/powerpc/powerpc32/440: Move directory from
9500 ports/sysdeps/powerpc/powerpc32/440.
9501 * sysdeps/powerpc/powerpc32/464: Move directory from
9502 ports/sysdeps/powerpc/powerpc32/464.
9503 * sysdeps/powerpc/powerpc32/476: Move directory from
9504 ports/sysdeps/powerpc/powerpc32/476.
9505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
9506 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
9507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
9508 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
9509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
9510 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
9511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
9512 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
9513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
9514 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
9515 * README: Update for powerpc-*-linux-gnu software floating point
9518 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
9519 case to powerpc/powerpc32*.
9520 * sysdeps/unix/sysv/linux/configure: Regenerated.
9522 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
9523 (_FPU_MASK_OM): Define as 0x04.
9524 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
9525 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
9527 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
9529 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
9531 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
9532 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
9534 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
9535 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
9537 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
9538 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
9539 and setcontext_e500.
9541 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
9543 * locale/iso-3166.def: Update iso-1366.def and related occurrences
9545 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9547 * manual/threads.texi (Default Thread Attributes): Fix typo.
9549 2013-10-04 Will Newton <will.newton@linaro.org>
9551 * malloc/Makefile: Add tst-memalign.
9552 * malloc/tst-memalign.c: New file.
9554 * malloc/tst-posix_memalign.c: Add comments.
9555 (do_test): Add comments and call free on all potentially
9556 allocated pointers. Add space after cast.
9558 * malloc/tst-pvalloc.c: Add comments.
9559 (do_test): Add comments and call free on all potentially
9560 allocated pointers. Remove duplicate check for NULL pointer.
9561 Add space after cast.
9563 * malloc/tst-valloc.c: Add comments.
9564 (do_test): Add comments and call free on all potentially
9565 allocated pointers. Remove duplicate check for NULL pointer.
9566 Add space after cast.
9568 2013-10-04 Alan Modra <amodra@gmail.com>
9570 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9571 Use stdint types in rather than __attribute__((mode())).
9572 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9574 2013-10-04 Alan Modra <amodra@gmail.com>
9576 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9577 Correct handling of unaligned relocs for little-endian.
9578 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9580 2013-10-04 Alan Modra <amodra@gmail.com>
9582 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
9583 * configure: Regenerate.
9584 * nptl/shlib-versions: Powerpc*le starts at 2.18.
9585 * shlib-versions: Likewise.
9587 2013-10-04 Alan Modra <amodra@gmail.com>
9589 * string/tester.c (test_memrchr): Increment reported test cycle.
9591 2013-10-04 Alan Modra <amodra@gmail.com>
9593 * string/test-memcpy.c (do_one_test): When reporting errors, print
9594 string address and don't overrun end of string.
9596 2013-10-04 Alan Modra <amodra@gmail.com>
9598 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
9599 insrdi. Make better use of reg selection to speed exit slightly.
9600 Schedule entry path a little better. Remove useless "are we done"
9601 checks on entry to main loop. Handle wrapping around zero address.
9602 Correct main loop count. Handle single left-over word from main
9603 loop inline rather than by using loop_small. Remove extra word
9604 case in loop_small caused by wrong loop count. Add little-endian
9606 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
9607 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
9609 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
9610 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
9611 support. Avoid rlwimi.
9612 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
9614 2013-10-04 Alan Modra <amodra@gmail.com>
9616 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
9618 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
9619 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
9620 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
9621 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
9622 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
9623 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
9625 2013-10-04 Alan Modra <amodra@gmail.com>
9627 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
9628 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
9629 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
9630 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
9631 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
9632 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
9633 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
9634 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
9635 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
9636 use of regs. Use power7 mtocrf. Tidy function tails.
9638 2013-10-04 Alan Modra <amodra@gmail.com>
9640 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
9641 Formatting. Consistently use rXXX register defines or rN defines.
9642 Use early exit labels that avoid restoring unused non-volatile regs.
9643 Make cr field use more consistent with rWORDn compares. Rename
9644 regs used as shift registers for unaligned loop, using rN defines
9645 for short lifetime/multiple use regs.
9646 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
9647 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
9648 addi 1,1,64 to pop stack frame. Simplify return value code.
9649 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
9651 2013-10-04 Alan Modra <amodra@gmail.com>
9653 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
9654 support. Correct typos, formatting. Optimize tail. Use insrdi
9656 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
9657 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
9658 little-endian support. Correct typos.
9659 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
9661 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
9662 in loop and entry code to keep "and." results.
9663 (strchr): Add little-endian support. Comment. Move cntlzd
9665 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
9667 2013-10-04 Alan Modra <amodra@gmail.com>
9669 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
9670 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
9671 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
9672 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
9674 2013-10-04 Alan Modra <amodra@gmail.com>
9676 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
9677 (rTMP): Define as r11.
9678 (strcmp): Add little-endian support. Optimise tail.
9679 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
9680 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
9681 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
9682 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9683 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
9684 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9685 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9687 2013-10-04 Alan Modra <amodra@gmail.com>
9689 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
9690 little-endian support. Remove unnecessary "are we done" tests.
9691 Handle "s" wrapping around zero and extremely large "size".
9692 Correct main loop count. Handle single left-over word from main
9693 loop inline rather than by using small_loop. Correct comments.
9694 Delete "zero" tail, use "end_max" instead.
9695 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
9697 2013-10-04 Alan Modra <amodra@gmail.com>
9699 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
9700 support. Don't branch over align.
9701 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
9702 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
9703 support. Rearrange tmp reg use to suit. Comment.
9704 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
9706 2013-10-04 Alan Modra <amodra@gmail.com>
9708 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
9710 2013-10-04 Alan Modra <amodra@gmail.com>
9712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
9713 conditional form of branch and link when obtaining pc.
9714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
9716 2013-10-04 Alan Modra <amodra@gmail.com>
9718 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
9720 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
9721 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
9723 2013-10-04 Alan Modra <amodra@gmail.com>
9725 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
9726 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
9727 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
9728 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
9729 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
9730 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
9731 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
9732 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
9733 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
9734 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
9736 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
9737 Alistair Popple <alistair@ozlabs.au.ibm.com>
9738 Alan Modra <amodra@gmail.com>
9741 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
9742 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
9743 _dl_hwcap access for little-endian.
9744 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
9745 destroy vmx regs when saving unaligned.
9746 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
9747 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
9748 destroy vmx regs when saving unaligned.
9750 2013-10-04 Alan Modra <amodra@gmail.com>
9752 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
9753 Don't use a union to pack hi/low value.
9755 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
9757 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
9759 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
9760 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
9761 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
9762 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
9763 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
9765 2013-10-04 Alan Modra <amodra@gmail.com>
9767 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
9768 constants to usual value for .cst8 section, and remove redundant
9770 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
9771 constant for 0x1p52. Load little-endian words of double from
9772 correct stack offsets.
9774 2013-10-04 Alan Modra <amodra@gmail.com>
9776 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
9777 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
9778 words of double from correct stack offsets.
9779 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
9780 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
9781 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
9782 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
9783 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
9784 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
9785 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
9786 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
9787 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
9788 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
9789 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
9790 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
9791 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
9792 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
9793 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
9794 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
9795 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
9797 2013-10-04 Alan Modra <amodra@gmail.com>
9799 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
9800 64-bit int/double union.
9801 (_FPU_SETCW): Likewise.
9802 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
9803 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
9805 2013-10-04 Alan Modra <amodra@gmail.com>
9807 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
9808 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
9810 2013-10-04 Alan Modra <amodra@gmail.com>
9812 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
9813 use vector int constants.
9814 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
9816 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
9818 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
9819 array with long long.
9820 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
9821 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
9822 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
9823 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
9824 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
9825 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
9826 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
9827 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
9828 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
9829 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
9830 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
9831 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
9832 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
9834 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
9836 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
9837 (__signbit): Likewise. Correct for little-endian.
9838 (__signbitl): Call __signbit.
9839 (lrint): Correct for little-endian.
9840 (lrintf): Call lrint.
9842 2013-10-04 Alan Modra <amodra@gmail.com>
9844 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
9845 union 32-bit int array member with 64-bit int array.
9846 (t515, tm256): Double rather than long double.
9847 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
9849 2013-10-04 Alan Modra <amodra@gmail.com>
9851 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
9853 (IEEE854_LONG_DOUBLE_BIAS): Delete.
9854 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
9855 version of math_ldbl.h.
9857 2013-10-04 Alan Modra <amodra@gmail.com>
9859 [BZ #15734], [BZ #15735]
9860 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
9861 all uses of ieee875 long double macros and unions. Simplify test
9862 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
9863 ldbl_extract_mantissa value for ix,iy exponents. Properly
9864 normalize after ldbl_extract_mantissa, and don't add hidden bit
9865 already handled. Don't treat low word of ieee854 mantissa like
9866 low word of IBM long double and mask off bit when testing for
9868 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
9869 all uses of ieee875 long double macros and unions. Simplify tests
9870 for 0.0L and inf. Correct double adjustment of k. Delete dead code
9871 adjusting ha,hb. Simplify code setting kld. Delete two600 and
9872 two1022, instead use their values. Recognise that tests for large
9873 "a" and small "b" are mutually exclusive. Rename vars. Comment.
9874 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
9875 Rewrite all uses of ieee875 long double macros and unions. Simplify
9876 test for 0.0L and nan. Correct negation.
9877 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
9878 ieee875 long double macros and unions. Correct output for large
9879 magnitude x. Correct absolute value calculation.
9880 (__erfcl): Likewise.
9881 * math/libm-test.inc: Add tests for errors discovered in IBM long
9882 double versions of fmodl, remainderl, erfl and erfcl.
9884 2013-10-04 Alan Modra <amodra@gmail.com>
9886 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
9887 all uses of ieee854 long double macros and unions. Simplify tests
9888 for long doubles that are fully specified by the high double.
9889 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
9891 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
9892 Remove dead code too.
9893 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
9894 (__ieee754_ynl): Likewise.
9895 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
9896 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
9897 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
9898 Remove dead code too.
9899 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
9900 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
9901 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
9902 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
9904 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
9906 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
9907 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
9908 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
9909 Comment on variable precision.
9910 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
9911 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
9913 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
9914 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
9915 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
9916 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
9917 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
9919 2013-10-04 Alan Modra <amodra@gmail.com>
9921 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
9922 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
9923 all uses of ieee854 long double macros and unions.
9924 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
9925 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
9926 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
9927 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
9928 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
9929 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
9931 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
9932 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
9933 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
9934 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
9935 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
9936 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
9937 Simplify sign and nan test too.
9938 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
9939 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
9940 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
9941 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
9943 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
9944 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
9946 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9947 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
9948 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
9949 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
9950 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
9951 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
9953 2013-10-04 Alan Modra <amodra@gmail.com>
9955 * stdio-common/printf_size.c (__printf_size): Don't use
9956 union ieee854_long_double in fpnum union.
9957 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
9958 signbit macro to retrieve sign from long double.
9959 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
9960 retrieve sign from long double.
9961 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
9962 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
9963 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
9964 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
9965 * math/test-misc.c (main): Don't use union ieee854_long_double.
9967 2013-10-04 Alan Modra <amodra@gmail.com>
9970 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
9971 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
9972 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
9973 calculation. Remove unnecessary test for denormal exponent.
9974 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
9975 Correct handling of denormals. Avoid undefined shift behaviour.
9976 Correct normalisation of low mantissa when low double is denormal.
9977 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
9978 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
9979 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
9980 Correct normalisation of low mantissa. Test for overflow of high
9981 mantissa and normalise.
9982 (ldbl_nearbyint): Use more readable constant for two52.
9983 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
9984 (__mpn_construct_long_double): Fix test for overflow of high
9985 mantissa and correct normalisation. Avoid undefined shift.
9987 2013-10-04 Alan Modra <amodra@gmail.com>
9989 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
9990 (union ibm_extended_long_double): Define as an array of ieee754_double.
9991 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
9992 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
9993 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
9994 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
9995 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9996 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
9997 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
9998 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
9999 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
10000 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
10001 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
10003 2013-10-03 Joseph Myers <joseph@codesourcery.com>
10005 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
10006 page size instead of calling getpagesize.
10008 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
10009 (LOCFILE_ALIGN_MASK): Likewise.
10010 (LOCFILE_ALIGN_UP): Likewise.
10011 (LOCFILE_ALIGNED_P): Likewise.
10012 * locale/programs/ld-collate.c (collate_output): Use the new
10013 macros instead of __alignof__ (int32_t).
10014 * locale/weight.h (findidx): Likewise.
10016 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
10019 * manual/string.texi: Fix strncat and wcsncat.
10021 2013-10-03 Brooks Moses <bmoses@google.com>
10024 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
10025 * Makerules: ...here, and adjust associated comments.
10027 2013-10-02 Will Newton <will.newton@linaro.org>
10029 * malloc/Makefile: Add tst-pvalloc.
10030 * malloc/tst-pvalloc.c: New file.
10032 2013-10-02 Will Newton <will.newton@linaro.org>
10034 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
10035 improve test coverage.
10037 2013-10-02 Will Newton <will.newton@linaro.org>
10039 * malloc/Makefile: Add tst-posix_memalign.
10040 * malloc/tst-posix_memalign.c: New file.
10042 2013-10-01 Eric Blake <eblake@redhat.com>
10044 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
10045 Use __THROWNL rather than __THROW on static functions.
10047 2013-09-30 Petr Machata <pmachata@redhat.com>
10049 * elf/elf.h (R_AARCH64_ABS16): New macro.
10050 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
10051 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
10052 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
10053 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
10054 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
10055 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
10056 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
10057 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
10058 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
10059 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
10060 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
10061 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
10062 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
10063 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
10064 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
10065 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
10066 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
10067 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
10068 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
10069 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
10070 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
10071 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
10072 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
10073 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
10074 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
10075 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
10076 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
10077 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
10078 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
10079 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
10080 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
10081 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
10082 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
10083 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
10084 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
10085 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
10086 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
10087 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
10088 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
10089 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
10090 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
10091 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
10092 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
10093 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
10094 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
10095 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
10096 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
10097 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
10098 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
10099 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
10100 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
10101 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
10102 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
10103 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
10104 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
10105 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
10106 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
10107 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
10108 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
10109 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
10110 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
10111 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
10112 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
10113 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
10114 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
10115 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
10116 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
10117 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
10118 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
10119 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
10120 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
10121 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
10122 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
10123 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
10124 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
10125 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
10126 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
10127 (R_AARCH64_TLSDESC_LDR): Likewise.
10128 (R_AARCH64_TLSDESC_ADD): Likewise.
10129 (R_AARCH64_TLSDESC_CALL): Likewise.
10131 2013-09-30 Andreas Schwab <schwab@suse.de>
10134 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
10135 the nss database lookup.
10136 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10137 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10139 2013-09-28 Mike Frysinger <vapier@gentoo.org>
10141 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
10143 2013-09-28 P. J. McDermott <pj@pehjota.net>
10145 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
10146 ${Bash-specific parameter/pattern/string} parameter expansion.
10147 * sysdeps/unix/make-syscalls.sh: Likewise.
10149 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10151 * sysdeps/sh/stackguard-macros.h: New file.
10153 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
10155 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
10156 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
10157 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
10158 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
10159 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
10160 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
10162 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10164 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
10165 Fix thread ID register.
10167 2013-09-25 Joseph Myers <joseph@codesourcery.com>
10169 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
10170 [POSIX || UNIX98]: Require rather than permitting all symbols from
10172 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
10173 element of struct sched_param.
10174 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
10175 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
10176 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
10177 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
10180 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
10182 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
10183 argument calculation.
10185 2013-09-24 Joseph Myers <joseph@codesourcery.com>
10187 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
10189 [POSIX] (pthread_attr_t): Do not require type.
10190 [POSIX] (pthread_cond_t): Likewise.
10191 [POSIX] (pthread_condattr_t): Likewise.
10192 [POSIX] (pthread_key_t): Likewise.
10193 [POSIX] (pthread_mutex_t): Likewise.
10194 [POSIX] (pthread_mutexattr_t): Likewise.
10195 [POSIX] (pthread_once_t): Likewise.
10196 [POSIX] (pthread_t): Likewise.
10197 [POSIX-based standards] (pthread_atfork): Expect function.
10199 2013-09-24 Joseph Myers <joseph@codesourcery.com>
10200 Richard Sandiford <richard@codesourcery.com>
10202 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
10203 (swap_endianness_p): New extern variable.
10204 (set_big_endian): New inline function.
10205 (maybe_swap_uint32): Likewise.
10206 (maybe_swap_uint32_array): Likewise.
10207 (maybe_swap_uint32_obstack): Likewise.
10208 * locale/programs/locfile.c: Include <stdbool.h>.
10209 (swap_endianness_p): New variable.
10210 (add_locale_uint32): Call maybe_swap_uint32.
10211 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
10212 (write_locale_data): Call maybe_swap_uint32_array.
10213 * locale/programs/ld-collate.c (obstack_int32_grow): Call
10215 (obstack_int32_grow_fast): Likewise.
10216 (output_weightwc): Call maybe_swap_uint32_obstack.
10217 (collate_output): Likewise.
10218 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
10219 (OPT_LITTLE_ENDIAN): Likewise.
10220 (options): Add --little-endian and --big-endian options.
10221 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
10222 * locale/programs/locarchive.c: Include "locfile.h".
10226 (create_archive): Use the new macros to access fields of
10227 structures directly mapped from or written to locale archives.
10228 (oldlocrecentcmp): Likewise.
10229 (enlarge_archive): Likewise.
10230 (insert_name): Likewise.
10231 (add_alias): Likewise.
10232 (add_locale): Likewise.
10233 (delete_locales_from_archive): Likewise.
10234 (show_archive_content): Likewise.
10235 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
10238 2013-09-24 Roland McGrath <roland@hack.frob.com>
10240 * manual/freemanuals.texi: Updated from (newly) canonical copy at
10241 http://www.gnu.org/doc/freemanuals.texi.
10242 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
10244 2013-09-24 Will Newton <will.newton@linaro.org>
10246 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
10249 2013-09-23 Joseph Myers <joseph@codesourcery.com>
10251 * locale/hashval.h (compute_hashval): Interpret bytes of key as
10254 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
10256 * manual/threads.texi (POSIX Threads): Fix a typo.
10258 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
10261 * string/tst-strcoll-overflow.c: New test case.
10262 * string/Makefile (xtests): Add tst-strcoll-overflow.
10263 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
10264 cache if string sizes may cause integer overflow.
10267 * string/strcoll_l.c (coll_seq): New members rule, idx,
10268 save_idx and back_us.
10269 (get_next_seq_nocache): New function.
10270 (do_compare_nocache): New function.
10271 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
10274 2013-09-23 Carlos O'Donell <carlos@redhat.com>
10277 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
10278 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
10279 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
10282 * elf/Makefile (tests): Add tst-ptrguard1.
10283 (tests-static): Add tst-ptrguard1-static.
10284 (tst-ptrguard1-ARGS): Define.
10285 (tst-ptrguard1-static-ARGS): Define.
10286 * elf/tst-ptrguard1.c: New file.
10287 * elf/tst-ptrguard1-static.c: New file.
10288 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
10289 * sysdeps/i386/stackguard-macros.h: Likewise.
10290 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
10291 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
10292 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
10293 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
10294 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
10295 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
10297 2013-09-23 Hector Marco <hecmargi@upv.es>
10298 Ismael Ripoll <iripoll@disca.upv.es>
10299 Carlos O'Donell <carlos@redhat.com>
10302 * sysdeps/generic/stackguard-macros.h: Define
10303 __pointer_chk_guard_local and POINTER_CHK_GUARD.
10304 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
10305 Define __pointer_chk_guard_local.
10306 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
10307 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
10309 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
10312 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
10314 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
10316 * include/string.h (__ffs): Declare as hidden.
10317 * string/ffs.c (__ffs): Define as hidden.
10318 * sysdeps/i386/ffs.c (__ffs): Likewise.
10319 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
10320 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
10321 * sysdeps/s390/ffs.c (__ffs): Likewise.
10322 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
10324 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
10326 * NEWS: Mention malloc probes.
10328 * malloc/arena.c (new_heap): New memory_heap_new probe.
10329 (grow_heap): New memory_heap_more probe.
10330 (shrink_heap): New memory_heap_less probe.
10331 (heap_trim): New memory_heap_free probe.
10332 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
10333 (systrim): New memory_sbrk_less probe.
10334 * manual/probes.texi: Document them.
10336 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
10337 * manual/probes.texi: Document it.
10339 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
10340 (__libc_realloc): Add memory_realloc_retry probe.
10341 (__libc_memalign): Add memory_memalign_retry probe.
10342 (__libc_valloc): Add memory_valloc_retry probe.
10343 (__libc_pvalloc): Add memory_pvalloc_retry probe.
10344 (__libc_calloc): Add memory_calloc_retry probe.
10345 * manual/probes.texi: Document them.
10347 * malloc/arena.c (get_free_list): Add probe
10348 memory_arena_reuse_free_list.
10349 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
10350 and memory_arena_reuse.
10351 (arena_get2) [!PER_THREAD]: Likewise.
10352 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
10353 memory_arena_reuse_realloc.
10354 * manual/probes.texi: Document them.
10356 * malloc/malloc.c (__libc_free): Add
10357 memory_mallopt_free_dyn_thresholds probe.
10358 (__libc_mallopt): Add multiple memory_mallopt probes.
10359 * manual/probes.texi: Document them.
10361 * malloc/malloc.c: Include stap-probe.h.
10362 (__libc_mallopt): Add memory_mallopt probe.
10363 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
10364 * manual/probes.texi: New.
10365 * manual/Makefile (chapters): Add probes.
10366 * manual/threads.texi: Set next node.
10368 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
10370 [BZ #15963, #13985]
10371 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
10372 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
10373 Add `Chinese' to `nan' entry name.
10375 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10377 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
10378 (POLYNOMIAL): Likewise.
10379 (TAYLOR_SINCOS): Likewise.
10380 (TAYLOR_SLOW): Likewise.
10381 (__sin): Use TAYLOR_SINCOS.
10383 (slow): Use TAYLOR_SLOW.
10385 (bsloww): Likewise.
10386 (csloww): Likewise.
10388 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10390 * stdlib/strtod_l.c: Fix buffer overrun.
10392 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10394 * benchtests/Makefile (bench): Add sincos.
10395 * benchtests/bench-sincos.c: New file.
10397 * math/libm-test.inc (cos_test_data): New test inputs.
10398 (sin_test_data): Likewise.
10400 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
10406 (sloww1): Likewise.
10407 (sloww2): Likewise.
10408 (bsloww1): Likewise.
10409 (bsloww2): Likewise.
10410 (cslow2): Likewise.
10411 (csloww1): Likewise.
10412 (csloww2): Likewise.
10414 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
10419 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
10423 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
10425 * config.h.in (HAVE_MIPS_NAN2008): New macro.
10426 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
10427 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
10428 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
10429 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
10430 * elf/cache.c (print_entry): Handle the new cache flags.
10432 2013-09-18 Joseph Myers <joseph@codesourcery.com>
10433 Aldy Hernandez <aldyh@redhat.com>
10435 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
10436 Change condition to [_SOFT_FLOAT].
10437 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
10438 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
10439 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
10440 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
10441 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
10442 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
10443 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
10444 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
10445 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
10446 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
10447 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
10448 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
10449 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
10450 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
10451 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
10452 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
10455 2013-09-18 Joseph Myers <joseph@codesourcery.com>
10457 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
10458 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
10459 (__longjmp): Use LOAD_GP to load saved GPRs.
10460 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
10461 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
10462 (__sigsetjmp): Use SAVE_GP to save GPRs.
10464 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
10465 Do not append -msoft-float.
10466 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
10468 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10470 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
10472 2013-09-17 Joseph Myers <joseph@codesourcery.com>
10475 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
10476 (_FPU_GETCW): Use initial "__" on variable and field names but not
10477 on macro parameter name.
10478 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
10479 parentheses around reference to macro parameter.
10481 2013-09-13 Richard Sandiford <richard@codesourcery.com>
10483 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
10485 (ctype_startup): Use uint32_t in cast and sizeof for
10488 2013-09-11 Jia Liu <proljc@gmail.com>
10490 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
10492 [__FreeBSD__]: Likewise.
10494 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
10496 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
10497 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
10498 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
10499 (strchr): Remove __strchr_sse42 ifunc selection.
10500 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
10501 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
10503 2013-09-11 Will Newton <will.newton@linaro.org>
10505 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
10506 parameter to RES. Remove hardcoded 1000 value.
10507 * benchtests/bench-skeleton.c (main): Pass RES parameter
10508 to TIMING_INIT and multiply result by 1000.
10510 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10512 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10514 2013-09-11 Andreas Schwab <schwab@suse.de>
10516 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
10518 (O_TMPFILE) [__USE_GNU]: Define.
10519 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
10522 2013-09-11 Will Newton <will.newton@linaro.org>
10525 * malloc/malloc.c (__libc_memalign): Check the value of bytes
10528 2013-09-11 Will Newton <will.newton@linaro.org>
10531 * malloc/malloc.c (__libc_valloc): Check the value of bytes
10534 2013-09-11 Will Newton <will.newton@linaro.org>
10537 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
10540 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
10542 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
10543 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10544 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10545 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10546 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10548 2013-09-10 Allan McRae <allan@archlinux.org>
10551 * manual/arith.texi (Parsing of Floats): Clarify
10555 * manual/install.texi (Running make install): Mention
10557 * INSTALL: Regenerated.
10559 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
10561 * csu/init-first.c (_init): Remove the !SHARED condition around
10562 FPU control word initialization.
10563 * elf/dl-support.c (_dl_fpu_control): New variable.
10564 (_dl_aux_init) <AT_FPUCW>: Initialize it.
10565 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
10566 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
10567 * math/test-fpucw-static.c: New file.
10568 * math/test-fpucw-ieee.c: New file.
10569 * math/test-fpucw-ieee-static.c: New file.
10570 * math/Makefile (tests): Add `test-fpucw-ieee' and
10572 (tests-static): New variable.
10573 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
10575 [($(build-shared),yes)]
10576 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
10578 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
10581 2013-09-09 Allan McRae <allan@archlinux.org>
10584 * manual/string.texi (Collation Functions): Fix typo in
10586 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
10589 * stdlib/isomac.c (get_null_defines): Fix memory leak.
10592 * libio/memstream.c (open_memstream): Fix memory leak.
10593 * libio/wmemstream.c (open_wmemstream): Likewise.
10596 * nscd/netgroupcache.c: Fix nesting of ifdefs.
10598 2013-09-09 Will Newton <will.newton@linaro.org>
10600 * malloc/Makefile: Add tst-realloc to tests.
10601 * malloc/tst-realloc.c: New file.
10603 2013-09-09 Allan McRae <allan@archlinux.org>
10606 * COPYING: Update from GNU website to fix FSF address.
10607 * COPYING.LIB: Likewise.
10609 2013-09-06 David S. Miller <davem@davemloft.net>
10611 * po/zh_TW.po: Update Chinese (traditional) translation from
10612 translation project.
10614 2013-09-06 Richard Sandiford <richard@codesourcery.com>
10615 Joseph Myers <joseph@codesourcery.com>
10617 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
10619 (obstack_chunk_alloc): New macro.
10620 (obstack_chunk_free): Likewise.
10621 (record_offset): New function.
10622 (init_locale_data): Likewise.
10623 (align_locale_data): Likewise.
10624 (add_locale_empty): Likewise.
10625 (add_locale_raw_data): Likewise.
10626 (add_locale_raw_obstack): Likewise.
10627 (add_locale_string): Likewise.
10628 (add_locale_wstring): Likewise.
10629 (add_locale_uint32): Likewise.
10630 (add_locale_uint32_array): Likewise.
10631 (add_locale_char): Likewise.
10632 (start_locale_structure): Likewise.
10633 (end_locale_structure): Likewise.
10634 (start_locale_prelude): Likewise.
10635 (end_locale_prelude): Likewise.
10636 (write_locale_data): Take locale_file structure rather than an
10638 * locale/programs/locfile.h: Include "obstack.h".
10639 (struct locale_file): Change to store locale file contents instead
10641 (init_locale_data): New prototype.
10642 (align_locale_data): Likewise.
10643 (add_locale_empty): Likewise.
10644 (add_locale_raw_data): Likewise.
10645 (add_locale_raw_obstack): Likewise.
10646 (add_locale_string): Likewise.
10647 (add_locale_wstring): Likewise.
10648 (add_locale_uint32): Likewise.
10649 (add_locale_uint32_array): Likewise.
10650 (add_locale_char): Likewise.
10651 (start_locale_structure): Likewise.
10652 (end_locale_structure): Likewise.
10653 (start_locale_prelude): Likewise.
10654 (end_locale_prelude): Likewise.
10655 (write_locale_data): Update prototype.
10656 * locale/programs/3level.h (struct TABLE): Remove result field.
10657 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
10658 Use new locale_file interface.
10659 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
10660 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
10661 * locale/programs/ld-address.c (address_output): Use new
10662 locale_file interface.
10663 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
10665 (collate_finish): Don't call collseq_table_finalize.
10666 (collate_output): Use new locale_file interface.
10667 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
10669 (NO_FINALIZE): Change to NO_ADD_LOCALE.
10670 (TABLE): Move defines earlier in file.
10671 (ELEMENT): Likewise.
10672 (DEFAULT): Likewise.
10673 (wctrans_table_add): Move macro and inline function earlier in
10675 (struct wctype_table): Move type earlier in file.
10676 (add_locale_wctype_table): New static prototype.
10677 (struct locale_ctype_t): Use logical types instead of struct iovec
10678 pointers for members.
10679 (ctype_output): Use new locale_file interface.
10680 (wctype_table_finalize): Change to add_locale_wctype_table. Use
10681 new locale_file interface.
10682 (allocate_arrays): Update for use of new locale_file interface.
10683 * locale/programs/ld-identification.c (identification_output): Use
10684 new locale_file interface.
10685 * locale/programs/ld-measurement.c (measurement_output): Likewise.
10686 * locale/programs/ld-messages.c (messages_output): Likewise.
10687 * locale/programs/ld-monetary.c (monetary_output): Likewise.
10688 * locale/programs/ld-name.c (name_output): Likewise.
10689 * locale/programs/ld-numeric.c (numeric_output): Likewise.
10690 * locale/programs/ld-paper.c (paper_output): Likewise.
10691 * locale/programs/ld-telephone.c (telephone_output): Likewise.
10692 * locale/programs/ld-time.c (time_output): Likewise.
10694 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10696 * benchtests/Makefile: Add memrchr benchmark.
10697 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
10698 benchmark as memrchr.
10699 * benchtests/bench-memrchr-ifunc.c: New file.
10700 * benchtests/bench-memrchr.c: New file.
10702 2013-09-06 Will Newton <will.newton@linaro.org>
10704 * benchtests/Makefile (string-bench): Add memcpy.
10706 2013-09-05 Carlos O'Donell <carlos@redhat.com>
10707 Cong Wang <amwang@redhat.com>
10710 * sysdeps/unix/sysv/linux/bits/in.h
10711 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
10712 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
10713 before __USE_KERNEL_IPV6_DEFS uses.
10714 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
10716 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
10717 sockaddr_in6, or ipv6_mreq.
10719 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10721 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
10722 memory access for final bytes in some large inputs.
10723 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
10725 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10727 * string/test-memrchr.c: New file.
10728 * string/test-memrchr-ifunc.c: New file.
10729 * string/Makefile: Add new memrchr testcase.
10731 2013-09-05 Mike Frysinger <vapier@gentoo.org>
10733 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
10734 fanotify_init returns EPERM.
10736 2013-09-04 Joseph Myers <joseph@codesourcery.com>
10738 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
10740 (top level): Treat second token from macro or constant entries for
10741 allowed headers as allowed.
10742 * include/complex.h: Condition internal declarations on
10744 * include/fenv.h: Condition include of <stdbool.h> and internal
10745 declarations on [!_ISOMAC].
10747 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
10750 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
10752 2013-09-04 Joseph Myers <joseph@codesourcery.com>
10754 * configure.in (--enable-versioning): Remove configure option.
10755 (libc_cv_asm_symver_directive): Remove configure test.
10756 (libc_cv_ld_version_script_option): Likewise.
10757 (VERSIONING): Remove variable and AC_SUBST.
10758 (DO_VERSIONING): Remove AC_DEFINE.
10759 * configure: Regenerated.
10760 * config.h.in (DO_VERSIONING): Remove macro.
10761 * Makerules [$(versioning) = yes]: Change conditionals to
10762 [$(build-shared) = yes].
10763 * config.make.in (versioning): Remove variable.
10764 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
10765 [$(build-shared) = yes].
10766 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
10767 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
10768 * elf/Makefile [$(versioning) = yes]: Change conditionals to
10769 [$(build-shared) = yes].
10770 * extra-lib.mk [$(versioning) = yes]: Likewise.
10771 * hurd/Makefile [$(versioning) = yes]: Likewise.
10772 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
10774 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
10776 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
10777 [SHARED && !NO_HIDDEN].
10778 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
10780 [SHARED && DO_VERSIONING]: Likewise..
10781 * libio/Makefile [$(versioning) = yes]: Change conditionals to
10782 [$(build-shared) = yes].
10783 * manual/install.texi (--disable-versioning): Remove
10785 * INSTALL: Regenerated.
10786 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
10788 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
10789 [$(build-shared) = yes].
10790 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
10791 * sysdeps/i386/i686/multiarch/strstr-c.c
10792 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
10793 [SHARED && !NO_HIDDEN].
10794 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
10795 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
10796 * sysdeps/powerpc/powerpc32/dl-machine.c
10797 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
10798 * sysdeps/powerpc/powerpc32/sysdep.h
10799 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
10800 to [SHARED && PIC && !NO_HIDDEN].
10801 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
10802 conditional to [SHARED].
10804 2013-09-04 Will Newton <will.newton@linaro.org>
10806 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
10807 * benchtests/bench-string.h: Include bench-timing.h instead
10808 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
10809 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
10810 call to HP_TIMING_DIFF_INIT.
10811 * benchtests/bench-memccpy.c: Use bench-timing.h macros
10812 instead of hp-timing.h macros.
10813 * benchtests/bench-memchr.c: Likewise.
10814 * benchtests/bench-memcmp.c: Likewise.
10815 * benchtests/bench-memcpy.c: Likewise.
10816 * benchtests/bench-memmem.c: Likewise.
10817 * benchtests/bench-memmove.c: Likewise.
10818 * benchtests/bench-memset.c: Likewise.
10819 * benchtests/bench-rawmemchr.c: Likewise.
10820 * benchtests/bench-strcasecmp.c: Likewise.
10821 * benchtests/bench-strcasestr.c: Likewise.
10822 * benchtests/bench-strcat.c: Likewise.
10823 * benchtests/bench-strchr.c: Likewise.
10824 * benchtests/bench-strcmp.c: Likewise.
10825 * benchtests/bench-strcpy.c: Likewise.
10826 * benchtests/bench-strcpy_chk.c: Likewise.
10827 * benchtests/bench-strlen.c: Likewise.
10828 * benchtests/bench-strncasecmp.c: Likewise.
10829 * benchtests/bench-strncat.c: Likewise.
10830 * benchtests/bench-strncmp.c: Likewise.
10831 * benchtests/bench-strncpy.c: Likewise.
10832 * benchtests/bench-strnlen.c: Likewise.
10833 * benchtests/bench-strpbrk.c: Likewise.
10834 * benchtests/bench-strrchr.c: Likewise.
10835 * benchtests/bench-strspn.c: Likewise.
10836 * benchtests/bench-strstr.c: Likewise.
10838 2013-09-04 Will Newton <will.newton@linaro.org>
10840 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
10842 2013-09-03 Joseph Myers <joseph@codesourcery.com>
10845 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
10846 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
10847 * math/libm-test.inc (lgamma_test_data): Add more tests.
10848 * sysdeps/i386/fpu/libm-test-ulps: Update.
10849 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10851 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
10853 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
10854 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10856 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
10857 Add strcmp-sse2-unaligned
10858 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
10860 2013-09-02 Mike Frysinger <vapier@gentoo.org>
10862 * Versions.def (libc): Add GLIBC_2.19.
10864 2013-09-02 Mike Frysinger <vapier@gentoo.org>
10866 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
10867 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
10869 2013-09-02 Joseph Myers <joseph@codesourcery.com>
10872 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
10873 intermediate calculations in recurrence.
10874 (__ieee754_ynf): Likewise.
10875 * math/libm-test.inc (jn_test_data): Do not allow spurious
10876 underflow exception. Add more tests.
10877 (yn_test_data): Add more tests.
10878 * sysdeps/i386/fpu/libm-test-ulps: Update.
10879 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10881 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
10883 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
10885 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
10887 * csu/init-first.c: Fix then/than typos.
10888 * locale/programs/ld-collate.c: Likewise.
10889 * locale/programs/linereader.h: Likewise.
10890 * manual/charset.texi: Likewise.
10891 * manual/filesys.texi: Likewise.
10892 * manual/stdio.texi: Likewise.
10893 * manual/string.texi: Likewise.
10894 * stdlib/fmtmsg.c: Likewise.
10895 * sysdeps/i386/stpncpy.S: Likewise.
10896 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
10897 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
10898 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
10899 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
10901 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
10903 * elf/dl-open.c: Fix typos.
10904 * iconvdata/gbbig5.c: Likewise.
10905 * iconvdata/iso-2022-jp.c: Likewise.
10906 * iconv/gconv_int.h: Likewise.
10907 * iconv/loop.c: Likewise.
10908 * nis/rpcsvc/nis.h: Likewise.
10909 * resolv/ns_name.c: Likewise.
10910 * stdio-common/vfscanf.c: Likewise.
10911 * streams/stropts.h: Likewise.
10912 * sunrpc/rpc_thread.c: Likewise.
10913 * sysdeps/i386/strpbrk.S: Likewise.
10914 * sysdeps/ieee754/k_standard.c: Likewise.
10915 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10916 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10917 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
10918 * sysdeps/mach/hurd/profil.c: Likewise.
10919 * sysdeps/s390/dl-procinfo.h: Likewise.
10920 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
10921 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
10922 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
10923 * sysdeps/x86_64/dl-trampoline.S: Likewise.
10924 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
10926 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
10928 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
10929 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
10931 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
10933 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
10934 aix specific files.
10935 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
10936 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
10937 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
10938 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
10939 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
10940 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
10941 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
10942 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
10944 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
10945 Roland McGrath <roland@hack.frob.com>
10947 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
10948 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
10950 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
10952 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
10953 __executable_start symbol instead of _start.
10955 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
10957 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
10958 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
10960 * sysdeps/gnu/ldsodefs.h: ... this new file.
10962 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
10963 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
10964 instead of ELFOSABI_LINUX.
10966 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
10967 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
10968 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
10969 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
10971 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
10972 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
10973 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
10975 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
10976 (ibm_extended_long_double): Add ieee_nan member.
10977 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
10978 (do_test): New function.
10980 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
10982 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
10983 functions, renamed from truncdfsf_test, trunctfsf_test,
10985 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
10987 (do_test): Run all these.
10989 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
10991 * argp/argp-help.c: Fix typos.
10992 * argp/argp-parse.c: Likewise.
10993 * debug/backtracesyms.c: Likewise.
10994 * elf/elf.h: Likewise.
10995 * malloc/malloc.c: Likewise.
10996 * nis/nis_print.c: Likewise.
10997 * resolv/res_comp.c: Likewise.
10998 * stdlib/stdlib.h: Likewise.
10999 * sunrpc/clnt_tcp.c: Likewise.
11000 * sunrpc/clnt_udp.c: Likewise.
11001 * sunrpc/clnt_unix.c: Likewise.
11002 * sysdeps/unix/bsd/ptsname.c: Likewise.
11003 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
11004 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
11005 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
11007 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
11009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
11011 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
11013 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11015 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
11016 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
11018 2013-08-27 Mike Frysinger <vapier@gentoo.org>
11021 * dlfcn/Makefile (tests): Add bug-dl-leaf.
11022 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
11023 ($(objpfx)bug-dl-leaf): New rule.
11024 ($(objpfx)bug-dl-leaf.so): Likewise.
11025 ($(objpfx)bug-dl-leaf.out): Likewise.
11026 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
11027 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
11028 * dlfcn/bug-dl-leaf.c: New test.
11029 * dlfcn/bug-dl-leaf-lib.c: Likewise.
11030 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
11031 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
11032 (dlclose): Likewise.
11033 (dlmopen): Likewise.
11035 2013-08-27 Roland McGrath <roland@hack.frob.com>
11037 * include/netdb.h [!_ISOMAC]:
11038 Don't include <tls.h>.
11039 (h_errno, __libc_h_errno): Move declaration and macros out of
11042 * include/resolv.h [_RESOLV_H_]:
11043 Don't include <tls.h>.
11044 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
11045 * resolv/res_libc.c: Don't include <tls.h>.
11046 (_res): Use __attribute__ ((nocommon)) in place of
11047 __attribute__ ((section (".bss"))).
11049 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
11050 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
11052 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
11054 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
11055 only under [SIOCGIFCONF && SIOCGIFNETMASK].
11057 * resolv/res_mkquery.c: Include <sys/time.h>.
11059 * inet/ifreq.c: Moved to ...
11060 * sysdeps/unix/ifreq.c: ... here.
11061 * inet/ifreq.c: New file, true stub version.
11063 * socket/sa_len.c: New file.
11064 * socket/Makefile (aux): Add it.
11065 * sysdeps/unix/sysv/linux/Makefile
11066 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
11067 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
11068 and #include <socket/sa_len.c>.
11069 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
11070 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
11072 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
11073 * bits/socket.h: ... here.
11075 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
11076 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
11077 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
11079 2013-08-27 Andreas Schwab <schwab@suse.de>
11082 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
11083 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
11084 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
11085 * string/test-strcasecmp.c (test_main): Run tests in several
11087 * string/test-strncasecmp.c (test_main): Likewise.
11089 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
11090 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
11091 to __strcasecmp_nonascii and __strncasecmp_nonascii.
11092 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
11093 (__strncasecmp_ssse3) [PIC]: Likewise.
11095 2013-08-26 Roland McGrath <roland@hack.frob.com>
11097 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
11099 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
11100 instead of explicitly declaring xdecrypt.
11101 * nis/nss_nis/nis-publickey.c: Likewise.
11103 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11106 * nscd/aicache.c: Include res_hconf.h.
11107 (addhstaiX): Initialize res_hconf.
11109 2013-08-26 Andreas Schwab <schwab@suse.de>
11111 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
11112 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
11114 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11116 * nscd/aicache.c (addhstaiX): Fix indentation.
11118 2013-08-25 Mike Frysinger <vapier@gentoo.org>
11120 * configure.ac: Quote $build_pt_chown test.
11121 * configure: Regenerated.
11123 2013-08-23 Joseph Myers <joseph@codesourcery.com>
11126 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
11127 * math/s_cexpf.c (__cexpf): Likewise.
11128 * math/s_cexpl.c (__cexpl): Likewise.
11129 * math/libm-test.inc (cexp_test_data): Correct expected return
11130 value for NaN + i0. Add another test.
11132 2013-08-22 David S. Miller <davem@davemloft.net>
11134 * po/ca.po: Update Catalan translation from translation project.
11135 * po/uk.po: Add Ukrainian translations from translation project.
11137 2013-08-21 Joseph Myers <joseph@codesourcery.com>
11140 * math/s_fdim.c (__fdim): Check for infinite arguments if result
11141 is infinite, not alongside NaN test.
11142 * math/s_fdimf.c (__fdimf): Likewise.
11143 * math/s_fdiml.c (__fdiml): Likewise.
11144 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
11145 errno is unchanged.
11147 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
11149 * argp/argp-help.c: Fix typos.
11150 * crypt/speeds.c: Likewise.
11151 * csu/check_fds.c: Likewise.
11152 * elf/dl-load.c: Likewise.
11153 * elf/dl-open.c: Likewise.
11154 * elf/reldep3.c: Likewise.
11155 * elf/reldep.c: Likewise.
11156 * elf/sprof.c: Likewise.
11157 * iconv/iconv_charmap.c: Likewise.
11158 * iconv/skeleton.c: Likewise.
11159 * iconv/strtab.c: Likewise.
11160 * io/lockf64.c: Likewise.
11161 * libio/libioP.h: Likewise.
11162 * resolv/gai_notify.c: Likewise.
11163 * resolv/ns_name.c: Likewise.
11164 * resolv/ns_samedomain.c: Likewise.
11165 * resolv/res_send.c: Likewise.
11166 * stdlib/random.c: Likewise.
11167 * sunrpc/rpc/xdr.h: Likewise.
11168 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
11169 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
11170 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
11171 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
11172 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
11173 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
11174 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
11175 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
11176 * sysdeps/mach/hurd/check_fds.c: Likewise.
11177 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
11178 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
11179 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11180 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
11181 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
11182 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
11183 * sysdeps/pthread/aio_notify.c: Likewise.
11184 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
11185 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
11186 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
11187 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
11188 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
11190 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11192 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
11193 version if bit_Slow_SSE4_2 is set.
11194 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11195 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
11197 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11200 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
11201 trampoline stack frame information.
11202 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
11203 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
11204 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
11205 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
11206 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
11207 * sysdeps/unix/sysv/linux/powerpc/init-first.c
11208 (_libc_vdso_platform_setup): Initialize the signal trampolines.
11209 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
11211 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
11212 interrupting a syscall and set with option SA_SIGINFO.
11214 2013-08-20 Joseph Myers <joseph@codesourcery.com>
11217 * math/s_cproj.c (__cproj): Only return an infinity if one part of
11218 argument is infinite.
11219 * math/s_cprojf.c (__cprojf): Likewise.
11220 * math/s_cprojl.c (__cprojl): Likewise.
11221 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
11222 * math/libm-test.inc (cproj_test_data): Add more tests.
11224 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
11226 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
11227 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
11228 size. Use __ffs to determine corresponding shift.
11230 2013-08-20 Joseph Myers <joseph@codesourcery.com>
11231 Roland McGrath <roland@hack.frob.com>
11233 * Makefile (INSTALL): Remove trailing blank lines from output of
11236 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11238 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
11239 Align 32 bit compat elf_greg to 8 bytes.
11241 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
11243 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
11245 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11247 * string/strcoll_l.c (coll_seq): New structure.
11248 (get_next_seq_cached): New function.
11249 (get_next_seq): New function.
11250 (do_compare): New function.
11251 (STRCOLL): Use GNU style definition. Simplify implementation
11252 by using get_next_seq, get_next_seq_cached and do_compare.
11254 2013-08-16 Florian Weimer <fweimer@redhat.com>
11258 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
11260 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
11262 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
11263 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
11264 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
11266 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
11267 GETDENTS_64BIT_ALIGNED.
11268 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
11269 * manual/filesys.texi (Reading/Closing Directory): Document
11270 ENAMETOOLONG return value of readdir_r. Recommend readdir more
11272 * manual/conf.texi (Limits for Files): Add portability note to
11273 NAME_MAX, PATH_MAX.
11274 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
11276 2013-08-13 Andreas Schwab <schwab@suse.de>
11279 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
11281 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
11282 LDBL_MAX_EXP >= 16384]: Add tests for it.
11284 2013-08-12 David S. Miller <davem@davemloft.net>
11286 * version.h (RELEASE): Set to "development".
11287 (VERSION): Set to "2.18.90".
11288 * NEWS: Add 2.19 section.
11290 2013-08-03 David S. Miller <davem@davemloft.net>
11292 * po/ko.po: Update Korean translation from translation project.
11294 2013-08-01 David S. Miller <davem@davemloft.net>
11296 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
11297 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
11300 2013-07-30 David S. Miller <davem@davemloft.net>
11302 * po/fr.po: Update French translation from translation project.
11304 2013-07-28 David S. Miller <davem@davemloft.net>
11306 * po/cs.po: Update Czech translation from translation project.
11308 * po/sv.po: Update Swedish translation from translation project.
11310 2013-07-27 David S. Miller <davem@davemloft.net>
11312 * po/eo.po: Update Esperanto translation from translation project.
11314 * po/vi.po: Update Vietnamese translation from translation project.
11316 * po/de.po: Update German translation from translation project.
11318 2013-07-26 David S. Miller <davem@davemloft.net>
11320 * po/bg.po: Update Bulgarian translation from translation project.
11322 * po/nl.po: Update Dutch translation from translation project.
11323 * po/pl.po: Update Polish translation from translation project.
11324 * po/ru.po: Update Russian translation from translation project.
11326 2013-07-24 David S. Miller <davem@davemloft.net>
11328 * po/libc.pot: Update.
11330 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11332 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
11333 variable page size.
11334 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
11335 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
11336 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
11338 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11340 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
11342 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11343 Andreas Schwab <schwab@suse.de>
11344 Roland McGrath <roland@hack.frob.com>
11345 Joseph Myers <joseph@codesourcery.com>
11346 Carlos O'Donell <carlos@redhat.com>
11349 * config.h.in: Define HAVE_PT_CHOWN.
11350 * config.make.in (build-pt-chown): New variable.
11351 * configure.in (--enable-pt_chown): New configure option.
11352 * configure: Regenerate.
11353 * login/Makefile: Include Makeconfig. Build pt_chown only if
11354 build-pt-chown is enabled.
11355 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
11356 pt_chown to fix pty ownership.
11357 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
11359 * manual/install.texi (Configuring and compiling): Mention
11360 --enable-pt_chown. Add @findex for grantpt.
11361 * INSTALL: Regenerate.
11363 2013-07-20 David S. Miller <davem@davemloft.net>
11365 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
11366 difference between 32-bit and 64-bit.
11368 2013-07-15 Carlos O'Donell <carlos@redhat.com>
11371 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
11372 Avoid system header dependency with -ffreestanding.
11373 ($(objpfx)bits/syscall%d): Likewise.
11375 2013-07-13 David S. Miller <davem@davemloft.net>
11377 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
11378 underflows from atanl/atan2l due to bug 15319.
11379 (casinh_test_data): Likewise.
11381 2013-07-07 David S. Miller <davem@davemloft.net>
11383 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
11385 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
11387 * sysdeps/i386/fpu/libm-test-ulps: Update.
11388 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11390 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11392 * configure.in (--enable-lock-elision): Fix message text.
11393 * INSTALL: Regenerate.
11394 * configure: Regenerate.
11396 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11398 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11400 2013-07-03 Andreas Jaeger <aj@suse.de>
11402 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
11404 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
11405 (ptrace_peeksiginfo_args): Add.
11406 (__ptrace_peeksiginfo_flags): Add.
11407 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11408 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11409 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11411 2013-07-03 Allan McRae <allan@archlinux.org>
11413 * sysdeps/i386/fpu/libm-test-ulps: Update.
11415 2013-07-02 David S. Miller <davem@davemloft.net>
11417 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11419 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
11421 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11423 2013-07-02 Joseph Myers <joseph@codesourcery.com>
11425 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
11426 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11428 2013-07-02 Andi Kleen <ak@linux.intel.com>
11430 * config.h.in (ENABLE_LOCK_ELISION): Add.
11431 * configure.in (--enable-lock-elision): Add option.
11432 * manual/install.texi: Document --enable lock elision.
11433 * configure: Regenerate
11434 * INSTALL: Regenerate.
11436 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
11438 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
11439 SSE4.2 strcasecmp for libc.a.
11440 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
11442 2013-07-02 Joseph Myers <joseph@codesourcery.com>
11445 * soft-fp/op-common.h (_FP_FMA): New macro.
11446 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
11447 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
11448 (_FP_MUL_MEAT_1_imm): ... here.
11449 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
11450 (_FP_MUL_MEAT_1_wide): ... here.
11451 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
11452 (_FP_MUL_MEAT_1_hard): ... here.
11453 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
11454 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
11455 (_FP_MUL_MEAT_2_wide): ... here.
11456 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
11457 (_FP_MUL_MEAT_2_wide_3mul): ... here.
11458 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
11459 (_FP_MUL_MEAT_2_gmp): ... here.
11460 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
11461 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
11462 (_FP_MUL_MEAT_4_wide): ... here.
11463 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
11464 (_FP_MUL_MEAT_4_gmp): ... here.
11465 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
11466 (_FP_WFRACBITS_DW_S): Likewise.
11467 (_FP_WFRACXBITS_DW_S): Likewise.
11468 (_FP_HIGHBIT_DW_S): Likewise.
11469 (FP_FMA_S): Likewise.
11470 (_FP_FRAC_HIGH_DW_S): Likewise.
11471 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
11472 (_FP_WFRACBITS_DW_D): Likewise.
11473 (_FP_WFRACXBITS_DW_D): Likewise.
11474 (_FP_HIGHBIT_DW_D): Likewise.
11475 (FP_FMA_D): Likewise.
11476 (_FP_FRAC_HIGH_DW_D): Likewise.
11477 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
11478 (_FP_WFRACBITS_DW_E): Likewise.
11479 (_FP_WFRACXBITS_DW_E): Likewise.
11480 (_FP_HIGHBIT_DW_E): Likewise.
11481 (FP_FMA_E): Likewise.
11482 (_FP_FRAC_HIGH_DW_E): Likewise.
11483 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
11484 (_FP_WFRACBITS_DW_Q): Likewise.
11485 (_FP_WFRACXBITS_DW_Q): Likewise.
11486 (_FP_HIGHBIT_DW_Q): Likewise.
11487 (FP_FMA_Q): Likewise.
11488 (_FP_FRAC_HIGH_DW_Q): Likewise.
11489 * soft-fp/fmasf4.c: New file.
11490 * soft-fp/fmadf4.c: Likewise.
11491 * soft-fp/fmatf4.c: Likewise.
11493 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11495 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
11496 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
11498 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
11500 (index_Slow_SSE4_2): Likewise.
11501 (index_Prefer_PMINUB_for_stringop): Likewise.
11502 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
11503 bit_Slow_SSE4_2 is set.
11504 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
11505 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11507 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11509 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
11510 rtld_global._dl_hwcap2.
11511 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
11513 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
11514 POWER8 feature descriptions defined in _dl_hwcap2.
11515 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
11516 string handling for POWER8 feature bits.
11517 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
11518 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
11519 _dl_powerpc_cap_flags.
11520 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
11521 * sysdeps/powerpc/rtld-global-offsets.sym
11522 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
11523 _dl_hwcap2 in the rtld_global_ro structure.
11525 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11527 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
11528 hardware capabilities in support of AT_HWCAP2.
11529 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
11530 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
11532 (_dl_show_auxv): Add support for calling _dl_procinfo to display
11533 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
11534 explicitly the unknown a_type display mechanism is used.
11535 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
11536 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
11538 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
11539 to macro prototype for AT_HWCAP2 support.
11540 * sysdeps/i386/dl-procinfo.h: Likewise.
11541 * sysdeps/s390/dl-procinfo.h: Likewise.
11542 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
11543 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
11544 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
11545 return -1 for unknown a_type display fallback.
11546 * sysdeps/sparc/dl-procinfo.h: Likewise.
11547 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
11548 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
11550 2013-06-28 Joseph Myers <joseph@codesourcery.com>
11552 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
11553 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
11555 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
11558 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
11559 mprotect making __stack_prot writable.
11561 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
11562 Joseph Myers <joseph@codesourcery.com>
11564 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
11565 as being properly aligned.
11567 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
11569 * dlfcn/modstatic5.c: New file.
11570 * dlfcn/tststatic5.c: New file.
11571 * dlfcn/Makefile (tests): Add tststatic5.
11572 (tests-static): Likewise.
11573 (modules-names): Add modstatic5.
11574 (tststatic5-ENV): New variable.
11575 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
11578 * elf/dl-support.c (_dl_main_map): New variable.
11579 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
11580 (_dl_nns, _dl_load_adds): Set to 1.
11581 (_dl_initial_searchlist): Refer to _dl_main_map.
11582 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
11583 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
11584 call to _dl_get_origin.
11585 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
11587 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
11588 * dlfcn/modstatic3.c: New file.
11589 * dlfcn/tststatic3.c: New file.
11590 * dlfcn/tststatic4.c: New file.
11591 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
11592 (tests-static): Likewise.
11593 (modules-names): Add modstatic3.
11594 (tststatic3-ENV, tststatic4-ENV): New variables.
11595 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
11596 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
11598 2013-06-26 Joseph Myers <joseph@codesourcery.com>
11600 * configure.in (CC): Require GCC version 4.4 or later.
11601 * configure: Regenerated.
11602 * manual/install.texi (Tools for Compilation): Update GCC version
11604 * INSTALL: Regenerated.
11606 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11609 * string/test-memcmp.c (check2): New.
11610 (main): Call check2.
11612 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
11614 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
11617 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
11619 (dl_open_worker) [!SHARED]: ... here.
11621 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11623 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
11625 2013-06-25 Richard Henderson <rth@redhat.com>
11627 * locale/programs/locarchive.c: Include <libc-internal.h>
11629 2013-06-25 Joseph Myers <joseph@codesourcery.com>
11631 * manual/texinfo.tex: Update to version 2013-06-21.17, with
11632 trailing whitespace removed.
11634 2013-06-24 Mike Frysinger <vapier@gentoo.org>
11637 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
11638 * locale/programs/locarchive.c: Include libc-mmap.h.
11639 (prepare_address_space): Take two new outputs (the mmap base and len).
11640 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
11642 (create_archive): Declare new mmap base and len values for
11643 prepare_address_space, and store the result in ah.
11644 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
11645 (enlarge_archive): If ah->mmap_base is not NULL, use that and
11646 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
11647 Declare new mmap base and len values for
11648 prepare_address_space, and store the result in new_ah.
11649 (open_archive): Declare new mmap base and len values for
11650 prepare_address_space, and store the result in ah.
11651 (close_archive): If ah->mmap_base is not NULL, use that and
11652 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
11653 * sysdeps/generic/libc-mmap.h: New file.
11655 2013-06-24 Mike Frysinger <vapier@gentoo.org>
11657 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
11658 (ALIGN_UP): Likewise.
11659 (PTR_ALIGN_DOWN): Likewise.
11660 (PTR_ALIGN_UP): Likewise.
11662 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11664 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
11665 entry mapped to PPC_PLATFORM_POWER8.
11666 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
11668 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
11669 (_dl_string_platform): Add case for exporting platform position for
11671 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
11672 search path to sysdeps/powerpc/powerpc32/power8 directory.
11673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
11674 search path to sysdeps/powerpc/powerpc64/power8 directory.
11675 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
11676 power7 directories.
11677 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
11678 power7 directories.
11680 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11682 * INSTALL: Regenerate.
11684 * nscd/connections.c (nscd_init): Fix comment.
11686 2013-06-22 Joseph Myers <joseph@codesourcery.com>
11688 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
11691 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
11692 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
11694 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
11696 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
11698 (DL_DST_REQ_STATIC): Remove macro.
11700 2013-06-21 Joseph Myers <joseph@codesourcery.com>
11703 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
11704 with a shift of 0 bits.
11706 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
11708 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
11711 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11714 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
11716 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11718 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
11719 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
11720 accepts -fno-tree-loop-distribute-patterns.
11721 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
11722 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
11724 * string/memset.c (memset): Likewise.
11725 * string/test-memmove.c (simple_memmove): Disable loop transformation
11727 * string/test-memset.c (simple_memset): Likewise.
11728 * benchtests/bench-memmove.c (simple_memmove): Likewise.
11729 * benchtests/bench-memset.c (simple_memset): Likewise.
11730 * configure: Regenerated.
11732 2013-06-20 Joseph Myers <joseph@codesourcery.com>
11734 * math/test-misc.c (main): Ignore fesetround failure when failures
11735 of subsequent rounding tests would be ignored.
11738 * math/fedisblxcpt.c (fedisableexcept): Return 0.
11739 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
11740 * math/fegetenv.c (__fegetenv): Return 0.
11741 * math/fegetexcept.c (fegetexcept): Return 0.
11742 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
11744 * math/feholdexcpt.c (feholdexcept): Return 0.
11745 * math/fesetenv.c (__fesetenv): Return 0.
11746 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
11747 argument FE_TONEAREST.
11748 * math/feupdateenv.c (__feupdateenv): Return 0.
11749 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
11751 2013-06-18 Roland McGrath <roland@hack.frob.com>
11753 * elf/rtld-Rules (rtld-compile-command.S): New variable.
11754 (rtld-compile-command.s, rtld-compile-command.c): New variables.
11755 ($(objpfx)rtld-%.os rules): Use them.
11757 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11759 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
11762 2013-06-17 Roland McGrath <roland@hack.frob.com>
11764 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
11765 length of target pattern, then descending length of dependency pattern.
11766 * configure.in (AWK): Require gawk 3.1.2 or newer.
11767 * manual/install.texi (Tools for Compilation): Say that we do.
11768 * configure: Regenerated.
11770 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
11771 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
11772 * scripts/sysd-rules.awk: ... this new script.
11773 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
11774 than a glob-style pattern.
11776 2013-06-17 Joseph Myers <joseph@codesourcery.com>
11778 * math/test-misc.c (main): Do not treat incorrectly rounded
11779 conversions as failure unless ROUNDING_TESTS passes.
11781 2013-06-15 Joseph Myers <joseph@codesourcery.com>
11784 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
11785 restore exception state around main square root computation, then
11786 check for inexactness explicitly.
11788 * math/libm-test.inc (fma_test_data): Add another test.
11790 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11792 * manual/threads.texi (Non-POSIX Extensions): New document
11793 node. Document pthread_getattr_default_np and
11794 pthread_setattr_default_np.
11796 * Versions.def (libpthread): Add GLIBC_2.18.
11797 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
11798 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
11800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11802 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11804 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11806 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
11808 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
11810 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
11812 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
11814 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
11817 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11819 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11820 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
11822 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
11823 H.J. Lu <hjl.tools@gmail.com>
11826 * sysdeps/x86_64/rtld-memset.c: Remove file.
11827 * sysdeps/x86_64/rtld-memset.S: New file.
11829 2013-06-14 Joseph Myers <joseph@codesourcery.com>
11831 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
11832 (test_in_one_mode): Take arguments for whether the rounding mode
11833 is supported for each floating-point type.
11834 (do_test): Pass new arguments to test_in_one_mode using
11837 2013-06-13 Roland McGrath <roland@hack.frob.com>
11839 * posix/tst-waitid.c (do_test): Distinguish different instances of
11840 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
11841 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
11842 before entering the kernel for waitpid.
11844 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11846 * NEWS: Fix note on clock function precision. Text by Roland
11849 2013-06-13 Roland McGrath <roland@hack.frob.com>
11851 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
11852 it into place only when and if the sanity check passes.
11854 2013-06-13 Joseph Myers <joseph@codesourcery.com>
11856 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
11857 output for whether conversion result is exact. Take argument
11858 indicating whether type is IBM long double.
11859 (round_for_all): Change need_exact field to ibm_ld.
11860 * stdlib/tst-strtod-round.c (struct exactness): New type.
11861 (struct test): Change bool ld_ok field to struct exactness exact.
11862 (TEST): Update all definitions for change to field.
11863 (tests): Regenerate array contents.
11864 (test_in_one_mode): Take pointer to new field instead of old ld_ok
11865 field value. Check for IBM long double here.
11866 (do_test): Update calls to test_in_one_mode.
11868 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11871 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
11872 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
11874 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11877 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
11878 generated by the compiler on loop optimizations.
11879 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
11880 general definitions.
11882 2013-06-12 Joseph Myers <joseph@codesourcery.com>
11884 * math/bug-nextafter.c: Include <math-tests.h>.
11885 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11887 * math/bug-nexttoward.c: Include <math-tests.h>.
11888 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11890 * math/test-misc.c: Include <math-tests.h>.
11891 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11894 2013-06-12 Andreas Jaeger <aj@suse.de>
11896 * po/ia.po: Update Interlingua translation from translation
11899 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
11901 * include/fenv.h: Include stdbool.h.
11902 (struct rm_ctx): New structure.
11903 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
11905 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
11906 (SET_RESTORE_ROUNDF): Likewise.
11907 (SET_RESTORE_ROUNDL): Likewise.
11908 (SET_RESTORE_ROUND_NOEX): Likewise.
11909 (SET_RESTORE_ROUND_NOEXF): Likewise.
11910 (SET_RESTORE_ROUND_NOEXL): Likewise.
11911 (SET_RESTORE_ROUND_53BIT): Likewise.
11912 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
11913 (libc_feresetround_noexf_ctx): Likewise.
11914 (libc_feresetround_noexl_ctx): Likewise.
11915 (libc_feholdsetround_53bit_ctx): Likewise.
11916 (libc_feresetround_53bit_ctx): Likewise.
11917 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
11918 (libc_feholdexcept_setround_sse_ctx): New function.
11919 (libc_fesetenv_sse_ctx): Likewise.
11920 (libc_feupdateenv_sse_ctx): Likewise.
11921 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
11922 (libc_feholdexcept_setround_387_ctx): Likewise.
11923 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
11924 (libc_feholdsetround_387_prec_ctx): Likewise.
11925 (libc_feholdsetround_387_ctx): Likewise.
11926 (libc_feholdsetround_387_53bit_ctx): Likewise.
11927 (libc_feholdsetround_sse_ctx): Likewise.
11928 (libc_feresetround_sse_ctx): Likewise.
11929 (libc_feresetround_387_ctx): Likewise.
11930 (libc_feupdateenv_387_ctx): Likewise.
11931 (libc_feholdexcept_setroundf_ctx): Define macro.
11932 (libc_fesetenvf_ctx): Likewise.
11933 (libc_feupdateenvf_ctx): Likewise.
11934 (libc_feholdsetroundf_ctx): Likewise.
11935 (libc_feresetroundf_ctx): Likewise.
11936 (libc_feholdexcept_setround_ctx): Likewise.
11937 (libc_fesetenv_ctx): Likewise.
11938 (libc_feupdateenv_ctx): Likewise.
11939 (libc_feholdsetround_ctx): Likewise.
11940 (libc_feresetround_ctx): Likewise.
11941 (libc_feholdexcept_setroundl_ctx): Likewise.
11942 (libc_feupdateenvl_ctx): Likewise.
11943 (libc_feholdsetroundl_ctx): Likewise.
11944 (libc_feresetroundl_ctx): Likewise.
11945 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
11946 (libc_feresetround_53bit_ctx): Likewise.
11948 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11950 * locale/iso-639.def: Convert to UTF-8.
11952 2013-06-11 Joseph Myers <joseph@codesourcery.com>
11954 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
11955 (EXCEPTION_TESTS_double): Likewise.
11956 (EXCEPTION_TESTS_long_double): Likewise.
11957 (EXCEPTION_TESTS): Likewise.
11958 * math/libm-test.inc (test_exceptions): Only test exceptions if
11959 EXCEPTION_TESTS (FLOAT).
11961 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11963 * benchtests/Makefile (string-bench): Add strcpy_chk and
11965 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
11966 * benchtests/bench-stpcpy_chk.c: New file.
11967 * benchtests/bench-strcpy_chk-ifunc.c: New file.
11968 * benchtests/bench-strcpy_chk.c: New file.
11969 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
11971 (do_test): Likewise.
11973 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11975 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
11976 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
11977 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
11978 with tabs where appropriate.
11979 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
11981 [PPC_PLATFORM_PPC440]: Likewise.
11982 [PPC_PLATFORM_PPC464]: Likewise.
11983 [PPC_PLATFORM_PPC476]: Likewise.
11984 (_dl_string_platform): Add support for detecting ppc405, ppc440,
11985 ppc464, and ppc476 platform strings merging from ports/
11988 2013-06-11 Andreas Schwab <schwab@suse.de>
11991 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
11992 (from_ucs4_idx): Regenerate.
11993 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
11994 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
11995 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
11996 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
11997 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
11998 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
11999 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
12000 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
12001 from FROM_LOOP and TO_LOOP specific macros.
12002 (BODY): Handle combining characters.
12003 * iconvdata/BIG5HKSCS.irreversible: Update.
12004 * iconvdata/BIG5HKSCS.precomposed: New file.
12005 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
12007 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
12009 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12011 * include/sys/time.h: Fix indentation and add copyright header.
12013 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
12014 (do_test): Likewise.
12015 * string/test-memchr.c (do_one_test): Likewise.
12016 (do_test): Likewise.
12017 * string/test-memcmp.c (do_one_test): Likewise.
12018 (do_test): Likewise.
12019 * string/test-memcpy.c (do_one_test): Likewise.
12020 (do_test): Likewise.
12021 * string/test-memmem.c (do_one_test): Likewise.
12022 (do_test): Likewise.
12023 (do_random_tests): Likewise.
12024 * string/test-memmove.c (do_one_test): Likewise.
12025 (do_test): Likewise.
12026 * string/test-memset.c (do_one_test): Likewise.
12027 (do_test): Likewise.
12028 * string/test-rawmemchr.c (do_one_test): Likewise.
12029 (do_test): Likewise.
12030 * string/test-strcasecmp.c (do_one_test): Likewise.
12031 (do_test): Likewise.
12032 * string/test-strcasestr.c (do_one_test): Likewise.
12033 (do_test): Likewise.
12034 * string/test-strcat.c (do_one_test): Likewise.
12035 (do_test): Likewise.
12036 * string/test-strchr.c (do_one_test): Likewise.
12037 (do_test): Likewise.
12038 * string/test-strcmp.c (do_one_test): Likewise.
12039 (do_test): Likewise.
12040 * string/test-strcpy.c (do_one_test): Likewise.
12041 (do_test): Likewise.
12042 * string/test-string.h: Likewise.
12043 (test_init): Likewise.
12044 * string/test-strlen.c (do_one_test): Likewise.
12045 (do_test): Likewise.
12046 * string/test-strncasecmp.c (do_one_test): Likewise.
12047 (do_test): Likewise.
12048 * string/test-strncat.c (do_one_test): Likewise.
12049 (do_test): Likewise.
12050 * string/test-strncmp.c (do_one_test): Likewise.
12051 (do_test_limit): Likewise.
12052 (do_test): Likewise.
12053 * string/test-strncpy.c (do_one_test): Likewise.
12054 (do_test): Likewise.
12055 * string/test-strnlen.c (do_one_test): Likewise.
12056 (do_test): Likewise.
12057 * string/test-strpbrk.c (do_one_test): Likewise.
12058 (do_test): Likewise.
12059 * string/test-strrchr.c (do_one_test): Likewise.
12060 (do_test): Likewise.
12061 * string/test-strspn.c (do_one_test): Likewise.
12062 (do_test): Likewise.
12063 * string/test-strstr.c (do_one_test): Likewise.
12064 (do_test): Likewise.
12066 * benchtests/Makefile (string-bench): Add string benchmarks.
12067 * benchtests/bench-bcopy-ifunc.c: New file.
12068 * benchtests/bench-bcopy.c: New file.
12069 * benchtests/bench-bzero-ifunc.c: New file.
12070 * benchtests/bench-bzero.c: New file.
12071 * benchtests/bench-memccpy-ifunc.c: New file.
12072 * benchtests/bench-memccpy.c: New file.
12073 * benchtests/bench-memchr-ifunc.c: New file.
12074 * benchtests/bench-memchr.c: New file.
12075 * benchtests/bench-memcmp-ifunc.c: New file.
12076 * benchtests/bench-memcmp.c: New file.
12077 * benchtests/bench-memmem-ifunc.c: New file.
12078 * benchtests/bench-memmem.c: New file.
12079 * benchtests/bench-memmove-ifunc.c: New file.
12080 * benchtests/bench-memmove.c: New file.
12081 * benchtests/bench-mempcpy-ifunc.c: New file.
12082 * benchtests/bench-mempcpy.c: New file.
12083 * benchtests/bench-memset-ifunc.c: New file.
12084 * benchtests/bench-memset.c: New file.
12085 * benchtests/bench-rawmemchr-ifunc.c: New file.
12086 * benchtests/bench-rawmemchr.c: New file.
12087 * benchtests/bench-stpcpy-ifunc.c: New file.
12088 * benchtests/bench-stpcpy.c: New file.
12089 * benchtests/bench-stpncpy-ifunc.c: New file.
12090 * benchtests/bench-stpncpy.c: New file.
12091 * benchtests/bench-strcasecmp-ifunc.c: New file.
12092 * benchtests/bench-strcasecmp.c: New file.
12093 * benchtests/bench-strcasestr-ifunc.c: New file.
12094 * benchtests/bench-strcasestr.c: New file.
12095 * benchtests/bench-strcat-ifunc.c: New file.
12096 * benchtests/bench-strcat.c: New file.
12097 * benchtests/bench-strchr-ifunc.c: New file.
12098 * benchtests/bench-strchr.c: New file.
12099 * benchtests/bench-strchrnul-ifunc.c: New file.
12100 * benchtests/bench-strchrnul.c: New file.
12101 * benchtests/bench-strcmp-ifunc.c: New file.
12102 * benchtests/bench-strcmp.c: New file.
12103 * benchtests/bench-strcpy-ifunc.c: New file.
12104 * benchtests/bench-strcpy.c: New file.
12105 * benchtests/bench-strcspn-ifunc.c: New file.
12106 * benchtests/bench-strcspn.c: New file.
12107 * benchtests/bench-strlen-ifunc.c: New file.
12108 * benchtests/bench-strlen.c: New file.
12109 * benchtests/bench-strncasecmp-ifunc.c: New file.
12110 * benchtests/bench-strncasecmp.c: New file.
12111 * benchtests/bench-strncat-ifunc.c: New file.
12112 * benchtests/bench-strncat.c: New file.
12113 * benchtests/bench-strncmp-ifunc.c: New file.
12114 * benchtests/bench-strncmp.c: New file.
12115 * benchtests/bench-strncpy-ifunc.c: New file.
12116 * benchtests/bench-strncpy.c: New file.
12117 * benchtests/bench-strnlen-ifunc.c: New file.
12118 * benchtests/bench-strnlen.c: New file.
12119 * benchtests/bench-strpbrk-ifunc.c: New file.
12120 * benchtests/bench-strpbrk.c: New file.
12121 * benchtests/bench-strrchr-ifunc.c: New file.
12122 * benchtests/bench-strrchr.c: New file.
12123 * benchtests/bench-strspn-ifunc.c: New file.
12124 * benchtests/bench-strspn.c: New file.
12125 * benchtests/bench-strstr-ifunc.c: New file.
12126 * benchtests/bench-strstr.c: New file.
12128 * benchtests/Makefile: Disable parallel execution of targets.
12129 (string-bench): Add memcpy.
12130 (benchset): New variable to store a list of benchmark sets.
12131 (bench-func): Renamed from bench.
12132 (bench-set): New target.
12133 (bench): Depend on bench-func and bench-set.
12134 * benchtests/README: Add section on benchmark sets.
12135 * benchtests/bench-memcpy-ifunc.c: New file.
12136 * benchtests/bench-memcpy.c: New file.
12137 * benchtests/bench-string.h: New file.
12139 2013-06-11 Andreas Schwab <schwab@suse.de>
12142 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
12143 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
12144 values in the triple.
12145 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
12146 terminator in the group key.
12148 2013-06-11 Andreas Jaeger <aj@suse.de>
12150 * po/zh_TW.po: Update Chinese (traditional) translation from
12151 translation project.
12153 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12155 * include/time.h (__clock_gettime): Add libc_hidden_proto.
12156 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
12157 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
12158 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
12159 (clock_getcpuclockid): Likewise.
12160 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
12161 Add weak_alias and libc_hidden_def.
12162 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
12163 * rt/clock_gettime.c (clock_gettime): Rename to
12164 __clock_gettime. Add weak_alias and libc_hidden_def.
12165 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
12166 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
12167 __clock_nanosleep. Add weak_alias and libc_hidden_def.
12168 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
12169 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
12171 * rt/clock_settime.c (clock_settime): Rename to
12172 __clock_settime. Add weak_alias and libc_hidden_def.
12173 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
12175 2013-06-10 Joseph Myers <joseph@codesourcery.com>
12177 * mach/err_boot.sub: Remove trailing whitespace.
12178 * mach/err_ipc.sub: Likewise.
12179 * mach/err_mach.sub: Likewise.
12181 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
12182 (ROUNDING_TESTS_double): Likewise.
12183 (ROUNDING_TESTS_long_double): Likewise.
12184 (ROUNDING_TESTS): Likewise.
12185 * math/libm-test.inc: Include <math-tests.h>.
12186 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
12187 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
12188 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
12189 (IF_ROUND_INIT_FE_UPWARD): Likewise.
12191 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12193 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
12196 2013-06-08 Joseph Myers <joseph@codesourcery.com>
12198 * sysdeps/gnu/errlist.awk: Do not generate space at end of
12199 otherwise empty TRANS lines.
12200 * sysdeps/gnu/errlist.c: Regenerated.
12202 * catgets/gencat.c (error_print): Use (void) in function
12204 * crypt/crypt_util.c (__init_des): Likewise.
12205 * crypt/speeds.c (Stop): Likewise.
12207 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
12208 * inet/ruserpass.c (token): Likewise.
12209 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
12210 * intl/localealias.c (extend_alias_table): Likewise.
12211 * intl/plural-exp.c (init_germanic_plural): Likewise.
12212 * libio/fcloseall.c (__fcloseall): Likewise.
12213 * libio/genops.c (_IO_flush_all): Likewise.
12214 (_IO_flush_all_linebuffered): Likewise.
12215 (_IO_cleanup): Likewise.
12216 (_IO_iter_begin): Likewise.
12217 (_IO_iter_end): Likewise.
12218 (_IO_list_lock): Likewise.
12219 (_IO_list_unlock): Likewise.
12220 (_IO_list_resetlock): Likewise.
12221 * libio/getchar.c (getchar): Likewise.
12222 * libio/getchar_u.c (getchar_unlocked): Likewise.
12223 * libio/getwchar.c (getwchar): Likewise.
12224 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
12225 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
12226 * login/getpt.c (__getpt): Likewise.
12227 * login/tst-utmp.c (main): Likewise.
12228 * malloc/hooks.c (__malloc_check_init): Likewise.
12229 * malloc/malloc.c (__malloc_stats): Likewise.
12230 * malloc/mtrace.c (tr_break): Likewise.
12231 (mtrace): Likewise.
12232 (muntrace): Likewise.
12233 * misc/fstab.c (endfsent): Likewise.
12234 * misc/getclktck.c (__getclktck): Likewise.
12235 * misc/getdtsz.c (__getdtablesize): Likewise.
12236 * misc/gethostid.c (gethostid): Likewise.
12237 * misc/getpagesize.c (__getpagesize): Likewise.
12238 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
12239 (__get_nprocs): Likewise.
12240 (__get_phys_pages): Likewise.
12241 (__get_avphys_pages): Likewise.
12242 * misc/getttyent.c (getttyent): Likewise.
12243 (setttyent): Likewise.
12244 (endttyent): Likewise.
12245 * misc/getusershell.c (getusershell): Likewise.
12246 (endusershell): Likewise.
12247 (setusershell): Likewise.
12248 (initshells): Likewise.
12249 * misc/hsearch.c (__hdestroy): Likewise.
12250 * misc/sync.c (sync): Likewise.
12251 * misc/syslog.c (closelog_internal): Likewise.
12252 (closelog): Likewise.
12253 * misc/ttyslot.c (ttyslot): Likewise.
12254 * misc/vhangup.c (vhangup): Likewise.
12255 * posix/fork.c (__fork): Likewise.
12256 * posix/getegid.c (__getegid): Likewise.
12257 * posix/geteuid.c (__geteuid): Likewise.
12258 * posix/getgid.c (__getgid): Likewise.
12259 * posix/getpid.c (__getpid): Likewise.
12260 * posix/getppid.c (__getppid): Likewise.
12261 * posix/getuid.c (__getuid): Likewise.
12262 * posix/pause.c (pause): Likewise.
12263 * posix/setpgrp.c (setpgrp): Likewise.
12264 * posix/setsid.c (__setsid): Likewise.
12265 * posix/test-vfork.c (noop): Likewise.
12266 * resolv/gethnamaddr.c (_endhtent): Likewise.
12267 (_gethtent): Likewise.
12268 (ht_endhostent): Likewise.
12269 (gethostent): Likewise.
12270 (dns_service): Likewise.
12271 * stdlib/drand48.c (drand48): Likewise.
12272 * stdlib/lrand48.c (lrand48): Likewise.
12273 * stdlib/mrand48.c (mrand48): Likewise.
12274 * stdlib/rand.c (rand): Likewise.
12275 * stdlib/random.c (__random): Likewise.
12276 * stdlib/setenv.c (clearenv): Likewise.
12277 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
12278 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
12279 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
12280 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
12281 (__get_nprocs): Likewise.
12282 (__get_phys_pages): Likewise.
12283 (__get_avphys_pages): Likewise.
12284 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
12285 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
12286 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
12287 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
12288 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
12289 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
12290 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
12291 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
12292 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
12293 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
12294 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
12295 * sysdeps/mach/hurd/sync.c (sync): Likewise.
12296 * sysdeps/posix/clock.c (clock): Likewise.
12297 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
12298 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
12299 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
12300 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
12301 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
12302 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
12303 (__get_nprocs_conf): Likewise.
12304 (__get_phys_pages): Likewise.
12305 (__get_avphys_pages): Likewise.
12306 * time/clock.c (clock): Likewise.
12307 * time/tzset.c (__tzname_max): Likewise.
12309 2013-06-07 Joseph Myers <joseph@codesourcery.com>
12311 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
12312 (__bswap_32): Do not use "register".
12313 * crypt/crypt.c (_ufc_doit_r): Likewise.
12314 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
12315 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
12316 * gmon/gmon.c (__monstartup): Likewise.
12317 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
12318 * hurd/hurdmalloc.c (more_memory): Likewise.
12319 (malloc): Likewise.
12321 (realloc): Likewise.
12322 (malloc_fork_prepare): Likewise.
12323 (malloc_fork_parent): Likewise.
12324 (malloc_fork_child): Likewise.
12325 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
12326 (_svcauth_des): Likewise.
12327 * inet/inet_lnaof.c (inet_lnaof): Likewise.
12328 * inet/inet_net.c (inet_network): Likewise.
12329 * inet/inet_netof.c (inet_netof): Likewise.
12330 * inet/rcmd.c (__validuser2_sa): Likewise.
12331 * io/fts.c (fts_open): Likewise.
12332 (fts_load): Likewise.
12333 (fts_close): Likewise.
12334 (fts_read): Likewise.
12335 (fts_children): Likewise.
12336 (fts_build): Likewise.
12337 (fts_stat): Likewise.
12338 (fts_sort): Likewise.
12339 (fts_alloc): Likewise.
12340 (fts_lfree): Likewise.
12341 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
12342 (_IO_file_xsgetn): Likewise.
12343 (_IO_file_xsgetn_mmap): Likewise.
12344 * libio/iofopncook.c (_IO_cookie_read): Likewise.
12345 (_IO_cookie_write): Likewise.
12346 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
12347 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
12348 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
12349 * malloc/obstack.c (_obstack_begin): Likewise.
12350 (_obstack_begin_1): Likewise.
12351 (_obstack_newchunk): Likewise.
12352 (_obstack_allocated_p): Likewise.
12353 (obstack_free): Likewise.
12354 (_obstack_memory_used): Likewise.
12355 * misc/getttyent.c (getttynam): Likewise.
12356 (getttyent): Likewise.
12359 * misc/getusershell.c (initshells): Likewise.
12360 * misc/syslog.c (__vsyslog_chk): Likewise.
12361 * misc/ttyslot.c (ttyslot): Likewise.
12362 * nis/nis_hash.c (__nis_hash): Likewise.
12363 * posix/fnmatch_loop.c (FCT): Likewise.
12364 * posix/getconf.c (print_all): Likewise.
12366 * posix/getopt.c (exchange): Likewise.
12367 * posix/glob.c (globfree): Likewise.
12368 (prefix_array): Likewise.
12369 (__glob_pattern_type): Likewise.
12370 * resolv/arpa/nameser.h (NS_GET16): Likewise.
12371 (NS_GET32): Likewise.
12372 (NS_PUT16): Likewise.
12373 (NS_PUT32): Likewise.
12374 * resolv/gethnamaddr.c (getanswer): Likewise.
12375 (gethostbyname2): Likewise.
12376 (gethostbyaddr): Likewise.
12377 (_gethtent): Likewise.
12378 (_gethtbyname2): Likewise.
12379 (_gethtbyaddr): Likewise.
12380 * resolv/ns_print.c (dst_s_get_int16): Likewise.
12381 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
12382 * resolv/res_init.c (__res_vinit): Likewise.
12383 (net_mask): Likewise.
12384 * resolv/res_mkquery.c (outchar): Likewise.
12386 * stdio-common/printf_fp.c (outchar): Likewise.
12388 * stdio-common/printf_fphex.c (outchar): Likewise.
12390 * stdio-common/printf_size.c (outchar): Likewise.
12392 * stdio-common/test_rdwr.c (main): Likewise.
12393 * stdio-common/tfformat.c (matches): Likewise.
12394 * stdio-common/vfprintf.c (outchar): Likewise.
12395 (printf_unknown): Likewise.
12396 (buffered_vfprintf): Likewise.
12397 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
12398 * stdio-common/xbug.c (AppendToBuffer): Likewise.
12399 (ReadFile): Likewise.
12400 * stdlib/qsort.c (SWAP): Likewise.
12401 (_quicksort): Likewise.
12402 * stdlib/setenv.c (__add_to_environ): Likewise.
12403 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
12404 * stdlib/strtol_l.c (__strtol_l): Likewise.
12405 * stdlib/tst-strtod.c (main): Likewise.
12406 * stdlib/tst-strtol.c (main): Likewise.
12407 * stdlib/tst-strtoll.c (main): Likewise.
12408 * string/bits/string2.h (__strcmp_cc): Likewise.
12409 (__strcmp_cg): Likewise.
12410 (__strcspn_c1): Likewise.
12411 (__strcspn_c2): Likewise.
12412 (__strcspn_c3): Likewise.
12413 (__strspn_c1): Likewise.
12414 (__strspn_c2): Likewise.
12415 (__strspn_c3): Likewise.
12416 (__strsep_1c): Likewise.
12417 (__strsep_2c): Likewise.
12418 (__strsep_3c): Likewise.
12419 * string/memccpy.c (__memccpy): Likewise.
12420 * string/stpcpy.c (__stpcpy): Likewise.
12421 * string/strcmp.c (strcmp): Likewise.
12422 * string/strrchr.c (strrchr): Likewise.
12423 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
12425 * sysdeps/mach/hurd/getcwd.c
12426 (_hurd_canonicalize_directory_name_internal): Likewise.
12427 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
12428 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
12429 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
12430 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
12431 Likewise, in both definitions.
12432 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
12434 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
12435 64] (__bswap_64): Likewise.
12436 * time/test_time.c (main): Likewise.
12437 * time/tzfile.c (__tzfile_read): Likewise.
12438 (__tzfile_compute): Likewise.
12439 * time/tzset.c (__tzset_parse_tz): Likewise.
12440 (tzset_internal): Likewise.
12441 (compute_change): Likewise.
12442 * wcsmbs/wcscat.c (__wcscat): Likewise.
12443 * wcsmbs/wcschr.c (wcschr): Likewise.
12444 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
12445 * wcsmbs/wcscspn.c (wcscspn): Likewise.
12446 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
12447 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
12448 * wcsmbs/wcsspn.c (wcsspn): Likewise.
12449 * wcsmbs/wcsstr.c (wcsstr): Likewise.
12450 * wcsmbs/wmemchr.c (wmemchr): Likewise.
12451 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
12452 * wcsmbs/wmemset.c (wmemset): Likewise.
12454 2013-06-06 Joseph Myers <joseph@codesourcery.com>
12456 * scripts/config.guess: Update to version 2013-05-16.
12457 * scripts/config.sub: Update to version 2013-04-24.
12458 * scripts/install-sh: Update to version 2011-11-20.07.
12459 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
12460 * scripts/move-if-change: Update to version 2012-01-06 07:23.
12462 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
12464 * debug/fgetws_u_chk.c: Fix leading whitespaces.
12465 * elf/sln.c: Likewise.
12466 * hurd/hurd/ioctl.h: Likewise.
12467 * hurd/hurdmalloc.c: Likewise.
12468 * hurd/xattr.c: Likewise.
12469 * include/shlib-compat.h: Likewise.
12470 * inet/ruserpass.c: Likewise.
12471 * libio/iofgets_u.c: Likewise.
12472 * libio/iofgetws_u.c: Likewise.
12473 * locale/programs/ld-identification.c: Likewise.
12474 * locale/programs/ld-time.c: Likewise.
12475 * mach/msg-destroy.c: Likewise.
12476 * nss/nss_files/files-netgrp.c: Likewise.
12477 * resolv/res_data.c: Likewise.
12478 * soft-fp/op-1.h: Likewise.
12479 * soft-fp/op-2.h: Likewise.
12480 * soft-fp/op-4.h: Likewise.
12481 * soft-fp/op-common.h: Likewise.
12482 * stdio-common/printf_fphex.c: Likewise.
12483 * stdlib/strtod_l.c: Likewise.
12484 * sunrpc/rpc/clnt.h: Likewise.
12485 * sysdeps/generic/framestate.c: Likewise.
12486 * sysdeps/i386/bsd-_setjmp.S: Likewise.
12487 * sysdeps/i386/bsd-setjmp.S: Likewise.
12488 * sysdeps/i386/__longjmp.S: Likewise.
12489 * sysdeps/i386/setjmp.S: Likewise.
12490 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12491 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
12492 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12493 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12494 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12495 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
12496 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
12497 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
12498 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
12499 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
12500 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
12501 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
12502 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
12503 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
12504 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
12505 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
12506 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
12507 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
12508 * sysdeps/ieee754/support.c: Likewise.
12509 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
12510 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
12511 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
12512 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
12513 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
12514 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
12515 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
12516 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
12517 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
12518 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
12519 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
12520 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
12521 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
12522 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
12523 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
12524 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
12525 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
12526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
12528 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
12530 * posix/transbug.c: Remove executable mode.
12532 2013-06-05 Joseph Myers <joseph@codesourcery.com>
12534 * crypt/speeds.c: Remove trailing whitespace.
12535 * dlfcn/default.c: Likewise.
12536 * elf/ifuncdep2.c: Likewise.
12537 * elf/ifuncmain1.c: Likewise.
12538 * elf/ifuncmain1vis.c: Likewise.
12539 * elf/testobj.h: Likewise.
12540 * elf/tst-stackguard1.c: Likewise.
12541 * gmon/sys/gmon.h: Likewise.
12542 * hurd/hurdmsg.c: Likewise.
12543 * hurd/new-fd.c: Likewise.
12544 * hurd/ports-get.c: Likewise.
12545 * iconvdata/ibm1008_420.c: Likewise.
12546 * inet/tst-getni1.c: Likewise.
12547 * inet/tst-getni2.c: Likewise.
12548 * libio/ioungetc.c: Likewise.
12549 * libio/wfiledoalloc.c: Likewise.
12550 * manual/libm-err-tab.pl: Likewise.
12551 * math/w_dremf.c: Likewise.
12552 * misc/ftruncate.c: Likewise.
12553 * posix/bug-glob2.c: Likewise.
12554 * posix/tst-pcre.c: Likewise.
12555 * posix/wait4.c: Likewise.
12556 * resolv/README: Likewise.
12557 * resolv/res_debug.h: Likewise.
12558 * resolv/tst-inet_ntop.c: Likewise.
12559 * setjmp/bug269-setjmp.c: Likewise.
12560 * soft-fp/extended.h: Likewise.
12561 * soft-fp/op-1.h: Likewise.
12562 * soft-fp/op-2.h: Likewise.
12563 * soft-fp/op-4.h: Likewise.
12564 * soft-fp/op-8.h: Likewise.
12565 * soft-fp/testit.c: Likewise.
12566 * stdio-common/bug16.c: Likewise.
12567 * stdlib/random.c: Likewise.
12568 * sunrpc/rpcsvc/rquota.x: Likewise.
12569 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
12570 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
12571 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12572 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
12573 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
12574 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
12575 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
12576 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12577 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
12578 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
12579 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
12580 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
12581 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
12582 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
12583 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
12584 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
12585 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
12586 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
12587 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
12588 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
12589 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
12590 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
12591 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
12592 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
12593 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
12594 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
12595 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
12596 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
12597 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
12598 * sysdeps/ieee754/s_lib_version.c: Likewise.
12599 * sysdeps/mach/hurd/check_fds.c: Likewise.
12600 * sysdeps/mach/hurd/getsockname.c: Likewise.
12601 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
12602 * sysdeps/mach/hurd/recvfrom.c: Likewise.
12603 * sysdeps/powerpc/bits/link.h: Likewise.
12604 * sysdeps/powerpc/dl-procinfo.c: Likewise.
12605 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
12606 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
12607 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
12608 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
12609 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
12610 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
12611 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
12612 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
12613 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
12614 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
12615 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
12616 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
12617 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
12618 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
12619 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
12620 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
12621 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
12622 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
12623 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
12624 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
12625 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
12626 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12627 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
12628 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
12629 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
12630 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
12631 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
12632 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
12633 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
12634 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
12635 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
12636 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12637 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
12638 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
12639 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
12640 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
12641 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
12642 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
12643 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
12644 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
12645 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
12646 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
12647 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
12648 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
12649 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
12650 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
12651 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
12652 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
12653 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
12654 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12655 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12656 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
12657 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
12658 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
12659 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
12660 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
12661 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12662 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
12663 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
12664 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
12665 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
12666 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
12667 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
12668 * sysdeps/powerpc/sysdep.h: Likewise.
12669 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
12670 * sysdeps/s390/s390-64/sub_n.S: Likewise.
12671 * sysdeps/sh/dl-trampoline.S: Likewise.
12672 * sysdeps/sh/memset.S: Likewise.
12673 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
12674 * sysdeps/sh/strlen.S: Likewise.
12675 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
12676 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
12677 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
12678 * sysdeps/sparc/sparc32/rem.S: Likewise.
12679 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
12680 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
12681 * sysdeps/sparc/sparc32/strchr.S: Likewise.
12682 * sysdeps/sparc/sparc32/udiv.S: Likewise.
12683 * sysdeps/sparc/sparc32/urem.S: Likewise.
12684 * sysdeps/sparc/sparc64/add_n.S: Likewise.
12685 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
12686 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
12687 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
12688 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
12689 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
12690 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
12691 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
12692 * sysdeps/unix/bsd/times.c: Likewise.
12693 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
12694 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
12695 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
12696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
12697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
12698 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
12699 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
12700 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
12701 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
12702 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
12703 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
12704 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
12705 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
12706 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
12707 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
12708 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
12709 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
12710 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
12711 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
12712 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
12713 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
12714 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
12715 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
12716 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
12717 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
12718 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
12719 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
12720 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
12721 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
12722 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
12723 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
12724 * sysdeps/x86_64/strcspn.S: Likewise.
12726 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12728 * locale/C-translit.h: Revert #include <stdint.h> because this is a
12729 generated file. Regenerate properly from gen-translit.pl.
12730 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
12731 locale/C-translit.h.
12733 2013-06-05 Andreas Schwab <schwab@suse.de>
12736 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
12737 week as 6 instead of -1.
12738 * time/tst-strptime.c (day_tests): Add test case.
12740 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12742 * sysdeps/generic/math_private.h
12743 (libc_feholdexcept_setround_53bit): Replace with
12744 libc_feholdsetround_53bit.
12745 (libc_feupdateenv_53bit): Replace with
12746 libc_feresetround_53bit.
12747 (SET_RESTORE_ROUND_53BIT): Adjust.
12749 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
12751 * string/test-strchrnul.c: Add copyright header.
12753 * posix/tst-getaddrinfo4.c: Increase test timeout.
12755 2013-06-03 Carlos O'Donell <carlos@redhat.com>
12758 * math/libm-test.inc (MAX_EXP): Remove
12760 (ulp): Use MIN_EXP - MANT_DIG.
12761 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
12763 2013-05-31 Carlos O'Donell <carlos@redhat.com>
12765 * po/be.po: Revert last change.
12766 * po/zh_CN.po: Likewise.
12767 * po/header.pot: Likewise.
12769 2013-05-31 Joseph Myers <joseph@codesourcery.com>
12771 * Makefile ($(common-objpfx)linkobj/libc.so): Define
12772 link-libc-deps to empty as target-specific variable.
12773 * Makerules (link-libc-args): New variable.
12774 (libc-for-link): Likewise.
12775 (link-libc-deps): Likewise.
12776 (lib%.so): Depend on $(link-libc-deps). Link with
12778 (build-module): Link with $(link-libc-args).
12779 (build-module-asneeded): Likewise.
12780 (build-module-helper-objlist): Filter out $(link-libc-deps) from
12782 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
12783 target-specific variable.
12784 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
12785 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
12786 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
12788 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
12790 ($(objpfx)libpcprofile.so): Likewise.
12791 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
12793 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
12794 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
12795 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
12797 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
12798 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
12799 * login/Makefile ($(objpfx)libutil.so): Likewise.
12800 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
12801 * math/Makefile ($(objpfx)libm.so): Likewise.
12802 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
12803 $(objpfx)libnsl.so): Define libc-for-link as target-specific
12804 variable instead of depending directly on libc.
12805 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
12806 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
12808 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
12810 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
12811 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
12812 ($(objpfx)libanl.so): Likewise.
12813 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
12815 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
12817 * sysdeps/i386/fpu/Makefile: Remove file.
12818 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
12819 ($(objpfx)libm.so): Remove dependency on ld.so.
12821 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
12824 * nis/yp_xdr.c (XDRMAXNAME): Define.
12825 (XDRMAXRECORD): Define.
12826 (xdr_domainname): Use XDRMAXNAME.
12827 (xdr_mapname): Likewise.
12828 (xdr_peername): Likewise.
12829 (xdr_keydat): Use XDRMAXRECORD.
12830 (xdr_valdat): Likewise.
12832 2013-05-30 Jeff Law <law@redhat.com>
12835 * manual/errno.texi (ESTALE): Update to account for more than
12836 just NFS file systems.
12837 * sysdeps/gnu/errlist.c: Regenerated.
12839 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12842 * elf/Makefile (tests): Add tst-null-argv.
12843 (modules-names): Add tst-null-argv-lib.
12844 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
12845 (tst-null-argv-ENV): Set environment for tst-null-argv.
12846 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
12847 (RTLD_PROGNAME): New macro.
12848 * elf/tst-null-argv.c: New test case.
12849 * elf/tst-null-argv-lib.c: Library for test case.
12850 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
12851 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
12852 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
12853 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
12854 * elf/dl-init.c (call_init): Likewise.
12855 (_dl_init): Likewise.
12856 * elf/dl-load.c (print_search_path): Likewise.
12857 (_dl_map_object): Likewise.
12858 * elf/dl-lookup.c (do_lookup_x): Likewise.
12859 (add_dependency): Likewise.
12860 (_dl_lookup_symbol_x): Likewise.
12861 (_dl_debug_bindings): Likewise.
12862 * elf/dl-open.c (_dl_show_scope): Likewise.
12863 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
12864 * elf/dl-version.c (match_symbol): Likewise.
12865 (_dl_check_map_versions): Likewise.
12866 * elf/rtld.c (dl_main): Likewise.
12867 (print_unresolved): Use RTLD_PROGNAME.
12868 (print_missing_version): Likewise.
12869 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
12870 (elf_machine_rela): Likewise.
12871 * sysdeps/powerpc/powerpc32/dl-machine.c
12872 (__process_machine_rela): Likewise.
12873 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12875 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
12877 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
12879 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
12880 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
12882 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
12884 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
12886 2013-05-28 Carlos O'Donell <carlos@redhat.com>
12888 * po/be.po: Add descriptive title.
12889 * po/zh_CN.po: Likewise.
12890 * po/header.pot: Likewise.
12892 2013-05-28 Mike Frysinger <vapier@gentoo.org>
12894 * locale/programs/locarchive.c (create_archive): Inlucde fname in
12896 (enlarge_archive): Likewise.
12898 2013-05-28 Ben North <ben@redfrontdoor.org>
12900 * manual/arith.texi (frexp): It is the magnitude of the return
12901 value which lies in [0.5, 1), not the return value itself.
12903 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12905 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12907 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
12909 * stdio-common/bug26.c (main): Correct fscanf template.
12911 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
12912 declare _dl_skip_args.
12914 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
12917 * manual/platform.texi: Add missing @end deftypefun.
12919 2013-05-24 Joseph Myers <joseph@codesourcery.com>
12922 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
12923 bit of mantissa of 2^16382.
12924 * math/libm-test.inc (hypot_test_data): Add more tests.
12926 * math/libm-test.inc: Add drem and pow10 to list of tested
12928 (pow10_test): New function.
12929 (drem_test): Likewise.
12930 (drem_test_tonearest): Likewise.
12931 (drem_test_towardzero): Likewise.
12932 (drem_test_downward): Likewise.
12933 (drem_test_upward): Likewise.
12934 (main): Call the new functions.
12936 * math/libm-test.inc (finite_test_data): Remove.
12937 (finite_test): Run tests from isfinite_test_data.
12938 (gamma_test_data): Remove.
12939 (gamma_test): Run tests from lgamma_test_data.
12940 * sysdeps/i386/fpu/libm-test-ulps: Update.
12941 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12943 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12945 * manual/platform.texi: Add PowerPC PPR function set documentation.
12946 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
12949 2013-05-24 Carlos O'Donell <carlos@redhat.com>
12951 * math/libm-test.inc (MAX_EXP): Define.
12953 (ulp): New function.
12954 (check_float_internal): Use ULPDIFF.
12955 (cpow_test): Disable failing test.
12956 (check_ulp): Test ulp() implemetnation.
12957 (main): Call check_ulp before starting tests.
12959 2013-05-24 Joseph Myers <joseph@codesourcery.com>
12961 * math/gen-libm-test.pl (generate_testfile): Do not handle
12962 START_DATA and END_DATA.
12963 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
12965 (acos_tonearest_test_data): Likewise.
12966 (acos_towardzero_test_data): Likewise.
12967 (acos_downward_test_data): Likewise.
12968 (acos_upward_test_data): Likewise.
12969 (acosh_test_data): Likewise.
12970 (asin_test_data): Likewise.
12971 (asin_tonearest_test_data): Likewise.
12972 (asin_towardzero_test_data): Likewise.
12973 (asin_downward_test_data): Likewise.
12974 (asin_upward_test_data): Likewise.
12975 (asinh_test_data): Likewise.
12976 (atan_test_data): Likewise.
12977 (atanh_test_data): Likewise.
12978 (atan2_test_data): Likewise.
12979 (cabs_test_data): Likewise.
12980 (cacos_test_data): Likewise.
12981 (cacosh_test_data): Likewise.
12982 (carg_test_data): Likewise.
12983 (casin_test_data): Likewise.
12984 (casinh_test_data): Likewise.
12985 (catan_test_data): Likewise.
12986 (catanh_test_data): Likewise.
12987 (cbrt_test_data): Likewise.
12988 (ccos_test_data): Likewise.
12989 (ccosh_test_data): Likewise.
12990 (ceil_test_data): Likewise.
12991 (cexp_test_data): Likewise.
12992 (cimag_test_data): Likewise.
12993 (clog_test_data): Likewise.
12994 (clog10_test_data): Likewise.
12995 (conj_test_data): Likewise.
12996 (copysign_test_data): Likewise.
12997 (cos_test_data): Likewise.
12998 (cos_tonearest_test_data): Likewise.
12999 (cos_towardzero_test_data): Likewise.
13000 (cos_downward_test_data): Likewise.
13001 (cos_upward_test_data): Likewise.
13002 (cosh_test_data): Likewise.
13003 (cosh_tonearest_test_data): Likewise.
13004 (cosh_towardzero_test_data): Likewise.
13005 (cosh_downward_test_data): Likewise.
13006 (cosh_upward_test_data): Likewise.
13007 (cpow_test_data): Likewise.
13008 (cproj_test_data): Likewise.
13009 (creal_test_data): Likewise.
13010 (csin_test_data): Likewise.
13011 (csinh_test_data): Likewise.
13012 (csqrt_test_data): Likewise.
13013 (ctan_test_data): Likewise.
13014 (ctan_tonearest_test_data): Likewise.
13015 (ctan_towardzero_test_data): Likewise.
13016 (ctan_downward_test_data): Likewise.
13017 (ctan_upward_test_data): Likewise.
13018 (ctanh_test_data): Likewise.
13019 (ctanh_tonearest_test_data): Likewise.
13020 (ctanh_towardzero_test_data): Likewise.
13021 (ctanh_downward_test_data): Likewise.
13022 (ctanh_upward_test_data): Likewise.
13023 (erf_test_data): Likewise.
13024 (erfc_test_data): Likewise.
13025 (exp_test_data): Likewise.
13026 (exp_tonearest_test_data): Likewise.
13027 (exp_towardzero_test_data): Likewise.
13028 (exp_downward_test_data): Likewise.
13029 (exp_upward_test_data): Likewise.
13030 (exp10_test_data): Likewise.
13031 (exp2_test_data): Likewise.
13032 (expm1_test_data): Likewise.
13033 (fabs_test_data): Likewise.
13034 (fdim_test_data): Likewise.
13035 (finite_test_data): Likewise.
13036 (floor_test_data): Likewise.
13037 (fma_test_data): Likewise.
13038 (fma_towardzero_test_data): Likewise.
13039 (fma_downward_test_data): Likewise.
13040 (fma_upward_test_data): Likewise.
13041 (fmax_test_data): Likewise.
13042 (fmin_test_data): Likewise.
13043 (fmod_test_data): Likewise.
13044 (fpclassify_test_data): Likewise.
13045 (frexp_test_data): Likewise.
13046 (gamma_test_data): Likewise.
13047 (hypot_test_data): Likewise.
13048 (ilogb_test_data): Likewise.
13049 (isfinite_test_data): Likewise.
13050 (isgreater_test_data): Likewise.
13051 (isgreaterequal_test_data): Likewise.
13052 (isinf_test_data): Likewise.
13053 (isless_test_data): Likewise.
13054 (islessequal_test_data): Likewise.
13055 (islessgreater_test_data): Likewise.
13056 (isnan_test_data): Likewise.
13057 (isnormal_test_data): Likewise.
13058 (issignaling_test_data): Likewise.
13059 (isunordered_test_data): Likewise.
13060 (j0_test_data): Likewise.
13061 (j1_test_data): Likewise.
13062 (jn_test_data): Likewise.
13063 (ldexp_test_data): Likewise.
13064 (lgamma_test_data): Likewise.
13065 (lrint_test_data): Likewise.
13066 (lrint_tonearest_test_data): Likewise.
13067 (lrint_towardzero_test_data): Likewise.
13068 (lrint_downward_test_data): Likewise.
13069 (lrint_upward_test_data): Likewise.
13070 (llrint_test_data): Likewise.
13071 (llrint_tonearest_test_data): Likewise.
13072 (llrint_towardzero_test_data): Likewise.
13073 (llrint_downward_test_data): Likewise.
13074 (llrint_upward_test_data): Likewise.
13075 (log_test_data): Likewise.
13076 (log10_test_data): Likewise.
13077 (log1p_test_data): Likewise.
13078 (log2_test_data): Likewise.
13079 (logb_test_data): Likewise.
13080 (logb_downward_test_data): Likewise.
13081 (lround_test_data): Likewise.
13082 (llround_test_data): Likewise.
13083 (modf_test_data): Likewise.
13084 (nearbyint_test_data): Likewise.
13085 (nextafter_test_data): Likewise.
13086 (nexttoward_test_data): Likewise.
13087 (pow_test_data): Likewise.
13088 (pow_tonearest_test_data): Likewise.
13089 (pow_towardzero_test_data): Likewise.
13090 (pow_downward_test_data): Likewise.
13091 (pow_upward_test_data): Likewise.
13092 (remainder_test_data): Likewise.
13093 (remainder_tonearest_test_data): Likewise.
13094 (remainder_towardzero_test_data): Likewise.
13095 (remainder_downward_test_data): Likewise.
13096 (remainder_upward_test_data): Likewise.
13097 (remquo_test_data): Likewise.
13098 (rint_test_data): Likewise.
13099 (rint_tonearest_test_data): Likewise.
13100 (rint_towardzero_test_data): Likewise.
13101 (rint_downward_test_data): Likewise.
13102 (rint_upward_test_data): Likewise.
13103 (round_test_data): Likewise.
13104 (scalb_test_data): Likewise.
13105 (scalbn_test_data): Likewise.
13106 (scalbln_test_data): Likewise.
13107 (signbit_test_data): Likewise.
13108 (sin_test_data): Likewise.
13109 (sin_tonearest_test_data): Likewise.
13110 (sin_towardzero_test_data): Likewise.
13111 (sin_downward_test_data): Likewise.
13112 (sin_upward_test_data): Likewise.
13113 (sincos_test_data): Likewise.
13114 (sinh_test_data): Likewise.
13115 (sinh_tonearest_test_data): Likewise.
13116 (sinh_towardzero_test_data): Likewise.
13117 (sinh_downward_test_data): Likewise.
13118 (sinh_upward_test_data): Likewise.
13119 (sqrt_test_data): Likewise.
13120 (tan_test_data): Likewise.
13121 (tan_tonearest_test_data): Likewise.
13122 (tan_towardzero_test_data): Likewise.
13123 (tan_downward_test_data): Likewise.
13124 (tan_upward_test_data): Likewise.
13125 (tanh_test_data): Likewise.
13126 (tgamma_test_data): Likewise.
13127 (trunc_test_data): Likewise.
13128 (y0_test_data): Likewise.
13129 (y1_test_data): Likewise.
13130 (yn_test_data): Likewise.
13131 (significand_test_data): Likewise.
13133 * math/gen-libm-test.pl (@functions): Remove variable.
13134 (generate_testfile): Don't handle START and END lines.
13135 * math/libm-test.inc (START): New macro.
13137 (END_COMPLEX): Likewise.
13138 (acos_test): Use END macro without arguments.
13139 (acos_test_tonearest): Likewise.
13140 (acos_test_towardzero): Likewise.
13141 (acos_test_downward): Likewise.
13142 (acos_test_upward): Likewise.
13143 (acosh_test): Likewise.
13144 (asin_test): Likewise.
13145 (asin_test_tonearest): Likewise.
13146 (asin_test_towardzero): Likewise.
13147 (asin_test_downward): Likewise.
13148 (asin_test_upward): Likewise.
13149 (asinh_test): Likewise.
13150 (atan_test): Likewise.
13151 (atanh_test): Likewise.
13152 (atan2_test): Likewise.
13153 (cabs_test): Likewise.
13154 (cacos_test): Use END_COMPLEX macro without arguments.
13155 (cacosh_test): Likewise.
13156 (carg_test): Use END macro without arguments.
13157 (casin_test): Use END_COMPLEX macro without arguments.
13158 (casinh_test): Likewise.
13159 (catan_test): Likewise.
13160 (catanh_test): Likewise.
13161 (cbrt_test): Use END macro without arguments.
13162 (ccos_test): Use END_COMPLEX macro without arguments.
13163 (ccosh_test): Likewise.
13164 (ceil_test): Use END macro without arguments.
13165 (cexp_test): Use END_COMPLEX macro without arguments.
13166 (cimag_test): Use END macro without arguments.
13167 (clog_test): Use END_COMPLEX macro without arguments.
13168 (clog10_test): Likewise.
13169 (conj_test): Likewise.
13170 (copysign_test): Use END macro without arguments.
13171 (cos_test): Likewise.
13172 (cos_test_tonearest): Likewise.
13173 (cos_test_towardzero): Likewise.
13174 (cos_test_downward): Likewise.
13175 (cos_test_upward): Likewise.
13176 (cosh_test): Likewise.
13177 (cosh_test_tonearest): Likewise.
13178 (cosh_test_towardzero): Likewise.
13179 (cosh_test_downward): Likewise.
13180 (cosh_test_upward): Likewise.
13181 (cpow_test): Use END_COMPLEX macro without arguments.
13182 (cproj_test): Likewise.
13183 (creal_test): Use END macro without arguments.
13184 (csin_test): Use END_COMPLEX macro without arguments.
13185 (csinh_test): Likewise.
13186 (csqrt_test): Likewise.
13187 (ctan_test): Likewise.
13188 (ctan_test_tonearest): Likewise.
13189 (ctan_test_towardzero): Likewise.
13190 (ctan_test_downward): Likewise.
13191 (ctan_test_upward): Likewise.
13192 (ctanh_test): Likewise.
13193 (ctanh_test_tonearest): Likewise.
13194 (ctanh_test_towardzero): Likewise.
13195 (ctanh_test_downward): Likewise.
13196 (ctanh_test_upward): Likewise.
13197 (erf_test): Use END macro without arguments.
13198 (erfc_test): Likewise.
13199 (exp_test): Likewise.
13200 (exp_test_tonearest): Likewise.
13201 (exp_test_towardzero): Likewise.
13202 (exp_test_downward): Likewise.
13203 (exp_test_upward): Likewise.
13204 (exp10_test): Likewise.
13205 (exp2_test): Likewise.
13206 (expm1_test): Likewise.
13207 (fabs_test): Likewise.
13208 (fdim_test): Likewise.
13209 (finite_test): Likewise.
13210 (floor_test): Likewise.
13211 (fma_test): Likewise.
13212 (fma_test_towardzero): Likewise.
13213 (fma_test_downward): Likewise.
13214 (fma_test_upward): Likewise.
13215 (fmax_test): Likewise.
13216 (fmin_test): Likewise.
13217 (fmod_test): Likewise.
13218 (fpclassify_test): Likewise.
13219 (frexp_test): Likewise.
13220 (gamma_test): Likewise.
13221 (hypot_test): Likewise.
13222 (ilogb_test): Likewise.
13223 (isfinite_test): Likewise.
13224 (isgreater_test): Likewise.
13225 (isgreaterequal_test): Likewise.
13226 (isinf_test): Likewise.
13227 (isless_test): Likewise.
13228 (islessequal_test): Likewise.
13229 (islessgreater_test): Likewise.
13230 (isnan_test): Likewise.
13231 (isnormal_test): Likewise.
13232 (issignaling_test): Likewise.
13233 (isunordered_test): Likewise.
13234 (j0_test): Likewise.
13235 (j1_test): Likewise.
13236 (jn_test): Likewise.
13237 (ldexp_test): Likewise.
13238 (lgamma_test): Likewise.
13239 (lrint_test): Likewise.
13240 (lrint_test_tonearest): Likewise.
13241 (lrint_test_towardzero): Likewise.
13242 (lrint_test_downward): Likewise.
13243 (lrint_test_upward): Likewise.
13244 (llrint_test): Likewise.
13245 (llrint_test_tonearest): Likewise.
13246 (llrint_test_towardzero): Likewise.
13247 (llrint_test_downward): Likewise.
13248 (llrint_test_upward): Likewise.
13249 (log_test): Likewise.
13250 (log10_test): Likewise.
13251 (log1p_test): Likewise.
13252 (log2_test): Likewise.
13253 (logb_test): Likewise.
13254 (logb_test_downward): Likewise.
13255 (lround_test): Likewise.
13256 (llround_test): Likewise.
13257 (modf_test): Likewise.
13258 (nearbyint_test): Likewise.
13259 (nextafter_test): Likewise.
13260 (nexttoward_test): Likewise.
13261 (pow_test): Likewise.
13262 (pow_test_tonearest): Likewise.
13263 (pow_test_towardzero): Likewise.
13264 (pow_test_downward): Likewise.
13265 (pow_test_upward): Likewise.
13266 (remainder_test): Likewise.
13267 (remainder_test_tonearest): Likewise.
13268 (remainder_test_towardzero): Likewise.
13269 (remainder_test_downward): Likewise.
13270 (remainder_test_upward): Likewise.
13271 (remquo_test): Likewise.
13272 (rint_test): Likewise.
13273 (rint_test_tonearest): Likewise.
13274 (rint_test_towardzero): Likewise.
13275 (rint_test_downward): Likewise.
13276 (rint_test_upward): Likewise.
13277 (round_test): Likewise.
13278 (scalb_test): Likewise.
13279 (scalbn_test): Likewise.
13280 (scalbln_test): Likewise.
13281 (signbit_test): Likewise.
13282 (sin_test): Likewise.
13283 (sin_test_tonearest): Likewise.
13284 (sin_test_towardzero): Likewise.
13285 (sin_test_downward): Likewise.
13286 (sin_test_upward): Likewise.
13287 (sincos_test): Likewise.
13288 (sinh_test): Likewise.
13289 (sinh_test_tonearest): Likewise.
13290 (sinh_test_towardzero): Likewise.
13291 (sinh_test_downward): Likewise.
13292 (sinh_test_upward): Likewise.
13293 (sqrt_test): Likewise.
13294 (tan_test): Likewise.
13295 (tan_test_tonearest): Likewise.
13296 (tan_test_towardzero): Likewise.
13297 (tan_test_downward): Likewise.
13298 (tan_test_upward): Likewise.
13299 (tanh_test): Likewise.
13300 (tgamma_test): Likewise.
13301 (trunc_test): Likewise.
13302 (y0_test): Likewise.
13303 (y1_test): Likewise.
13304 (yn_test): Likewise.
13305 (significand_test): Likewise.
13307 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
13310 * libio/genops.c (_IO_no_init): Initialize wide struct info.
13312 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
13315 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
13316 __ppc_mdoio and __ppc_mdoom.
13317 * manual/platform.texi: Document new functions __ppc_yield,
13318 __ppc_mdoio and __ppc_mdoom.
13320 2013-05-22 Carlos O'Donell <carlos@redhat.com>
13322 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
13323 (main): Mention "tls" pseudo-hwcap is legacy.
13324 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
13326 2013-05-22 Joseph Myers <joseph@codesourcery.com>
13328 * math/gen-libm-test.pl (parse_args): Output only string of
13329 arguments as text for test name, not full call or descriptions of
13330 tests for extra outputs.
13331 (generate_testfile): Do not pass function name to parse_args.
13332 Generate this_func variable from START.
13333 * math/libm-test.inc (struct test_f_f_data): Rename test_name
13335 (struct test_ff_f_data): Likewise.
13336 (test_ff_f_data_nexttoward): Likewise.
13337 (struct test_fi_f_data): Likewise.
13338 (struct test_fl_f_data): Likewise.
13339 (struct test_if_f_data): Likewise.
13340 (struct test_fff_f_data): Likewise.
13341 (struct test_c_f_data): Likewise.
13342 (struct test_f_f1_data): Likewise. Remove field extra_name.
13343 (struct test_fF_f1_data): Likewise.
13344 (struct test_ffI_f1_data): Likewise.
13345 (struct test_c_c_data): Rename test_name field to arg_str.
13346 (struct test_cc_c_data): Likewise.
13347 (struct test_f_i_data): Likewise.
13348 (struct test_ff_i_data): Likewise.
13349 (struct test_f_l_data): Likewise.
13350 (struct test_f_L_data): Likewise.
13351 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
13353 (COMMON_TEST_SETUP): New macro.
13354 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
13355 (COMMON_TEST_CLEANUP): Likewise.
13356 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
13357 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
13359 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
13360 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
13362 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
13363 (RUN_TEST_fff_f): Take argument string. Call new setup and
13365 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
13366 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
13368 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
13369 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
13371 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
13372 (RUN_TEST_fF_f1): Take argument string. Call new setup and
13374 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
13375 (RUN_TEST_fI_f1): Take argument string. Call new setup and
13377 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
13378 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
13380 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
13381 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
13383 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
13384 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
13386 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
13387 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
13389 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
13390 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
13392 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
13393 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
13395 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
13396 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
13398 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
13399 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
13401 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
13402 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
13404 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
13405 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
13407 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
13408 (RUN_TEST_fFF_11): Take argument string. Call new setup and
13410 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
13412 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
13414 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
13415 to _sifields.sigfault.
13416 (si_addr_lsb): Define new macro.
13417 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
13418 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
13419 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
13421 2013-05-03 Carlos O'Donell <carlos at redhat.com>
13424 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
13426 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
13428 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
13429 loading the domain.
13431 2013-05-22 Joseph Myers <joseph@codesourcery.com>
13433 * math/gen-libm-test.pl (parse_args): Do not include expected
13434 result in test name.
13435 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
13436 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13437 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13438 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
13439 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13440 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13442 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
13444 * benchtests/Makefile: Sort function entries.
13446 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
13447 tanh, asinh, acosh, atanh.
13448 * benchtests/acos-inputs: New file.
13449 * benchtests/acosh-inputs: New file.
13450 * benchtests/asin-inputs: New file.
13451 * benchtests/asinh-inputs: New file.
13452 * benchtests/atanh-inputs: New file.
13453 * benchtests/cosh-inputs: New file.
13454 * benchtests/log-inputs: New file.
13455 * benchtests/sinh-inputs: New file.
13456 * benchtests/tanh-inputs: New file.
13458 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
13461 * posix/tst-getaddrinfo4.c: New test.
13462 * posix/Makefile (tests): Add it.
13464 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13467 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
13468 when no services were used.
13469 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
13470 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
13472 2013-05-21 Andreas Schwab <schwab@suse.de>
13475 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
13476 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
13478 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
13479 redundant variable declarations and reallocation of buffer when
13480 parsing as IPv6 address. Always set NSS status when called from
13481 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
13482 buffer too small. Correct computation of needed size.
13483 * nss/Makefile (tests): Add test-digits-dots.
13484 * nss/test-digits-dots.c: New test.
13486 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13488 * benchtests/Makefile: Remove instructions for adding
13490 * benchtests/README: New file to explain how to execute and
13491 enhance the benchmark tests.
13493 2013-05-21 Andreas Schwab <schwab@suse.de>
13496 * setjmp/Makefile (tests): Add tst-sigsetjmp.
13497 * setjmp/tst-sigsetjmp.c: New test.
13499 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
13501 * sysdeps/x86_64/memset.S (memset): New implementation.
13502 (__bzero): Likewise.
13503 (__memset_tail): New function.
13505 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
13507 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
13508 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
13509 __memcpy_sse2_unaligned ifunc selection.
13510 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
13511 Add memcpy-sse2-unaligned.S.
13512 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13513 Add: __memcpy_sse2_unaligned.
13515 2013-05-19 Joseph Myers <joseph@codesourcery.com>
13518 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
13519 math_force_eval before restoring floating-point envrionment.
13520 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
13521 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
13523 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
13525 (__nearbyintl): Use math_force_eval before restoring
13526 floating-point environment.
13527 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
13529 * math/gen-libm-test.pl (special_functions): Remove.
13530 (parse_args): Don't handle TEST_extra. Handle functions with no
13532 * math/libm-test.inc (struct test_sincos_data): Replace with
13533 struct test_fFF_11_data.
13534 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
13535 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
13536 (sincos_test_data): Change element type to struct
13537 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
13538 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
13539 RUN_TEST_LOOP_sincos.
13540 * math/README.libm-test: Don't mention special handling of
13541 individual functions.
13542 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
13543 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13544 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13545 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
13546 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13547 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13549 * math/gen-libm-test.pl (get_variable): Remove function.
13550 (parse_args): Don't show pointer parameters to call in test
13551 names. Use "extra output N" in test names for extra outputs
13552 rather than naming variables.
13554 2013-05-18 Joseph Myers <joseph@codesourcery.com>
13557 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
13558 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
13559 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
13561 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
13563 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
13566 * math/gen-libm-test.pl (@tests): Remove variable.
13567 ($count): Likewise.
13568 (new_test): Remove function.
13569 (show_exceptions): New function.
13570 (special_functions): Use show_exceptions instead of new_test.
13571 (parse_args): Likewise.
13572 (generate_testfile): Pass only function name in generated call to
13573 print_max_error or print_complex_max_error.
13574 (get_ulps): Do not handle complex tests specially.
13575 (output_test): Rename to ...
13576 (get_all_ulps_for_test): ... this. Return a string rather than
13577 printing to a file. Require ulps to be present.
13578 (output_ulps): Generate arrays rather than #defines.
13579 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
13580 (struct ulp_data): New type.
13581 (BUILD_COMPLEX_ULP): Remove macro.
13582 (compare_ulp_data): New function.
13583 (find_ulps): Likewise.
13584 (find_test_ulps): Likewise.
13585 (find_function_ulps): Likewise.
13586 (find_complex_function_ulps): Likewise.
13587 (print_max_error): Determine allowed ulps using
13588 find_function_ulps.
13589 (print_complex_max_error): Determine allowed ulps using
13590 find_complex_function_ulps.
13591 (check_float_internal): Determine max ulps using find_test_ulps.
13592 (check_float): Do not take max_ulp parameter. Update call to
13593 check_float_internal.
13594 (check_complex): Likewise.
13595 (check_int): Do not take max_ulp parameter.
13596 (check_long): Likewise.
13597 (check_bool): Likewise.
13598 (check_longlong): Likewise.
13599 (struct test_f_f_data): Remove max_ulp field.
13600 (struct test_ff_f_data): Likewise.
13601 (struct test_ff_f_data_nexttoward): Likewise.
13602 (struct test_fi_f_data): Likewise.
13603 (struct test_fl_f_data): Likewise.
13604 (struct test_if_f_data): Likewise.
13605 (struct test_fff_f_data): Likewise.
13606 (struct test_c_f_data): Likewise.
13607 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
13608 (struct test_fF_f1_data): Likewise.
13609 (struct test_ffI_f1_data): Likewise.
13610 (struct test_c_c_data): Remove max_ulp field.
13611 (struct test_cc_c_data): Likewise.
13612 (struct test_f_i_data): Likewise.
13613 (struct test_ff_i_data): Likewise.
13614 (struct test_f_l_data): Likewise.
13615 (struct test_f_L_data): Likewise.
13616 (struct test_sincos_data): Likewise.
13617 (RUN_TEST_f_f): Do not handle ulps.
13618 (RUN_TEST_LOOP_f_f): Likewise.
13619 (RUN_TEST_2_f): Likewise.
13620 (RUN_TEST_LOOP_2_f): Likewise.
13621 (RUN_TEST_fff_f): Likewise.
13622 (RUN_TEST_LOOP_fff_f): Likewise.
13623 (RUN_TEST_c_f): Likewise.
13624 (RUN_TEST_LOOP_c_f): Likewise.
13625 (RUN_TEST_f_f1): Likewise.
13626 (RUN_TEST_LOOP_f_f1): Likewise.
13627 (RUN_TEST_fF_f1): Likewise.
13628 (RUN_TEST_LOOP_fF_f1): Likewise.
13629 (RUN_TEST_fI_f1): Likewise.
13630 (RUN_TEST_LOOP_fI_f1): Likewise.
13631 (RUN_TEST_ffI_f1): Likewise.
13632 (RUN_TEST_LOOP_ffI_f1): Likewise.
13633 (RUN_TEST_c_c): Likewise.
13634 (RUN_TEST_LOOP_c_c): Likewise.
13635 (RUN_TEST_cc_c): Likewise.
13636 (RUN_TEST_LOOP_cc_c): Likewise.
13637 (RUN_TEST_f_i): Likewise.
13638 (RUN_TEST_LOOP_f_i): Likewise.
13639 (RUN_TEST_f_i_tg): Likewise.
13640 (RUN_TEST_LOOP_f_i_tg): Likewise.
13641 (RUN_TEST_ff_i_tg): Likewise.
13642 (RUN_TEST_LOOP_ff_i_tg): Likewise.
13643 (RUN_TEST_f_b): Likewise.
13644 (RUN_TEST_LOOP_f_b): Likewise.
13645 (RUN_TEST_f_b_tg): Likewise.
13646 (RUN_TEST_LOOP_f_b_tg): Likewise.
13647 (RUN_TEST_f_l): Likewise.
13648 (RUN_TEST_LOOP_f_l): Likewise.
13649 (RUN_TEST_f_L): Likewise.
13650 (RUN_TEST_LOOP_f_L): Likewise.
13651 (RUN_TEST_sincos): Likewise.
13652 (RUN_TEST_LOOP_sincos): Likewise.
13654 2013-05-17 Joseph Myers <joseph@codesourcery.com>
13658 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
13659 main case of finite arguments, set rounding mode to FE_TONEAREST
13660 and discard exceptions.
13661 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
13663 (remainder_tonearest_test_data): New variable.
13664 (remainder_test_tonearest): New function.
13665 (remainder_towardzero_test_data): New variable.
13666 (remainder_test_towardzero): New function.
13667 (remainder_downward_test_data): New variable.
13668 (remainder_test_downward): New function.
13669 (remainder_upward_test_data): New variable.
13670 (remainder_test_upward): New function.
13671 (main): Call the new test functions.
13673 * math/libm-test.inc (struct test_f_f1_data): Remove field
13675 (struct test_fF_f1_data): Likewise.
13676 (struct test_ffI_f1_data): Likewise.
13677 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
13678 based on value of EXTRA_EXPECTED.
13679 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
13680 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
13681 EXTRA_VAR based on value of EXTRA_EXPECTED.
13682 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
13683 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
13684 EXTRA_VAR based on value of EXTRA_EXPECTED.
13685 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
13686 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
13687 EXTRA_VAR based on value of EXTRA_EXPECTED.
13688 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
13689 * math/gen-libm-test.pl (parse_args): Don't output initializers
13690 for extra output values.
13692 * math/libm-test.inc (check_int): Expect result to be exactly
13693 equal to expected value and do not handle ulps.
13694 (check_long): Likewise.
13695 (check_longlong): Likewise.
13697 * math/libm-test.inc (ceil_test_data): Test for "inexact"
13699 (cimag_test_data): Likewise.
13700 (conj_test_data): Likewise.
13701 (copysign_test_data): Likewise.
13702 (cproj_test_data): Likewise.
13703 (creal_test_data): Likewise.
13704 (fabs_test_data): Likewise.
13705 (fdim_test_data): Likewise.
13706 (finite_test_data): Likewise.
13707 (floor_test_data): Likewise.
13708 (fmax_test_data): Likewise.
13709 (fmin_test_data): Likewise.
13710 (fmod_test_data): Likewise.
13711 (fpclassify_test_data): Likewise.
13712 (frexp_test_data): Likewise.
13713 (ilogb_test_data): Likewise.
13714 (isfinite_test_data): Likewise.
13715 (isgreater_test_data): Likewise.
13716 (isgreaterequal_test_data): Likewise.
13717 (isinf_test_data): Likewise.
13718 (isless_test_data): Likewise.
13719 (islessequal_test_data): Likewise.
13720 (islessgreater_test_data): Likewise.
13721 (isnan_test_data): Likewise.
13722 (isnormal_test_data): Likewise.
13723 (issignaling_test_data): Likewise.
13724 (isunordered_test_data): Likewise.
13725 (ldexp_test_data): Likewise.
13726 (lrint_test_data): Likewise.
13727 (lrint_test_data) [TEST_FLOAT]: Disable one test.
13728 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
13729 (lrint_tonearest_test_data): Test for "inexact" exceptions.
13730 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
13731 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
13732 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
13734 (lrint_towardzero_test_data): Test for "inexact" exceptions.
13735 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
13736 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
13737 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
13739 (lrint_downward_test_data): Test for "inexact" exceptions.
13740 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
13741 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
13742 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
13744 (lrint_upward_test_data): Test for "inexact" exceptions.
13745 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
13747 (llrint_test_data): Test for "inexact" exceptions.
13748 (llrint_test_data) [TEST_FLOAT]: Disable one test.
13749 (llrint_tonearest_test_data): Test for "inexact" exceptions.
13750 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
13751 (llrint_towardzero_test_data): Test for "inexact" exceptions.
13752 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
13753 (llrint_downward_test_data): Test for "inexact" exceptions.
13754 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
13755 (llrint_upward_test_data): Test for "inexact" exceptions.
13756 (logb_test_data): Likewise.
13757 (logb_downward_test_data): Likewise.
13758 (nextafter_test_data): Likewise.
13759 (nexttoward_test_data): Likewise.
13760 (remainder_test_data): Likewise.
13761 (remquo_test_data): Likewise.
13762 (scalbn_test_data): Likewise.
13763 (scalbln_test_data): Likewise.
13764 (signbit_test_data): Likewise.
13765 (sqrt_test_data): Likewise.
13766 (significand_test_data): Likewise.
13768 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
13771 * benchtests/bench-modf.c (struct args): Mark arg0 as
13773 * scripts/bench.pl: Mark members of struct args as volatile.
13775 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13778 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
13779 negative infinity on POWER6 or lower.
13780 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
13782 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
13785 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
13786 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
13787 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
13788 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
13789 (_FP_SETQNAN): New macro.
13790 (_FP_SETQNAN_SEMIRAW): Likewise.
13791 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
13792 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
13793 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
13794 (FP_EXTEND): Use _FP_FRAC_SNANP.
13795 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
13796 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
13798 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
13800 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
13803 2013-05-16 Joseph Myers <joseph@codesourcery.com>
13805 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
13806 with DIVIDE_BY_ZERO_EXCEPTION.
13807 (gamma_test_data): Likewise.
13808 (lgamma_test_data): Likewise.
13809 (log_test_data): Likewise.
13810 (log10_test_data): Likewise.
13811 (log2_test_data): Likewise.
13812 (tgamma_test_data): Likewise.
13814 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
13815 (acos_test_tonearest): Likewise.
13816 (acos_test_towardzero): Likewise.
13817 (acos_test_downward): Likewise.
13818 (acos_test_upward): Likewise.
13819 (acosh_test): Likewise.
13820 (asin_test): Likewise.
13821 (asin_test_tonearest): Likewise.
13822 (asin_test_towardzero): Likewise.
13823 (asin_test_downward): Likewise.
13824 (asin_test_upward): Likewise.
13825 (asinh_test): Likewise.
13826 (atan_test): Likewise.
13827 (atanh_test): Likewise.
13828 (atan2_test): Likewise.
13829 (cabs_test): Likewise.
13830 (cacos_test): Likewise.
13831 (cacosh_test): Likewise.
13832 (casin_test): Likewise.
13833 (casinh_test): Likewise.
13834 (catan_test): Likewise.
13835 (catanh_test): Likewise.
13836 (cbrt_test): Likewise.
13837 (ccos_test): Likewise.
13838 (ccosh_test): Likewise.
13839 (cexp_test): Likewise.
13840 (clog_test): Likewise.
13841 (clog10_test): Likewise.
13842 (cos_test): Likewise.
13843 (cos_test_tonearest): Likewise.
13844 (cos_test_towardzero): Likewise.
13845 (cos_test_downward): Likewise.
13846 (cos_test_upward): Likewise.
13847 (cosh_test): Likewise.
13848 (cosh_test_tonearest): Likewise.
13849 (cosh_test_towardzero): Likewise.
13850 (cosh_test_downward): Likewise.
13851 (cosh_test_upward): Likewise.
13852 (cpow_test): Likewise.
13853 (csin_test): Likewise.
13854 (csinh_test): Likewise.
13855 (csqrt_test): Likewise.
13856 (ctan_test): Likewise.
13857 (ctan_test_tonearest): Likewise.
13858 (ctan_test_towardzero): Likewise.
13859 (ctan_test_downward): Likewise.
13860 (ctan_test_upward): Likewise.
13861 (ctanh_test): Likewise.
13862 (ctanh_test_tonearest): Likewise.
13863 (ctanh_test_towardzero): Likewise.
13864 (ctanh_test_downward): Likewise.
13865 (ctanh_test_upward): Likewise.
13866 (erf_test): Likewise.
13867 (erfc_test): Likewise.
13868 (exp_test): Likewise.
13869 (exp_test_tonearest): Likewise.
13870 (exp_test_towardzero): Likewise.
13871 (exp_test_downward): Likewise.
13872 (exp_test_upward): Likewise.
13873 (exp10_test): Likewise.
13874 (exp2_test): Likewise.
13875 (expm1_test): Likewise.
13876 (fmod_test): Likewise.
13877 (gamma_test): Likewise.
13878 (hypot_test): Likewise.
13879 (j0_test): Likewise.
13880 (j1_test): Likewise.
13881 (jn_test): Likewise.
13882 (lgamma_test): Likewise.
13883 (log_test): Likewise.
13884 (log10_test): Likewise.
13885 (log1p_test): Likewise.
13886 (log2_test): Likewise.
13887 (logb_test_downward): Likewise.
13888 (pow_test): Likewise.
13889 (pow_test_tonearest): Likewise.
13890 (pow_test_towardzero): Likewise.
13891 (pow_test_downward): Likewise.
13892 (pow_test_upward): Likewise.
13893 (remainder_test): Likewise.
13894 (remquo_test): Likewise.
13895 (sin_test): Likewise.
13896 (sin_test_tonearest): Likewise.
13897 (sin_test_towardzero): Likewise.
13898 (sin_test_downward): Likewise.
13899 (sin_test_upward): Likewise.
13900 (sincos_test): Likewise.
13901 (sinh_test): Likewise.
13902 (sinh_test_tonearest): Likewise.
13903 (sinh_test_towardzero): Likewise.
13904 (sinh_test_downward): Likewise.
13905 (sinh_test_upward): Likewise.
13906 (sqrt_test): Likewise.
13907 (tan_test): Likewise.
13908 (tan_test_tonearest): Likewise.
13909 (tan_test_towardzero): Likewise.
13910 (tan_test_downward): Likewise.
13911 (tan_test_upward): Likewise.
13912 (tanh_test): Likewise.
13913 (tgamma_test): Likewise.
13914 (y0_test): Likewise.
13915 (y1_test): Likewise.
13916 (yn_test): Likewise.
13918 * math/gen-libm-test.pl (adjust_arg): Remove function.
13919 (special_function): Remove argument $in_func. Only handle
13920 generating output for tables of tests, not inside functions.
13921 (parse_args): Likewise.
13922 (generate_testfile): Remove variable $in_func. Update call to
13924 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
13925 (MINUS_ZERO_INIT): Rename macro to minus_zero.
13926 (PLUS_INFTY_INIT): Rename macro to plus_infty.
13927 (MINUS_INFTY_INIT): Rename macro to minus_infty.
13928 (QNAN_VALUE_INIT): Rename macro to qnan_value.
13929 (MAX_VALUE_INIT): Rename macro to max_value.
13930 (MIN_VALUE_INIT): Rename macro to min_value.
13931 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
13932 (plus_zero): Remove variable.
13933 (minus_zero): Likewise.
13934 (plus_infty): Likewise.
13935 (minus_infty): Likewise.
13936 (qnan_value): Likewise.
13937 (max_value): Likewise.
13938 (min_value): Likewise.
13939 (min_subnorm_value): Likewise.
13941 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13943 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
13944 uint64_t or uint32_t usage.
13945 * crypt/sha256-block.c: Likewise.
13946 * crypt/sha256-crypt.c: Likewise.
13947 * crypt/sha256.c: Likewise.
13948 * crypt/sha512-block.c: Likewise.
13949 * crypt/sha512-crypt.c: Likewise.
13950 * crypt/sha512.c: Likewise.
13951 * debug/backtrace-tst.c: Likewise.
13952 * debug/pcprofiledump.c: Likewise.
13953 * elf/cache.c: Likewise.
13954 * elf/dl-cache.c: Likewise.
13955 * elf/dl-misc.c: Likewise.
13956 * elf/dl-profile.c: Likewise.
13957 * elf/dl-support.c: Likewise.
13958 * elf/ldconfig.c: Likewise.
13959 * elf/sprof.c: Likewise.
13960 * iconv/dummy-repertoire.c: Likewise.
13961 * iconv/iconv_charmap.c: Likewise.
13962 * iconv/skeleton.c: Likewise.
13963 * iconvdata/8bit-generic.c: Likewise.
13964 * iconvdata/cp737.h: Likewise.
13965 * iconvdata/cp775.h: Likewise.
13966 * iconvdata/ibm1008.h: Likewise.
13967 * iconvdata/ibm1025.h: Likewise.
13968 * iconvdata/ibm1046.h: Likewise.
13969 * iconvdata/ibm1097.h: Likewise.
13970 * iconvdata/ibm1112.h: Likewise.
13971 * iconvdata/ibm1122.h: Likewise.
13972 * iconvdata/ibm1123.h: Likewise.
13973 * iconvdata/ibm1124.h: Likewise.
13974 * iconvdata/ibm1129.h: Likewise.
13975 * iconvdata/ibm1130.h: Likewise.
13976 * iconvdata/ibm1132.h: Likewise.
13977 * iconvdata/ibm1133.h: Likewise.
13978 * iconvdata/ibm1137.h: Likewise.
13979 * iconvdata/ibm1140.h: Likewise.
13980 * iconvdata/ibm1141.h: Likewise.
13981 * iconvdata/ibm1142.h: Likewise.
13982 * iconvdata/ibm1143.h: Likewise.
13983 * iconvdata/ibm1144.h: Likewise.
13984 * iconvdata/ibm1145.h: Likewise.
13985 * iconvdata/ibm1146.h: Likewise.
13986 * iconvdata/ibm1147.h: Likewise.
13987 * iconvdata/ibm1148.h: Likewise.
13988 * iconvdata/ibm1149.h: Likewise.
13989 * iconvdata/ibm1153.h: Likewise.
13990 * iconvdata/ibm1154.h: Likewise.
13991 * iconvdata/ibm1155.h: Likewise.
13992 * iconvdata/ibm1156.h: Likewise.
13993 * iconvdata/ibm1157.h: Likewise.
13994 * iconvdata/ibm1158.h: Likewise.
13995 * iconvdata/ibm1160.h: Likewise.
13996 * iconvdata/ibm1161.h: Likewise.
13997 * iconvdata/ibm1162.h: Likewise.
13998 * iconvdata/ibm1163.h: Likewise.
13999 * iconvdata/ibm1164.h: Likewise.
14000 * iconvdata/ibm1166.h: Likewise.
14001 * iconvdata/ibm1167.h: Likewise.
14002 * iconvdata/ibm12712.h: Likewise.
14003 * iconvdata/ibm1390.h: Likewise.
14004 * iconvdata/ibm1399.h: Likewise.
14005 * iconvdata/ibm16804.h: Likewise.
14006 * iconvdata/ibm4517.h: Likewise.
14007 * iconvdata/ibm4899.h: Likewise.
14008 * iconvdata/ibm4909.h: Likewise.
14009 * iconvdata/ibm4971.h: Likewise.
14010 * iconvdata/ibm5347.h: Likewise.
14011 * iconvdata/ibm803.h: Likewise.
14012 * iconvdata/ibm856.h: Likewise.
14013 * iconvdata/ibm901.h: Likewise.
14014 * iconvdata/ibm902.h: Likewise.
14015 * iconvdata/ibm9030.h: Likewise.
14016 * iconvdata/ibm9066.h: Likewise.
14017 * iconvdata/ibm921.h: Likewise.
14018 * iconvdata/ibm922.h: Likewise.
14019 * iconvdata/ibm9448.h: Likewise.
14020 * iconvdata/isiri-3342.h: Likewise.
14021 * iconvdata/jis0201.h: Likewise.
14022 * include/link.h: Likewise.
14023 * include/netdb.h: Likewise.
14024 * inet/check_native.c: Likewise.
14025 * inet/check_pf.c: Likewise.
14026 * inet/getipv4sourcefilter.c: Likewise.
14027 * inet/getnameinfo.c: Likewise.
14028 * inet/getsourcefilter.c: Likewise.
14029 * inet/htonl.c: Likewise.
14030 * inet/setipv4sourcefilter.c: Likewise.
14031 * inet/setsourcefilter.c: Likewise.
14032 * inet/test-inet6_opt.c: Likewise.
14033 * inet/tst-network.c: Likewise.
14034 * locale/C-collate.c: Likewise.
14035 * locale/C-ctype.c: Likewise.
14036 * locale/C-time.c: Likewise.
14037 * locale/C-translit.h: Likewise.
14038 * locale/loadarchive.c: Likewise.
14039 * locale/programs/3level.h: Likewise.
14040 * locale/programs/charmap.c: Likewise.
14041 * locale/programs/charmap.h: Likewise.
14042 * locale/programs/ld-address.c: Likewise.
14043 * locale/programs/ld-collate.c: Likewise.
14044 * locale/programs/ld-ctype.c: Likewise.
14045 * locale/programs/ld-identification.c: Likewise.
14046 * locale/programs/ld-measurement.c: Likewise.
14047 * locale/programs/ld-messages.c: Likewise.
14048 * locale/programs/ld-monetary.c: Likewise.
14049 * locale/programs/ld-name.c: Likewise.
14050 * locale/programs/ld-numeric.c: Likewise.
14051 * locale/programs/ld-paper.c: Likewise.
14052 * locale/programs/ld-telephone.c: Likewise.
14053 * locale/programs/ld-time.c: Likewise.
14054 * locale/programs/linereader.c: Likewise.
14055 * locale/programs/locale.c: Likewise.
14056 * locale/programs/locarchive.c: Likewise.
14057 * locale/programs/locfile.h: Likewise.
14058 * locale/programs/repertoire.c: Likewise.
14059 * locale/programs/simple-hash.c: Likewise.
14060 * locale/programs/simple-hash.h: Likewise.
14061 * malloc/memusage.c: Likewise.
14062 * malloc/memusagestat.c: Likewise.
14063 * nis/nis_defaults.c: Likewise.
14064 * nis/nis_hash.c: Likewise.
14065 * nis/nis_print.c: Likewise.
14066 * nis/nis_xdr.c: Likewise.
14067 * nscd/connections.c: Likewise.
14068 * nscd/hstcache.c: Likewise.
14069 * nscd/nscd_gethst_r.c: Likewise.
14070 * nscd/nscd_getserv_r.c: Likewise.
14071 * nscd/nscd_helper.c: Likewise.
14072 * nscd/servicescache.c: Likewise.
14073 * nss/makedb.c: Likewise.
14074 * nss/nss_db/db-XXX.c: Likewise.
14075 * nss/nss_db/db-initgroups.c: Likewise.
14076 * nss/nss_db/db-netgrp.c: Likewise.
14077 * nss/nss_files/files-network.c: Likewise.
14078 * nss/nss_files/files-parse.c: Likewise.
14079 * posix/bug-regex5.c: Likewise.
14080 * posix/fnmatch_loop.c: Likewise.
14081 * posix/regcomp.c: Likewise.
14082 * posix/regexec.c: Likewise.
14083 * posix/tst-rfc3484-2.c: Likewise.
14084 * posix/tst-rfc3484-3.c: Likewise.
14085 * posix/tst-rfc3484.c: Likewise.
14086 * resolv/nss_dns/dns-canon.c: Likewise.
14087 * resolv/nss_dns/dns-network.c: Likewise.
14088 * resolv/res_init.c: Likewise.
14089 * resolv/res_mkquery.c: Likewise.
14090 * resolv/tst-aton.c: Likewise.
14091 * stdlib/cxa_atexit.c: Likewise.
14092 * stdlib/cxa_finalize.c: Likewise.
14093 * stdlib/gen-fpioconst.c: Likewise.
14094 * stdlib/strtol_l.c: Likewise.
14095 * string/tst-endian.c: Likewise.
14096 * sunrpc/auth_des.c: Likewise.
14097 * sunrpc/clnt_udp.c: Likewise.
14098 * sunrpc/rtime.c: Likewise.
14099 * sunrpc/svcauth_des.c: Likewise.
14100 * sunrpc/xdr.c: Likewise.
14101 * sunrpc/xdr_intXX_t.c: Likewise.
14102 * sunrpc/xdr_rec.c: Likewise.
14103 * sysdeps/generic/ldconfig.h: Likewise.
14104 * sysdeps/generic/ldsodefs.h: Likewise.
14105 * sysdeps/generic/memusage.h: Likewise.
14106 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
14107 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
14108 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
14109 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
14110 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
14111 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
14112 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
14113 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
14114 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
14115 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
14116 * sysdeps/posix/getaddrinfo.c: Likewise.
14117 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
14118 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14119 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
14120 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
14121 * sysdeps/powerpc/test-gettimebase.c: Likewise.
14122 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
14123 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
14124 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
14125 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
14126 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
14127 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
14128 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
14129 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
14130 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
14131 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
14132 * sysdeps/x86_64/dl-tls.h: Likewise.
14133 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
14134 * time/alt_digit.c: Likewise.
14135 * time/era.c: Likewise.
14136 * wcsmbs/tst-c16c32-1.c: Likewise.
14138 2013-05-16 Joseph Myers <joseph@codesourcery.com>
14140 * math/libm-test.inc (struct test_sincos_data): New type.
14141 (RUN_TEST_LOOP_sincos): New macro.
14142 (sincos_test_data): New variable.
14143 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
14145 2013-05-16 Richard Henderson <rth@redhat.com>
14147 * math/atest-exp2.c (LIMB64): New macro.
14148 (CONSTSZ): New macro.
14149 (mp_exp1, mp_exp_m1, mp_log2): New variables.
14151 (print_mpn_fp): ... to function scope.
14152 (read_mpn_hex): Remove.
14153 (get_log2): Remove.
14154 (exp2_mpn): Use mp_log2.
14155 (main): Use mp_exp1.
14157 2013-05-16 Joseph Myers <joseph@codesourcery.com>
14159 * math/libm-test.inc: Remove comment about not testing "inexact"
14161 (INEXACT_EXCEPTION): New macro.
14162 (NO_INEXACT_EXCEPTION): Likewise.
14163 (INVALID_EXCEPTION_OK): Update value.
14164 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
14165 (OVERFLOW_EXCEPTION_OK): Likewise.
14166 (UNDERFLOW_EXCEPTION_OK): Likewise.
14167 (IGNORE_ZERO_INF_SIGN): Likewise.
14168 (ERRNO_UNCHANGED): Likewise.
14169 (ERRNO_EDOM): Likewise.
14170 (ERRNO_ERANGE): Likewise.
14171 (test_exceptions): Handle testing "inexact" exceptions.
14172 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
14173 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
14174 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
14175 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
14177 (rint_towardzero_test_data): Likewise.
14178 (rint_downward_test_data): Likewise.
14179 (rint_upward_test_data): Likewise.
14181 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
14182 with OVERFLOW_EXCEPTION.
14183 (exp10_test_data): Likewise.
14184 (exp2_test_data): Likewise.
14185 (expm1_test_data): Likewise.
14186 (lgamma_test_data): Likewise.
14187 (pow_test_data): Likewise.
14188 (tgamma_test_data): Likewise.
14189 (yn_test_data): Remove duplicate test of overflow.
14191 * math/libm-test.inc (struct test_cc_c_data): New type.
14192 (RUN_TEST_LOOP_cc_c): New macro.
14193 (cpow_test_data): New variable.
14194 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
14196 * math/libm-test.inc (struct test_f_L_data): New type.
14197 (RUN_TEST_LOOP_f_L): New macro.
14198 (llrint_test_data): New variable.
14199 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
14200 (llrint_tonearest_test_data): New variable.
14201 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
14202 (llrint_towardzero_test_data): New variable.
14203 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
14204 (llrint_downward_test_data): New variable.
14205 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
14206 (llrint_upward_test_data): New variable.
14207 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
14208 (llround_test_data): New variable.
14209 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
14211 2013-05-13 Peter Collingbourne <pcc@google.com>
14213 * math/atest-exp2.c (get_log2): Remove const attribute.
14215 2013-05-15 Joseph Myers <joseph@codesourcery.com>
14217 * math/libm-test.inc (struct test_f_l_data): New type.
14218 (RUN_TEST_LOOP_f_l): New macro.
14219 (lrint_test_data): New variable.
14220 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
14221 (lrint_tonearest_test_data): New variable.
14222 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
14223 (lrint_towardzero_test_data): New variable.
14224 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
14225 (lrint_downward_test_data): New variable.
14226 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
14227 (lrint_upward_test_data): New variable.
14228 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
14229 (lround_test_data): New variable.
14230 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
14232 2013-05-15 Peter Collingbourne <pcc@google.com>
14234 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
14235 (EXTRACT_WORDS64) Use where appropriate.
14236 (INSERT_WORDS64) Likewise.
14238 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
14239 constraints with x constraints.
14240 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
14242 * malloc/obstack.c (_obstack_compat): Add initializer.
14244 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
14246 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
14247 si_trapno and add si_addr_lsb to _sifields.sigfault.
14248 (si_trapno): Remove macro.
14249 (si_addr_lsb): Define new macro.
14250 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
14252 2013-05-15 Joseph Myers <joseph@codesourcery.com>
14254 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
14255 instead of TEST_f_l.
14256 (llrint_test_tonearest): Likewise.
14257 (llrint_test_towardzero): Likewise.
14258 (llrint_test_downward): Likewise.
14259 (llrint_test_upward): Likewise.
14260 (llround_test): Likewise.
14262 * math/libm-test.inc (struct test_f_i_data): Add comment.
14263 (RUN_TEST_LOOP_f_b): New macro.
14264 (RUN_TEST_LOOP_f_b_tg): Likewise.
14265 (finite_test_data): New variable.
14266 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
14267 (isfinite_test_data): New variable.
14268 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14269 (isinf_test_data): New variable.
14270 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14271 (isnan_test_data): New variable.
14272 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14273 (isnormal_test_data): New variable.
14274 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14275 (issignaling_test_data): New variable.
14276 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14277 (signbit_test_data): New variable.
14278 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14280 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
14281 with INVALID_EXCEPTION.
14282 (acosh_test_data): Likewise.
14283 (asin_test_data): Likewise.
14284 (atanh_test_data): Likewise.
14285 (fmod_test_data): Likewise.
14286 (log_test_data): Likewise.
14287 (log10_test_data): Likewise.
14288 (log2_test_data): Likewise.
14289 (pow_test_data): Likewise.
14290 (sqrt_test_data): Likewise.
14291 (y0_test_data): Likewise.
14292 (y1_test_data): Likewise.
14293 (yn_test_data): Likewise.
14295 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
14298 * math/libm-test.inc (struct test_ff_i_data): New type.
14299 (RUN_TEST_LOOP_ff_i_tg): New macro.
14300 (isgreater_test_data): New variable.
14301 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14302 (isgreaterequal_test_data): New variable.
14303 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14304 (isless_test_data): New variable.
14305 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14306 (islessequal_test_data): New variable.
14307 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14308 (islessgreater_test_data): New variable.
14309 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14310 (isunordered_test_data): New variable.
14311 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14313 2013-05-14 David S. Miller <davem@davemloft.net>
14315 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14317 2013-05-14 Joseph Myers <joseph@codesourcery.com>
14319 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
14321 * math/libm-test.inc (struct test_fF_f1_data): Change type of
14323 (struct test_f_i_data): Change type of max_ulp to int.
14325 * math/libm-test.inc (test_ffI_f1_data): New type.
14326 (RUN_TEST_LOOP_ffI_f1): New macro.
14327 (remquo_test_data): New variable.
14328 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
14330 * setjmp/tst-setjmp-fp.c: New file.
14331 * setjmp/Makefile (tests): Add tst-setjmp-fp.
14332 (link-libm): New variable.
14333 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
14335 * math/libm-test.inc (struct test_f_i_data): New type.
14336 (RUN_TEST_LOOP_f_i): New macro.
14337 (RUN_TEST_LOOP_f_i_tg): Likewise.
14338 (fpclassify_test_data): New variable.
14339 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
14340 (ilogb_test_data): New variable.
14341 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
14343 * math/libm-test.inc (scalbln_test): Correct function name in END
14346 * math/libm-test.inc (struct test_f_f1_data): Add comment.
14347 (RUN_TEST_LOOP_fI_f1): New macro.
14348 (frexp_test_data): New variable.
14349 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
14351 * math/libm-test.inc (struct test_fF_f1_data): New type.
14352 (RUN_TEST_LOOP_fF_f1): New macro.
14353 (modf_test_data): New variable.
14354 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
14356 * math/libm-test.inc (struct test_f_f1_data): New type.
14357 (RUN_TEST_LOOP_f_f1): New macro.
14358 (gamma_test_data): New variable.
14359 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
14360 (lgamma_test_data): New variable.
14361 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
14363 2013-05-13 Carlos O'Donell <carlos@redhat.com>
14365 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
14366 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
14367 (main): Comment "tls" pseudo-hwcap.
14369 2013-05-13 Joseph Myers <joseph@codesourcery.com>
14371 * math/libm-test.inc (struct test_fl_f_data): New type.
14372 (RUN_TEST_LOOP_fl_f): New variable.
14373 (scalbln_test_data): New variable.
14374 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
14376 * math/libm-test.inc (struct test_fi_f_data): New type.
14377 (RUN_TEST_LOOP_fi_f): New macro.
14378 (ldexp_test_data): New variable.
14379 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
14380 (scalbn_test_data): New variable.
14381 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
14383 * math/libm-test.inc (struct test_c_f_data): New type.
14384 (RUN_TEST_LOOP_c_f): New macro.
14385 (cabs_test_data): New variable.
14386 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
14387 (carg_test_data): New variable.
14388 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
14389 (cimag_test_data): New variable.
14390 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
14391 (creal_test_data): New variable.
14392 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
14394 * math/libm-test.inc (struct test_if_f_data): New type.
14395 (RUN_TEST_LOOP_if_f): New macro.
14396 (jn_test_data): New variable.
14397 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
14398 (yn_test_data): New variable.
14399 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
14401 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
14403 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14405 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
14406 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
14408 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
14410 * benchtests/Makefile (CPPFLAGS-nonlib): Add
14411 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
14412 (bench-deps): Add bench-timing.h.
14413 * benchtests-bench-skeleton.c: Include bench-timing.h.
14414 (main): Use TIMING_* macros instead of clock_gettime.
14415 * benchtests/bench-timing.h: New file.
14418 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
14419 Renamed from _LIB_VERSION.
14420 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
14422 2013-05-12 Joseph Myers <joseph@codesourcery.com>
14424 * math/libm-test.inc (struct test_fff_f_data): New type.
14425 (RUN_TEST_LOOP_fff_f): New macro.
14426 (fma_test_data): New variable.
14427 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
14428 (fma_towardzero_test_data): New variable.
14429 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
14430 (fma_downward_test_data): New variable.
14431 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
14432 (fma_upward_test_data): New variable.
14433 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
14435 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
14436 (struct test_c_c_data): New type.
14437 (RUN_TEST_LOOP_c_c): New macro.
14438 (cacos_test_data): New variable.
14439 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
14440 (cacosh_test_data): New variable.
14441 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
14442 (casin_test_data): New variable.
14443 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
14444 (casinh_test_data): New variable.
14445 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
14446 (catan_test_data): New variable.
14447 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
14448 (catanh_test_data): New variable.
14449 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
14450 (ccos_test_data): New variable.
14451 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
14452 (ccosh_test_data): New variable.
14453 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
14454 (cexp_test_data): New variable.
14455 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
14456 (clog_test_data): New variable.
14457 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
14458 (clog10_test_data): New variable.
14459 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
14460 (conj_test_data): New variable.
14461 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
14462 (cproj_test_data): New variable.
14463 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
14464 (csin_test_data): New variable.
14465 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
14466 (csinh_test_data): New variable.
14467 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
14468 (csqrt_test_data): New variable.
14469 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
14470 (ctan_test_data): New variable.
14471 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
14472 (ctan_tonearest_test_data): New variable.
14473 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
14474 (ctan_towardzero_test_data): New variable.
14475 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
14476 (ctan_downward_test_data): New variable.
14477 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
14478 (ctan_upward_test_data): New variable.
14479 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
14480 (ctanh_test_data): New variable.
14481 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
14482 (ctanh_tonearest_test_data): New variable.
14483 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
14484 (ctanh_towardzero_test_data): New variable.
14485 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
14486 (ctanh_downward_test_data): New variable.
14487 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
14488 (ctanh_upward_test_data): New variable.
14489 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
14490 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
14493 * math/libm-test.inc (struct test_ff_f_data): New type.
14494 (struct test_ff_f_data_nexttoward): Likewise.
14495 (RUN_TEST_LOOP_2_f): New macro.
14496 (RUN_TEST_LOOP_ff_f): Likewise.
14497 (atan2_test_data): New variable.
14498 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
14499 (copysign_test_data): New variable.
14500 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
14501 (fdim_test_data): New variable.
14502 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
14503 (fmax_test_data): New variable.
14504 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
14505 (fmin_test_data): New variable.
14506 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
14507 (fmod_test_data): New variable.
14508 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
14509 (hypot_test_data): New variable.
14510 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
14511 (nextafter_test_data): New variable.
14512 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
14513 (nexttoward_test_data): New variable.
14514 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
14515 (pow_test_data): New variable.
14516 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
14517 (pow_tonearest_test_data): New variable.
14518 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
14519 (pow_towardzero_test_data): New variable.
14520 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
14521 (pow_downward_test_data): New variable.
14522 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
14523 (pow_upward_test_data): New variable.
14524 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
14525 (remainder_test_data): New variable.
14526 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
14527 (scalb_test_data): New variable.
14528 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
14529 * sysdeps/i386/fpu/libm-test-ulps: Update.
14531 2013-05-11 Joseph Myers <joseph@codesourcery.com>
14533 * math/libm-test.inc (fma_test): Use max_value instead of local
14535 (nextafter_test): Likewise.
14537 * math/libm-test.inc (acos_towardzero_test_data): New variable.
14538 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14539 (acos_downward_test_data): New variable.
14540 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14541 (acos_upward_test_data): New variable.
14542 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14543 (acosh_test_data): New variable.
14544 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
14545 (asin_test_data): New variable.
14546 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
14547 (asin_tonearest_test_data): New variable.
14548 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14549 (asin_towardzero_test_data): New variable.
14550 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14551 (asin_downward_test_data): New variable.
14552 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14553 (asin_upward_test_data): New variable.
14554 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14555 (asinh_test_data): New variable.
14556 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
14557 (atan_test_data): New variable.
14558 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
14559 (atanh_test_data): New variable.
14560 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
14561 (cbrt_test_data): New variable.
14562 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
14563 (ceil_test_data): New variable.
14564 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
14565 (cos_test_data): New variable.
14566 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
14567 (cos_tonearest_test_data): New variable.
14568 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14569 (cos_towardzero_test_data): New variable.
14570 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14571 (cos_downward_test_data): New variable.
14572 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14573 (cos_upward_test_data): New variable.
14574 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14575 (cosh_test_data): New variable.
14576 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
14577 (cosh_tonearest_test_data): New variable.
14578 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14579 (cosh_towardzero_test_data): New variable.
14580 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14581 (cosh_downward_test_data): New variable.
14582 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14583 (cosh_upward_test_data): New variable.
14584 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14585 (erf_test_data): New variable.
14586 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
14587 (erfc_test_data): New variable.
14588 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
14589 (exp_test_data): New variable.
14590 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
14591 (exp_tonearest_test_data): New variable.
14592 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14593 (exp_towardzero_test_data): New variable.
14594 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14595 (exp_downward_test_data): New variable.
14596 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14597 (exp_upward_test_data): New variable.
14598 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14599 (exp10_test_data): New variable.
14600 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
14601 (exp2_test_data): New variable.
14602 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
14603 (expm1_test_data): New variable.
14604 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
14605 (fabs_test_data): New variable.
14606 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
14607 (floor_test_data): New variable.
14608 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
14609 (j0_test_data): New variable.
14610 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
14611 (j1_test_data): New variable.
14612 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
14613 (log_test_data): New variable.
14614 (log_test): Run tests with RUN_TEST_LOOP_f_f.
14615 (log10_test_data): New variable.
14616 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
14617 (log1p_test_data): New variable.
14618 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
14619 (log2_test_data): New variable.
14620 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
14621 (logb_test_data): New variable.
14622 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
14623 (logb_downward_test_data): New variable.
14624 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14625 (nearbyint_test_data): New variable.
14626 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
14627 (rint_test_data): New variable.
14628 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
14629 (rint_tonearest_test_data): New variable.
14630 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14631 (rint_towardzero_test_data): New variable.
14632 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14633 (rint_downward_test_data): New variable.
14634 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14635 (rint_upward_test_data): New variable.
14636 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14637 (round_test_data): New variable.
14638 (round_test): Run tests with RUN_TEST_LOOP_f_f.
14639 (sin_test_data): New variable.
14640 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
14641 (sin_tonearest_test_data): New variable.
14642 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14643 (sin_towardzero_test_data): New variable.
14644 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14645 (sin_downward_test_data): New variable.
14646 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14647 (sin_upward_test_data): New variable.
14648 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14649 (sinh_test_data): New variable.
14650 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
14651 (sinh_tonearest_test_data): New variable.
14652 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14653 (sinh_towardzero_test_data): New variable.
14654 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14655 (sinh_downward_test_data): New variable.
14656 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14657 (sinh_upward_test_data): New variable.
14658 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14659 (sqrt_test_data): New variable.
14660 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
14661 (tan_test_data): New variable.
14662 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
14663 (tan_tonearest_test_data): New variable.
14664 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14665 (tan_towardzero_test_data): New variable.
14666 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14667 (tan_downward_test_data): New variable.
14668 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14669 (tan_upward_test_data): New variable.
14670 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14671 (tanh_test_data): New variable.
14672 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
14673 (tgamma_test_data): New variable.
14674 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
14675 (trunc_test_data): New variable.
14676 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
14677 (y0_test_data): New variable.
14678 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
14679 (y1_test_data): New variable.
14680 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
14681 (significand_test_data): New variable.
14682 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
14684 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
14687 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
14689 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
14691 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
14693 2013-05-10 Andreas Jaeger <aj@suse.de>
14696 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
14697 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
14699 2013-05-10 Joseph Myers <joseph@codesourcery.com>
14701 * math/gen-libm-test.pl (adjust_arg): New function.
14702 (special_functions): Handle generating output in both functions
14704 (parse_args): Likewise.
14705 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
14706 $in_func argument to parse_args.
14707 * math/libm-test.inc (struct test_f_f_data): New type.
14708 (IF_ROUND_INIT_): New macro.
14709 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
14710 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
14711 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
14712 (IF_ROUND_INIT_FE_UPWARD): Likewise.
14713 (ROUND_RESTORE_): Likewise.
14714 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
14715 (ROUND_RESTORE_FE_TONEAREST): Likewise.
14716 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
14717 (ROUND_RESTORE_FE_UPWARD): Likewise.
14718 (RUN_TEST_LOOP_f_f): New macro.
14719 (acos_test_data): New variable.
14720 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
14721 (acos_tonearest_test_data): New variable.
14722 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14724 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14726 * benchtests/bench-skeleton.c (startup): Fix coding style.
14728 2013-05-10 Joseph Myers <joseph@codesourcery.com>
14731 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
14732 negative infinity argument.
14733 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
14734 negative infinity argument.
14735 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
14736 negative infinity argument.
14737 * math/libm-test.inc (tgamma_test): Expect errno to be set for
14740 2013-05-10 Florian Weimer <fweimer@redhat.com>
14742 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
14743 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
14744 * iconv/iconv_prog.c (main): Likewise.
14745 * locale/programs/charmap-dir.c (charmap_readdir)
14746 (fopen_uncompressed): Likewise.
14747 * locale/programs/locfile.c (siblings_uncached)
14748 (write_locale_data): Use lstat64 instead of lstat.
14749 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
14752 2013-05-10 Andreas Jaeger <aj@suse.de>
14755 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
14757 Include <locale.h>.
14759 2013-05-09 Carlos O'Donell <carlos@redhat.com>
14761 * elf/dl-close.c (_dl_close_worker): Add comments.
14763 2013-05-09 Joseph Myers <joseph@codesourcery.com>
14766 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
14768 (__ieee754_rem_pio2l): Update comments.
14771 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
14773 (__ieee754_rem_pio2l): Update comments.
14775 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
14776 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
14778 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
14781 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
14782 (M_PI_34_LOG10El): Likewise.
14783 (M_PI2_LOG10El): Likewise.
14784 (M_PI4_LOG10El): Likewise.
14785 (M_PI_LOG10El): Likewise.
14787 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14789 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14791 2013-05-08 Joseph Myers <joseph@codesourcery.com>
14793 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
14794 (MINUS_ZERO_INIT): Likewise.
14795 (PLUS_INFTY_INIT): Likewise.
14796 (MINUS_INFTY_INIT): Likewise.
14797 (QNAN_VALUE_INIT): Likewise.
14798 (MAX_VALUE_INIT): Likewise.
14799 (MIN_VALUE_INIT): Likewise.
14800 (MIN_SUBNORM_VALUE_INIT): Likewise.
14801 (plus_zero): Initialize with PLUS_ZERO_INIT.
14802 (minus_zero): Initialize with MINUS_ZERO_INIT.
14803 (plus_infty): Initialize with PLUS_INFTY_INIT.
14804 (minus_infty): Initialize with MINUS_INFTY_INIT.
14805 (qnan_value): Initialize with QNAN_VALUE_INIT.
14806 (max_value): Initialize with MAX_VALUE_INIT.
14807 (min_value): Initialize with MIN_VALUE_INIT.
14808 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
14810 * math/libm-test.inc (RUN_TEST_if_f): New macro.
14811 (jn_test): Use TEST_if_f instead of TEST_ff_f.
14812 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
14813 (yn_test): Use TEST_if_f instead of TEST_ff_f.
14815 * math/libm-test.inc (RUN_TEST_f_f): New macro.
14816 (RUN_TEST_2_f): Likewise.
14817 (RUN_TEST_ff_f): Likewise.
14818 (RUN_TEST_fi_f): Likewise.
14819 (RUN_TEST_fl_f): Likewise.
14820 (RUN_TEST_fff_f): Likewise.
14821 (RUN_TEST_c_f): Likewise.
14822 (RUN_TEST_f_f1): Likewise.
14823 (RUN_TEST_fF_f1): Likewise.
14824 (RUN_TEST_fI_f1): Likewise.
14825 (RUN_TEST_ffI_f1): Likewise.
14826 (RUN_TEST_c_c): Likewise.
14827 (RUN_TEST_cc_c): Likewise.
14828 (RUN_TEST_f_i): Likewise.
14829 (RUN_TEST_f_i_tg): Likewise.
14830 (RUN_TEST_ff_i_tg): Likewise.
14831 (RUN_TEST_f_b): Likewise.
14832 (RUN_TEST_f_b_tg): Likewise.
14833 (RUN_TEST_f_l): Likewise.
14834 (RUN_TEST_f_L): Likewise.
14835 (RUN_TEST_sincos): Likewise.
14836 * math/gen-libm-test.pl (new_test): Take new argument to indicate
14837 whether to show exceptions. Do not include ");\n" in return
14839 (special_functions): Output call to RUN_TEST_sincos instead of
14840 check_float calls. Update calls to new_test.
14841 (parse_args): Output call to single RUN_TEST_* macro instead of
14842 check_* calls and other assignments. Update calls to new_test.
14848 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
14849 input to result for tgamma overflow.
14850 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
14851 (gamma_coeff): New variable.
14852 (NCOEFF): New macro.
14853 (gamma_positive): New function.
14854 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
14855 underflow here. Use gamma_positive instead of exp (lgamma) for
14857 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
14858 (gamma_coeff): New variable.
14859 (NCOEFF): New macro.
14860 (gammaf_positive): New function.
14861 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
14862 underflow here. Use gamma_positive instead of exp (lgamma) for
14864 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
14865 (gamma_coeff): New variable.
14866 (NCOEFF): New macro.
14867 (gammal_positive): New function.
14868 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
14869 underflow here. Use gamma_positive instead of exp (lgamma) for
14871 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
14872 (gamma_coeff): New variable.
14873 (NCOEFF): New macro.
14874 (gammal_positive): New function.
14875 (__ieee754_gammal_r): Handle positive infinity, overflow and
14876 underflow here. Handle NaN the same as positive infinity. Remove
14877 check x < 0xffffffff for negative integers. Use gamma_positive
14878 instead of exp (lgamma) for other arguments.
14879 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
14880 (gamma_coeff): New variable.
14881 (NCOEFF): New macro.
14882 (gammal_positive): New function.
14883 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
14884 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
14885 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
14886 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
14887 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
14888 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
14889 * sysdeps/generic/math_private.h (__gamma_productf): New
14891 (__gamma_product): Likewise.
14892 (__gamma_productl): Likewise.
14893 * math/Makefile (libm-calls): Add gamma_product.
14894 * math/libm-test.inc (tgamma_test): Add more tests.
14895 * sysdeps/i386/fpu/libm-test-ulps: Update.
14896 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14898 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
14900 * benchtests/bench-skeleton.c (main): Preheat CPU.
14902 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
14904 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
14906 2013-05-07 Roland McGrath <roland@hack.frob.com>
14908 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
14909 and _dl_skip_args_internal.
14911 2013-05-07 Carlos O'Donell <carlos@redhat.com>
14913 * manual/message.texi (Message Translation): Talk about users.
14914 Message to key mapping impacts design.
14916 2013-05-06 Roland McGrath <roland@hack.frob.com>
14918 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
14920 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
14922 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
14923 * sysdeps/wordsize-64/glob64.c: ... here.
14925 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
14926 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
14929 * debug/getlogin_r_chk.c: Moved to ...
14930 * login/getlogin_r_chk.c: ... here.
14931 * debug/Makefile (routines): Move getlogin_r_chk to ...
14932 * login/Makefile (routines): ... here.
14933 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
14934 * login/Versions (libc: GLIBC_2.4): ... here.
14936 * io/poll.c (__poll): Renamed from poll.
14937 Add libc_hidden_def.
14938 (poll): Define as weak alias.
14940 * debug/ptsname_r_chk.c: Moved to ...
14941 * login/ptsname_r_chk.c: ... here.
14942 * debug/Makefile (routines): Move ptsname_r_chk to ...
14943 * login/Makefile (routines): ... here.
14944 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
14945 * login/Versions (libc: GLIBC_2.4): ... here.
14947 * posix/getlogin.c: Moved to ...
14948 * login/getlogin.c: ... here.
14949 * posix/getlogin_r.c: Moved to ...
14950 * login/getlogin_r.c: ... here.
14951 * posix/getlogin_r.c: Moved to ...
14952 * login/getlogin_r.c: ... here.
14953 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
14954 * login/Makefile (routines): ... here.
14955 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
14956 * login/Versions (libc: GLIBC_2.0): ... here.
14958 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
14959 (setrlimit): Define as weak alias.
14961 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
14962 Call __ names for open, ftruncate, and close.
14963 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
14964 (truncate): Define as weak alias.
14966 2013-05-06 Joseph Myers <joseph@codesourcery.com>
14968 * math/gen-libm-test.pl (parse_args): Initialize x before each
14969 test of frexp, modf and remquo.
14971 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
14972 test signgam value.
14974 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14978 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
14980 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14982 2013-05-06 Roland McGrath <roland@hack.frob.com>
14984 * elf/dl-writev.h: New file.
14985 * elf/dl-misc.c: Include it.
14986 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
14987 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
14989 2013-05-04 Joseph Myers <joseph@codesourcery.com>
14991 * math/libm-test.inc (noXFails): Remove variable.
14992 (noXPasses): Likewise.
14993 (BUILD_COMPLEX_INT): Remove macro.
14994 (print_screen): Remove xfail argument.
14995 (print_screen_max_error): Likewise.
14996 (update_stats): Likewise.
14997 (print_max_error): Likewise. Update calls to other affected
14999 (print_complex_max_error): Likewise.
15000 (test_single_exception): Update calls to print_screen.
15001 (test_single_errno): Likewise.
15002 (check_float_internal): Remove xfail argument. Update calls to
15003 other affected functions.
15004 (check_float): Likewise.
15005 (check_complex): Likewise.
15006 (check_int): Likewise.
15007 (check_long): Likewise.
15008 (check_bool): Likewise.
15009 (check_longlong): Likewise.
15010 (main): Don't print noXFails and noXPasses.
15011 * math/gen-libm-test.pl (top level): Don't mention expected
15012 failure handling in comment.
15013 (new_test): Don't handle expected failures.
15014 (parse_args): Don't mention expected failure handling in comment.
15015 (generate_testfile): Don't handle expected failures.
15016 (parse_ulps): Likewise.
15017 (print_ulps_file): Likewise.
15018 (get_failure): Remove function.
15019 (output_test): Don't handle expected failures.
15020 * make/README.libm-test: Don't mention expected failure handling.
15022 * math/libm-test.inc (plus_zero): Make const. Add initializer.
15023 (minus_zero): Likewise.
15024 (plus_infty): Likewise.
15025 (minus_infty): Likewise.
15026 (qnan_value): Likewise.
15027 (max_value): Likewise.
15028 (min_value): Likewise.
15029 (min_subnorm_value): Likewise.
15030 (initialize): Do not initialize those variables dynamically.
15032 2013-05-03 Roland McGrath <roland@hack.frob.com>
15034 * io/open.c (__open_2): Moved to ...
15035 * io/open_2.c: ... this new file.
15036 * io/open64.c (__open64_2): Moved to ...
15037 * io/open64_2.c: ... this new file.
15038 * io/openat.c (__openat_2): Moved to ...
15039 * io/openat_2.c: ... this new file.
15040 * io/openat64.c (__openat64_2): Moved to ...
15041 * io/openat64_2.c: ... this new file.
15042 * io/Makefile (routines): Add them.
15043 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
15044 * sysdeps/unix/sysv/linux/open_2.c: File removed.
15045 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
15046 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
15047 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
15048 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
15049 (__openat64): Add hidden_ver.
15050 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
15051 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
15053 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
15054 Separately conditionalize setting of GLRO(dl_sysinfo) so
15055 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
15056 as well, but the actual setting is only under [NEED_DL_SYSINFO].
15058 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15060 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
15061 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
15063 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
15064 * sysdeps/unix/sysv/linux/powerpc/init-first.c
15065 (_libc_vdso_platform_setup): Add __vdso_time initialization.
15066 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
15067 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
15069 2013-05-03 Joseph Myers <joseph@codesourcery.com>
15071 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
15072 test signgam value.
15074 * math/libm-test.inc (hypot_test): Do not use
15075 IGNORE_ZERO_INF_SIGN.
15077 2013-05-03 Andreas Jaeger <aj@suse.de>
15079 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
15081 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
15082 (PF_MAX): Adjust for VSOCK change.
15084 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15086 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15088 2013-05-02 Carlos O'Donell <carlos@redhat.com>
15091 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
15092 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
15093 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
15095 2013-05-02 David S. Miller <davem@davemloft.net>
15097 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15099 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
15101 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
15103 2013-05-01 Roland McGrath <roland@hack.frob.com>
15105 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
15107 2013-05-01 Richard Smith <richard@metafoo.co.uk>
15110 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
15111 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
15112 Use __attribute__ ((__gnu_inline__)).
15113 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
15114 Don't use __attribute__ ((__gnu_inline__)).
15116 2013-05-01 Joseph Myers <joseph@codesourcery.com>
15119 * math/s_catan.c (__catan): Handle small real or imaginary part of
15120 input specially to avoid spurious underflow.
15121 * math/s_catanf.c (__catanf): Likewise.
15122 * math/s_catanh.c (__catanh): Likewise.
15123 * math/s_catanhf.c (__catanhf): Likewise.
15124 * math/s_catanhl.c (__catanhl): Likewise.
15125 * math/s_catanl.c (__catanl): Likewise.
15126 * math/libm-test.inc (catan_test): Add more tests.
15127 (catanh_test): Likewise.
15128 * sysdeps/i386/fpu/libm-test-ulps: Update.
15129 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15131 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15133 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15135 2013-04-30 Joseph Myers <joseph@codesourcery.com>
15138 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
15139 accurately for denominator in atan2.
15140 * math/s_catanf.c (__catanf): Likewise.
15141 * math/s_catanh.c (__catanh): Likewise.
15142 * math/s_catanhf.c (__catanhf): Likewise.
15143 * math/s_catanhl.c (__catanhl): Likewise.
15144 * math/s_catanl.c (__catanl): Likewise.
15145 * math/libm-test.inc (catan_test): Add more tests.
15146 (catanh_test): Likewise.
15147 * sysdeps/i386/fpu/libm-test-ulps: Update.
15148 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15150 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15152 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
15154 * benchtests/Makefile (bench): Remove slow benchmarks.
15155 * benchtests/atan-inputs: Add slow benchmark inputs.
15156 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
15157 (BENCH_FUNC): Accept variant offset.
15159 * benchtests/bench-skeleton.c (main): Run benchmark for each
15161 * benchtests/cos-inputs: Add slow benchmark inputs.
15162 * benchtests/exp-inputs: Likewise.
15163 * benchtests/pow-inputs: Likewise.
15164 * benchtests/sin-inputs: Likewise.
15165 * benchtests/slowatan-inputs: Remove.
15166 * benchtests/slowatan.c: Remove.
15167 * benchtests/slowcos-inputs: Remove.
15168 * benchtests/slowcos.c: Remove.
15169 * benchtests/slowexp-inputs: Remove.
15170 * benchtests/slowexp.c: Remove.
15171 * benchtests/slowpow-inputs: Remove.
15172 * benchtests/slowpow.c: Remove.
15173 * benchtests/slowsin-inputs: Remove.
15174 * benchtests/slowsin.c: Remove.
15175 * benchtests/slowtan-inputs: Remove.
15176 * benchtests/slowtan.c: Remove.
15177 * benchtests/tan-inputs: Add slow benchmark inputs.
15178 * scripts/bench.pl: Parse comments and directives.
15180 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
15182 ($(objpfx)bench-%.c): Remove *-ITER.
15183 * benchtests/bench-modf.c: Remove definition of ITER.
15184 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
15185 (main): Loop for DURATION seconds instead of fixed number of
15187 * scripts/bench.pl: Don't expect iterations in parameters.
15189 2013-04-29 Roland McGrath <roland@hack.frob.com>
15191 * io/fchdir.c (__fchdir): Renamed from fchdir.
15192 (fchdir): Define as weak alias.
15194 2013-04-29 Joseph Myers <joseph@codesourcery.com>
15196 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
15197 (ERRNO_EDOM): Likewise.
15198 (ERRNO_ERANGE): Likewise.
15199 (noErrnoTests): New variable.
15200 (init_max_error): Set errno to 0.
15201 (test_single_errno): New function.
15202 (test_errno): Likewise.
15203 (check_float_internal): Call test_errno. Set errno to 0.
15204 (check_complex): Refer to errno tests in comment.
15205 (check_int): Call test_errno. Set errno to 0.
15206 (check_long): Likewise.
15207 (check_bool): Likewise.
15208 (check_longlong): Likewise.
15209 (cos_test): Use ERRNO_* flags for errno tests instead of
15211 (expm1_test): Likewise.
15212 (fmod_test): Likewise.
15213 (ilogb_test): Likewise.
15214 (lgamma_test): Likewise.
15215 (pow_test): Likewise.
15216 (remainder_test): Likewise.
15217 (sin_test): Likewise.
15218 (tan_test): Likewise.
15219 (yn_test): Likewise.
15220 (initialize): Set errno to 0.
15221 (main): Print number of errno tests.
15222 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
15224 2013-04-29 Andreas Jaeger <aj@suse.de>
15227 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
15231 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
15232 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
15236 * stdlib/random.c (__initstate): Return NULL if
15240 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
15241 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
15244 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15246 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15248 2013-04-29 Joseph Myers <joseph@codesourcery.com>
15250 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
15251 of individual tests.
15252 (casin_test): Likewise.
15253 (casinh_test): Likewise.
15255 2013-04-27 Joseph Myers <joseph@codesourcery.com>
15258 * math/s_catan.c (__catan): Handle arguments with large real or
15259 imaginary part separately without squaring.
15260 * math/s_catanf.c (__catanf): Likewise.
15261 * math/s_catanh.c (__catanh): Likewise.
15262 * math/s_catanhf.c (__catanhf): Likewise.
15263 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15265 (__catanhl): Handle arguments with large real or imaginary part
15266 separately without squaring.
15267 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15269 (__catanl): Handle arguments with large real or imaginary part
15270 separately without squaring.
15271 * math/libm-test.inc (catan_test): Add more tests.
15272 (catanh_test): Likewise.
15273 * sysdeps/i386/fpu/libm-test-ulps: Update.
15274 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15276 2013-04-27 Andreas Jaeger <aj@suse.de>
15279 * stdlib/stdlib.h: Update guards for qecvt.
15280 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
15283 2013-04-27 Allan McRae <allan@archlinux.org>
15285 * sysdeps/i386/fpu/libm-test-ulps: Update.
15287 2013-04-26 Joseph Myers <joseph@codesourcery.com>
15290 * math/s_catan.c: Include <float.h>.
15291 (__catan): Ensure underflow exception occurs for underflowed
15293 * math/s_catanf.c: Include <float.h>.
15294 (__catanf): Ensure underflow exception occurs for underflowed
15296 * math/s_catanh.c: Include <float.h>.
15297 (__catanh): Ensure underflow exception occurs for underflowed
15299 * math/s_catanhf.c: Include <float.h>.
15300 (__catanhf): Ensure underflow exception occurs for underflowed
15302 * math/s_catanhl.c: Include <float.h>.
15303 (__catanhl): Ensure underflow exception occurs for underflowed
15305 * math/s_catanl.c: Include <float.h>.
15306 (__catanl): Ensure underflow exception occurs for underflowed
15308 * math/libm-test.inc (catan_test): Add more tests.
15309 (catanh_test): Likewise.
15312 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
15313 underflowed result.
15314 * math/s_ccoshf.c (__ccoshf): Likewise.
15315 * math/s_ccoshl.c (__ccoshl): Likewise.
15316 * math/s_csin.c (__csin): Likewise.
15317 * math/s_csinf.c (__csinf): Likewise.
15318 * math/s_csinh.c (__csinh): Likewise.
15319 * math/s_csinhf.c (__csinhf): Likewise.
15320 * math/s_csinhl.c (__csinhl): Likewise.
15321 * math/s_csinl.c (__csinl): Likewise.
15322 * math/libm-test.inc (ccos_test): Add more tests.
15323 (ccosh_test): Likewise.
15324 (csin_test): Likewise.
15325 (csinh_test): Likewise.
15327 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15329 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
15330 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
15331 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
15332 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
15333 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
15334 powerpc/power5+/fpu folders.
15335 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
15338 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
15340 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15342 2013-04-25 Joseph Myers <joseph@codesourcery.com>
15344 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
15345 additions to variable.
15346 [$(config-machine) = x86_64] (modules-names): Likewise.
15347 ($(objpfx)tst-audit3): Remove dependency.
15348 ($(objpfx)tst-audit3.out): Likewise.
15349 ($(objpfx)tst-audit4): Likewise.
15350 ($(objpfx)tst-audit4.out): Likewise.
15351 ($(objpfx)tst-audit5): Likewise.
15352 ($(objpfx)tst-audit5.out): Likewise.
15353 ($(objpfx)tst-audit6): Likewise.
15354 ($(objpfx)tst-audit6.out): Likewise.
15355 ($(objpfx)tst-audit7): Likewise.
15356 ($(objpfx)tst-audit7.out): Likewise.
15357 (tst-audit3-ENV): Remove variable.
15358 (tst-audit4-ENV): Likewise.
15359 (tst-audit5-ENV): Likewise.
15360 (tst-audit6-ENV): Likewise.
15361 (tst-audit7-ENV): Likewise.
15362 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
15363 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
15364 addition to variable.
15365 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
15366 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
15367 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
15368 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
15369 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
15370 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
15371 tst-audit3, tst-audit4 and tst-audit5.
15372 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
15373 tst-audit6 and tst-audit7.
15374 [$(subdir) = elf] (modules-names): Add audit modules for those
15376 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
15377 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
15378 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
15379 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
15380 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
15381 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
15382 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
15383 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
15384 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
15385 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
15386 [$(subdir) = elf] (tst-audit3-ENV): New variable.
15387 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
15388 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
15389 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
15390 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
15391 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
15393 [$(subdir) = elf && $(config-cflags-avx) = yes]
15394 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
15395 [$(subdir) = elf && $(config-cflags-avx) = yes]
15396 (CFLAGS-tst-auditmod4a.c): Likewise.
15397 [$(subdir) = elf && $(config-cflags-avx) = yes]
15398 (CFLAGS-tst-auditmod4b.c): Likewise.
15399 [$(subdir) = elf && $(config-cflags-avx) = yes]
15400 (CFLAGS-tst-auditmod6b.c): Likewise.
15401 [$(subdir) = elf && $(config-cflags-avx) = yes]
15402 (CFLAGS-tst-auditmod6c.c): Likewise.
15403 [$(subdir) = elf && $(config-cflags-avx) = yes]
15404 (CFLAGS-tst-auditmod7b.c): Likewise.
15405 * elf/tst-audit3.c: Move to ...
15406 * sysdeps/x86_64/tst-audit3.c: ... here.
15407 * elf/tst-audit4.c: Move to ...
15408 * sysdeps/x86_64/tst-audit4.c: ... here.
15409 * elf/tst-audit5.c: Move to ...
15410 * sysdeps/x86_64/tst-audit5.c: ... here.
15411 * elf/tst-audit6.c: Move to ...
15412 * sysdeps/x86_64/tst-audit6.c: ... here.
15413 * elf/tst-audit7.c: Move to ...
15414 * sysdeps/x86_64/tst-audit7.c: ... here.
15415 * elf/tst-auditmod3a.c: Move to ...
15416 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
15417 * elf/tst-auditmod3b.c: Move to ...
15418 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
15419 * elf/tst-auditmod4a.c: Move to ...
15420 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
15421 * elf/tst-auditmod4b.c: Move to ...
15422 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
15423 * elf/tst-auditmod5a.c: Move to ...
15424 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
15425 * elf/tst-auditmod5b.c: Move to ...
15426 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
15427 * elf/tst-auditmod6a.c: Move to ...
15428 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
15429 * elf/tst-auditmod6b.c: Move to ...
15430 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
15431 * elf/tst-auditmod6c.c: Move to ...
15432 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
15433 * elf/tst-auditmod7a.c: Move to ...
15434 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
15435 * elf/tst-auditmod7b.c: Move to ...
15436 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
15438 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
15441 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
15442 define unconditionally.
15443 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
15444 define unconditionally.
15445 (INT8_C, INT16_C, etc.): Likewise.
15447 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
15449 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
15450 __ehdr_start with hidden visibility.
15452 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
15454 2013-04-24 Carlos O'Donell <carlos@redhat.com>
15456 * math/libm-test.inc (cos_test): Use accurate hex constants.
15457 (sincost_test): Likewise.
15459 2013-04-24 Joseph Myers <joseph@codesourcery.com>
15461 * math/libm-test.inc (catan_test): Add more tests.
15462 (catanh_test): Likewise.
15464 * math/s_catanf.c (__catanf): Use suffixed floating-point
15466 * math/s_catanhf.c (__catanhf): Likewise.
15467 * math/s_catanhl.c (__catanhl): Likewise.
15468 * math/s_catanl.c (__catanl): Likewise.
15471 * math/s_catan.c (__catan): Calculate imaginary part of result
15472 with log1p not log unless computing log of number close to 0.
15473 * math/s_catanf.c (__catanf): Likewise.
15474 * math/s_catanl.c (__catanl): Likewise.
15475 * math/s_catanh.c (__catanh): Calculate real part of result with
15476 log1p not log unless computing log of number close to 0.
15477 * math/s_catanhf.c (__catanhf): Likewise.
15478 * math/s_catanhl.c (__catanhl): Likewise.
15479 * math/libm-test.inc (catan_test): Add more tests.
15480 (catanh_test): Likewise.
15481 * sysdeps/i386/fpu/libm-test-ulps: Update.
15482 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15484 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15486 * benchtests/Makefile: Mention files in which fast and slow
15487 paths of math functions are implemented.
15489 2013-04-23 Roland McGrath <roland@hack.frob.com>
15491 * sysdeps/posix/timespec_get.c: New file.
15493 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15495 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
15497 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
15499 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
15500 powerpc/power5/fpu folders.
15501 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
15502 * benchtests/Makefile: Add modf testcase.
15503 * benchtests/bench-modf.c: New file: Benchmark test for mo
15505 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
15508 * time/Makefile (tests): Add tst-strptime-whitespace.
15509 * time/strptime_l.c (get_number): Use ISSPACE.
15510 (__strptime_internal): Likewise.
15511 * time/tst-strptime-whitespace.c: New test case.
15513 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
15515 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
15517 (_nss_files_init): Set it here.
15519 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
15521 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
15522 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
15525 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
15527 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
15529 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
15531 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
15534 2013-04-21 David S. Miller <davem@davemloft.net>
15536 * po/ru.po: Update Russion translation from translation project.
15538 2013-04-17 Adam Conrad <adconrad@0c3.net>
15540 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
15543 2013-04-17 Carlos O'Donell <carlos@redhat.com>
15545 * configure.in: Remove i386 configure warning. Remove i386 case.
15546 * configure: Regenerate.
15547 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
15548 Add example to error message.
15549 * sysdeps/i386/configure: Regenerate.
15551 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
15553 * benchtests/Makefile (bench): Add cos, tan, slowcos and
15555 * benchtests/cos-inputs: New file.
15556 * benchtests/slowcos-inputs: New file.
15557 * benchtests/slowcos.c: New file.
15558 * benchtests/slowtan-inputs: New file.
15559 * benchtests/slowtan.c: New file.
15560 * benchtests/tan-inputs: New file.
15562 2013-04-16 Roland McGrath <roland@hack.frob.com>
15564 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
15567 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15569 * benchtests/Makefile: Include cppflags-iterator.mk to add
15570 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
15572 * Makefile.in (bench-clean): New target.
15573 * benchtests/Makefile (bench-clean): Likewise.
15575 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
15577 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
15579 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
15581 * stdio-common/tstdiomisc.c: Fix coding-style violation.
15583 2013-04-15 Andreas Schwab <schwab@suse.de>
15585 * nscd/grpcache.c (cache_addgr): Properly check for short write.
15586 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15587 * nscd/pwdcache.c (cache_addpw): Likewise.
15588 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
15591 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15593 * benchtests/Makefile (bench): Write all output to
15594 bench-out.tmp together.
15596 2013-04-15 Andreas Schwab <schwab@suse.de>
15598 * nscd/nscd.c (main): Don't fork again after closing files.
15600 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15602 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
15604 * benchtests/Rules (bench-deps): Collect dependencies into a
15605 single variable. Add Makefile to dependencies.
15606 ($(objpfx)bench-%.c): Depend on bench-deps.
15608 2013-04-12 Roland McGrath <roland@hack.frob.com>
15609 Xavier Roche <roche+kml2@exalead.com>
15612 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
15613 just that it's a file descriptor.
15614 * manual/llio.texi (Synchronizing AIO Operations): Update description
15615 for EBADF error from aio_fsync.
15617 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15619 * Rules (bench): Move target definition...
15620 * benchtests/Makefile: ... here.
15622 2013-04-11 Carlos O'Donell <carlos@redhat.com>
15624 * math/libm-test.inc (cos_test): Fix PI/2 test.
15625 (sincos_test): Likewise.
15626 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
15627 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
15629 2013-04-11 Andreas Schwab <schwab@suse.de>
15632 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
15633 accept exponent character only when digits were seen.
15634 * stdio-common/Makefile (tests): Add bug26.
15635 * stdio-common/bug26.c: New file.
15638 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
15641 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15643 * Makeconfig (rtld-prefix): Define built linker prefix.
15644 * Rules (run-bench): Use it.
15645 * math/Makefile (run-regen-ulps): Likewise.
15647 * Rules (bench): Remove eval.
15649 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15650 Roland McGrath <roland@hack.frob.com>
15651 Ondrej Bilka <neleai@seznam.cz>
15654 * time/getdate.c: Include ctype.h and alloca.h.
15655 (__getdate_r): Trim leading and trailing spaces of input.
15656 * time/tst-getdate.c (tests): Add tests with leading and
15659 2013-04-08 Roland McGrath <roland@hack.frob.com>
15662 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
15663 when computing value.
15665 2013-04-06 Carlos O'Donell <carlos@redhat.com>
15667 * math/README.libm-test (How can I generate "libm-test-ulps"?):
15668 Use testrun.sh to run libm tests.
15671 * elf/dl-open.c (dl_open_worker): memset all of seen array.
15673 2013-04-06 Marko Myllynen <myllynen@redhat.com>
15676 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
15678 2013-04-06 Carlos O'Donell <carlos@redhat.com>
15680 * Makefile.in (regen-ulps): New target.
15681 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
15682 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
15683 [ifneq (no,$(PERL)] (regen-ulps): New target.
15684 [ifeq (no,$(PERL)] (regen-ulps): New target.
15685 * math/libm-test.inc (ulps_file_name): Define.
15686 (output_dir): New variable.
15687 (options): Add "output-dir" option.
15688 (parse_opt): Handle 'o' case.
15689 (main): If output_dir is non-NULL use it as a prefix
15691 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
15693 2013-04-06 Carlos O'Donell <carlos@redhat.com>
15695 [BZ #10060, #10062]
15696 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
15697 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
15698 fail configure if __sync_val_compare_and_swap is not inlined.
15699 * sysdeps/i386/configure: Regenerate.
15700 * configure.in: Build for i686 when configured for i386.
15701 * configure: Regenerate.
15702 * README: Remove i386 reference.
15704 2013-04-06 Carlos O'Donell <carlos@redhat.com>
15706 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
15707 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15709 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
15711 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
15712 (lmsnanval): New variables.
15713 (F): Add conversion tests.
15714 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
15715 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
15717 * stdio-common/tstdiomisc.c (F): Properly collect individual
15720 [BZ #14686, #15336]
15721 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
15722 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
15723 Instead, use input NaN values or generate a qNaN by arithmetic
15724 operation. Also fix bugs to comply with the standard.
15725 * math/libm-test.inc (remainder_test): Add more tests.
15727 [BZ #15335, #15342]
15728 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
15729 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
15730 input NaN values or generate a qNaN by arithmetic operation.
15732 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
15735 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
15738 2013-04-03 Joseph Myers <joseph@codesourcery.com>
15741 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
15742 underflowed result.
15743 * math/s_cexpf.c (__cexpf): Likewise.
15744 * math/s_cexpl.c (__cexpl): Likewise.
15745 * math/libm-test.inc (cexp_test): Add more tests.
15747 2013-04-03 Andreas Schwab <schwab@suse.de>
15750 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
15751 order arrays from heap if bigger than alloca cutoff.
15753 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
15755 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
15756 (SNAN_TESTS_double): Refer to GCC PR56831.
15757 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
15760 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
15762 * Rules (bench): Move bench.out after the run is complete.
15764 * Rules (bench): Echo currently running benchmark.
15766 * benchtests/Makefile (bench): Add atan and slowatan.
15767 * benchtests/atan-inputs: New file.
15768 * benchtests/slowatan-inputs: New file.
15769 * benchtests/slowatan.c: New file.
15771 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
15772 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
15776 * sysdeps/unix/sysv/linux/kernel-features.h
15777 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
15778 __ASSUME_XFS_RESTRICTED_CHOWN.
15779 * sysdeps/unix/sysv/linux/pathconf.c
15780 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
15781 Save and restore errno.
15783 2013-04-02 Joseph Myers <joseph@codesourcery.com>
15786 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
15787 arguments using __kernel_casinh.
15788 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
15789 arguments using __kernel_casinhf.
15790 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
15791 arguments using __kernel_casinhl.
15792 * math/libm-test.inc (cacosh_test): Add more tests.
15793 * sysdeps/i386/fpu/libm-test-ulps: Update.
15794 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15796 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
15798 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
15799 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
15801 * bench/Makefile (bench): Add sin and slowsin.
15802 * benchtests/sin-inputs: New file.
15803 * benchtests/slowsin-inputs: New file.
15804 * benchtests/slowsin.c: New file.
15806 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
15807 (bench): Add slowexp and slowpow.
15808 (exp-ITER): Increase iterations.
15809 (pow-ITER): Likewise.
15810 * benchtests/exp-inputs: Change input.
15811 * benchtests/pow-inputs: Likewise.
15812 * benchtests/slowexp-inputs: New file.
15813 * benchtests/slowexp.c: New file.
15814 * benchtests/slowpow-inputs: New file.
15815 * benchtests/slowpow.c: New file.
15817 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15819 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
15821 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
15822 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
15823 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
15824 * benchtests/Makefile: Add rint benchtest.
15825 * benchtests/rint-inputs: Input for rint benchtest.
15827 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
15829 * Versions.def (libm): Add GLIBC_2.18.
15830 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
15831 hidden libm prototypes.
15832 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
15833 * math/Makefile (libm-calls): Add s_issignaling.
15834 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
15835 __issignalingf, __issignalingl. Adjust all libm.abilist files.
15836 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
15838 * math/math.h [__USE_GNU] (issignaling): New macro.
15839 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
15840 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
15841 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
15842 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
15843 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
15844 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
15845 * manual/arith.texi (issignaling): New section.
15846 * manual/libm-err-tab.pl (@all_functions): Update comment.
15847 * math/gen-libm-test.pl (parse_args): Apply special handling for
15849 * math/libm-test.inc (print_float, issignaling_test): New
15851 (check_float_internal): Add issignaling checks.
15852 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
15853 default definition.
15854 * sysdeps/powerpc/math-tests.h: New file.
15855 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
15857 * math/test-snan.c (TEST_FUNC): Likewise.
15859 2013-03-30 David S. Miller <davem@davemloft.net>
15861 * po/de.po: Update from translation team.
15863 2013-03-30 Joseph Myers <joseph@codesourcery.com>
15866 * math/k_casinh.c (__kernel_casinh): Handle arguments with
15867 imaginary part less than 1.0 and real part less than 0.5
15869 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15870 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15871 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
15872 (cacos_test): Add more tests.
15873 (casin_test): Likewise.
15874 (casinh_test): Likewise.
15875 * sysdeps/i386/fpu/libm-test-ulps: Update.
15876 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15878 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15880 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
15881 ONE with its value.
15883 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
15884 (__pow_mp): Replace ONE and MONE with their values.
15885 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15886 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
15887 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15888 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
15889 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15890 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15892 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
15894 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
15895 (__pow_mp): Replace ZERO and MZERO with their values.
15896 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
15897 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15898 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15899 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
15900 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15901 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
15904 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
15906 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
15908 2013-03-28 Roland McGrath <roland@hack.frob.com>
15910 * include/stdlib.h [!SHARED] (__call_tls_dtors):
15911 Declare with __attribute__ ((weak)).
15912 * stdlib/exit.c (__libc_atexit) [!SHARED]:
15913 Call __call_tls_dtors only if it's not NULL.
15915 2013-03-28 Roland McGrath <roland@hack.frob.com>
15917 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
15918 didn't do it already, then set _dl_phdr and _dl_phnum based on the
15919 magic __ehdr_start linker symbol if it's defined.
15920 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
15921 them up here if it was already done.
15923 * elf/dl-support.c (_dl_phdr): Make pointer to const.
15924 (_dl_aux_init): Use const in cast when setting it.
15925 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
15926 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
15927 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
15929 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
15931 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
15932 * csu/libc-tls.c: Nor here.
15933 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
15935 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
15936 (__libc_message): Never call vsyslog.
15938 2013-03-28 Alan Modra <amodra@gmail.com>
15940 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
15942 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
15945 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15948 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
15950 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15952 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15955 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
15956 Don't add gid passed as argument.
15958 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
15960 2013-03-27 Joseph Myers <joseph@codesourcery.com>
15963 * math/k_casinh.c (__kernel_casinh): Handle arguments with
15964 imaginary part between 1.0 and 1.5 and real part less than 0.5
15966 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15967 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15968 * math/libm-test.inc (cacos_test): Add more tests.
15969 (casin_test): Likewise.
15970 (casinh_test): Likewise.
15971 * sysdeps/i386/fpu/libm-test-ulps: Update.
15972 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15974 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15976 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
15979 (denorm): Likewise.
15980 (__dbl_mp): Likewise.
15981 (add_magnitudes): Likewise.
15982 (sub_magnitudes): Likewise.
15990 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
15992 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
15993 (__dubcos): Likewise.
15994 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
15995 (__ieee754_acos): Likewise.
15996 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
15997 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
15998 (__exp1): Likewise.
15999 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
16000 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
16002 (my_log2): Likewise.
16003 (checkint): Likewise.
16004 * sysdeps/ieee754/dbl-64/e_remainder.c
16005 (__ieee754_remainder): Likewise.
16006 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
16007 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
16008 (bsloww): Likewise.
16009 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
16011 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
16012 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
16013 MANTISSA_STORE_T to store computations on mantissa. Use
16014 macros for rounding and division.
16015 (denorm): Likewise.
16016 (__dbl_mp): Likewise.
16017 (add_magnitudes): Likewise.
16018 (sub_magnitudes): Likewise.
16021 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
16022 powers of two in terms of TWOPOW macro.
16023 (mp_no): Make type of mantissa as MANTISSA_T.
16024 [!RADIXI]: Define RADIXI.
16025 [!TWO52]: Define TWO52.
16026 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
16028 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16030 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
16031 llroundl symbol when building for PPC32.
16033 2013-03-24 Mark H Weaver <mhw@netris.org>
16035 * manual/arith.texi (Normalization Functions): Fix prototypes for
16036 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
16038 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16041 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
16042 high value to check if expl overflow.
16043 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
16044 to check for underflow and overflow.
16045 * math/libm-test.inc: Add exp test.
16047 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
16050 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
16053 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16055 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
16058 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
16060 * math/gen-libm-test.pl (parse_args, special_functions): Properly
16061 wrap blocks consisting of several statements.
16063 * sysdeps/generic/math-tests.h: New file.
16064 * sysdeps/i386/fpu/math-tests.h: Likewise.
16065 * math/test-snan.c: Include it.
16066 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
16068 2013-03-21 Joseph Myers <joseph@codesourcery.com>
16071 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
16072 (__ieee754_j0l): Do not improve calculations using cos of twice
16073 input for inputs above LDBL_MAX / 2.0L.
16074 (__ieee754_y0l): Likewise.
16075 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
16076 (__ieee754_j1l): Do not improve calculations using cos of twice
16077 input for inputs above LDBL_MAX / 2.0L.
16078 (__ieee754_y1l): Likewise.
16079 * math/libm-test.inc (j0_test): Add another test.
16080 (j1_test): Likewise.
16081 (y0_test): Likewise.
16082 (y1_test): Likewise.
16083 * sysdeps/i386/fpu/libm-test-ulps: Update.
16085 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16087 * Rules ($(objpfx)bench-%.c): Include code from a C source
16090 2013-03-21 Joseph Myers <joseph@codesourcery.com>
16093 * math/k_casinh.c (__kernel_casinh): Handle arguments with
16094 imaginary part 1.0 and real part less than 0.5 specially.
16095 * math/k_casinhf.c (__kernel_casinhf): Likewise.
16096 * math/k_casinhl.c (__kernel_casinhl): Likewise.
16097 * math/libm-test.inc (cacos_test): Add more tests.
16098 (casin_test): Likewise.
16099 (casinh_test): Likewise.
16100 * sysdeps/i386/fpu/libm-test-ulps: Update.
16101 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16103 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16105 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
16106 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
16108 2013-03-20 Joseph Myers <joseph@codesourcery.com>
16110 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
16111 * config.make.in (config-cflags-sse4): Remove variable.
16112 (config-cflags-avx): Likewise.
16113 (config-cflags-sse2avx): Likewise.
16114 (config-cflags-novzeroupper): Likewise.
16115 (config-asflags-i686): Likewise.
16116 (have-mfma4): Likewise.
16117 (have-as-vis3): Likewise.
16119 * configure.in (MIG): Do not AC_SUBST.
16120 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
16121 (libc_cv_cc_sse4): Do not AC_SUBST.
16122 (libc_cv_cc_avx): Likewise.
16123 (libc_cv_cc_sse2avx): Likewise.
16124 (libc_cv_cc_novzeroupper): Likewise.
16125 (libc_cv_cc_fma4): Likewise.
16126 (libc_cv_as_i686): Likewise.
16127 (libc_cv_sparc_as_vis3): Likewise.
16128 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
16130 (config-asflags-i686): Likewise.
16131 (config-cflags-avx): Likewise.
16132 (config-cflags-sse2avx): Likewise.
16133 (have-mfma4): Likewise.
16134 (config-cflags-novzeroupper): Likewise.
16135 * sysdeps/mach/configure.in (MIG): Likewise.
16136 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
16137 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
16139 (config-cflags-avx): Likewise.
16140 (config-cflags-sse2avx): Likewise.
16141 (have-mfma4): Likewise.
16142 (config-cflags-novzeroupper): Likewise.
16143 * configure: Regenerated.
16144 * sysdeps/i386/configure: Likewise.
16145 * sysdeps/mach/configure: Likewise.
16146 * sysdeps/sparc/configure: Likewise.
16147 * sysdeps/x86_64/configure: Likewise.
16149 2013-03-20 Roland McGrath <roland@hack.frob.com>
16152 * locale/programs/localedef.c (options): Put N_ translation marker
16153 on argument names, not just descriptions.
16155 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16157 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
16159 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
16162 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
16164 2013-03-19 Roland McGrath <roland@hack.frob.com>
16166 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
16167 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
16168 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
16169 [!BEFORE_ABORT] (before_abort): New function.
16170 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
16171 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
16172 (writev_for_fatal): New function.
16173 (WRITEV_FOR_FATAL): New macro; call that.
16174 (backtrace_and_maps): New function.
16175 (BEFORE_ABORT): New macro; call that.
16176 (struct str_list): Type removed.
16177 (__libc_message, __libc_fatal): Functions removed.
16178 Include <sysdeps/posix/libc_fatal.c> instead.
16180 2013-03-19 Joseph Myers <joseph@codesourcery.com>
16182 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
16184 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
16187 2013-03-19 Andreas Schwab <schwab@suse.de>
16189 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
16190 * sysdeps/gnu/configure: Regenerate.
16192 * configure.in: Substitute libc_cv_rtlddir.
16193 * configure: Regenerate.
16194 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
16195 * Makeconfig (rtlddir, inst_rtlddir): New variables.
16196 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
16197 * elf/Makefile (install-others, CFLAGS-interp.c)
16198 (ldso_install, common-ldd-rewrite): Likewise.
16199 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
16200 $(inst_slibdir)/$(rtld-installed-name).
16201 * scripts/rellns-sh: Add -p option.
16202 * Makerules (make-shlib-link): Use rellns-sh to get relative name
16205 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16207 * manual/nptl.texi: Renamed to ...
16208 * manual/threads.texi: ... this.
16209 * manual/Makefile (chapters): Update.
16211 2013-03-18 Roland McGrath <roland@hack.frob.com>
16214 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
16215 on argument names, not just descriptions.
16216 * malloc/memusagestat.c (options): Likewise.
16217 * nss/getent.c (options): Likewise.
16219 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
16222 * iconv/iconv_prog.c (options): Put N_ translation marker
16223 on argument names, not just descriptions.
16224 * iconv/iconvconfig.c (options): Likewise.
16226 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
16228 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
16229 implementation which is faster on all x86_64 architectures.
16230 Tested on AMD, Intel Nehalem, SNB, IVB.
16231 * sysdeps/x86_64/strnlen.S: Likewise.
16233 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
16234 Remove all multiarch strlen and strnlen versions.
16235 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
16236 Remove strlen and strnlen related parts.
16238 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
16239 Inline strlen part.
16240 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
16242 * sysdeps/x86_64/multiarch/strlen.S: Remove.
16243 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
16244 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
16245 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
16246 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
16247 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
16249 2013-03-17 Carlos O'Donell <carlos@redhat.com>
16251 * manual/memory.texi (Malloc Tunable Parameters):
16252 Sort parameters alphabetically. Add comments for missing entries.
16254 2013-03-17 David S. Miller <davem@davemloft.net>
16256 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16258 2013-03-16 Joseph Myers <joseph@codesourcery.com>
16261 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
16262 for arguments at most half maximum finite value.
16263 * math/libm-test.inc (j0_test): Add more tests.
16264 (j1_test): Likewise.
16265 (y0_test): Likewise.
16266 (y1_test): Likewise.
16267 * sysdeps/i386/fpu/libm-test-ulps: Update.
16268 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16271 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
16272 1 / x and functions P and Q for arguments above 0x1p256L.
16273 (__ieee754_y0l): Likewise.
16274 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
16275 (__ieee754_y1l): Likewise.
16276 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
16277 (j1_test): Likewise.
16278 (y0_test): Likewise.
16279 (y1_test): Likewise.
16281 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
16283 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
16286 2013-03-15 Roland McGrath <roland@hack.frob.com>
16288 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
16289 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
16290 zero since it's initialized to EXEC_PAGESIZE.
16292 * sysdeps/unix/sysv/linux/ldsodefs.h
16293 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
16294 * sysdeps/generic/ldsodefs.h: ... here.
16296 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
16298 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
16300 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
16302 * math/test-snan.c: Renamed from
16303 sysdeps/powerpc/fpu/test-powerpc-snan.c.
16304 * math/Makefile (tests): Add test-snan.
16305 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
16308 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
16309 SUFFIX. Initialize qNaN_var with __builtin_nan family of
16311 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
16312 __builtin_nan family of functions.
16313 * math/libm-test.inc (initialize): Initialize qnan_value with
16314 __builtin_nan family of functions.
16315 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
16317 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
16319 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
16320 storage class. Initialize qNaN_var and sNaN_var with
16321 __builtin_nan and __builtin_nans families of functions,
16324 * math/libm-test.inc (acosh_test): Also test with qNaN input.
16325 (sqrt_test): Remove duplicate test with qNaN input.
16326 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
16327 (round_test, signbit_test, significand_test): Note missing +/-Inf
16328 as well as qNaN tests.
16330 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
16331 qNaN_var. Fix a few strings, too.
16332 * math/libm-test.inc (nan_value): Rename to qnan_value.
16333 * math/gen-libm-test.pl (%beautify): Adjust to that.
16334 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
16335 * math/test-misc.c (main): Likewise.
16336 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
16337 to __qnan_bytes, and __qnan_union, respectively.
16338 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
16340 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
16341 and lqnanval, respectively.
16342 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
16343 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
16344 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
16345 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
16347 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
16348 * math/test-misc.c (main) [__x86_64__]: Enable test for long
16351 * math/test-misc.c (main): Fix copy'n'pastos.
16352 * misc/tst-efgcvt.c (special): Likewise.
16354 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
16355 Remove declarations.
16357 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16359 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
16360 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
16361 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
16362 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
16364 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16366 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
16367 macro to return vdso values correctly in IFUNC implementations.
16368 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
16369 Optimization by using IFUNC.
16371 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16372 Richard Henderson <rth@redhat.com>
16373 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16375 * Makefile.in (bench): New target.
16376 * NEWS: Mention the benchmark framework.
16377 * Rules (bench): Likewise.
16378 (binaries-bench): Generate binaries for functions to
16380 * benchtests/Makefile: New makefile for benchmark tests.
16381 * benchtests/bench-skeleton.c: New skeleton file for benchmark
16383 * benchtests/exp-inputs: New input file for EXP function.
16384 * benchtests/pow-inputs: New input file for POW function.
16385 * scripts/bench.pl: New script to generate source files for
16386 benchmark programs.
16388 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16390 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
16391 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
16392 computations on mantissa. Use macros for rounding and
16394 (denorm): Likewise.
16395 (__dbl_mp): Likewise.
16396 (add_magnitudes): Likewise.
16397 (sub_magnitudes): Likewise.
16400 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
16401 powers of two in terms of TWOPOW macro.
16402 (mp_no): Make type of mantissa as MANTISSA_T.
16403 [!RADIXI]: Define RADIXI.
16404 [!TWO52]: Define TWO52.
16405 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
16407 * manual/nptl.texi (cindex): Modify threads to pthreads.
16409 2013-03-15 Joseph Myers <joseph@codesourcery.com>
16411 * sysdeps/x86_64/preconfigure: Regenerated.
16413 2013-03-14 Joseph Myers <joseph@codesourcery.com>
16416 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
16418 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
16419 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
16421 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
16422 * math/libm-test.inc (j0_test): Do not allow one spurious
16423 underflow exception.
16424 (y1_test): Likewise.
16426 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
16428 * manual/Makefile (chapters): Add nptl.
16429 * manual/debug.texi (Debugging Support): Add link to Threads
16431 * manual/nptl.texi: New file.
16433 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
16435 2013-03-14 Petr Baudis <pasky@ucw.cz>
16437 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
16438 for non-NULL pointer before the memory validity test. Pointed
16439 out by Holger Brunck <holger.brunck@keymile.com>.
16441 2013-03-13 Andreas Schwab <schwab@suse.de>
16443 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
16446 2013-03-13 Joseph Myers <joseph@codesourcery.com>
16448 * timezone/zic.c: Update from tzcode 2013b.
16450 2013-03-12 Carlos O'Donell <carlos@redhat.com>
16452 * manual/install.texi (Configuring and compiling):
16453 Mention i686 and i586.
16454 * INSTALL: Regenerate.
16456 2013-03-12 Roland McGrath <roland@hack.frob.com>
16458 * sysdeps/init_array/elf-init.c: New file.
16460 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
16461 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
16463 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
16464 __gmon_start__ as global, but as static with a .preinit_array pointer.
16465 * sysdeps/init_array/gmon-start.c: New file. Use that.
16466 * sysdeps/init_array/crti.S: New file, empty except for comments.
16467 * sysdeps/init_array/crtn.S: Likewise.
16469 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
16471 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
16473 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16474 Remove Prefer_SSE_for_memop.
16475 * sysdeps/x86_64/multiarch/init-arch.h: Remove
16476 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
16477 HAS_PREFER_SSE_FOR_MEMOP.
16478 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
16480 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16481 Remove bzero, memset ifunc support.
16482 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
16483 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
16484 * sysdeps/x86_64/multiarch/memset.S: Likewise.
16485 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16487 2013-03-11 Andreas Schwab <schwab@suse.de>
16490 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
16492 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
16493 (GLIBC_2.16): Remove pthread_atfork.
16495 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
16497 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
16498 (ptestcases.h): Likewise.
16500 2013-03-08 Roland McGrath <roland@hack.frob.com>
16502 * Makeconfig ($(common-objpfx)config.status): Depend on
16503 sysdeps/*/preconfigure{,.in} too.
16505 2013-03-08 Joseph Myers <joseph@codesourcery.com>
16507 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
16508 (__free_hook): Use void * instead of __malloc_ptr_t.
16509 (__malloc_hook): Likewise.
16510 (__realloc_hook): Likewise.
16511 (__memalign_hook): Likewise.
16512 (__after_morecore_hook): Likewise.
16513 * malloc/arena.c (save_malloc_hook): Likewise.
16514 (save_free_hook): Likewise.
16515 * malloc/hooks.c (malloc_hook_ini): Likewise.
16516 (realloc_hook_ini): Likewise.
16517 (memalign_hook_ini): Likewise.
16518 * malloc/malloc.c (malloc_hook_ini): Likewise.
16519 (realloc_hook_ini): Likewise.
16520 (memalign_hook_ini): Likewise.
16521 (__free_hook): Likewise.
16522 (__malloc_hook): Likewise.
16523 (__realloc_hook): Likewise.
16524 (__memalign_hook): Likewise.
16525 (__libc_malloc): Likewise.
16526 (__libc_free): Likewise.
16527 (__libc_realloc): Likewise.
16528 (__libc_memalign): Likewise.
16529 (__libc_valloc): Likewise.
16530 (__libc_pvalloc): Likewise.
16531 (__libc_calloc): Likewise.
16532 (__posix_memalign): Likewise.
16533 * malloc/morecore.c (__sbrk): Likewise.
16534 (__default_morecore): Likewise.
16536 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
16538 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
16539 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
16540 __malloc_ptrdiff_t.
16542 * malloc/malloc.h (__malloc_size_t): Remove macro.
16543 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
16545 (old_memalign_hook): Likewise.
16546 (old_realloc_hook): Likewise.
16547 (struct hdr): Likewise.
16549 (mallochook): Likewise.
16550 (memalignhook): Likewise.
16551 (reallochook): Likewise.
16552 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
16553 (tr_old_realloc_hook): Likewise.
16554 (tr_old_memalign_hook): Likewise.
16555 (tr_mallochook): Likewise.
16556 (tr_reallochook): Likewise.
16557 (tr_memalignhook): Likewise.
16559 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16561 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
16562 default_ldbl_pack and using as default implementation.
16563 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
16565 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
16566 redundant definition.
16567 (ldbl_insert_mantissa): Likewise.
16568 (ldbl_canonicalize): Likewise.
16569 (ldbl_nearbyint): Likewise.
16570 (ldbl_pack): Rename to ldbl_pack_ppc.
16571 (ldbl_unpack): Rename to ldbl_unpack_ppc.
16572 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
16573 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
16575 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
16577 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
16578 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
16579 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
16580 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
16581 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
16582 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
16583 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
16584 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
16586 2013-03-07 Andreas Jaeger <aj@suse.de>
16588 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16591 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
16593 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
16594 Include mpa.h and declare __MPEXP.
16595 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
16596 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
16597 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
16598 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
16599 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
16600 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
16601 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
16603 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
16604 (__slowpow): Use long double EXPL and LOGL functions to
16606 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
16607 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
16608 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
16609 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
16610 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
16611 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
16613 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
16614 intermediate variable to calculate exponent.
16616 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
16620 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
16621 [!NO__SQR]: Define __sqr.
16622 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
16623 and NO__SQR. Remove all code except __mul and __sqr. Include
16624 sysdeps/ieee754/dbl-64/mpa.c.
16625 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
16628 * posix/Makefile (tests): Add tst-pathconf.
16629 * posix/tst-pathconf.c: New test case.
16630 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
16632 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
16634 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
16636 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
16638 2013-03-06 Andreas Jaeger <aj@suse.de>
16640 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
16641 definition via __MAP_ANONYMOUS.
16643 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
16644 it's not part of Linux headers.
16646 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
16647 (MAP_HUGE_MASK): Define.
16649 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16651 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16652 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16654 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16655 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16657 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16658 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
16660 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16662 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
16663 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
16664 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
16665 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
16666 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
16667 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
16669 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
16672 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16673 Handle f2fs and efivarfs.
16675 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
16678 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
16679 (EFIVARFS_MAGIC): Add.
16680 (F2FS_LINK_MAX): Add.
16682 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
16684 * stdio-common/vfprintf.c: Replace __builtin_expect with
16687 2013-03-06 Joseph Myers <joseph@codesourcery.com>
16690 * sysdeps/generic/bp-sym.h: Remove file.
16691 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
16692 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
16693 <bp-sym.h> and <bp-asm.h>.
16694 (__longjmp): Don't use BP_SYM.
16695 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
16697 (memcpy): Don't use BP_SYM.
16698 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
16699 <bp-sym.h> and <bp-asm.h>.
16700 (memcpy): Don't use BP_SYM.
16701 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
16703 (memcpy): Don't use BP_SYM.
16704 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
16706 (memset): Don't use BP_SYM.
16707 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16708 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16709 (__bzero): Don't use BP_SYM.
16710 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16711 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16712 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
16713 <bp-sym.h> and <bp-asm.h>.
16714 (memcmp): Don't use BP_SYM. Remove comment about bounded
16716 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
16717 <bp-sym.h> and <bp-asm.h>.
16718 (memcpy): Don't use BP_SYM.
16719 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
16720 <bp-sym.h> and <bp-asm.h>.
16721 (memset): Don't use BP_SYM.
16722 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16723 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16724 (__bzero): Don't use BP_SYM.
16725 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16726 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16727 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
16728 <bp-sym.h> and <bp-asm.h>.
16729 (strncmp): Don't use BP_SYM. Remove comment about bounded
16731 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
16732 <bp-sym.h> and <bp-asm.h>.
16733 (memcpy): Don't use BP_SYM.
16734 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
16735 <bp-sym.h> and <bp-asm.h>.
16736 (memset): Don't use BP_SYM.
16737 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16738 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16739 (__bzero): Don't use BP_SYM.
16740 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16741 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16742 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
16743 <bp-sym.h> and <bp-asm.h>.
16744 (__memchr): Don't use BP_SYM.
16745 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
16746 <bp-sym.h> and <bp-asm.h>.
16747 (memcmp): Don't use BP_SYM. Remove comment about bounded
16749 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
16750 <bp-sym.h> and <bp-asm.h>.
16751 (memcpy): Don't use BP_SYM.
16752 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
16753 <bp-sym.h> and <bp-asm.h>.
16754 (__mempcpy): Don't use BP_SYM.
16755 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
16756 <bp-sym.h> and <bp-asm.h>.
16757 (__memrchr): Don't use BP_SYM.
16758 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
16759 <bp-sym.h> and <bp-asm.h>.
16760 (memset): Don't use BP_SYM.
16761 (__bzero): Likewise.
16762 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
16763 <bp-sym.h> and <bp-asm.h>.
16764 (__rawmemchr): Don't use BP_SYM.
16765 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
16766 <bp-sym.h> and <bp-asm.h>.
16767 (__STRCMP): Don't use BP_SYM.
16768 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
16769 <bp-sym.h> and <bp-asm.h>.
16770 (strchr): Don't use BP_SYM.
16771 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
16772 <bp-sym.h> and <bp-asm.h>.
16773 (__strchrnul): Don't use BP_SYM.
16774 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
16775 <bp-sym.h> and <bp-asm.h>.
16776 (strlen): Don't use BP_SYM.
16777 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
16778 <bp-sym.h> and <bp-asm.h>.
16779 (strncmp): Don't use BP_SYM. Remove comment about bounded
16781 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
16782 <bp-sym.h> and <bp-asm.h>.
16783 (__strnlen): Don't use BP_SYM.
16784 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
16785 <bp-sym.h> and <bp-asm.h>.
16786 (__GI__setjmp): Don't use BP_SYM.
16787 (_setjmp): Likewise.
16788 (__sigsetjmp): Likewise.
16789 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
16790 (L(start_addresses)): Don't use BP_SYM.
16791 (_start): Likewise.
16792 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
16794 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
16795 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
16796 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16797 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16798 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
16800 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
16801 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
16802 about bounded pointers.
16803 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
16804 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16805 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
16807 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
16808 about bounded pointers. Remove GKM FIXME comments.
16809 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
16810 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
16812 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
16813 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
16814 Remove GKM FIXME comments.
16815 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16816 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16817 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
16819 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
16820 about bounded pointers. Remove GKM FIXME comment.
16821 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
16823 (strncmp): Don't use BP_SYM. Remove comment about bounded
16825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
16826 <bp-sym.h> and <bp-asm.h>.
16827 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
16828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
16829 <bp-sym.h> and <bp-asm.h>.
16830 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
16833 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16835 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
16838 2013-03-05 David S. Miller <davem@davemloft.net>
16840 * po/es.po: Update from translation team.
16842 2013-03-05 Andreas Jaeger <aj@suse.de>
16844 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
16845 <bits/mman-linux.h>.
16846 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16848 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
16849 <bits/mman-linux.h> to end of file.
16850 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16852 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
16853 <bits/mman-linux.h> to end of file.
16854 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16856 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
16857 <bits/mman-linux.h> to end of file.
16859 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
16860 (MCL_CURRENT, MCL_FUTURE): Define here.
16862 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16865 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
16867 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
16869 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16871 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
16872 fourth parameter needed for rt_sigprocmask syscall.
16873 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
16874 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
16875 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
16876 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
16877 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
16878 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
16880 2013-03-04 Joseph Myers <joseph@codesourcery.com>
16883 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
16884 comment about bounded pointers.
16885 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
16886 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
16888 2013-03-04 Andreas Jaeger <aj@suse.de>
16890 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
16891 common definitions.
16893 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
16894 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
16895 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
16896 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
16897 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
16898 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
16900 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16903 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
16904 __ieee754_sqrl instead of __sqrl.
16906 2013-03-01 Joseph Myers <joseph@codesourcery.com>
16908 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
16909 * sysdeps/powerpc/fpu_control.h: ... here.
16910 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
16911 * sysdeps/powerpc/bits/fenvinline.h: ... here.
16912 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
16913 * sysdeps/powerpc/bits/mathinline.h: ... here.
16915 2013-03-01 Roland McGrath <roland@hack.frob.com>
16917 * elf/dl-hwcaps.c (_dl_important_hwcaps):
16918 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
16919 to just [NEED_DL_SYSINFO_DSO].
16920 * elf/dl-support.c: Likewise.
16921 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
16922 * elf/rtld.c (dl_main): Likewise.
16923 * elf/setup-vdso.h (setup_vdso): Likewise.
16924 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
16925 * sysdeps/unix/sysv/linux/dl-sysdep.c
16926 (_dl_discover_osversion): Likewise.
16928 2013-03-01 Carlos O'Donell <carlos@redhat.com>
16930 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
16931 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
16933 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
16935 * NEWS: Mention libm performance improvements and non-x86 PI
16938 * csu/libc-start.c (__pthread_initialize_minimal): Change
16939 function arguments.
16940 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
16942 2013-02-28 Joseph Myers <joseph@codesourcery.com>
16945 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
16946 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
16947 <bp-sym.h> and <bp-asm.h>.
16948 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16949 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
16951 (memcpy): Don't use BP_SYM.
16952 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
16954 (__mpn_add_n): Don't use BP_SYM.
16955 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
16956 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
16958 (__mpn_addmul_1): Don't use BP_SYM.
16959 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16960 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
16962 (_setjmp): Don't use BP_SYM.
16963 (__novmx_setjmp): Likewise.
16964 (__GI__setjmp): Likewise.
16965 (__vmx_setjmp): Likewise.
16966 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
16968 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
16969 (__bzero): Don't use BP_SYM.
16970 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16971 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16972 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
16973 <bp-sym.h> and <bp-asm.h>.
16974 (memcpy): Don't use BP_SYM.
16975 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
16976 <bp-sym.h> and <bp-asm.h>.
16977 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16978 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
16979 <bp-sym.h> and <bp-asm.h>.
16980 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16981 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
16983 (__mpn_lshift): Don't use BP_SYM.
16984 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16985 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
16987 (memset): Don't use BP_SYM.
16988 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16989 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16990 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
16992 (__mpn_mul_1): Don't use BP_SYM.
16993 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16994 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
16995 <bp-sym.h> and <bp-asm.h>.
16996 (memcmp): Don't use BP_SYM.
16997 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
16998 <bp-sym.h> and <bp-asm.h>.
16999 (memcpy): Don't use BP_SYM.
17000 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
17001 <bp-sym.h> and <bp-asm.h>.
17002 (memset): Don't use BP_SYM.
17003 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
17004 <bp-sym.h> and <bp-asm.h>.
17005 (strncmp): Don't use BP_SYM.
17006 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
17007 <bp-sym.h> and <bp-asm.h>.
17008 (memcpy): Don't use BP_SYM.
17009 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
17010 <bp-sym.h> and <bp-asm.h>.
17011 (memset): Don't use BP_SYM.
17012 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
17013 <bp-sym.h> and <bp-asm.h>.
17014 (__memchr): Don't use BP_SYM.
17015 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
17016 <bp-sym.h> and <bp-asm.h>.
17017 (memcmp): Don't use BP_SYM.
17018 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
17019 <bp-sym.h> and <bp-asm.h>.
17020 (memcpy): Don't use BP_SYM.
17021 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
17022 <bp-sym.h> and <bp-asm.h>.
17023 (__mempcpy): Don't use BP_SYM.
17024 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
17025 <bp-sym.h> and <bp-asm.h>.
17026 (__memrchr): Don't use BP_SYM.
17027 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
17028 <bp-sym.h> and <bp-asm.h>.
17029 (memset): Don't use BP_SYM.
17030 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
17031 <bp-sym.h> and <bp-asm.h>.
17032 (__rawmemchr): Don't use BP_SYM.
17033 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
17034 <bp-sym.h> and <bp-asm.h>.
17035 (__STRCMP): Don't use BP_SYM.
17036 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
17037 <bp-sym.h> and <bp-asm.h>.
17038 (strchr): Don't use BP_SYM.
17039 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
17040 <bp-sym.h> and <bp-asm.h>.
17041 (__strchrnul): Don't use BP_SYM.
17042 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
17043 <bp-sym.h> and <bp-asm.h>.
17044 (strlen): Don't use BP_SYM.
17045 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
17046 <bp-sym.h> and <bp-asm.h>.
17047 (strncmp): Don't use BP_SYM.
17048 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
17049 <bp-sym.h> and <bp-asm.h>.
17050 (__strnlen): Don't use BP_SYM.
17051 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
17053 (__mpn_rshift): Don't use BP_SYM.
17054 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17055 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
17056 <bp-sym.h> and <bp-asm.h>.
17057 (__sigsetjmp): Don't use BP_SYM.
17058 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
17059 (L(start_addresses)): Don't use BP_SYM.
17060 (_start): Likewise.
17061 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
17063 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
17064 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17065 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
17066 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
17068 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
17069 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
17070 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17071 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
17073 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
17075 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
17076 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
17078 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
17080 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17081 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
17082 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
17084 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
17086 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
17088 (strncmp): Don't use BP_SYM,
17089 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
17091 (__mpn_sub_n): Don't use BP_SYM.
17092 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17093 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
17095 (__mpn_submul_1): Don't use BP_SYM.
17096 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17097 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
17098 <bp-sym.h> and <bp-asm.h>.
17099 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
17100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
17101 <bp-sym.h> and <bp-asm.h>.
17102 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
17105 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17107 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
17108 Use ZK to minimize writes to Z.
17109 (sub_magnitudes): Simplify code a bit.
17110 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
17111 Use ZK to minimize writes to Z.
17112 (sub_magnitudes): Simplify code a bit.
17114 2013-02-27 Roland McGrath <roland@hack.frob.com>
17116 * csu/gmon-start.c: Add special exception to license text.
17118 2013-02-27 Richard Henderson <rth@redhat.com>
17120 * scripts/config.guess: Update from config.git.
17121 * scripts/config.sub: Likewise.
17123 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17125 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
17127 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
17129 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
17131 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
17133 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
17135 2013-02-26 Roland McGrath <roland@hack.frob.com>
17137 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
17138 [$(build-shared = yes].
17140 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17142 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
17143 (__mul): Reduce iterations for calculating mantissa.
17145 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
17147 (__mpranred): Likewise.
17150 * malloc/memusagestat.c (main): Draw graphs for heap and stack
17151 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
17153 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
17155 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
17156 Define __attribute__.
17158 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17160 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
17162 * posix/regex_internal.h (__attribute): Remove.
17163 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
17164 (re_string_context_at): Likewise.
17165 (bitset_not): Use __attribute__ and mark function as possibly
17167 (bitset_merge): Likewise.
17168 (bitset_mask): Likewise.
17169 (re_string_char_size_at): Likewise.
17170 (re_string_wchar_at): Likewise.
17171 (re_string_elem_size_at): Likewise.
17173 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
17175 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
17179 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
17183 (denorm): Likewise.
17184 (__dbl_mp): Likewise.
17185 (add_magnitudes): Likewise.
17186 (sub_magnitudes): Likewise.
17190 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
17193 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
17196 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
17199 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
17200 up changes with default code.
17201 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
17204 2013-02-24 Allan McRae <allan@archlinux.org>
17206 * manual/socket.texi (The Internet Namespace): Order menu items
17207 to match that in the file.
17209 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
17210 node listing of the info page menu.
17212 2013-02-21 Joseph Myers <joseph@codesourcery.com>
17215 * sysdeps/i386/bp-asm.h: Remove file.
17216 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
17217 (PARMS): Do not use macros from bp-asm.h.
17221 (__mpn_add_n): Do not use BP_SYM
17222 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
17224 (PARMS): Do not use macros from bp-asm.h.
17227 (__mpn_addmul_1): Do not use BP_SYM
17228 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
17230 (PARMS): Do not use macros from bp-asm.h.
17231 (SIGMSK): Likewise.
17232 (_setjmp): Likewise. Do not use BP_SYM.
17233 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
17235 (PARMS): Do not use macros from bp-asm.h.
17236 (SIGMSK): Likewise.
17237 (setjmp): Likewise. Do not use BP_SYM.
17238 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
17240 (PARMS): Do not use macros from bp-asm.h.
17241 (__frexp): Do not use BP_SYM.
17243 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
17245 (PARMS): Do not use macros from bp-asm.h.
17246 (__frexpf): Do not use BP_SYM.
17247 (frexpf): Likewise.
17248 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
17250 (PARMS): Do not use macros from bp-asm.h.
17251 (__frexpl): Do not use BP_SYM.
17252 (frexpl): Likewise.
17253 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
17255 (PARMS): Do not use macros from bp-asm.h.
17256 (__remquo): Do not use BP_SYM.
17257 (remquo): Likewise.
17258 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
17260 (PARMS): Do not use macros from bp-asm.h.
17261 (__remquof): Do not use BP_SYM.
17262 (remquof): Likewise.
17263 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
17265 (PARMS): Do not use macros from bp-asm.h.
17266 (__remquol): Do not use BP_SYM.
17267 (remquol): Likewise.
17268 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
17270 (PARMS): Do not use macros from bp-asm.h.
17273 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
17274 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
17276 (PARMS): Do not use macros from bp-asm.h.
17277 (strlen): Do not use BP_SYM.
17278 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
17280 (PARMS): Do not use macros from bp-asm.h.
17284 (__mpn_add_n): Do not use BP_SYM.
17285 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
17287 (PARMS): Do not use macros from bp-asm.h.
17290 (__mpn_addmul_1): Do not use BP_SYM.
17291 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
17294 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
17296 (PARMS): Do not use macros from bp-asm.h.
17299 (__mpn_lshift): Do not use BP_SYM.
17300 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
17302 (PARMS): Do not use macros from bp-asm.h.
17306 (memcpy): Likewise. Do not use BP_SYM.
17307 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
17308 libc_hidden_def and weak_alias.
17309 (mempcpy): Do not use BP_SYM in weak_alias.
17310 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
17312 (PARMS): Do not use macros from bp-asm.h.
17315 [!BZERO_P] (CHR): Likewise.
17316 (memset): Likewise. Do not use BP_SYM.
17317 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
17319 (PARMS): Do not use macros from bp-asm.h.
17322 (__mpn_mul_1): Do not use BP_SYM.
17323 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
17325 (PARMS): Do not use macros from bp-asm.h.
17328 (__mpn_rshift): Do not use BP_SYM.
17329 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
17331 (PARMS): Do not use macros from bp-asm.h.
17334 (strchr): Likewise. Do not use BP_SYM.
17335 (index): Do not use BP_SYM in weak_alias.
17336 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
17338 (PARMS): Do not use macros from bp-asm.h.
17341 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
17342 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
17344 (PARMS): Do not use macros from bp-asm.h.
17345 (strlen): Do not use BP_SYM.
17346 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
17348 (PARMS): Do not use macros from bp-asm.h.
17352 (__mpn_sub_n): Do not use BP_SYM.
17353 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
17355 (PARMS): Do not use macros from bp-asm.h.
17358 (__mpn_submul_1): Do not use BP_SYM.
17359 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
17361 (PARMS): Do not use macros from bp-asm.h.
17365 (__mpn_add_n): Do not use BP_SYM.
17366 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
17369 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
17371 (PARMS): Do not use macros from bp-asm.h.
17374 (memcmp): Do not use BP_SYM.
17375 (bcmp): Do not use BP_SYM in weak_alias.
17376 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
17378 (PARMS): Do not use macros from bp-asm.h.
17382 (memcpy): Likewise. Do not use BP_SYM.
17383 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
17385 (PARMS): Do not use macros from bp-asm.h.
17389 (memmove): Likewise. Do not use BP_SYM.
17390 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
17392 (PARMS): Do not use macros from bp-asm.h.
17396 (__mempcpy): Likewise. Do not use BP_SYM.
17397 (mempcpy): Do not use BP_SYM in weak_alias.
17398 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
17400 (PARMS): Do not use macros from bp-asm.h.
17403 [!BZERO_P] (CHR): Likewise.
17404 (memset): Likewise. Do not use BP_SYM.
17405 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
17407 (PARMS): Do not use macros from bp-asm.h.
17409 (strcmp): Do not use BP_SYM.
17410 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
17412 (PARMS): Do not use macros from bp-asm.h.
17415 [USE_AS_STRTOK_R] (SAVE): Likewise.
17416 (FUNCTION): Likewise. Do not use BP_SYM.
17417 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
17419 (strtok_r): Likewise.
17420 (__GI___strtok_r): Likewise.
17421 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
17422 (PARMS): Do not use macros from bp-asm.h.
17425 (__mpn_lshift): Do not use BP_SYM.
17426 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
17427 (PARMS): Do not use macros from bp-asm.h.
17430 (__memchr): Do not use BP_SYM.
17431 (memchr): Do not use BP_SYM in weak_alias.
17432 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
17433 (PARMS): Do not use macros from bp-asm.h.
17436 (memcmp): Do not use BP_SYM.
17437 (bcmp): Do not use BP_SYM in weak_alias.
17438 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
17439 (PARMS): Do not use macros from bp-asm.h.
17442 (__mpn_mul_1): Do not use BP_SYM.
17443 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
17445 (PARMS): Do not use macros from bp-asm.h.
17448 (__rawmemchr): Do not use BP_SYM.
17449 (rawmemchr): Do not use BP_SYM in weak_alias.
17450 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
17451 (PARMS): Do not use macros from bp-asm.h.
17454 (__mpn_rshift): Do not use BP_SYM.
17455 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
17456 (PARMS): Do not use macros from bp-asm.h.
17457 (SIGMSK): Likewise.
17458 (__sigsetjmp): Likewise. Do not use BP_SYM.
17459 * sysdeps/i386/start.S: Do not include "bp-sym.h".
17460 (_start): Do not use BP_SYM.
17461 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
17462 (PARMS): Do not use macros from bp-asm.h.
17465 (__stpcpy): Likewise. Do not use BP_SYM.
17466 (stpcpy): Do not use BP_SYM in weak_alias.
17467 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
17469 (PARMS): Do not use macros from bp-asm.h.
17473 (__stpncpy): Likewise. Do not use BP_SYM.
17474 (stpncpy): Do not use BP_SYM in weak_alias.
17475 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
17476 (PARMS): Do not use macros from bp-asm.h.
17479 (strchr): Likewise. Do not use BP_SYM.
17480 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
17482 (PARMS): Do not use macros from bp-asm.h.
17485 (__strchrnul): Likewise. Do not use BP_SYM.
17486 (strchrnul): Do not use BP_SYM in weak_alias.
17487 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
17489 (PARMS): Do not use macros from bp-asm.h.
17491 (strcspn): Do not use BP_SYM.
17492 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
17494 (PARMS): Do not use macros from bp-asm.h.
17497 (strpbrk): Likewise. Do not use BP_SYM.
17498 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
17500 (PARMS): Do not use macros from bp-asm.h.
17503 (strrchr): Likewise. Do not use BP_SYM.
17504 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
17505 (PARMS): Do not use macros from bp-asm.h.
17507 (strspn): Do not use BP_SYM.
17508 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
17509 (PARMS): Do not use macros from bp-asm.h.
17513 (FUNCTION): Likewise. Do not use BP_SYM.
17514 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
17516 (strtok_r): Likewise.
17517 (__GI___strtok_r): Likewise.
17518 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
17519 (PARMS): Do not use macros from bp-asm.h.
17523 (__mpn_sub_n): Do not use BP_SYM.
17524 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
17526 (PARMS): Do not use macros from bp-asm.h.
17529 (__mpn_submul_1): Do not use BP_SYM.
17530 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
17532 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
17534 (PARMS): Do not use macros from bp-asm.h.
17539 (__clone): Do not use BP_SYM.
17540 (clone): Do not use BP_SYM in weak_alias.
17541 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
17543 (PARMS): Do not use macros from bp-asm.h.
17545 (__mmap64): Do not use BP_SYM.
17546 (mmap64): Do not use BP_SYM in weak_alias.
17547 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
17548 <bp-sym.h> and <bp-asm.h>.
17549 (PARMS): Do not use macros from bp-asm.h.
17550 (__posix_fadvise64_l64): Do not use BP_SYM.
17551 * sysdeps/unix/sysv/linux/i386/semtimedop.S
17552 (PARMS): Do not use macros from bp-asm.h.
17554 (semtimedop): Do not use BP_SYM.
17555 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
17558 2013-02-21 Allan McRae <allan@archlinux.org>
17560 * manual/message.texi (Charset conversion in gettext):
17561 Move @end statement to beginning of line.
17563 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17565 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
17567 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
17570 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
17571 (denorm): Likewise.
17572 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
17573 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
17575 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17577 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
17578 tail-call to the resolved function if pltexit isn't needed.
17580 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17582 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
17583 or Y being zero as being unlikely.
17584 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
17587 2013-02-20 Carlos O'Donell <carlos@redhat.com>
17589 * manual/nss.texi (System Databases and Name Service Switch):
17590 Remove frobnicate @pxref.
17592 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
17594 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
17595 __attribute__ ((unused)) to __attribute__ ((__unused__)).
17597 2013-02-20 Petr Machata <pmachata@redhat.com>
17599 * elf/elf.h (R_ARM_TARGET1): New macro.
17600 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
17601 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
17602 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
17603 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
17604 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
17605 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
17606 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
17607 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
17608 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
17609 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
17610 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
17611 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
17612 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
17613 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
17614 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
17615 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
17616 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
17617 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
17618 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
17619 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
17620 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
17621 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
17622 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
17623 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
17624 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
17625 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
17626 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
17627 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
17628 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
17629 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
17630 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
17631 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
17632 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
17633 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
17634 (R_ARM_THM_GOT_BREL12): Likewise.
17635 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
17636 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
17637 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
17638 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
17639 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
17640 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
17641 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
17642 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
17643 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
17645 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
17647 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
17648 __attribute_used__ to __attribute__ ((unused)).
17650 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17652 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
17654 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
17655 comment formatting.
17656 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
17658 2013-02-19 Joseph Myers <joseph@codesourcery.com>
17661 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
17663 (ENTER): Remove both macro definitions.
17665 (CHECK_BOUNDS_LOW): Likewise.
17666 (CHECK_BOUNDS_HIGH): Likewise.
17667 (CHECK_BOUNDS_BOTH): Likewise.
17668 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
17669 (RETURN_BOUNDED_POINTER): Likewise.
17670 (RETURN_NULL_BOUNDED_POINTER): Likewise.
17671 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
17672 (POP_ERRNO_LOCATION_RETURN): Likewise.
17673 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
17674 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17675 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
17677 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17678 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
17679 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
17680 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
17681 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
17682 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
17683 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
17684 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
17685 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
17686 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
17687 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
17688 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
17689 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17690 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
17692 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17693 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
17695 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17696 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
17697 * sysdeps/i386/i586/memset.S (memset): Likewise.
17698 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
17699 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17700 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
17702 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17703 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
17704 Change uses of L(2) to L(out).
17705 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
17706 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
17707 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
17708 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17709 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
17711 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17712 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
17714 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17715 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
17716 (RETURN): Do not use macro LEAVE.
17717 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
17718 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
17719 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
17720 * sysdeps/i386/i686/memset.S (memset): Likewise.
17721 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
17722 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
17723 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
17724 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
17726 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17727 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
17728 L(1_2) and L(1_3) into L(1).
17729 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
17730 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
17731 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17732 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
17733 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
17734 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
17735 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
17736 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17737 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
17739 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
17740 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17741 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
17742 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
17743 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
17744 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17745 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
17746 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
17747 * sysdeps/i386/strcspn.S (strcspn): Likewise.
17748 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
17749 * sysdeps/i386/strrchr.S (strrchr): Likewise.
17750 * sysdeps/i386/strspn.S (strspn): Likewise.
17751 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
17753 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17754 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
17755 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
17756 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
17757 L(1_3) into L(1_1).
17758 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
17759 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17760 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
17762 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17764 2013-02-19 Jakub Jelinek <jakub@redhat.com>
17766 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
17769 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
17771 * math/atest-exp.c (exp_mpn): Remove ROUND.
17772 * math/atest-exp2.c (exp_mpn): Likewise.
17773 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
17775 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
17776 * stdlib/tst-tls-atexit-lib.c: Likewise.
17777 * stdlib/tst-tls-atexit.c: Likewise.
17779 2013-02-18 Mike Frysinger <vapier@gentoo.org>
17781 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
17782 and __attribute_alloc_size__.
17784 2013-02-18 Mike Frysinger <vapier@gentoo.org>
17786 * include/programs/xmalloc.h: Change __attribute_alloc_size to
17787 __attribute_alloc_size__.
17788 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
17789 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
17791 2013-02-18 Mike Frysinger <vapier@gentoo.org>
17793 * include/programs/xmalloc.h: New file.
17794 * catgets/gencat.c: Include it.
17795 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
17796 * elf/pldd.c: Likewise.
17797 * iconv/iconv_charmap.c: Likewise.
17798 * iconv/iconvconfig.c: Likewise.
17799 * iconv/strtab.c: Likewise.
17800 * locale/programs/locale.c: Likewise.
17801 * locale/programs/localedef.h: Likewise.
17802 * locale/programs/simple-hash.c: Likewise.
17803 * nscd/nscd.h: Likewise.
17804 * nss/makedb.c: Likewise.
17805 * sysdeps/generic/ldconfig.h: Likewise.
17807 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
17809 * Versions.def: Add GLIBC_2.18.
17810 * include/link.h (struct link_map): New member l_tls_dtor_count.
17811 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
17812 (__call_tls_dtors): Likewise.
17813 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
17814 __cxa_thread_atexit_impl.
17815 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17819 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
17821 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
17823 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
17824 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
17826 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
17828 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
17829 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
17831 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
17832 (tests): Add test case tst-tls-atexit.
17833 (modules-names): Add shared library for tst-tls-atexit.
17834 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
17835 (GLIBC_PRIVATE): Add __call_tls_dtors.
17836 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
17838 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
17839 * stdlib/tst-tls-atexit.c: New test case.
17840 * stdlib/tst-tls-atexit-lib.c: New test case.
17842 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
17844 * elf/Versions (ld): Add _dl_find_dso_for_object.
17845 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
17846 * elf/dl-open.c (_dl_find_dso_for_object): New function.
17847 (dl_open_worker): Use _dl_find_dso_for_object.
17848 * elf/dl-sym.c (do_sym): Likewise.
17849 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
17851 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17853 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
17854 Syntactic changes only.
17855 (_dl_runtime_profile): Do a tail-call to the resolved function.
17857 2013-02-17 Joseph Myers <joseph@codesourcery.com>
17860 * sysdeps/x86_64/bp-asm.h: Remove file.
17861 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
17862 <bp-sym.h> and <bp-asm.h>.
17863 (__clone): Do not use BP_SYM.
17864 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
17865 <bp-sym.h> and <bp-asm.h>.
17866 * sysdeps/unix/x86_64/sysdep.S: Likewise.
17867 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
17869 (_setjmp): Do not use BP_SYM.
17870 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
17872 (setjmp): Do not use BP_SYM.
17873 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
17875 (mempcpy): Do not use BP_SYM in weak_alias.
17876 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
17878 (strchr): Do not use BP_SYM.
17879 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
17881 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
17882 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
17883 (_start): Do not use BP_SYM.
17884 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
17886 (strcat): Do not use BP_SYM.
17887 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
17889 (STRCMP): Do not use BP_SYM.
17890 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
17892 (STRCPY): Do not use BP_SYM.
17893 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
17895 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
17897 (FUNCTION): Do not use BP_SYM.
17898 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
17900 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
17902 2013-02-17 Andreas Jaeger <aj@suse.de>
17904 * time/Versions: Sort entries.
17905 * string/Versions: Likewise.
17906 * resolv/Versions: Likewise.
17907 * posix/Versions: Likewise.
17908 * iconv/Versions: Likewise.
17909 * elf/Versions: Likewise.
17910 * wcsmbs/Versions: Likewise.
17912 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17914 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
17915 loop termination condition.
17917 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
17918 variable to calculate EZ.
17921 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
17922 the lower precision input.
17924 2013-02-15 Joseph Myers <joseph@codesourcery.com>
17927 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
17928 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
17929 (run-via-rtld-prefix): Do not handle %-bp tests.
17930 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
17931 (all-object-suffixes): Remove .ob.
17932 (bppfx): Remove variable.
17933 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
17934 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
17935 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
17936 [$(build-bounded) = yes] (libtype.ob): Likewise.
17937 * Makerules (elide-routines.ob): Remove variable.
17938 (do-tests-clean): Do not handle *-bp.out.
17939 (common-mostlyclean): Do not handle *-bp and *-bp.out.
17940 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
17941 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
17942 (tests): Do not include $(tests-bp.out).
17943 (xtests): Do not include $(xtests-bp.out).
17944 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
17945 [$(build-bounded) = yes] ($(addprefix
17946 $(objpfx),$(binaries-bounded))): Remove rule.
17947 ($(objpfx)%-bp.out): Remove rule.
17948 * config.make.in (build-bounded): Remove variable.
17949 * crypt/Makefile [$(build-bounded) = yes]
17950 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
17951 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
17952 append to variable.
17953 [$(build-bounded) = yes] (install-lib): Likewise.
17954 [$(build-bounded) = yes] (generated): Likewise.
17955 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
17957 * intl/Makefile [$(build-bounded) = yes]
17958 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
17959 * math/Makefile [$(build-bounded) = yes]
17960 ($(tests:%=$(objpfx)%-bp): Likewise.
17961 * misc/Makefile [$(build-bounded) = yes]
17962 ($(objpfx)tst-tsearch-bp): Likewise.
17963 * nptl/Makeconfig (bounded-thread-library): Remove variable.
17964 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
17966 * string/Makefile (o-objects.ob): Remove variable.
17967 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
17968 (CFLAGS-.ob): Remove variable.
17969 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
17970 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
17971 both definitions of variable.
17972 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
17973 (ASFLAGS-.ob): Remove variable.
17975 2013-02-14 Joseph Myers <joseph@codesourcery.com>
17978 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
17979 Remove __BOUNDED_POINTERS__ from condition.
17980 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
17981 * string/bits/string2.h [!__NO_STRING_INLINES &&
17982 !__BOUNDED_POINTERS__]: Likewise.
17983 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
17985 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
17986 Remove conditional code.
17987 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
17988 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
17989 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
17993 * csu/libc-start.c: Do not include <bp-sym.h>.
17994 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
17995 * elf/dl-open.c: Do not include <bp-sym.h>.
17996 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
17997 * math/fegetenv.c: Do not include <bp-sym.h>.
17998 (fegetenv): Do not use BP_SYM in versioned symbols.
17999 * nptl/sysdeps/pthread/bits/libc-lockP.h
18000 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
18002 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18003 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
18004 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18005 (__pthread_mutex_destroy): Likewise.
18006 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18007 (__pthread_mutex_lock): Likewise.
18008 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18009 (__pthread_mutex_trylock): Likewise.
18010 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18011 (__pthread_mutex_unlock): Likewise.
18012 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18013 (__pthread_mutexattr_init): Likewise.
18014 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18015 (__pthread_mutexattr_destroy): Likewise.
18016 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18017 (__pthread_mutexattr_settype): Likewise.
18018 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18019 (__pthread_rwlock_init): Likewise.
18020 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18021 (__pthread_rwlock_destroy): Likewise.
18022 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18023 (__pthread_rwlock_rdlock): Likewise.
18024 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18025 (__pthread_rwlock_tryrdlock): Likewise.
18026 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18027 (__pthread_rwlock_wrlock): Likewise.
18028 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18029 (__pthread_rwlock_trywrlock): Likewise.
18030 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18031 (__pthread_rwlock_unlock): Likewise.
18032 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18033 (__pthread_key_create): Likewise.
18034 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18035 (__pthread_setspecific): Likewise.
18036 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18037 (__pthread_getspecific): Likewise.
18038 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
18040 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18041 (_pthread_cleanup_push_defer): Likewise.
18042 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18043 (_pthread_cleanup_pop_restore): Likewise.
18044 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18045 (pthread_setcancelstate): Likewise.
18046 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
18048 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
18049 (memchr): Do not use BP_SYM in weak_alias.
18050 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
18051 (fegetenv): Do not use BP_SYM in versioned symbols.
18052 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
18053 (fesetenv): Do not use BP_SYM in versioned symbols.
18054 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
18055 (feupdateenv): Do not use BP_SYM in versioned symbols.
18056 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
18057 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
18058 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
18059 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
18060 (open64): Do not use BP_SYM in weak_alias.
18061 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
18062 (fegetenv): Do not use BP_SYM in versioned symbols.
18063 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
18064 (fesetenv): Do not use BP_SYM in versioned symbols.
18065 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
18066 (feupdateenv): Do not use BP_SYM in versioned symbols.
18067 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
18068 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
18069 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
18070 (feraiseexcept): Do not use BP_SYM in versioned symbols.
18071 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
18072 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
18073 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
18075 (__libc_start_main): Do not use BP_SYM.
18077 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
18079 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
18080 redundant return line.
18082 (denorm): Likewise.
18083 (dbl_mp): Likewise.
18084 (sub_magnitudes): Likewise.
18090 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
18092 (denorm): Likewise.
18093 (dbl_mp): Likewise.
18094 (sub_magnitudes): Likewise.
18101 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
18103 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
18104 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
18107 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
18108 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
18109 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
18110 of __mul for squares.
18111 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
18113 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
18115 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
18116 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
18118 2013-02-13 Joseph Myers <joseph@codesourcery.com>
18121 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
18123 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
18124 prototype or function definition. Rename ubp_* variables and
18125 parameters. Remove argv definitions conditional on
18126 [__BOUNDED_POINTERS__].
18127 * debug/backtrace.c (__backtrace): Do not use __unbounded.
18128 * elf/dl-runtime.c (_dl_fixup): Likewise.
18129 * include/set-hooks.h (RUN_HOOK): Likewise.
18130 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
18132 * string/strcpy.c (strcpy): Do not use __unbounded.
18133 * sysdeps/generic/frame.h (struct layout): Likewise.
18134 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
18135 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
18136 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
18137 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
18138 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
18139 (__backtrace): Likewise.
18140 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
18142 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
18143 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
18144 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
18146 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
18147 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
18148 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
18149 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
18150 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
18151 Do not use __unbounded.
18152 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
18153 Rename __unboundedrlimits parameter to rlimits in prototype.
18154 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
18155 Do not use __unbounded.
18156 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
18157 not use __ptrvalue.
18158 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
18159 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
18160 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
18161 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
18162 __ptrvalue or __unbounded.
18163 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
18164 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
18166 (__new_msgctl): Do not use __ptrvalue.
18167 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
18169 (__libc_msgrcv): Do not use __ptrvalue.
18170 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
18171 startup_info): Do not use __unbounded.
18172 (__libc_start_main): Likewise. Rename ubp_* variables and
18173 parameters. Remove argv definitions conditional on
18174 [__BOUNDED_POINTERS__].
18175 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
18177 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
18179 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
18181 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
18183 (__new_shmctl): Do not use __ptrvalue.
18184 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
18185 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
18187 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
18188 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
18189 (__libc_sigaction): Likewise.
18190 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
18191 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
18193 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
18195 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
18197 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
18199 * string/mempcpy.c: Implement by calling memcpy.
18201 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
18203 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
18205 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
18208 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
18209 values in the mantissa.
18211 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
18212 minimize writes to Z.
18213 (sub_magnitudes): Simplify code a bit.
18215 2013-02-12 Roland McGrath <roland@hack.frob.com>
18217 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
18218 from the message. The linker prefixes all warnings with that already.
18220 2013-02-12 Andreas Schwab <schwab@suse.de>
18223 * posix/regexec.c (extend_buffers): Add parameter min_len.
18224 (check_matching): Pass minimum needed length.
18225 (clean_state_log_if_needed): Likewise.
18226 (get_subexp): Likewise.
18227 * posix/Makefile (tests): Add bug-regex34.
18228 (bug-regex34-ENV): Define.
18229 * posix/bug-regex34.c: New file.
18232 * posix/regcomp.c (parse_bracket_exp): When looking up collating
18233 elements compare against the byte sequence of it, not its name.
18234 * posix/Makefile (tests): Add bug-regex35.
18235 (bug-regex35-ENV): Define.
18236 * posix/bug-regex35.c: New file.
18238 2013-02-11 Tom de Vries <tom@codesourcery.com>
18240 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
18242 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
18243 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
18244 (CHECK_EOL): Add undef.
18246 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
18248 * bits/stdlib-bsearch.h: New file.
18249 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
18250 * stdlib/stdlib.h: Likewise.
18252 2013-02-11 Roland McGrath <roland@hack.frob.com>
18254 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
18255 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
18257 * manual/search.texi (Array Search Function): Add missing const in
18259 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
18260 declaration to use rlim_t.
18261 (Basic Scheduling Functions): Remove erroneous const from
18262 sched_getparam prototype. Remove erroneous * from
18263 sched_get_priority_max and sched_get_priority_min prototypes.
18264 (Resource Usage): Fix summary @comment on vtimes to refer to
18265 sys/vtimes.h rather than vtimes.h.
18266 Add missing *s in vtimes prototype.
18267 (Limits on Resources): Fix ulimit prototype to return long int.
18268 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
18269 prototypes to use long int rather than double.
18270 (BSD Random): Fix initstate and setstate to use char *, not void *.
18271 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
18272 prototype to make second argument 'struct aiocb64 *const[]'.
18273 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
18274 (Status of AIO Operations): Remove erroneous const in aio_return and
18275 aio_return64 prototypes.
18276 (Synchronizing I/O): Fix sync prototype to return void.
18277 * manual/startup.texi (Suboptions): Remove an erroneous const in
18278 getsubopt prototype.
18279 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
18280 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
18281 use size_t rather than int.
18282 (Scanning All Users): Likewise for getpwent_r.
18283 (Setting Groups): Add missing const to setgroups prototype.
18284 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
18285 * manual/socket.texi (Host Names): Fix gethostbyaddr and
18286 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
18287 'const void *' rather than 'const char *'.
18288 (Host Address Functions): Likewise for inet_ntop.
18289 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
18290 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
18291 ssize_t for return value.
18292 (Sending Data): Likewise for send, sendto, sendmsg.
18293 (Socket Option Functions): Add a missing const in setsockopt prototype.
18294 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
18295 use wchar_t for the argument.
18296 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
18297 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
18299 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
18300 double/float/long double for second argument.
18301 Fix return types of significand, significandf, significandl.
18302 * manual/filesys.texi (Setting Permissions): Use mode_t for second
18303 argument in fchmod prototype.
18304 (File Owner): Use uid_t and gid_t in fchown prototype.
18305 (File Times): Add const to utimes, futimes, and lutimes prototypes.
18306 (Making Special Files): Use mode_t and dev_t in mknod prototype.
18307 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
18308 use 'const struct dirent **' as argument types to CMP function pointer
18310 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
18311 (File Times): Fix summary magic @comment for struct utimbuf and utime
18312 to refer to utime.h, not time.h.
18313 * manual/string.texi (Argz Functions): Add missing const in
18314 argz_extract and argz_next prototypes.
18315 (Finding Tokens in a String): Likewise for basename.
18316 (String/Array Comparison): Fix typo in wcscasecmp prototype.
18317 (Copying and Concatenation): Fix typo in wmemmove prototype.
18318 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
18319 (Signal Stack): Remove erroneous const in sigstack prototype.
18320 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
18322 (Simple Calendar Time): Likewise for stime.
18323 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
18325 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
18326 say sys/sysctl.h instead.
18327 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
18328 and vsyslog prototypes.
18330 2013-02-11 Tom de Vries <tom@codesourcery.com>
18332 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
18335 2013-02-11 Roland McGrath <roland@hack.frob.com>
18337 * misc/sys/mman.h: Fix typo in mremap comment.
18339 2013-02-08 Roland McGrath <roland@hack.frob.com>
18341 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
18342 the '\0' terminator.
18344 2013-02-08 Joseph Myers <joseph@codesourcery.com>
18347 * debug/segfault.c: Don't include <bp-checks.h>.
18348 * sysdeps/generic/bp-checks.h: Remove file.
18349 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
18350 (__GETDENTS): Don't use CHECK_N.
18351 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
18352 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
18353 (__getgroups): Don't use CHECK_N.
18354 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
18355 (setgroups): Don't use CHECK_N.
18356 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
18357 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
18358 (__libc_msgrcv): Don't use CHECK_N.
18359 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
18360 (__libc_msgsnd): Don't use CHECK_N.
18361 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
18363 (__libc_pread): Don't use CHECK_N.
18364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
18365 include <bp-checks.h>.
18366 (__libc_pread64): Don't use CHECK_N.
18367 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
18368 include <bp-checks.h>.
18369 (__libc_pwrite): Don't use CHECK_N.
18370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
18371 include <bp-checks.h>.
18372 (__libc_pwrite64): Don't use CHECK_N.
18373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
18375 (__libc_pread): Don't use CHECK_N.
18376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
18377 include <bp-checks.h>.
18378 (__libc_pread64): Don't use CHECK_N.
18379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
18380 include <bp-checks.h>.
18381 (__libc_pwrite): Don't use CHECK_N.
18382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
18383 include <bp-checks.h>.
18384 (__libc_pwrite64): Don't use CHECK_N.
18385 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
18386 (do_pread): Don't use CHECK_N.
18387 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
18388 (do_pread64): Don't use CHECK_N.
18389 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
18390 (do_pwrite): Don't use CHECK_N.
18391 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
18392 (do_pwrite64): Don't use CHECK_N.
18393 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
18394 (__libc_readv): Don't use CHECK_N.
18395 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
18396 (semop): Don't use CHECK_N.
18397 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
18399 (semtimedop): Don't use CHECK_N.
18400 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
18401 (__libc_pread): Don't use CHECK_N.
18402 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
18404 (__libc_pread64): Don't use CHECK_N.
18405 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
18407 (__libc_pwrite): Don't use CHECK_N.
18408 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
18410 (__libc_pwrite64): Don't use CHECK_N.
18411 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
18413 (__libc_msgrcv): Don't use CHECK_N.
18414 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
18415 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
18416 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
18417 (__libc_writev): Don't use CHECK_N.
18419 2013-02-08 Roland McGrath <roland@hack.frob.com>
18421 * string/strcpy.c: Removed unused variable.
18423 * Makeconfig (+sysdep-includes): Define with := rather than =.
18424 Use an existing include/ subdir of each sysdeps dir before it.
18426 2013-02-08 Carlos O'Donell <carlos@redhat.com>
18428 * nscd/connection.c (register_traced_file): Comment function.
18429 [HAVE_INOTIFY] (union __inev): Define.
18430 [HAVE_INOTIFY] (inotify_check_files): New function.
18431 [HAVE_INOTIFY] (clear_db_cache): Likewise.
18432 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
18434 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
18436 2013-02-08 Carlos O'Donell <carlos@redhat.com>
18438 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
18439 loaded if not already and that a failure is permanent.
18441 2013-02-08 Carlos O'Donell <carlos@redhat.com>
18444 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
18445 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
18447 2013-02-08 Joseph Myers <joseph@codesourcery.com>
18450 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
18451 (CHECK_1_NULL_OK): Likewise.
18452 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
18453 (__fxstat): Do not use CHECK_1.
18454 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
18456 (___fxstat64): Do not use CHECK_1.
18457 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
18459 (__fxstatat): Do not use CHECK_1.
18460 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
18462 (__fxstatat64): Do not use CHECK_1.
18463 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
18465 (__fxstat): Do not use CHECK_1.
18466 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
18468 (__fxstatat): Do not use CHECK_1.
18469 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
18471 (__getresgid): Do not use CHECK_1.
18472 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
18474 (__getresuid): Do not use CHECK_1.
18475 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
18477 (__lxstat): Do not use CHECK_1.
18478 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
18480 (__old_msgctl): Do not use CHECK_1.
18481 (__new_msgctl): Likewise.
18482 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
18484 (__new_setrlimit): Do not use CHECK_1.
18485 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
18487 (__old_shmctl): Do not use CHECK_1.
18488 (__new_shmctl): Likewise.
18489 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
18491 (__xstat): Do not use CHECK_1.
18492 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
18493 (__lxstat): Do not use CHECK_1.
18494 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
18496 (___lxstat64): Do not use CHECK_1.
18497 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
18498 (__old_msgctl): Do not use CHECK_1.
18499 (__new_msgctl): Likewise.
18500 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
18502 (__gettimeofday): Do not use CHECK_1.
18503 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
18504 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
18505 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
18507 (__gettimeofday): Do not use CHECK_1.
18508 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
18509 (__old_shmctl): Do not use CHECK_1_NULL_OK.
18510 (__new_shmctl): Do not use CHECK_1.
18511 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
18513 (do_sigtimedwait): Do not use CHECK_1.
18514 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
18516 (do_sigwaitinfo): Do not use CHECK_1.
18517 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
18519 (msgctl): Do not use CHECK_1.
18520 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
18522 (shmctl): Do not use CHECK_1.
18523 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
18524 (ustat): Do not use CHECK_1.
18525 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
18527 (__fxstat): Do not use CHECK_1.
18528 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
18530 (__fxstatat): Do not use CHECK_1.
18531 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
18533 (__lxstat): Do not use CHECK_1.
18534 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
18536 (__xstat): Do not use CHECK_1.
18537 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
18538 (__xstat): Do not use CHECK_1.
18539 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
18540 (___xstat64): Do not use CHECK_1.
18543 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
18545 (CHECK_BOUNDS_HIGH): Likewise.
18546 * string/strcpy.c: Do not include <bp-checks.h>.
18547 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
18549 2013-02-07 Roland McGrath <roland@hack.frob.com>
18551 * nscd/nscd-client.h (__nscd_drop_map_ref):
18552 Add __attribute__ ((unused)).
18553 * nis/nss-nisplus.h (niserr2nss): Likewise.
18555 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
18556 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
18558 * csu/libc-tls.c (init_static_tls, init_slotinfo):
18559 Remove inline keyword.
18560 * include/rounding-mode.h (round_away): Likewise.
18561 * libio/wfileops.c (adjust_wide_data): Likewise.
18562 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
18563 (__m128i_strloadu_tolower): Likewise.
18564 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
18565 (__m128i_strloadu_tolower): Likewise.
18566 * time/mktime.c (ydhms_diff): Likewise.
18567 * locale/elem-hash.h (elem_hash): Likewise.
18568 * locale/setlocale.c (setdata): Likewise.
18569 * posix/regex_internal.h (re_string_char_size_at): Likewise.
18570 (re_string_wchar_at): Likewise.
18571 (bitset_not, bitset_merge, bitset_mask): Likewise.
18572 [!(__GNUC__ > 3)] (inline): Remove macro.
18573 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
18574 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
18575 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
18576 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
18577 * string/memcmp.c (memcmp_bytes): Likewise.
18578 * locale/programs/locarchive.c (compute_hashval): Likewise.
18579 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
18580 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
18581 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
18582 * nss/getent.c (print_rpc, print_protocols): Likewise.
18583 (print_passwd, print_group, print_aliases): Likewise.
18584 * nis/nss-nisplus.h (niserr2nss): Likewise.
18585 * nscd/connections.c (restart_p): Likewise.
18586 Change return type to bool.
18588 2013-02-05 Roland McGrath <roland@hack.frob.com>
18590 * Makeconfig (all-Depend-files): Add existing
18591 $(sorted-subdirs:=/Depend) files.
18592 (all-subdirs): Remove nss.
18593 * sysdeps/unix/inet/Subdirs: Add it here instead.
18594 * hesiod/Depend: New file.
18596 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
18597 instead of calling alloca.
18599 * io/lseek.c (__lseek): Rename to __libc_lseek.
18600 Define __lseek as an alias.
18602 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
18604 2013-02-04 Carlos O'Donell <carlos@redhat.com>
18606 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
18607 else clause and remove check for non-standard endianness.
18609 2013-02-04 David S. Miller <davem@davemloft.net>
18611 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18613 2013-02-04 Joseph Myers <joseph@codesourcery.com>
18616 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
18617 (__ubp_memchr): Remove prototype.
18618 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
18619 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
18620 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
18621 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
18622 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
18624 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
18625 (__ubp_memchr): Likewise.
18626 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
18627 (__ubp_memchr): Likewise.
18628 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
18629 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
18630 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
18631 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
18633 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
18634 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
18635 (__getcwd): Do not use CHECK_STRING.
18636 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
18638 (__real_chown): Do not use CHECK_STRING.
18639 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
18641 (fchownat): Do not use CHECK_STRING.
18642 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
18644 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
18646 (__lchown): Do not use CHECK_STRING.
18647 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
18648 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
18649 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
18650 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
18651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
18652 include <bp-checks.h>.
18653 (truncate64): Do not use CHECK_STRING.
18654 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
18656 (__real_chown): Do not use CHECK_STRING.
18657 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
18659 (__lchown): Do not use CHECK_STRING.
18660 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
18662 (__chown): Do not use CHECK_STRING.
18663 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
18665 (truncate64): Do not use CHECK_STRING.
18666 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
18668 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
18669 (__xmknod): Do not use CHECK_STRING.
18670 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
18672 (__xmknodat): Do not use CHECK_STRING.
18673 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
18674 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
18676 2013-02-04 Andreas Schwab <schwab@suse.de>
18679 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
18680 * include/netdb.h: Likewise for h_errno.
18681 * elf/tst-stackguard1.c: Include <tls.h>.
18683 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
18685 * elf/link.h (struct link_map): Extend the l_addr comment.
18686 * include/link.h (struct link_map): Likewise.
18688 2013-02-01 Joseph Myers <joseph@codesourcery.com>
18691 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
18692 (BOUNDED_1): Remove macro.
18693 * debug/backtrace.c: Don't include <bp-checks.h>.
18694 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
18695 (__backtrace): Likewise.
18696 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
18698 (__backtrace): Don't use BOUNDED_1.
18699 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
18701 (__backtrace): Don't use BOUNDED_1.
18702 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
18703 (__backtrace): Don't use BOUNDED_1.
18704 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
18705 (shmat): Don't use BOUNDED_N.
18707 2013-01-31 Joseph Myers <joseph@codesourcery.com>
18710 * sysdeps/generic/bp-start.h: Remove file.
18711 * csu/libc-start.c: Don't include <bp-start.h>.
18712 (LIBC_START_MAIN): Set up __environ directly instead of using
18713 INIT_ARGV_and_ENVIRON.
18714 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
18718 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
18720 (CHECK_FCNTL): Likewise.
18721 (CHECK_N_PAGES): Likewise.
18724 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
18726 (CHECK_SIGSET_NULL_OK): Likewise.
18727 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
18729 (sigpending): Don't use CHECK_SIGSET.
18730 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
18732 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18733 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
18735 (do_sigsuspend): Don't use CHECK_SIGSET.
18736 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
18738 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
18739 (do_sigwait): Don't use CHECK_SIGSET.
18740 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
18742 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
18743 include <bp-checks.h>.
18744 (sigpending): Don't use CHECK_SIGSET.
18745 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
18746 include <bp-checks.h>.
18747 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18748 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
18750 (sigpending): Don't use CHECK_SIGSET.
18751 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
18753 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18756 * sysdeps/generic/bp-semctl.h: Remove file.
18757 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
18758 <bp-checks.h> and <bp-semctl.h>.
18759 (__old_semctl): Don't use CHECK_SEMCTL.
18760 (__new_semctl): Likewise.
18761 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
18763 (__old_semctl): Don't use CHECK_SEMCTL.
18764 (__new_semctl): Likewise.
18765 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
18766 <bp-checks.h> and <bp-semctl.h>.
18767 (__old_semctl): Don't use CHECK_SEMCTL.
18768 (__new_semctl): Likewise.
18769 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
18770 <bp-checks.h> and <bp-semctl.h>.
18771 (semctl): Don't use CHECK_SEMCTL.
18774 * Makerules (elide-bp-thunks): Remove variable.
18775 (elide-routines.oS): Don't use $(elide-bp-thunks).
18776 (elide-routines.os): Likewise.
18777 (elide-routines.o): Likewise.
18778 (elide-routines.op): Likewise.
18779 (elide-routines.og): Likewise.
18780 (objects): Don't use $(bp-thunks).
18781 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
18783 (common-generated): Do not add s-proto-bp.d.
18784 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
18787 Do not generate makefile rules for bounded-pointer thunks.
18788 * sysdeps/generic/bp-thunks.h: Remove file.
18789 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
18790 * sysdeps/unix/s-proto-bp.S: Likewise.
18793 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
18794 parts of result separately when argument is not close to line from
18795 -i to i and one part of argument is small.
18796 * math/k_casinhf.c (__kernel_casinhf): Likewise.
18797 * math/k_casinhl.c (__kernel_casinhl): Likewise.
18798 * math/libm-test.inc (cacos_test): Add more tests.
18799 (casin_test): Likewise.
18800 (casinh_test): Likewise.
18801 * sysdeps/i386/fpu/libm-test-ulps: Update.
18802 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18804 2013-01-31 David S. Miller <davem@davemloft.net>
18806 * po/de.po: Update from translation team.
18808 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
18810 * time/tzfile.c: Include stdint.h for SIZE_MAX.
18812 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
18814 * configure.in (_AC_PROG_CC_C89): New definition.
18815 * configure: Regenerate.
18817 * configure.in (AC_PROG_CPP): New definition.
18818 * configure: Regenerate.
18820 2013-01-23 Joseph Myers <joseph@codesourcery.com>
18822 * debug/tst-backtrace.h: New file.
18823 * debug/tst-backtrace2.c: Include tst-backtrace.h.
18824 (ret): Remove variable.
18826 (FAIL): Remove macro.
18827 (NO_INLINE): Likewise.
18828 (fn1): Use match function instead of strstr.
18829 * debug/tst-backtrace3.c: Include tst-backtrace.h.
18830 (ret): Remove variable.
18832 (FAIL): Remove macro.
18833 (NO_INLINE): Likewise.
18834 (fn): Use match function instead of strstr.
18835 * debug/tst-backtrace4.c: Include tst-backtrace.h.
18836 (ret): Remove variable.
18838 (FAIL): Remove macro.
18839 (NO_INLINE): Likewise.
18840 (handle_signal): Use match function instead of strstr.
18841 * debug/tst-backtrace5.c: Include tst-backtrace.h.
18842 (ret): Remove variable.
18844 (FAIL): Remove macro.
18845 (NO_INLINE): Likewise.
18846 (handle_signal): Use match function instead of strstr.
18848 2013-01-23 Roland McGrath <roland@hack.frob.com>
18850 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
18852 2013-01-23 David S. Miller <davem@davemloft.net>
18854 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
18855 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
18856 argument of CAS if possible.
18857 * sysdeps/sparc/sparc64/bits/atomic.h
18858 (__arch_compare_and_exchange_val_32_acq): Likewise.
18859 (__arch_compare_and_exchange_val_64_acq): Likewise.
18861 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
18863 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
18864 * sysdeps/posix/ulimit.c: ... this.
18865 Include <limits.h>.
18866 * sysdeps/unix/bsd/ulimit.c: Remove file.
18868 2013-01-23 Adam Conrad <adconrad@0c3.net>
18870 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
18871 (LDFLAGS-tst-array5): Likewise.
18873 2013-01-23 Joseph Myers <joseph@codesourcery.com>
18876 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
18877 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
18878 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
18879 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
18881 2013-01-21 David S. Miller <davem@davemloft.net>
18883 * sysdeps/sparc/backtrace.c: New file.
18884 * sysdeps/sparc/sparc32/backtrace.h: New file.
18885 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
18886 * sysdeps/sparc/sparc64/backtrace.h: New file.
18887 * sysdeps/sparc/sparc64/backtrace.c: Delete.
18888 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
18891 2013-01-21 Andreas Schwab <schwab@suse.de>
18894 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
18897 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
18899 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
18901 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18903 2013-01-18 Joseph Myers <joseph@codesourcery.com>
18904 Mark Mitchell <mark@codesourcery.com>
18905 Tom de Vries <tom@codesourcery.com>
18906 Paul Pluzhnikov <ppluzhnikov@google.com>
18908 * debug/tst-backtrace2.c: New file.
18909 * debug/tst-backtrace3.c: Likewise.
18910 * debug/tst-backtrace4.c: Likewise.
18911 * debug/tst-backtrace5.c: Likewise.
18912 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
18913 (CFLAGS-tst-backtrace3.c): Likewise.
18914 (CFLAGS-tst-backtrace4.c): Likewise.
18915 (CFLAGS-tst-backtrace5.c): Likewise.
18916 (LDFLAGS-tst-backtrace2): Likewise.
18917 (LDFLAGS-tst-backtrace3): Likewise.
18918 (LDFLAGS-tst-backtrace4): Likewise.
18919 (LDFLAGS-tst-backtrace5): Likewise.
18920 (tests): Add new tests tst-backtrace2, tst-backtrace3,
18921 tst-backtrace4 and tst-backtrace5.
18923 2013-01-18 Anton Blanchard <anton@samba.org>
18924 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18926 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
18927 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
18928 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
18929 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
18930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
18931 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
18932 "+r" and remove output regs list as redundant. Add explicit inline
18933 asm to specify register of return val to work around compiler codegen
18934 bug. Remove (int) cast on return value. Add return type parameter to
18935 use in macro so that this macro does not truncate return value for
18937 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
18938 pass to INTERNAL_VSYSCALL_NCS.
18939 (INLINE_VSYSCALL): Add 'long int' as return type to
18940 INTERNAL_VSYSCALL_NCS macro invocation.
18941 (INTERNAL_VSYSCALL): Add 'long int' as return type to
18942 INTERNAL_VSYSCALL_NCS macro invocation.
18943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
18945 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
18948 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
18949 Fix application of SIMD FP exception mask.
18951 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
18952 mp_no from a power of two.
18953 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
18954 __mpexp_twomm1. Use __pow_mp.
18956 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
18959 2013-01-17 David S. Miller <davem@davemloft.net>
18961 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18963 2013-01-17 Joseph Myers <joseph@codesourcery.com>
18966 * include/complex.h: Condition contents on [!_COMPLEX_H].
18967 (__kernel_casinhf): New prototype.
18968 (__kernel_casinh): Likewise.
18969 (__kernel_casinhl): Likewise.
18970 * math/Makefile (libm_calls): Add k_casinh.
18971 * math/k_casinh.c: New file.
18972 * math/k_casinhf.c: Likewise.
18973 * math/k_casinhl.c: Likewise.
18974 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
18975 finite nonzero arguments.
18976 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
18977 finite nonzero arguments.
18978 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
18979 finite nonzero arguments.
18980 * math/s_casinh.c: Do not include <float.h>.
18981 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
18982 * math/s_casinhf.c: Do not include <float.h>.
18983 (__casinhf): Move code for finite nonzero arguments to
18985 * math/s_casinhl.c: Do not include <float.h>.
18986 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
18988 (__casinhl): Move code for finite nonzero arguments to
18990 * math/libm-test.inc (cacos_test): Add more tests.
18991 * sysdeps/i386/fpu/libm-test-ulps: Update.
18992 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18994 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
18996 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
18997 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
18998 [!HAVE_MREMAP]: Remove [defined linux] case.
18999 * malloc/arena.c: Do not include <malloc-sysdep.h>.
19001 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
19003 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
19005 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
19007 * elf/elf.h (R_386_SIZE32): New relocation.
19008 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
19010 (elf_machine_rela): Likewise.
19011 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
19012 R_X86_64_SIZE64 and R_X86_64_SIZE32.
19014 2013-01-17 Joseph Myers <joseph@codesourcery.com>
19016 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
19017 (FP_FAST_FMA): Do not define.
19018 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
19019 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
19020 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
19021 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
19022 !_SOFT_FLOAT]: Likewise.
19023 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
19024 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
19026 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
19027 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
19028 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
19029 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
19030 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
19031 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
19034 2013-01-16 Andreas Schwab <schwab@suse.de>
19037 * include/stdlib.h (__mktemp): Add declaration.
19038 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
19039 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
19041 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
19043 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
19045 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
19046 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
19047 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
19049 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
19050 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
19052 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
19054 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
19055 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
19056 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
19058 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
19059 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
19061 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
19063 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
19065 2013-01-15 David S. Miller <davem@davemloft.net>
19067 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
19068 trunc{,f} to libm-sysdep_routes.
19069 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
19070 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
19072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
19073 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
19075 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
19077 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
19078 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
19079 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
19080 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
19081 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
19082 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
19083 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
19084 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
19086 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
19087 nearbyint{,f} to libm-sysdep_routes.
19088 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
19089 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
19091 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
19093 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
19095 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
19097 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
19098 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
19099 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
19101 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
19102 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
19104 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
19105 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
19106 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
19108 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
19109 libc_feholdexcept and libc_fesetenv.
19111 2013-01-15 Mike Frysinger <vapier@gentoo.org>
19113 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
19115 2013-01-14 David S. Miller <davem@davemloft.net>
19117 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
19118 (SPARC_ASM_VIS2_IFUNC): Likewise.
19119 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
19120 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
19121 use of 'siam' instruction.
19122 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
19124 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
19126 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
19128 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
19129 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
19130 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
19131 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
19132 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
19134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
19136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
19138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
19140 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
19141 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
19142 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
19143 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
19144 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
19146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
19147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
19148 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
19150 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
19151 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
19152 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
19153 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
19154 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
19155 routines to libm-sysdep_routines.
19156 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
19158 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
19159 fdim/fdimf to libm-sysdep_routines.
19160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
19162 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
19163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
19165 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
19166 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
19167 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
19168 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
19169 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
19170 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
19171 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
19173 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
19175 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
19176 to optimize copies.
19178 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
19179 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19180 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19182 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
19183 local variable MPTWO.
19184 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
19187 2013-01-13 Mike Frysinger <vapier@gentoo.org>
19189 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
19192 2013-01-13 Mike Frysinger <vapier@gentoo.org>
19194 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
19196 2013-01-13 Mike Frysinger <vapier@gentoo.org>
19198 * manual/pattern.texi (glob_t): Document gl_flags.
19199 (glob64_t): Likewise.
19201 2013-01-11 David S. Miller <davem@davemloft.net>
19203 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
19204 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
19205 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
19206 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
19207 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
19208 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
19209 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
19210 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
19211 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
19212 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
19213 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
19214 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
19215 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
19217 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
19218 sparc V9 rather than using V8 code.
19219 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19220 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19222 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
19224 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
19227 2013-01-11 Roland McGrath <roland@hack.frob.com>
19229 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
19230 not in the main loop.
19231 * configure: Regenerated.
19233 2013-01-11 Joseph Myers <joseph@codesourcery.com>
19235 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
19236 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
19238 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
19239 [!__GLIBC_HAVE_LONG_LONG] case.
19240 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
19241 condition to just #else.
19242 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
19243 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
19244 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
19245 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
19247 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
19248 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
19249 #elif condition to just #else.
19250 * sysdeps/unix/sysv/linux/sys/sysmacros.h
19251 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
19252 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
19253 #elif condition to just #else.
19255 2013-01-11 Steve Ellcey <sellcey@mips.com>
19257 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
19258 (EF_MIPS_ARCH_64): Fix value.
19259 (EF_MIPS_ARCH_32R2): New.
19260 (EF_MIPS_ARCH_64R2): New.
19262 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
19264 * Makeconfig (+link-pie-before-libc): New.
19265 (+link-pie-after-libc): Likewise.
19266 (+link-pie-tests): Likewise.
19267 (+link-pie): Rewritten.
19268 (link-before-libc): Remove $(config-LDFLAGS).
19269 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
19270 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
19271 (config-LDFLAGS): Renamed to ...
19272 (rtld-LDFLAGS): This.
19273 (rtld-tests-LDFLAGS): New macro.
19274 (link-libc-rpath-link): Likewise.
19275 (link-libc-tests-rpath-link): Likewise.
19276 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
19277 (link-libc): Prepand $(link-libc-rpath-link).
19278 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
19279 (test-program-prefix): New macro.
19280 (test-via-rtld-prefix): Likewise.
19281 (test-program-cmd): Likewise.
19282 (host-test-program-cmd): Likewise.
19283 * Makefile ($(common-objpfx)testrun.sh): Replace
19284 $(run-program-prefix) with $(test-program-prefix).
19285 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
19287 ($(common-objpfx)shlib.lds): Likewise.
19288 (build-module-helper): Likewise.
19289 ($(common-objpfx)format.lds): Likewise.
19290 * Rules (binaries-pie-tests): New.
19291 (binaries-pie-notests): Likewise.
19292 (binaries-pie): Rewritten.
19293 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
19294 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
19295 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
19296 (make-test-out): Replace $(host-built-program-cmd) with
19297 $(host-test-program-cmd).
19298 * config.make.in (build-hardcoded-path-in-tests): New variable.
19299 * configure.in (--enable-hardcoded-path-in-tests): New configure
19301 (hardcoded_path_in_tests): New AC_SUBST.
19302 * configure: Regenerated.
19303 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
19304 $(built-program-cmd) with $(test-program-cmd).
19305 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
19306 (test_program_cmd): This.
19307 * elf/Makefile ($(objpfx)order.out): Run test with
19308 $(test-program-prefix).
19309 ($(objpfx)order2.out): Likewise.
19310 ($(objpfx)tst-initorder.out): Likewise.
19311 ($(objpfx)tst-initorder2.out): Likewise.
19312 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
19313 $(test-program-cmd).
19314 ($(objpfx)tst-array1-static.out): Likewise.
19315 ($(objpfx)tst-array2.out): Likewise.
19316 ($(objpfx)tst-array3.out): Likewise.
19317 ($(objpfx)tst-array4.out): Likewise.
19318 ($(objpfx)tst-array5.out): Likewise.
19319 ($(objpfx)tst-array5-static.out): Likewise.
19320 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
19321 $(test-program-cmd).
19322 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
19323 $(run-program-prefix) with $(test-program-prefix).
19324 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
19325 (test_program_prefix): This.
19326 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
19327 $(run-program-prefix) with $(test-program-prefix).
19328 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
19329 (test_program_prefix): This.
19330 * iconvdata/tst-tables.sh: Likewise.
19331 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
19332 $(run-program-prefix) with $(test-program-prefix).
19333 ($(objpfx)tst-translit.out): Likewise.
19334 ($(objpfx)tst-gettext2.out): Likewise.
19335 ($(objpfx)tst-gettext4.out): Likewise.
19336 ($(objpfx)tst-gettext6.out): Likewise.
19337 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
19338 (test_program_prefix): This.
19339 * intl/tst-gettext2.sh: Likewise.
19340 * intl/tst-gettext4.sh Likewise.
19341 * intl/tst-gettext6.sh: Likewise.
19342 * intl/tst-translit.sh: Likewise.
19343 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
19344 with $(test-program-cmd).
19345 * libio/Makefile ($(objpfx)test-freopen.out): Replace
19346 $(run-program-prefix) with $(test-program-prefix).
19347 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
19348 (test_program_prefix): This.
19349 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
19350 $(run-program-prefix) with $(test-program-prefix).
19351 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
19352 (test_program_prefix): This.
19353 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
19354 * posix/Makefile ($(objpfx)globtest.out): Replace
19355 $(run-via-rtld-prefix) and $(test-wrapper) with
19356 $(test-program-prefix) and $(test-via-rtld-prefix).
19357 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
19358 $(test-program-prefix).
19359 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
19360 $(host-test-program-cmd).
19361 (tst-spawn-ARGS): Likewise.
19362 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
19363 $(test-program-prefix).
19364 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
19365 (test_via_rtld_prefix): This.
19366 (test_wrapper): Renamed to ...
19367 (test_program_prefix): This.
19368 (run_program_prefix): Replaced by test_program_prefix.
19369 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
19370 (test_program_prefix): This.
19371 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
19372 with $(host-test-program-cmd).
19373 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
19374 $(run-program-prefix) with $(test-program-prefix).
19375 ($(objpfx)tst-printf.out): Likewise.
19376 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
19377 $(test-program-cmd).
19378 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
19379 (test_program_prefix): This.
19380 * stdio-common/tst-unbputc.sh: Likewise.
19381 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
19382 $(run-program-prefix) with $(test-program-prefix).
19383 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
19384 (test_program_prefix): This.
19385 * string/Makefile ($(objpfx)tst-svc.out): Replace
19386 $(built-program-cmd) with $(test-program-cmd).
19388 2013-01-11 Andreas Jaeger <aj@suse.de>
19391 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
19392 value. Sync with Linux 3.7.
19394 2013-01-10 David S. Miller <davem@davemloft.net>
19396 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
19397 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19398 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19400 2013-01-10 Roland McGrath <roland@hack.frob.com>
19402 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
19404 * configure: Regenerated.
19406 2013-01-10 David S. Miller <davem@davemloft.net>
19408 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
19409 sparc V9 rather than using V8 code.
19410 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19411 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19413 2013-01-10 Roland McGrath <roland@hack.frob.com>
19415 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
19416 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
19417 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
19418 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
19419 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
19420 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
19421 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
19422 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
19423 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
19424 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
19425 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
19426 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
19427 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
19428 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
19429 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
19430 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
19431 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
19432 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
19433 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
19434 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
19435 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
19436 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
19437 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
19438 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
19439 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
19440 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
19441 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
19443 2013-01-10 David S. Miller <davem@davemloft.net>
19445 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19447 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
19449 * posix/Makefile (tests-static): New variable.
19450 (tests): Add $(tests-static).
19451 (tst-exec-static-ARGS): New variable.
19452 (tst-spawn-static-ARGS): Likewise.
19453 * posix/tst-exec-static.c: New file.
19454 * posix/tst-spawn-static.c: Likewise.
19455 * posix/tst-exec.c: Support run directly.
19456 * posix/tst-spawn.c: Likewise.
19458 2013-01-10 Joseph Myers <joseph@codesourcery.com>
19460 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
19462 * math/bits/mathcalls.h (llrint): Likewise.
19463 (llround): Likewise.
19464 * stdlib/stdlib.h (struct drand48_data): Likewise.
19465 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
19466 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
19467 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
19469 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
19471 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
19472 (elf_greg_t): Likewise.
19473 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
19474 (__jmp_buf): Likewise.
19475 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
19477 (llrint): Likewise, for all definitions.
19478 (llrintl): Likewise.
19480 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
19481 Remove [__GNUC__] condition.
19482 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
19483 condition to just [__USE_ISOC99].
19484 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
19486 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
19489 * sysdeps/unix/sysv/linux/x86/bits/environments.h
19490 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
19492 (_POSIX_V6_ILP32_OFF32): Likewise.
19493 (_XBS5_ILP32_OFF32): Likewise.
19494 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
19495 (__ILP32_OFFBIG_LDFLAGS): Likewise.
19497 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19499 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
19501 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
19502 doubles __mpexp_twomm1. Adjust usage.
19503 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
19506 2013-01-10 Andreas Schwab <schwab@suse.de>
19509 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
19510 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
19512 2013-01-09 David S. Miller <davem@davemloft.net>
19515 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
19516 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
19517 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
19518 (TCP_FASTOPEN): Define.
19519 (tcp_repair_opt): New structure.
19520 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
19522 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
19523 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
19524 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
19525 (tcp_cookie_transactions): New structure.
19527 2013-01-09 Anton Blanchard <anton@samba.org>
19529 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
19530 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
19531 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
19532 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
19534 2013-01-09 Joseph Myers <joseph@codesourcery.com>
19536 * include/features.h (__USE_ANSI): Remove.
19538 2013-01-09 Roland McGrath <roland@hack.frob.com>
19540 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
19542 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
19544 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
19546 * sysdeps/s390/fpu/libm-test-ulps: Update.
19548 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19550 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
19554 (denorm): Likewise.
19555 (__mp_dbl): Likewise.
19556 (__dbl_mp): Likewise.
19557 (add_magnitudes): Likewise.
19558 (sub_magnitudes): Likewise.
19564 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
19568 (denorm): Likewise.
19569 (__mp_dbl): Likewise.
19570 (__dbl_mp): Likewise.
19571 (add_magnitudes): Likewise.
19572 (sub_magnitudes): Likewise.
19578 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
19582 (denorm): Likewise.
19583 (__mp_dbl): Likewise.
19584 (__dbl_mp): Likewise.
19585 (add_magnitudes): Likewise.
19586 (sub_magnitudes): Likewise.
19593 2013-01-08 Joseph Myers <joseph@codesourcery.com>
19595 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
19596 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
19597 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
19598 2 && __USE_EXTERN_INLINES]: Likewise.
19600 2013-01-08 Andreas Jaeger <aj@suse.de>
19603 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
19605 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
19606 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
19608 2013-01-07 Anton Blanchard <anton@samba.org>
19610 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
19611 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
19612 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
19613 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
19614 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
19615 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
19616 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
19617 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
19618 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19619 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
19620 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
19621 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
19622 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
19623 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19624 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
19625 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
19626 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
19627 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19628 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
19629 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
19630 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
19631 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
19632 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
19633 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
19634 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
19635 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
19636 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
19637 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
19638 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
19639 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
19640 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
19641 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19642 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
19643 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
19644 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
19645 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
19646 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19647 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
19648 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
19649 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
19650 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
19651 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
19652 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
19654 2013-01-07 Joseph Myers <joseph@codesourcery.com>
19656 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
19657 (__MALLOC_PMT): Likewise.
19658 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
19659 [__GNUC__], only on [_LIBC].
19660 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
19661 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
19662 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
19663 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
19664 forward declaration.
19665 (realloc_hook_ini): Likewise.
19666 (memalign_hook_ini): Likewise.
19667 (__libc_memalign): Do not use __MALLOC_PMT in variable
19669 (__libc_valloc): Likewise.
19670 (__libc_pvalloc): Likewise.
19671 (__libc_calloc): Likewise.
19672 (__posix_memalign): Likewise.
19675 * math/s_casinh.c: Include <float.h>.
19676 (__casinh): Do not do computation with squaring and square root
19677 for large arguments.
19678 * math/s_casinhf.c: Include <float.h>.
19679 (__casinhf): Do not do computation with squaring and square root
19680 for large arguments.
19681 * math/s_casinhl.c: Include <float.h>.
19682 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
19683 (__casinhl): Do not do computation with squaring and square root
19684 for large arguments.
19685 * math/libm-test.inc (casin_test): Add more tests.
19686 (casinh_test): Likewise.
19687 * sysdeps/i386/fpu/libm-test-ulps: Update.
19688 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19690 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
19692 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
19693 (__x86_64_raw_data_cache_size): Likewise.
19694 (__x86_64_data_cache_size_half): Likewise.
19695 (__x86_64_raw_data_cache_size_half): Likewise.
19696 (__x86_64_shared_cache_size): Likewise.
19697 (__x86_64_raw_shared_cache_size): Likewise.
19698 (__x86_64_shared_cache_size_half): Likewise.
19699 (__x86_64_raw_shared_cache_size_half): Likewise.
19700 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
19702 (__x86_data_cache_size): This.
19703 (__x86_64_raw_data_cache_size): Renamed to ...
19704 (__x86_raw_data_cache_size): This.
19705 (__x86_64_data_cache_size_half): Renamed to ...
19706 (__x86_data_cache_size_half): This.
19707 (__x86_64_raw_data_cache_size_half): Renamed to ...
19708 (__x86_raw_data_cache_size_half): This.
19709 (__x86_64_shared_cache_size): Renamed to ...
19710 (__x86_shared_cache_size): This.
19711 (__x86_64_raw_shared_cache_size): Renamed to ...
19712 (__x86_raw_shared_cache_size): This.
19713 (__x86_64_shared_cache_size_half): Renamed to ...
19714 (__x86_shared_cache_size_half): This.
19715 (__x86_64_raw_shared_cache_size_half): Renamed to ...
19716 (__x86_raw_shared_cache_size_half): This.
19717 * sysdeps/x86_64/memcpy.S: Updated.
19718 * sysdeps/x86_64/memset.S: Likewise.
19719 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
19720 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
19721 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
19723 2013-01-04 David S. Miller <davem@davemloft.net>
19725 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19727 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
19729 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
19730 1 to avoid redefinition warning.
19731 (__USE_GNU): Don't define.
19732 (init_signaling_nan): Protoize.
19734 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19736 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19738 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
19739 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
19740 (__cpymn): Likewise.
19741 (norm): Remove commented code.
19742 (denorm): Likewise.
19743 (__mp_dbl): Likewise.
19745 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
19746 (__cpymn): Likewise.
19747 (norm): Remove commented code.
19748 (denorm): Likewise.
19749 (__mp_dbl): Likewise.
19752 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
19753 mp_no value for 1.0 and 2.0.
19754 (norm): Use RADIXI instead of radixi.d.
19755 (denorm): Likewise.
19756 (__mul): Use 0.0 instead of zero.d.
19757 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
19758 mp_no value for 1.0 and 2.0.
19759 (norm): Use RADIXI instead of radixi.d.
19760 (denorm): Likewise.
19761 (__mul): Use 0.0 instead of zero.d.
19763 2013-01-04 Joseph Myers <joseph@codesourcery.com>
19766 * math/s_casinh.c (__casinh): Reduce finite argument to first
19767 quadrant then set signs of results at the end.
19768 * math/s_casinhf.c (__casinhf): Likewise.
19769 * math/s_casinhl.c (__casinhl): Likewise.
19770 * math/libm-test.inc (casin_test): Add more tests.
19771 (casinh_test): Likewise.
19772 * sysdeps/i386/fpu/libm-test-ulps: Update.
19773 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19775 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19777 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
19779 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
19781 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
19783 (denorm): Likewise.
19784 (__mp_dbl): Likewise.
19787 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
19788 and adjust the header comment.
19790 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
19791 variable name from declaration.
19793 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
19795 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19796 Initialize COMMON_CPUID_INDEX_7 element.
19797 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
19798 (CPUID_RTM): Likewise.
19799 (HAS_RTM): Likewise.
19800 (COMMON_CPUID_INDEX_7): New enum.
19802 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
19805 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
19806 size is zero, record memory as freed.
19808 2013-01-03 Andreas Jaeger <aj@suse.de>
19810 * po/ia.po: Add new Interlingua translation.
19812 2012-01-03 Allan McRae <allan@archlinux.org>
19814 * locale/programs/localedef.c: Fix description of '--posix' flag.
19816 2013-01-02 Joseph Myers <joseph@codesourcery.com>
19818 * NEWS: Update dates in second copyright notice.
19819 * README: Update copyright dates in example.
19820 * manual/libc.texinfo: Update copyright dates.
19821 * scripts/test-installation.pl: Update copyright date in --version
19824 * hurd/ctty-input.c: Fix copyright notice formatting.
19825 * hurd/ctty-output.c: Likewise.
19826 * hurd/dtable.c: Likewise.
19827 * hurd/hurd-raise.c: Likewise.
19828 * hurd/hurdprio.c: Likewise.
19829 * hurd/msgportdemux.c: Likewise.
19830 * misc/sys/file.h: Likewise.
19831 * misc/sys/ioctl.h: Likewise.
19832 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
19833 * sysdeps/mach/hurd/chdir.c: Likewise.
19834 * sysdeps/mach/hurd/fchdir.c: Likewise.
19835 * sysdeps/mach/hurd/rename.c: Likewise.
19836 * sysdeps/mach/hurd/rmdir.c: Likewise.
19837 * sysdeps/mach/hurd/seekdir.c: Likewise.
19838 * sysdeps/mach/hurd/setsid.c: Likewise.
19839 * sysdeps/posix/wait3.c: Likewise.
19841 * All files with FSF copyright notices: Update copyright dates
19842 using scripts/update-copyrights.
19843 * intl/plural.c: Regenerated.
19844 * locale/programs/charmap-kw.h: Likewise.
19845 * locale/programs/locfile-kw.h: Likewise.
19847 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
19849 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
19852 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
19853 calculation loop and add branch prediction.
19855 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
19856 check access beyond bounds of m1np.
19858 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
19860 (__inv): Remove local variable MPTWO to use the global
19862 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
19863 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
19865 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
19866 MP3HALFS static const.
19868 2013-01-01 David S. Miller <davem@davemloft.net>
19870 * po/ca.po: Update from translation team.
19872 2013-01-01 Joseph Myers <joseph@codesourcery.com>
19874 * scripts/update-copyrights: New file.
19875 * Makeconfig: Reformat copyright notice.
19876 * ctype/ctype.h: Likewise.
19877 * debug/swprintf_chk.c: Likewise.
19878 * elf/dl-cache.c: Likewise.
19879 * elf/dl-debug.c: Likewise.
19880 * elf/dl-object.c: Likewise.
19881 * grp/initgroups.c: Likewise.
19882 * hurd/Makefile: Likewise.
19883 * hurd/hurd/signal.h: Likewise.
19884 * hurd/hurdfault.c: Likewise.
19885 * hurd/hurdioctl.c: Likewise.
19886 * hurd/hurdlookup.c: Likewise.
19887 * hurd/intr-msg.c: Likewise.
19888 * iconv/gconv_open.c: Likewise.
19889 * libio/swprintf.c: Likewise.
19890 * locale/lc-ctype.c: Likewise.
19891 * locale/nl_langinfo.c: Likewise.
19892 * mach/Machrules: Likewise.
19893 * mach/Makefile: Likewise.
19894 * malloc/obstack.h: Likewise.
19895 * manual/Makefile: Likewise.
19896 * manual/tsort.awk: Likewise.
19897 * misc/bits/stab.def: Likewise.
19898 * nis/nis_print_group_entry.c: Likewise.
19899 * nis/nis_table.c: Likewise.
19900 * nis/nss_compat/compat-pwd.c: Likewise.
19901 * nis/nss_compat/compat-spwd.c: Likewise.
19902 * po/Makefile: Likewise.
19903 * posix/fnmatch.c: Likewise.
19904 * posix/regex.h: Likewise.
19905 * resolv/Makefile: Likewise.
19906 * resolv/nss_dns/dns-network.c: Likewise.
19907 * resolv/res_hconf.c: Likewise.
19908 * scripts/gen-sorted.awk: Likewise.
19909 * soft-fp/soft-fp.h: Likewise.
19910 * stdio-common/printf.h: Likewise.
19911 * stdlib/monetary.h: Likewise.
19912 * stdlib/random.c: Likewise.
19913 * stdlib/random_r.c: Likewise.
19914 * sysdeps/generic/Makefile: Likewise.
19915 * sysdeps/gnu/Makefile: Likewise.
19916 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
19917 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19918 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
19919 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19920 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19921 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19922 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19923 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
19924 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19925 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19926 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
19927 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
19928 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
19929 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
19930 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
19931 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
19932 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
19933 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19934 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19935 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19936 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
19937 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
19938 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
19939 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
19940 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
19941 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
19942 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
19943 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
19944 * sysdeps/mach/hurd/errnos.awk: Likewise.
19945 * sysdeps/mach/hurd/fork.c: Likewise.
19946 * sysdeps/mach/hurd/getcwd.c: Likewise.
19947 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
19948 * sysdeps/mach/hurd/mmap.c: Likewise.
19949 * sysdeps/mach/hurd/utimes.c: Likewise.
19950 * sysdeps/mach/hurd/xmknod.c: Likewise.
19951 * sysdeps/posix/profil.c: Likewise.
19952 * sysdeps/posix/readdir_r.c: Likewise.
19953 * sysdeps/powerpc/bits/mathdef.h: Likewise.
19954 * sysdeps/powerpc/bits/setjmp.h: Likewise.
19955 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
19956 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
19957 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19958 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
19959 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
19960 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
19961 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19962 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
19963 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
19964 * sysdeps/pthread/lio_listio.c: Likewise.
19965 * sysdeps/sparc/dl-procinfo.h: Likewise.
19966 * sysdeps/unix/i386/sysdep.S: Likewise.
19967 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
19968 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
19969 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
19970 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
19971 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
19972 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
19973 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
19974 * sysdeps/unix/sysv/linux/speed.c: Likewise.
19975 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
19976 * sysdeps/wordsize-32/divdi3.c: Likewise.
19977 * time/sys/time.h: Likewise.
19978 * wcsmbs/Makefile: Likewise.
19980 2013-01-01 David S. Miller <davem@davemloft.net>
19982 * po/fr.po: Update from translation team.
19984 * catgets/gencat.c: Update copyright year.
19985 * csu/version.c: Likewise.
19986 * debug/catchsegv.sh: Likewise.
19987 * debug/pcprofiledump.c: Likewise.
19988 * debug/xtrace.sh: Likewise.
19989 * elf/ldconfig.c: Likewise.
19990 * elf/ldd.bash.in: Likewise.
19991 * elf/pldd.c: Likewise.
19992 * elf/sotruss.ksh: Likewise.
19993 * elf/sprof.c: Likewise.
19994 * iconv/iconv_prog.c: Likewise.
19995 * iconv/iconvconfig.c: Likewise.
19996 * locale/programs/locale.c: Likewise.
19997 * locale/programs/localedef.c: Likewise.
19998 * login/programs/pt_chown.c: Likewise.
19999 * malloc/memusage.sh: Likewise.
20000 * malloc/memusagestat.c: Likewise.
20001 * malloc/mtrace.pl: Likewise.
20002 * nscd/nscd.c: Likewise.
20003 * nss/getent.c: Likewise.
20004 * nss/makedb.c: Likewise.
20005 * posix/getconf.c: Likewise.
20007 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
20009 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
20012 2012-12-30 Mike Frysinger <vapier@gentoo.org>
20014 * math/bits/mathcalls.h (modf): Use __nonnull.
20016 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
20018 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
20019 (split): Use macro CN instead of the bare value.
20020 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
20022 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
20023 instead of the bare value.
20024 (power1): Likewise.
20026 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20028 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
20030 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
20032 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
20034 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
20035 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
20036 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
20037 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
20039 2012-12-28 Andreas Jaeger <aj@suse.de>
20041 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
20042 values are from Linux 3.7.
20044 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
20045 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
20047 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20049 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
20052 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
20054 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
20055 variables with preprocessor constants.
20056 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
20057 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
20058 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
20060 2012-12-27 Bruno Haible <bruno@clisp.org>
20063 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
20066 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20068 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
20069 and use variable directly.
20070 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
20072 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
20074 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
20075 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
20077 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
20078 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
20079 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
20080 include directive. Remove local variable MPONE.
20081 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
20082 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
20083 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
20085 2012-12-25 David S. Miller <davem@davemloft.net>
20087 * version.h (RELEASE): Set to "development".
20088 (VERSION): Set to "2.17.90".
20089 * NEWS: Add 2.18 section.
20091 2012-12-21 David S. Miller <davem@davemloft.net>
20093 * po/hr.po: Update from translation team.
20095 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20097 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
20099 2012-12-19 Steve Ellcey <sellcey@mips.com>
20101 * NEWS: Mention new memcpy for MIPS.
20103 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20105 * manual/contrib.texi (Contributors): Spelling correction.
20107 2012-12-15 David S. Miller <davem@davemloft.net>
20109 * po/ru.po: Update from translation team.
20111 2012-12-13 David S. Miller <davem@davemloft.net>
20113 * NEWS: Mention IFUNC testsuite enhancements.
20115 * po/pl.po: Update from translation team.
20116 * po/bg.po: Likewise.
20118 * manual/contrib.texi (Contributors): Update entries for Hongjiu
20119 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
20121 2012-12-11 David S. Miller <davem@davemloft.net>
20123 * po/sv.po: Update from translation team.
20125 * po/vi.po: Update from translation team.
20127 * po/cs.po: Update from translation team.
20129 * po/de.po: Update from translation team.
20130 * po/eo.po: Likewise.
20131 * po/nl.po: Likewise.
20133 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20136 * manual/argp.texi (Argp Helper Functions): Move node to follow
20137 Argp Parsing State.
20140 * manual/conf.texi (Limits on File System Capacity): Mention if
20141 terminating null is included in the max size.
20143 2012-12-10 Andreas Jaeger <aj@suse.de>
20145 * po/cs.po: Update from translation team.
20147 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
20149 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
20150 void pointer and cast to uintptr_t.
20151 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
20153 * sysdeps/s390/s390-64/memcpy.S: Likewise.
20154 * sysdeps/s390/s390-64/memset.S: Likewise.
20156 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
20159 * menual/message.texi (Message Translation): Fix typos.
20160 (Helper programs for gettext): Likewise.
20162 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
20165 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
20168 2012-12-07 David S. Miller <davem@davemloft.net>
20170 * po/libc.pot: Update.
20172 2012-12-07 Richard Henderson <rth@redhat.com>
20175 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
20176 normal/normal case to before the switch.
20177 (_FP_DIV): Likewise.
20179 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
20180 Mike Frysinger <vapier@gentoo.org>
20182 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
20183 check for __NR_fadvise64_64.
20185 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
20187 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
20188 0, not just to plain "0" as a statement.
20189 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
20192 2012-12-06 Joseph Myers <joseph@codesourcery.com>
20194 * NEWS: Use sourceware.org in Bugzilla URL.
20196 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
20198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
20199 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
20201 * stdio-common/tst-put-error.c (do_test): Add newline to the
20202 padded test to ensure flush.
20204 2012-12-05 Jeff Law <law@redhat.com>
20206 * sunrpc/etc.rpc (fedfs_admin): Add entry.
20208 2012-12-05 Joseph Myers <joseph@codesourcery.com>
20210 * README: Don't refer to ports add-on as distributed separately.
20211 Mention AArch64 in list of systems supported in the ports add-on.
20213 * LICENSES: Add more non-FSF copyright and license notices.
20215 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
20218 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
20220 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
20221 10000 as width of padded output.
20223 2012-12-04 Joseph Myers <joseph@codesourcery.com>
20225 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
20227 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
20228 variable LX with __attribute__ ((unused)).
20229 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
20231 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
20232 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20233 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
20234 with __attribute__ ((unused)).
20236 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
20238 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
20240 2012-12-04 Joseph Myers <joseph@codesourcery.com>
20242 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
20243 (CFLAGS-nldbl-acos.c): New variable.
20244 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
20245 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
20246 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
20247 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
20248 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
20249 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
20250 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
20251 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
20252 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
20253 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
20254 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
20255 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
20256 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
20257 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
20258 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
20259 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
20260 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
20261 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
20262 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
20263 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
20264 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
20265 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
20266 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
20267 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
20268 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
20269 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
20270 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
20271 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
20272 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
20273 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
20274 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
20275 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
20276 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
20277 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
20278 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
20279 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
20280 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
20281 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
20282 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
20283 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
20284 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
20285 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
20286 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
20287 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
20288 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
20289 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
20290 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
20291 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
20292 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
20293 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
20294 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
20295 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
20296 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
20297 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
20298 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
20299 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
20300 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
20301 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
20302 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
20303 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
20304 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
20305 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
20306 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
20307 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
20308 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
20309 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
20310 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
20311 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
20312 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
20313 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
20314 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
20315 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
20316 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
20317 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
20318 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
20319 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
20320 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
20321 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
20322 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
20323 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
20324 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
20325 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
20326 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
20327 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
20328 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
20329 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
20330 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
20331 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
20332 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
20333 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
20334 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
20335 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
20336 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
20337 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
20338 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
20339 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
20340 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
20342 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20343 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
20346 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
20347 whole low double instead of just low 47 bits when splitting values
20350 2012-12-03 Allan McRae <allan@archlinux.org>
20352 * manual/stdio.texi (Predefined Printf Handlers): Remove
20353 @hsep and @vsep usage.
20355 2012-12-03 Mike Frysinger <vapier@gentoo.org>
20357 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
20358 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
20360 2012-12-03 Jeff Law <law@redhat.com>
20362 * time/sys/time.h (settimeofday): Do not mark TV argument
20365 2012-12-01 Mike Frysinger <vapier@gentoo.org>
20367 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
20368 when currently writing and seek to current position when not.
20369 * libio/Makefile (tests): Remove bug-fclose1.
20370 * libio/bug-fclose1.c: Delete.
20372 2012-12-01 Joseph Myers <joseph@codesourcery.com>
20374 * manual/arith.texi (feenableexcept): Fix typo.
20375 (fedisableexcept): Likewise.
20377 2012-11-30 Roland McGrath <roland@hack.frob.com>
20379 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
20380 second, differently-typed declaration, rather than a cast.
20382 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20384 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
20385 * include/rpc/svc.h: ... here.
20387 2012-11-30 Aurelien Jarno <aurel32@debian.org>
20390 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
20391 depending n and resplen2 to catch cases where answer
20394 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
20396 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
20397 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
20399 2012-11-29 Mike Frysinger <vapier@gentoo.org>
20401 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
20403 2012-11-29 Roland McGrath <roland@hack.frob.com>
20405 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
20407 2012-11-28 Jeff Law <law@redhat.com>
20410 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
20411 dataset_temporary. Track alloca usage into alloca_used.
20412 If dataset is large allocate and release it via malloc/free.
20414 2012-06-04 Florian Weimer <fweimer@redhat.com>
20417 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
20419 2012-11-28 David S. Miller <davem@davemloft.net>
20421 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20423 2012-11-28 Joseph Myers <joseph@codesourcery.com>
20426 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
20427 of pi/2 rounded to nearest to 64 bits.
20428 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
20429 nearest to 64 bits.
20430 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
20433 2012-11-28 Jeff Law <law@redhat.com>
20434 Martin Osvald <mosvald@redhat.com>
20437 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
20438 * sunrpc/svc.c: Include time.h.
20439 (__svc_accept_failed): New function.
20440 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
20441 any reason other than EINTR, call __svc_accept_failed.
20442 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
20443 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
20445 2012-11-28 Andreas Schwab <schwab@suse.de>
20447 * scripts/abilist.awk: Also handle indirect functions in .opd
20450 2012-11-28 Joseph Myers <joseph@codesourcery.com>
20453 * sysdeps/x86/fpu/powl_helper.c: New file.
20454 * sysdeps/x86/fpu/Makefile: Likewise.
20455 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
20457 (__ieee754_powl): Use __powl_helper for finite arguments except
20458 integer exponents below 8.
20459 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
20461 (__ieee754_powl): Use __powl_helper for finite arguments except
20462 integer exponents below 8.
20463 * math/libm-test.inc (pow_test): Add more tests and enable some
20464 previously disabled tests.
20465 * sysdeps/i386/fpu/libm-test-ulps: Update.
20466 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20468 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20469 Carlos O'Donell <carlos_odonell@mentor.com>
20471 * nss/makedb.c (is_prime): Assert that input is odd and greater
20472 than 4. Note that fact in a comment too.
20473 (next_prime): Add 4 to input.
20475 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20478 * libio/Makefile (tests): Add test case tst-fwrite-error.
20479 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
20480 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
20481 * libio/tst-fwrite-error.c: New test case.
20483 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
20485 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
20486 before casting to void *.
20487 * include/libc-internal.h (__pointer_type): New macro.
20488 (__integer_if_pointer_type_sub): Likewise.
20489 (__integer_if_pointer_type): Likewise.
20490 (cast_to_integer): Likewise.
20491 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
20492 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
20493 before casting to atomic64_t.
20494 (atomic_exchange_acq): Likewise.
20495 (__arch_exchange_and_add_body): Likewise.
20496 (__arch_add_body): Likewise.
20497 (atomic_add_negative): Likewise.
20498 (atomic_add_zero): Likewise.
20500 2012-11-26 Joseph Myers <joseph@codesourcery.com>
20502 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
20503 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
20504 (add_fdes): Likewise.
20505 (linear_search_fdes): Likewise.
20506 (binary_search_unencoded_fdes): Likewise.
20508 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
20510 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
20512 2012-11-24 Adam Conrad <adconrad@0c3.net>
20514 * configure.in: Autodetect C++ header directories.
20515 * configure: Regenerated.
20517 2012-11-23 Mike Frysinger <vapier@gentoo.org>
20519 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
20521 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
20523 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20525 2012-11-22 Joseph Myers <joseph@codesourcery.com>
20527 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
20528 LDBL_MANT_DIG == 106]: Disable some tests.
20529 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
20531 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
20535 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
20536 input for small inputs. Return +/- pi/2 for large inputs.
20537 * math/libm-test.inc (atan_test): Add more tests.
20539 * sysdeps/generic/unwind-dw2-fde-glibc.c
20540 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
20541 __attribute__ ((unused)).
20544 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
20545 x * y if x and y are nonzero and z is zero.
20548 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
20549 nonzero exponents with absolute value below 0x1p-117 to +/-
20553 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
20554 up arguments below 2**-450, not just those below 2**-500.
20555 * math/libm-test.inc (hypot_test): Add another test.
20558 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
20559 Return a+b for ratio over 2**120, not 2**60.
20560 * math/libm-test.inc (hypot_test): Add another test.
20562 * math/libm-test.inc (clog_test): Use
20563 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
20564 (clog10_test): Likewise.
20567 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
20569 2012-11-22 Andreas Schwab <schwab@suse.de>
20571 * sysdeps/i386/fpu/libm-test-ulps: Update.
20573 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
20575 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
20576 printf output with newline.
20578 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
20581 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
20582 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
20583 -z nodlopen, -z initfirst and -z execstack support.
20584 * configure: Regenerated.
20586 * elf/elf.h (DF_1_NODIRECT): New macro.
20587 (DF_1_IGNMULDEF): Likewise.
20588 (DF_1_NOKSYMS): Likewise.
20589 (DF_1_NOHDR): Likewise.
20590 (DF_1_EDITED): Likewise.
20591 (DF_1_NORELOC): Likewise.
20592 (DF_1_SYMINTPOSE): Likewise.
20593 (DF_1_GLOBAUDIT): Likewise.
20594 (DF_1_SINGLETON): Likewise.
20595 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
20596 DT_1_SUPPORTED_MASK bits.
20597 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
20599 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
20601 * sysdeps/unix/make-syscalls.sh: Document prefixes.
20603 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
20605 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
20608 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
20609 (sendmmsg): Move declarations...
20610 * socket/sys/socket.h: ... here.
20611 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
20612 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
20614 * socket/recvmmsg.c: ... this new file.
20615 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
20616 (sendmmsg): Rename to __sendmmsg, create weak alias and make
20617 definition of __sendmmsg hidden.
20618 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
20619 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
20620 Move ENOSYS stub into and include it from...
20621 * socket/sendmmsg.c: ... this new file.
20622 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
20623 (sysdep_routines): Move recvmmsg and sendmmsg...
20624 * socket/Makefile (routines): ... here.
20625 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
20626 (GLIBC_PRIVATE): Add __sendmmsg.
20627 * include/sys/socket.h (__sendmmsg): Add declarations.
20628 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
20631 2012-11-20 Joseph Myers <joseph@codesourcery.com>
20633 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
20634 variable I1 with __attribute__ ((unused)).
20635 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
20637 2012-11-19 Joseph Myers <joseph@codesourcery.com>
20639 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
20640 DUMMY variables with __attribute__ ((unused)).
20642 * bits/byteswap.h: Include <bits/types.h>.
20643 (__bswap_64): Use __uint64_t instead of unsigned long long int.
20645 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
20647 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
20648 string_t. Do not manually set errno.
20649 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
20650 length with __strnlen. Make sure to both set errno and return it on
20653 2012-11-19 David S. Miller <davem@davemloft.net>
20655 With help from Joseph Myers.
20656 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
20657 very large arguments properly.
20658 * math/libm-test.inc (atan_test): New tests.
20659 (atan2_test): New tests.
20660 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20661 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20663 2012-11-19 Joseph Myers <joseph@codesourcery.com>
20666 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
20669 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
20670 [POSIX] (EADDRNOTAVAIL): Likewise.
20671 [POSIX] (EAFNOSUPPORT): Likewise.
20672 [POSIX] (EALREADY): Likewise.
20673 [POSIX] (ECONNABORTED): Likewise.
20674 [POSIX] (ECONNREFUSED): Likewise.
20675 [POSIX] (ECONNRESET): Likewise.
20676 [POSIX] (EDESTADDRREQ): Likewise.
20677 [POSIX] (EDQUOT): Likewise.
20678 [POSIX] (EHOSTUNREACH): Likewise.
20679 [POSIX] (EIDRM): Likewise.
20680 [POSIX] (EISCONN): Likewise.
20681 [POSIX] (ELOOP): Likewise.
20682 [POSIX] (EMULTIHOP): Likewise.
20683 [POSIX] (ENETDOWN): Likewise.
20684 [POSIX] (ENETUNREACH): Likewise.
20685 [POSIX] (ENOBUFS): Likewise.
20686 [POSIX] (ENODATA): Likewise.
20687 [POSIX] (ENOLINK): Likewise.
20688 [POSIX] (ENOMSG): Likewise.
20689 [POSIX] (ENOPROTOOPT): Likewise.
20690 [POSIX] (ENOSR): Likewise.
20691 [POSIX] (ENOSTR): Likewise.
20692 [POSIX] (ENOTCONN): Likewise.
20693 [POSIX] (ENOTSOCK): Likewise.
20694 [POSIX] (EOPNOTSUPP): Likewise.
20695 [POSIX] (EOVERFLOW): Likewise.
20696 [POSIX] (EPROTO): Likewise.
20697 [POSIX] (EPROTONOSUPPORT): Likewise.
20698 [POSIX] (EPROTOTYPE): Likewise.
20699 [POSIX] (ESTALE): Likewise.
20700 [POSIX] (ETIME): Likewise.
20701 [POSIX] (ETXTBSY): Likewise.
20702 [POSIX] (EWOULDBLOCK): Likewise.
20703 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
20704 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
20705 [POSIX] (SEEK_CUR): Likewise.
20706 [POSIX] (SEEK_END): Likewise.
20707 [POSIX || UNIX98] (mode_t): Do not require.
20708 [POSIX] (off_t): Likewise.
20709 [POSIX] (pid_t): Likewise.
20710 [POSIX] (sys/stat.h): Do not allow header.
20711 [POSIX] (unistd.h): Likewise.
20712 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
20713 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
20714 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
20715 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
20717 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
20718 sigevent): Specify elements.
20719 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
20721 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
20722 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
20724 * conform/data/cpio.h-data [POSIX]: Disable whole file.
20725 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
20726 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
20727 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
20728 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
20729 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
20730 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
20731 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
20732 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
20733 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
20734 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
20735 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
20736 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
20737 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
20739 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
20741 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
20743 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
20745 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
20746 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
20747 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
20748 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
20749 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
20750 Specify lower bound on value.
20751 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
20752 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
20753 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
20754 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
20755 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
20756 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
20757 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
20758 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
20760 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
20762 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
20763 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
20764 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
20765 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
20766 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
20767 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
20768 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
20769 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
20770 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
20771 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
20772 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
20773 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
20774 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
20775 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
20776 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
20777 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
20779 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
20781 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
20782 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
20783 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
20784 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
20785 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
20786 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
20788 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
20789 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
20790 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
20791 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
20792 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
20793 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
20794 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
20796 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
20797 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
20798 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
20799 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
20800 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
20801 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
20802 specify as optional.
20803 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
20804 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
20805 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
20806 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
20807 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
20808 [XPG3] (NL_LANGMAX): Likewise.
20809 [POSIX || XPG3] (NL_MSGMAX): Likewise.
20810 [POSIX || XPG3] (NL_NMAX): Likewise.
20811 [POSIX || XPG3] (NL_SETMAX): Likewise.
20812 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
20813 [XPG3] (NZERO): Likewise.
20814 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
20815 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
20816 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
20817 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
20818 (REG_ERANGE): Expect.
20819 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
20821 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
20822 Use (void) in prototype.
20823 [POSIX] (*_t): Allow.
20824 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
20825 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
20826 (WRDE_BADVAL): Expect.
20828 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
20830 [XPG3 || XPG4] (O_RSYNC): Likewise.
20831 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
20833 [XPG3 || XPG4] (pthread_sigmask): Likewise.
20834 [XPG3 || XPG4] (sigqueue): Likewise.
20835 [XPG3 || XPG4] (sigtimedwait): Likewise.
20836 [XPG3 || XPG4] (sigwaitinfo): Likewise.
20837 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
20838 [XPG3 || XPG4] (vsnprintf): Likewise.
20839 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
20841 [XPG3 || XPG4] (blksize_t): Likewise.
20842 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
20844 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
20845 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
20846 [XPG3 || XPG4] (struct itimerspec): Likewise.
20847 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
20848 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
20849 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
20850 [XPG3 || XPG4] (clockid_t): Likewise.
20851 [XPG3 || XPG4] (timer_t): Likewise.
20852 [XPG3 || XPG4] (clock_getres): Likewise.
20853 [XPG3 || XPG4] (clock_gettime): Likewise.
20854 [XPG3 || XPG4] (clock_settime): Likewise.
20855 [XPG3 || XPG4] (nanosleep): Likewise.
20856 [XPG3 || XPG4] (timer_create): Likewise.
20857 [XPG3 || XPG4] (timer_delete): Likewise.
20858 [XPG3 || XPG4] (timer_gettime): Likewise.
20859 [XPG3 || XPG4] (timer_getoverrun): Likewise.
20860 [XPG3 || XPG4] (timer_settime): Likewise.
20861 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
20862 [XPG3 || XPG4] (getlogin_r): Likewise.
20863 [XPG3 || XPG4] (pread): Likewise.
20864 [XPG3 || XPG4] (pthread_atfork): Likewise.
20865 [XPG3 || XPG4] (pwrite): Likewise.
20868 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
20871 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
20873 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
20874 finalizing MALLSTREAM.
20876 * sysdeps/mach/hurd/syncfs.c: New file.
20878 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
20881 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
20882 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
20883 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
20884 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
20885 (_nss_dns_gethostbyname4_r): Likewise.
20886 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
20887 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
20889 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
20892 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
20894 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
20896 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
20897 * elf/cache.c (print_entry): Print ",AArch64" for
20900 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
20901 * elf/cache.c (print_entry): Print ",hard-float" for
20904 2012-11-18 David S. Miller <davem@davemloft.net>
20906 With help from Joseph Myers.
20907 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
20909 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
20911 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
20912 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
20914 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
20915 * math/libm-test.inc (y0_test): New tests.
20916 (y1_test): New tests.
20917 * sysdeps/i386/fpu/libm-test-ulps: Update.
20918 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20919 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20921 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
20923 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
20925 * configure: Regenerated.
20927 2012-11-17 David S. Miller <davem@davemloft.net>
20930 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
20931 nonzero exponents with absolute value below 0x1p-128 to +/-
20934 2012-11-17 Joseph Myers <joseph@codesourcery.com>
20936 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
20938 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
20940 * posix/getconf-speclist.c: New file.
20941 * posix/posix-envs.def: Likewise.
20942 * posix/confstr.c (START_ENV_GROUP): New macro.
20943 (END_ENV_GROUP): Likewise.
20944 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
20945 (KNOWN_PRESENT_ENV_STRING): Likewise.
20946 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
20947 (UNKNOWN_ENVIRONMENT): Likewise.
20948 (confstr): Include posix-envs.def instead of handling
20949 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
20950 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
20951 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
20952 (END_ENV_GROUP): Likewise.
20953 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
20954 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
20955 (UNKNOWN_ENVIRONMENT): Likewise.
20956 (__sysconf): Include posix-envs.def instead of handling associated
20957 cases directly here.
20958 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
20959 preprocessing getconf-speclist.c rather than running getconf or
20960 generating empty file.
20962 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
20964 * scripts/check-local-headers.sh: Ignore 'mach' headers.
20966 2012-11-16 Andrej Lajovic <natrij@gmail.com>
20969 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
20971 2012-11-16 David S. Miller <davem@davemloft.net>
20973 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
20974 smaller than LDBL_EPSILON/2.0L, just return xm1.
20976 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
20978 * elf/tst-array1.c (init): Set constructor priority to 1000.
20979 (fini): Set destructor priority to 1000.
20980 * elf/tst-array2dep.c: Likewise.
20982 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20985 * libio/fileops.c (_IO_new_file_write): Correctly return error.
20986 (_IO_new_file_xsputn): Also return EOF if none of the input
20987 data was written when overflow failed.
20988 * libio/iopadn.c (_IO_padn): Likewise.
20989 * libio/iowpadn.c (_IO_wpadn): Likewise.
20990 * stdio-common/tst-put-error.c: Add copyright notice.
20991 (do_test): Add case for printing padded string.
20992 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
20993 _IO_padn returned error.
20994 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
20995 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
20998 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
21000 * libio/libioP.h: Add comment note that the references to C++
21001 bits are now obsolete.
21003 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21005 * math/libm-test.inc (check_complex): Use asprintf.
21007 2012-11-14 Joseph Myers <joseph@codesourcery.com>
21009 * debug/pcprofiledump.c (print_version): Update copyright year.
21010 * malloc/memusagestat.c (print_version): Likewise.
21012 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
21015 * elf/Makefile (tests): Add tst-audit8.
21016 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
21017 ($(objpfx)tst-audit8.out): New target.
21018 (tst-audit8-ENV): New variable.
21019 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
21020 audit if l_reloc_result is NULL.
21021 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
21022 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
21023 * elf/tst-audit8.c: New file.
21025 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21027 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
21028 * misc/Makefile (CFLAGS-select.c): Define.
21029 * posix/Makefile (CFLAGS-pause.c): Define.
21031 2012-11-13 David S. Miller <davem@davemloft.net>
21033 * crypt/Makefile: Move test targets after toplevel Rules
21034 inclusion. Grab any necessary sysdep routines when linking.
21035 * crypt/md5.c (md5_process_block): Remove define, we will always
21036 name it __md5_process_block.
21037 (md5_finish_ctx): Update md5_process_block call.
21038 (md5_stream): Likewise.
21039 (md5_process_bytes): Likewise.
21040 (md5_process_block): Rename to __md5_process_block and move to ...
21041 * crypt/md5-block.c: ... here.
21042 * crypt/sha256.c (sha256_process_block): Move to ...
21043 * crypt/sha256-block.c: ... here.
21044 * crypt/sha512.c (sha512_process_block): Move to ...
21045 * crypt/sha512-block.c: ... here.
21046 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
21048 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
21049 * sysdeps/sparc/sparc64/multiarch/Makefile
21050 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
21052 (localedef-aux): Add md5 crypto assembler when in locale subdir.
21053 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
21055 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
21056 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
21057 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
21058 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
21059 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
21060 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
21061 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
21062 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
21063 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
21065 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
21066 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
21068 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
21070 2012-11-13 Joseph Myers <joseph@codesourcery.com>
21072 * timezone/tzselect.ksh: Update from tzcode git revision
21073 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
21074 * timezone/zdump.c: Likewise.
21075 * timezone/zic.c: Likewise.
21076 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
21077 in TZVERSION setting, not $(PKGVERSION).
21078 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
21079 REPORT_BUGS_TO settings.
21082 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
21085 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21087 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
21088 detection to immediately after _FP_ROUND().
21089 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
21092 2012-11-11 David S. Miller <davem@davemloft.net>
21094 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
21096 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
21097 __close rather than their public counterparts.
21099 2012-11-10 Joseph Myers <joseph@codesourcery.com>
21101 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
21103 [UNIX98] (sem_timedwait): Do not expect.
21104 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
21105 [XPG4 || UNIX98] (sockatmark): Do not expect.
21106 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
21107 (clock_getcpuclockid): Do not expect.
21108 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
21109 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
21111 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
21112 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
21113 [UNIX98] (vwscanf): Likewise.
21114 [UNIX98] (vswscanf): Likewise.
21116 2012-11-09 Joseph Myers <joseph@codesourcery.com>
21118 * timezone/version.h: Remove file.
21119 * timezone/README: Do not refer to version.h.
21120 * timezone/Makefile ($(objpfx)zic.o): New dependency on
21121 $(objpfx)version.h.
21122 ($(objpfx)zdump.o): Likewise.
21123 ($(objpfx)version.h): New target.
21125 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
21127 * timezone/README: Don't mention modification to tzselect.ksh.
21128 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
21129 work on unmodified tzselect.ksh. Substitute version numbers in
21132 * Makefile (format-me): Remove.
21133 (INSTALL): Adjust indentation. Use commands directly instead of
21134 using $(format-me).
21136 * aclocal.m4 (ACX_PKGVERSION): New macro.
21137 (ACX_BUGURL): Likewise.
21138 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
21139 (PKGVERSION): New AC_DEFINE_UNQUOTED.
21140 (REPORT_BUGS_TO): Likewise.
21141 * configure: Regenerated.
21142 * config.h.in (PKGVERSION): New macro.
21143 (REPORT_BUGS_TO): Likewise.
21144 * config.make.in (PKGVERSION): New variable.
21145 (PKGVERSION_TEXI): Likewise.
21146 (REPORT_BUGS_TO): Likewise.
21147 (REPORT_BUGS_TEXI): Likewise.
21148 * Makefile (format-me): Use -I$(common-objpfx)manual.
21149 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
21150 ($(common-objpfx)manual/%): New target.
21151 (manual/%): Remove target.
21152 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
21153 (print_version): Use PKGVERSION.
21154 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
21155 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
21156 and REPORT_BUGS_TO.
21157 ($(objpfx)xtrace): Likewise.
21158 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
21159 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
21160 (print_version): Use PKGVERSION.
21161 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
21162 (do_version): Use PKGVERSION.
21163 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
21165 (common-ldd-rewrite): Likewise.
21166 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
21167 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
21168 (print_version): Use PKGVERSION.
21169 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
21170 * elf/pldd.c (argp_program_bug_address): Remove variable.
21171 (more_help): New function.
21172 (argp): Use more_help.
21173 (print_version): Use PKGVERSION.
21174 * elf/sln.c (main): Use PKGVERSION.
21175 (usage): Use REPORT_BUGS_TO.
21176 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
21177 (top level): Use PKGVERSION.
21178 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
21179 (print_version): Use PKGVERSION.
21180 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
21181 (print_version): Use PKGVERSION.
21182 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
21183 (print_version): Use PKGVERSION.
21184 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
21185 (print_version): Use PKGVERSION.
21186 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
21187 (print_version): Use PKGVERSION.
21188 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
21189 (print_version): Use PKGVERSION.
21190 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
21192 ($(objpfx)memusage): Likewise.
21193 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
21194 (do_version): Use PKGVERSION.
21195 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
21196 (print_version): Use PKGVERSION.
21197 * malloc/mtrace.pl ($PACKAGE): Remove variable.
21198 ($PKGVERSION): New variable.
21199 ($REPORT_BUGS_TO): Likewise.
21200 (usage): Use $REPORT_BUGS_TO.
21201 (top level): Use $PKGVERSION.
21202 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
21203 ($(objpfx)pkgvers.texi): New rule.
21204 ($(objpfx)stamp-pkgvers): Likewise.
21205 * manual/install.texi: Include pkgvers.texi.
21206 (--with-pkgversion): Document new configure option.
21207 (--with-bugurl): Likewise.
21208 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
21209 than necessarily for this particular distribution. Use
21210 REPORT_BUGS_TO for where to report bugs.
21211 * INSTALL: Regenerated.
21212 * manual/libc.texinfo: Include pkgvers.texi.
21213 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
21214 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
21215 (print_version): Use PKGVERSION.
21216 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
21217 (print_version): Use PKGVERSION.
21218 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
21219 (print_version): Use PKGVERSION.
21220 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
21221 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
21223 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
21224 (print_version): Use PKGVERSION.
21225 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
21226 (print_version): Use PKGVERSION.
21227 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
21230 * timezone/checktab.awk: Update from tzcode 2012i.
21231 * timezone/ialloc.c: Likewise.
21232 * timezone/private.h: Likewise.
21233 * timezone/scheck.c: Likewise.
21234 * timezone/tzfile.h: Likewise.
21235 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
21236 (TZVERSION): Hardcode tzcode version number.
21237 * timezone/zdump.c: Update from tzcode 2012i.
21238 * timezone/zic.c: Likewise.
21239 * timezone/version.h: New file.
21240 * timezone/README: Describe version.h. Update upstream location.
21243 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
21244 (mktemp): Enable declaration.
21245 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
21246 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
21247 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
21248 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
21250 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
21252 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
21254 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
21256 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
21258 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
21262 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
21263 offset in buffer as u_int32_t not u_long. Consistently use memcpy
21264 for copies of such integer values.
21265 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
21266 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
21268 2012-11-09 Andreas Jaeger <aj@suse.de>
21270 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
21271 definitions and declarations that are provided by
21272 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
21274 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21276 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
21277 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
21278 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
21281 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21283 * elf/elf.h: Update comment before AArch64 relocations.
21285 2012-11-07 David S. Miller <davem@davemloft.net>
21287 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
21288 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
21289 (__start_context): Declare.
21290 (__makecontext_ret): Delete.
21291 (__makecontext): Hook up __start_context instead of
21293 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
21294 (sysdep_routines): Add __start_context when in stdlib.
21296 2012-11-07 Joseph Myers <joseph@codesourcery.com>
21298 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
21299 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
21300 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
21302 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
21303 (READELF): New variable. Use it instead of hardcoded "readelf".
21305 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
21307 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
21308 * sysdeps/x86/Makefile: Here.
21309 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
21310 * sysdeps/x86/tst-xmmymm.sh: This.
21312 2012-11-07 Joseph Myers <joseph@codesourcery.com>
21314 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
21316 [UNIX98] (pthread_barrier_t): Do not expect.
21317 [UNIX98] (pthread_barrierattr_t): Likewise.
21318 [UNIX98] (pthread_spinlock_t): Likewise.
21319 [UNIX98] (pthread_barrier_destroy): Likewise.
21320 [UNIX98] (pthread_barrier_init): Likewise.
21321 [UNIX98] (pthread_barrier_wait): Likewise.
21322 [UNIX98] (pthread_barrierattr_destroy): Likewise.
21323 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
21324 [UNIX98] (pthread_barrierattr_init): Likewise.
21325 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
21326 [UNIX98] (pthread_getcpuclockid): Likewise.
21327 [UNIX98] (pthread_mutex_timedlock): Likewise.
21328 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
21329 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
21330 [UNIX98] (pthread_sigmask): Likewise.
21331 [UNIX98] (pthread_spin_destroy): Likewise.
21332 [UNIX98] (pthread_spin_init): Likewise.
21333 [UNIX98] (pthread_spin_lock): Likewise.
21334 [UNIX98] (pthread_spin_trylock): Likewise.
21335 [UNIX98] (pthread_spin_unlock): Likewise.
21336 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
21338 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
21339 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
21340 [XPG3 || XPG4] (pthread_cond_t): Likewise.
21341 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
21342 [XPG3 || XPG4] (pthread_key_t): Likewise.
21343 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
21344 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
21345 [XPG3 || XPG4] (pthread_once_t): Likewise.
21346 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
21347 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
21348 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
21349 [XPG3 || XPG4] (pthread_t): Likewise.
21351 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
21353 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
21355 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
21356 Change function return type to int.
21358 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
21359 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
21360 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
21361 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
21362 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
21363 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
21364 [!POSIX] (posix_madvise): Likewise.
21365 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
21367 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
21368 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
21369 (mode_t): Likewise.
21370 (posix_mem_offset): Likewise.
21371 (posix_typed_mem_get_info): Likewise.
21372 (posix_typed_mem_open): Likewise.
21374 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
21375 Change condition to [XOPEN2K8].
21377 * conform/conformtest.pl: Preprocess allow-header data with -x c
21378 instead of from stdin.
21379 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
21380 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
21381 [C99-based standards] (cerfc): Likewise.
21382 [C99-based standards] (cexp2): Likewise.
21383 [C99-based standards] (cexpm1): Likewise.
21384 [C99-based standards] (clog10): Likewise.
21385 [C99-based standards] (clog1p): Likewise.
21386 [C99-based standards] (clog2): Likewise.
21387 [C99-based standards] (clgamma): Likewise.
21388 [C99-based standards] (ctgamma): Likewise.
21389 [C99-based standards] (cerff): Likewise.
21390 [C99-based standards] (cerfcf): Likewise.
21391 [C99-based standards] (cexp2f): Likewise.
21392 [C99-based standards] (cexpm1f): Likewise.
21393 [C99-based standards] (clog10f): Likewise.
21394 [C99-based standards] (clog1pf): Likewise.
21395 [C99-based standards] (clog2f): Likewise.
21396 [C99-based standards] (clgammaf): Likewise.
21397 [C99-based standards] (ctgammaf): Likewise.
21398 [C99-based standards] (cerfl): Likewise.
21399 [C99-based standards] (cerfcl): Likewise.
21400 [C99-based standards] (cexp2l): Likewise.
21401 [C99-based standards] (cexpm1l): Likewise.
21402 [C99-based standards] (clog10l): Likewise.
21403 [C99-based standards] (clog1pl): Likewise.
21404 [C99-based standards] (clog2l): Likewise.
21405 [C99-based standards] (clgammal): Likewise.
21406 [C99-based standards] (ctgammal): Likewise.
21407 * conform/data/inttypes.h-data [C99-based standards]: Include
21408 stdint.h-data. Remove all expectations for stdint.h contents.
21409 [C99-based standards] (PRI*): Do not allow.
21410 [C99-based standards] (SCN*): Likewise.
21411 [C99-based standards] (*_t): Likewise.
21412 [C99-based-standards] (PRId8): Expect macro.
21413 [C99-based-standards] (PRIi8): Likewise.
21414 [C99-based-standards] (PRIo8): Likewise.
21415 [C99-based-standards] (PRIu8): Likewise.
21416 [C99-based-standards] (PRIx8): Likewise.
21417 [C99-based-standards] (PRIX8): Likewise.
21418 [C99-based-standards] (SCNd8): Likewise.
21419 [C99-based-standards] (SCNi8): Likewise.
21420 [C99-based-standards] (SCNo8): Likewise.
21421 [C99-based-standards] (SCNu8): Likewise.
21422 [C99-based-standards] (SCNx8): Likewise.
21423 [C99-based-standards] (PRIdLEAST8): Likewise.
21424 [C99-based-standards] (PRIiLEAST8): Likewise.
21425 [C99-based-standards] (PRIoLEAST8): Likewise.
21426 [C99-based-standards] (PRIuLEAST8): Likewise.
21427 [C99-based-standards] (PRIxLEAST8): Likewise.
21428 [C99-based-standards] (PRIXLEAST8): Likewise.
21429 [C99-based-standards] (SCNdLEAST8): Likewise.
21430 [C99-based-standards] (SCNiLEAST8): Likewise.
21431 [C99-based-standards] (SCNoLEAST8): Likewise.
21432 [C99-based-standards] (SCNuLEAST8): Likewise.
21433 [C99-based-standards] (SCNxLEAST8): Likewise.
21434 [C99-based-standards] (PRIdFAST8): Likewise.
21435 [C99-based-standards] (PRIiFAST8): Likewise.
21436 [C99-based-standards] (PRIoFAST8): Likewise.
21437 [C99-based-standards] (PRIuFAST8): Likewise.
21438 [C99-based-standards] (PRIxFAST8): Likewise.
21439 [C99-based-standards] (PRIXFAST8): Likewise.
21440 [C99-based-standards] (SCNdFAST8): Likewise.
21441 [C99-based-standards] (SCNiFAST8): Likewise.
21442 [C99-based-standards] (SCNoFAST8): Likewise.
21443 [C99-based-standards] (SCNuFAST8): Likewise.
21444 [C99-based-standards] (SCNxFAST8): Likewise.
21445 [C99-based-standards] (PRId16): Likewise.
21446 [C99-based-standards] (PRIi16): Likewise.
21447 [C99-based-standards] (PRIo16): Likewise.
21448 [C99-based-standards] (PRIu16): Likewise.
21449 [C99-based-standards] (PRIx16): Likewise.
21450 [C99-based-standards] (PRIX16): Likewise.
21451 [C99-based-standards] (SCNd16): Likewise.
21452 [C99-based-standards] (SCNi16): Likewise.
21453 [C99-based-standards] (SCNo16): Likewise.
21454 [C99-based-standards] (SCNu16): Likewise.
21455 [C99-based-standards] (SCNx16): Likewise.
21456 [C99-based-standards] (PRIdLEAST16): Likewise.
21457 [C99-based-standards] (PRIiLEAST16): Likewise.
21458 [C99-based-standards] (PRIoLEAST16): Likewise.
21459 [C99-based-standards] (PRIuLEAST16): Likewise.
21460 [C99-based-standards] (PRIxLEAST16): Likewise.
21461 [C99-based-standards] (PRIXLEAST16): Likewise.
21462 [C99-based-standards] (SCNdLEAST16): Likewise.
21463 [C99-based-standards] (SCNiLEAST16): Likewise.
21464 [C99-based-standards] (SCNoLEAST16): Likewise.
21465 [C99-based-standards] (SCNuLEAST16): Likewise.
21466 [C99-based-standards] (SCNxLEAST16): Likewise.
21467 [C99-based-standards] (PRIdFAST16): Likewise.
21468 [C99-based-standards] (PRIiFAST16): Likewise.
21469 [C99-based-standards] (PRIoFAST16): Likewise.
21470 [C99-based-standards] (PRIuFAST16): Likewise.
21471 [C99-based-standards] (PRIxFAST16): Likewise.
21472 [C99-based-standards] (PRIXFAST16): Likewise.
21473 [C99-based-standards] (SCNdFAST16): Likewise.
21474 [C99-based-standards] (SCNiFAST16): Likewise.
21475 [C99-based-standards] (SCNoFAST16): Likewise.
21476 [C99-based-standards] (SCNuFAST16): Likewise.
21477 [C99-based-standards] (SCNxFAST16): Likewise.
21478 [C99-based-standards] (PRId32): Likewise.
21479 [C99-based-standards] (PRIi32): Likewise.
21480 [C99-based-standards] (PRIo32): Likewise.
21481 [C99-based-standards] (PRIu32): Likewise.
21482 [C99-based-standards] (PRIx32): Likewise.
21483 [C99-based-standards] (PRIX32): Likewise.
21484 [C99-based-standards] (SCNd32): Likewise.
21485 [C99-based-standards] (SCNi32): Likewise.
21486 [C99-based-standards] (SCNo32): Likewise.
21487 [C99-based-standards] (SCNu32): Likewise.
21488 [C99-based-standards] (SCNx32): Likewise.
21489 [C99-based-standards] (PRIdLEAST32): Likewise.
21490 [C99-based-standards] (PRIiLEAST32): Likewise.
21491 [C99-based-standards] (PRIoLEAST32): Likewise.
21492 [C99-based-standards] (PRIuLEAST32): Likewise.
21493 [C99-based-standards] (PRIxLEAST32): Likewise.
21494 [C99-based-standards] (PRIXLEAST32): Likewise.
21495 [C99-based-standards] (SCNdLEAST32): Likewise.
21496 [C99-based-standards] (SCNiLEAST32): Likewise.
21497 [C99-based-standards] (SCNoLEAST32): Likewise.
21498 [C99-based-standards] (SCNuLEAST32): Likewise.
21499 [C99-based-standards] (SCNxLEAST32): Likewise.
21500 [C99-based-standards] (PRIdFAST32): Likewise.
21501 [C99-based-standards] (PRIiFAST32): Likewise.
21502 [C99-based-standards] (PRIoFAST32): Likewise.
21503 [C99-based-standards] (PRIuFAST32): Likewise.
21504 [C99-based-standards] (PRIxFAST32): Likewise.
21505 [C99-based-standards] (PRIXFAST32): Likewise.
21506 [C99-based-standards] (SCNdFAST32): Likewise.
21507 [C99-based-standards] (SCNiFAST32): Likewise.
21508 [C99-based-standards] (SCNoFAST32): Likewise.
21509 [C99-based-standards] (SCNuFAST32): Likewise.
21510 [C99-based-standards] (SCNxFAST32): Likewise.
21511 [C99-based-standards] (PRId64): Likewise.
21512 [C99-based-standards] (PRIi64): Likewise.
21513 [C99-based-standards] (PRIo64): Likewise.
21514 [C99-based-standards] (PRIu64): Likewise.
21515 [C99-based-standards] (PRIx64): Likewise.
21516 [C99-based-standards] (PRIX64): Likewise.
21517 [C99-based-standards] (SCNd64): Likewise.
21518 [C99-based-standards] (SCNi64): Likewise.
21519 [C99-based-standards] (SCNo64): Likewise.
21520 [C99-based-standards] (SCNu64): Likewise.
21521 [C99-based-standards] (SCNx64): Likewise.
21522 [C99-based-standards] (PRIdLEAST64): Likewise.
21523 [C99-based-standards] (PRIiLEAST64): Likewise.
21524 [C99-based-standards] (PRIoLEAST64): Likewise.
21525 [C99-based-standards] (PRIuLEAST64): Likewise.
21526 [C99-based-standards] (PRIxLEAST64): Likewise.
21527 [C99-based-standards] (PRIXLEAST64): Likewise.
21528 [C99-based-standards] (SCNdLEAST64): Likewise.
21529 [C99-based-standards] (SCNiLEAST64): Likewise.
21530 [C99-based-standards] (SCNoLEAST64): Likewise.
21531 [C99-based-standards] (SCNuLEAST64): Likewise.
21532 [C99-based-standards] (SCNxLEAST64): Likewise.
21533 [C99-based-standards] (PRIdFAST64): Likewise.
21534 [C99-based-standards] (PRIiFAST64): Likewise.
21535 [C99-based-standards] (PRIoFAST64): Likewise.
21536 [C99-based-standards] (PRIuFAST64): Likewise.
21537 [C99-based-standards] (PRIxFAST64): Likewise.
21538 [C99-based-standards] (PRIXFAST64): Likewise.
21539 [C99-based-standards] (SCNdFAST64): Likewise.
21540 [C99-based-standards] (SCNiFAST64): Likewise.
21541 [C99-based-standards] (SCNoFAST64): Likewise.
21542 [C99-based-standards] (SCNuFAST64): Likewise.
21543 [C99-based-standards] (SCNxFAST64): Likewise.
21544 [C99-based-standards] (PRIdMAX): Likewise.
21545 [C99-based-standards] (PRIiMAX): Likewise.
21546 [C99-based-standards] (PRIoMAX): Likewise.
21547 [C99-based-standards] (PRIuMAX): Likewise.
21548 [C99-based-standards] (PRIxMAX): Likewise.
21549 [C99-based-standards] (PRIXMAX): Likewise.
21550 [C99-based-standards] (SCNdMAX): Likewise.
21551 [C99-based-standards] (SCNiMAX): Likewise.
21552 [C99-based-standards] (SCNoMAX): Likewise.
21553 [C99-based-standards] (SCNuMAX): Likewise.
21554 [C99-based-standards] (SCNxMAX): Likewise.
21555 [C99-based-standards] (PRIdPTR): Likewise.
21556 [C99-based-standards] (PRIiPTR): Likewise.
21557 [C99-based-standards] (PRIoPTR): Likewise.
21558 [C99-based-standards] (PRIuPTR): Likewise.
21559 [C99-based-standards] (PRIxPTR): Likewise.
21560 [C99-based-standards] (PRIXPTR): Likewise.
21561 [C99-based-standards] (SCNdPTR): Likewise.
21562 [C99-based-standards] (SCNiPTR): Likewise.
21563 [C99-based-standards] (SCNoPTR): Likewise.
21564 [C99-based-standards] (SCNuPTR): Likewise.
21565 [C99-based-standards] (SCNxPTR): Likewise.
21566 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
21568 * conform/data/stdint.h-data: Update comments to clarify
21570 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
21572 [C99-based standards] (INT8_MAX): Likewise.
21573 [C99-based standards] (INT16_MIN): Likewise.
21574 [C99-based standards] (INT16_MAX): Likewise.
21575 [C99-based standards] (INT32_MIN): Likewise.
21576 [C99-based standards] (INT32_MAX): Likewise.
21577 [C99-based standards] (INT64_MIN): Likewise.
21578 [C99-based standards] (INT64_MAX): Likewise.
21579 [C99-based standards] (UINT8_MAX): Likewise.
21580 [C99-based standards] (UINT16_MAX): Likewise.
21581 [C99-based standards] (UINT32_MAX): Likewise.
21582 [C99-based standards] (UINT64_MAX): Likewise.
21583 [C99-based standards] (INT_LEAST8_MIN): Likewise.
21584 [C99-based standards] (INT_LEAST8_MAX): Likewise.
21585 [C99-based standards] (INT_LEAST16_MIN): Likewise.
21586 [C99-based standards] (INT_LEAST16_MAX): Likewise.
21587 [C99-based standards] (INT_LEAST32_MIN): Likewise.
21588 [C99-based standards] (INT_LEAST32_MAX): Likewise.
21589 [C99-based standards] (INT_LEAST64_MIN): Likewise.
21590 [C99-based standards] (INT_LEAST64_MAX): Likewise.
21591 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
21592 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
21593 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
21594 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
21595 [C99-based standards] (INT_FAST8_MIN): Likewise.
21596 [C99-based standards] (INT_FAST8_MAX): Likewise.
21597 [C99-based standards] (INT_FAST16_MIN): Likewise.
21598 [C99-based standards] (INT_FAST16_MAX): Likewise.
21599 [C99-based standards] (INT_FAST32_MIN): Likewise.
21600 [C99-based standards] (INT_FAST32_MAX): Likewise.
21601 [C99-based standards] (INT_FAST64_MIN): Likewise.
21602 [C99-based standards] (INT_FAST64_MAX): Likewise.
21603 [C99-based standards] (UINT_FAST8_MAX): Likewise.
21604 [C99-based standards] (UINT_FAST16_MAX): Likewise.
21605 [C99-based standards] (UINT_FAST32_MAX): Likewise.
21606 [C99-based standards] (UINT_FAST64_MAX): Likewise.
21607 [C99-based standards] (INTPTR_MIN): Likewise.
21608 [C99-based standards] (INTPTR_MAX): Likewise.
21609 [C99-based standards] (UINTPTR_MAX): Likewise.
21610 [C99-based standards] (INTMAX_MIN): Likewise.
21611 [C99-based standards] (INTMAX_MAX): Likewise.
21612 [C99-based standards] (UINTMAX_MAX): Likewise.
21613 [C99-based standards] (PTRDIFF_MIN): Likewise.
21614 [C99-based standards] (PTRDIFF_MAX): Likewise.
21615 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
21616 [C99-based standards] (SIZE_MAX): Likewise.
21617 [C99-based standards] (WCHAR_MAX): Likewise.
21618 [C99-based standards] (WINT_MAX): Likewise.
21619 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
21620 constraint on value.
21621 [C99-based standards] (WCHAR_MIN): Likewise.
21622 [C99-based standards] (WINT_MIN): Likewise.
21623 [C99-based standards] (*_t): Allow.
21624 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
21625 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
21626 Include math.h-data and complex.h-data. Remove all expectations
21627 of math.h and complex.h contents.
21628 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
21630 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
21631 (struct tm): Expect tag.
21632 [C99-based-standards] (wcstof): Expect function.
21633 [C99-based-standards] (wcstold): Likewise.
21634 [C99-based-standards] (wcstoll): Likewise.
21635 [C99-based-standards] (wcstoull): Likewise.
21636 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
21637 macro-int-constant. Specify type.
21638 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
21639 constraint on value.
21640 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
21642 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
21644 [ISO C standards]: Do not allow headers.
21645 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
21646 wcs[abcdefghijklmnopqrstuvwxyz]*.
21647 [ISO C standards] (*_t): Do not allow.
21648 * conform/data/wctype.h-data [C99-based standards] (iswblank):
21650 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
21651 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
21653 [ISO C standards]: Do not allow headers.
21654 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
21655 is[abcdefghijklmnopqrstuvwxyz]*.
21656 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
21657 to[abcdefghijklmnopqrstuvwxyz]*.
21658 [ISO C standards] (*_t): Do not allow.
21659 * conform/data/stdalign.h-data: New file.
21660 * conform/data/stdbool.h-data: Likewise.
21661 * conform/data/stdnoreturn.h-data: Likewise.
21663 2012-11-07 Roland McGrath <roland@hack.frob.com>
21666 * manual/filesys.texi (Directory Entries): Typo fix.
21667 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
21669 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21671 * elf/elf.h (EM_AARCH64): New macro.
21672 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
21673 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
21674 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
21675 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
21676 (R_AARCH64_TLSDESC): Likewise.
21677 (NT_ARM_TLS): Likewise.
21678 (NT_ARM_HW_BREAK): Likewise.
21679 (NT_ARM_HW_WATCH): Likewise.
21681 2012-11-07 Joseph Myers <joseph@codesourcery.com>
21684 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
21685 (__ieee754_powl): Saturate nonzero exponents with absolute value
21686 below 0x1p-79 to +/- 0x1p-79.
21687 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
21688 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
21689 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
21690 nonzero exponents with absolute value below 0x1p-32 to +/-
21692 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
21693 (__ieee754_powl): Saturate nonzero exponents with absolute value
21694 below 0x1p-79 to +/- 0x1p-79.
21695 * math/libm-test.inc (pow_test): Add more tests.
21697 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21699 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
21700 _dl_s390_cap_flags with kernel. Increase string length.
21701 (_dl_s390_platforms): Add z196 and zEC12.
21703 2012-11-07 Joseph Myers <joseph@codesourcery.com>
21705 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
21706 Change XOPEN21K to XOPEN2K.
21708 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
21710 * string/memmove.c: Use memcpy when possible.
21712 2012-11-06 Andreas Jaeger <aj@suse.de>
21714 * po/eo.po: Update from translation team.
21716 2012-11-06 Joseph Myers <joseph@codesourcery.com>
21719 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
21720 exponent and small x and y exponents, scale x or y up. Increase
21721 by 2 the exponent used in scaling up.
21722 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21723 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21724 * math/libm-test.inc (fma_test): Add more tests.
21725 (fma_test_towardzero): Likewise.
21726 (fma_test_downward): Likewise.
21727 (fma_test_upward): Likewise.
21729 2012-11-05 Joseph Myers <joseph@codesourcery.com>
21732 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
21736 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
21737 namespace for names of struct fields.
21738 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
21740 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
21741 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
21743 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
21746 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
21748 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
21750 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
21754 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
21757 2012-11-04 Joseph Myers <joseph@codesourcery.com>
21760 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
21761 definitely overflow as x * y not x * y + z.
21762 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21763 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21764 * math/libm-test.inc (fma_test): Add more tests.
21765 (fma_test_towardzero): Likewise.
21766 (fma_test_downward): Likewise.
21767 (fma_test_upward): Likewise.
21769 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
21773 * include/stub-tag.h: Remove file.
21774 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
21776 * manual/maint.texi (Porting): Don't reference it.
21777 * Makerules ($(objpfx)stubs): Likewise.
21778 * dirent/closedir.c: Don't include <stub-tag.h>.
21779 * dirent/dirfd.c: Likewise.
21780 * dirent/fdopendir.c: Likewise.
21781 * dirent/getdents.c: Likewise.
21782 * dirent/getdents64.c: Likewise.
21783 * dirent/opendir.c: Likewise.
21784 * dirent/readdir.c: Likewise.
21785 * dirent/readdir64.c: Likewise.
21786 * dirent/readdir64_r.c: Likewise.
21787 * dirent/readdir_r.c: Likewise.
21788 * dirent/rewinddir.c: Likewise.
21789 * dirent/seekdir.c: Likewise.
21790 * dirent/telldir.c: Likewise.
21791 * gmon/profil.c: Likewise.
21792 * grp/setgroups.c: Likewise.
21793 * inet/if_index.c: Likewise.
21794 * io/access.c: Likewise.
21795 * io/chdir.c: Likewise.
21796 * io/chmod.c: Likewise.
21797 * io/chown.c: Likewise.
21798 * io/close.c: Likewise.
21799 * io/dup.c: Likewise.
21800 * io/dup2.c: Likewise.
21801 * io/dup3.c: Likewise.
21802 * io/euidaccess.c: Likewise.
21803 * io/faccessat.c: Likewise.
21804 * io/fchdir.c: Likewise.
21805 * io/fchmod.c: Likewise.
21806 * io/fchmodat.c: Likewise.
21807 * io/fchown.c: Likewise.
21808 * io/fchownat.c: Likewise.
21809 * io/fcntl.c: Likewise.
21810 * io/flock.c: Likewise.
21811 * io/fstatfs.c: Likewise.
21812 * io/fstatfs64.c: Likewise.
21813 * io/fstatvfs.c: Likewise.
21814 * io/fstatvfs64.c: Likewise.
21815 * io/futimens.c: Likewise.
21816 * io/fxstat.c: Likewise.
21817 * io/fxstat64.c: Likewise.
21818 * io/fxstatat.c: Likewise.
21819 * io/fxstatat64.c: Likewise.
21820 * io/getcwd.c: Likewise.
21821 * io/isatty.c: Likewise.
21822 * io/lchmod.c: Likewise.
21823 * io/lchown.c: Likewise.
21824 * io/link.c: Likewise.
21825 * io/linkat.c: Likewise.
21826 * io/lseek.c: Likewise.
21827 * io/lseek64.c: Likewise.
21828 * io/lxstat64.c: Likewise.
21829 * io/mkdir.c: Likewise.
21830 * io/mkdirat.c: Likewise.
21831 * io/mkfifo.c: Likewise.
21832 * io/mkfifoat.c: Likewise.
21833 * io/open.c: Likewise.
21834 * io/open64.c: Likewise.
21835 * io/openat.c: Likewise.
21836 * io/openat64.c: Likewise.
21837 * io/pipe.c: Likewise.
21838 * io/pipe2.c: Likewise.
21839 * io/poll.c: Likewise.
21840 * io/posix_fadvise.c: Likewise.
21841 * io/posix_fadvise64.c: Likewise.
21842 * io/posix_fallocate.c: Likewise.
21843 * io/posix_fallocate64.c: Likewise.
21844 * io/read.c: Likewise.
21845 * io/readlink.c: Likewise.
21846 * io/readlinkat.c: Likewise.
21847 * io/rmdir.c: Likewise.
21848 * io/sendfile.c: Likewise.
21849 * io/sendfile64.c: Likewise.
21850 * io/statfs.c: Likewise.
21851 * io/statfs64.c: Likewise.
21852 * io/statvfs.c: Likewise.
21853 * io/statvfs64.c: Likewise.
21854 * io/symlink.c: Likewise.
21855 * io/symlinkat.c: Likewise.
21856 * io/ttyname.c: Likewise.
21857 * io/ttyname_r.c: Likewise.
21858 * io/umask.c: Likewise.
21859 * io/unlink.c: Likewise.
21860 * io/unlinkat.c: Likewise.
21861 * io/utime.c: Likewise.
21862 * io/utimensat.c: Likewise.
21863 * io/write.c: Likewise.
21864 * io/xmknod.c: Likewise.
21865 * io/xmknodat.c: Likewise.
21866 * io/xstat.c: Likewise.
21867 * io/xstat64.c: Likewise.
21868 * login/getpt.c: Likewise.
21869 * login/grantpt.c: Likewise.
21870 * login/unlockpt.c: Likewise.
21871 * math/e_acoshl.c: Likewise.
21872 * math/e_acosl.c: Likewise.
21873 * math/e_asinl.c: Likewise.
21874 * math/e_atan2l.c: Likewise.
21875 * math/e_atanhl.c: Likewise.
21876 * math/e_coshl.c: Likewise.
21877 * math/e_expl.c: Likewise.
21878 * math/e_fmodl.c: Likewise.
21879 * math/e_gammal_r.c: Likewise.
21880 * math/e_hypotl.c: Likewise.
21881 * math/e_j0l.c: Likewise.
21882 * math/e_j1l.c: Likewise.
21883 * math/e_jnl.c: Likewise.
21884 * math/e_lgammal_r.c: Likewise.
21885 * math/e_log10l.c: Likewise.
21886 * math/e_log2l.c: Likewise.
21887 * math/e_logl.c: Likewise.
21888 * math/e_powl.c: Likewise.
21889 * math/e_rem_pio2l.c: Likewise.
21890 * math/e_sinhl.c: Likewise.
21891 * math/e_sqrtl.c: Likewise.
21892 * math/fclrexcpt.c: Likewise.
21893 * math/fedisblxcpt.c: Likewise.
21894 * math/feenablxcpt.c: Likewise.
21895 * math/fegetenv.c: Likewise.
21896 * math/fegetexcept.c: Likewise.
21897 * math/fegetround.c: Likewise.
21898 * math/feholdexcpt.c: Likewise.
21899 * math/fesetenv.c: Likewise.
21900 * math/fesetround.c: Likewise.
21901 * math/feupdateenv.c: Likewise.
21902 * math/fgetexcptflg.c: Likewise.
21903 * math/fraiseexcpt.c: Likewise.
21904 * math/fsetexcptflg.c: Likewise.
21905 * math/ftestexcept.c: Likewise.
21906 * math/k_cosl.c: Likewise.
21907 * math/k_rem_pio2l.c: Likewise.
21908 * math/k_sinl.c: Likewise.
21909 * math/k_tanl.c: Likewise.
21910 * math/s_asinhl.c: Likewise.
21911 * math/s_atanl.c: Likewise.
21912 * math/s_cbrtl.c: Likewise.
21913 * math/s_erfl.c: Likewise.
21914 * math/s_expm1l.c: Likewise.
21915 * math/s_log1pl.c: Likewise.
21916 * math/s_tanhl.c: Likewise.
21917 * misc/acct.c: Likewise.
21918 * misc/brk.c: Likewise.
21919 * misc/chflags.c: Likewise.
21920 * misc/chroot.c: Likewise.
21921 * misc/fchflags.c: Likewise.
21922 * misc/fgetxattr.c: Likewise.
21923 * misc/flistxattr.c: Likewise.
21924 * misc/fremovexattr.c: Likewise.
21925 * misc/fsetxattr.c: Likewise.
21926 * misc/fsync.c: Likewise.
21927 * misc/ftruncate.c: Likewise.
21928 * misc/futimes.c: Likewise.
21929 * misc/futimesat.c: Likewise.
21930 * misc/getdomain.c: Likewise.
21931 * misc/getdtsz.c: Likewise.
21932 * misc/gethostid.c: Likewise.
21933 * misc/gethostname.c: Likewise.
21934 * misc/getloadavg.c: Likewise.
21935 * misc/getpagesize.c: Likewise.
21936 * misc/getsysstats.c: Likewise.
21937 * misc/getxattr.c: Likewise.
21938 * misc/gtty.c: Likewise.
21939 * misc/ioctl.c: Likewise.
21940 * misc/lgetxattr.c: Likewise.
21941 * misc/listxattr.c: Likewise.
21942 * misc/llistxattr.c: Likewise.
21943 * misc/lremovexattr.c: Likewise.
21944 * misc/lsetxattr.c: Likewise.
21945 * misc/lutimes.c: Likewise.
21946 * misc/madvise.c: Likewise.
21947 * misc/mincore.c: Likewise.
21948 * misc/mlock.c: Likewise.
21949 * misc/mlockall.c: Likewise.
21950 * misc/mmap.c: Likewise.
21951 * misc/mprotect.c: Likewise.
21952 * misc/msync.c: Likewise.
21953 * misc/munlock.c: Likewise.
21954 * misc/munlockall.c: Likewise.
21955 * misc/munmap.c: Likewise.
21956 * misc/preadv.c: Likewise.
21957 * misc/preadv64.c: Likewise.
21958 * misc/ptrace.c: Likewise.
21959 * misc/pwritev.c: Likewise.
21960 * misc/pwritev64.c: Likewise.
21961 * misc/readv.c: Likewise.
21962 * misc/reboot.c: Likewise.
21963 * misc/remap_file_pages.c: Likewise.
21964 * misc/removexattr.c: Likewise.
21965 * misc/revoke.c: Likewise.
21966 * misc/select.c: Likewise.
21967 * misc/setdomain.c: Likewise.
21968 * misc/setegid.c: Likewise.
21969 * misc/seteuid.c: Likewise.
21970 * misc/sethostid.c: Likewise.
21971 * misc/sethostname.c: Likewise.
21972 * misc/setregid.c: Likewise.
21973 * misc/setreuid.c: Likewise.
21974 * misc/setxattr.c: Likewise.
21975 * misc/sstk.c: Likewise.
21976 * misc/stty.c: Likewise.
21977 * misc/swapoff.c: Likewise.
21978 * misc/swapon.c: Likewise.
21979 * misc/sync.c: Likewise.
21980 * misc/syncfs.c: Likewise.
21981 * misc/syscall.c: Likewise.
21982 * misc/truncate.c: Likewise.
21983 * misc/ualarm.c: Likewise.
21984 * misc/usleep.c: Likewise.
21985 * misc/ustat.c: Likewise.
21986 * misc/utimes.c: Likewise.
21987 * misc/vhangup.c: Likewise.
21988 * misc/writev.c: Likewise.
21989 * posix/_exit.c: Likewise.
21990 * posix/alarm.c: Likewise.
21991 * posix/execve.c: Likewise.
21992 * posix/fexecve.c: Likewise.
21993 * posix/fork.c: Likewise.
21994 * posix/fpathconf.c: Likewise.
21995 * posix/getaddrinfo.c: Likewise.
21996 * posix/getegid.c: Likewise.
21997 * posix/geteuid.c: Likewise.
21998 * posix/getgid.c: Likewise.
21999 * posix/getgroups.c: Likewise.
22000 * posix/getlogin.c: Likewise.
22001 * posix/getlogin_r.c: Likewise.
22002 * posix/getpgid.c: Likewise.
22003 * posix/getpid.c: Likewise.
22004 * posix/getppid.c: Likewise.
22005 * posix/getresgid.c: Likewise.
22006 * posix/getresuid.c: Likewise.
22007 * posix/getsid.c: Likewise.
22008 * posix/getuid.c: Likewise.
22009 * posix/glob64.c: Likewise.
22010 * posix/nanosleep.c: Likewise.
22011 * posix/pathconf.c: Likewise.
22012 * posix/pause.c: Likewise.
22013 * posix/posix_madvise.c: Likewise.
22014 * posix/pread.c: Likewise.
22015 * posix/pread64.c: Likewise.
22016 * posix/pwrite.c: Likewise.
22017 * posix/pwrite64.c: Likewise.
22018 * posix/sched_getaffinity.c: Likewise.
22019 * posix/sched_getp.c: Likewise.
22020 * posix/sched_gets.c: Likewise.
22021 * posix/sched_primax.c: Likewise.
22022 * posix/sched_primin.c: Likewise.
22023 * posix/sched_rr_gi.c: Likewise.
22024 * posix/sched_setaffinity.c: Likewise.
22025 * posix/sched_setp.c: Likewise.
22026 * posix/sched_sets.c: Likewise.
22027 * posix/sched_yield.c: Likewise.
22028 * posix/setgid.c: Likewise.
22029 * posix/setlogin.c: Likewise.
22030 * posix/setpgid.c: Likewise.
22031 * posix/setresgid.c: Likewise.
22032 * posix/setresuid.c: Likewise.
22033 * posix/setsid.c: Likewise.
22034 * posix/setuid.c: Likewise.
22035 * posix/sleep.c: Likewise.
22036 * posix/spawni.c: Likewise.
22037 * posix/sysconf.c: Likewise.
22038 * posix/times.c: Likewise.
22039 * posix/wait.c: Likewise.
22040 * posix/wait3.c: Likewise.
22041 * posix/wait4.c: Likewise.
22042 * posix/waitpid.c: Likewise.
22043 * resolv/gai_sigqueue.c: Likewise.
22044 * resource/getpriority.c: Likewise.
22045 * resource/getrlimit.c: Likewise.
22046 * resource/getrusage.c: Likewise.
22047 * resource/nice.c: Likewise.
22048 * resource/setpriority.c: Likewise.
22049 * resource/setrlimit.c: Likewise.
22050 * resource/ulimit.c: Likewise.
22051 * rt/aio_cancel.c: Likewise.
22052 * rt/aio_fsync.c: Likewise.
22053 * rt/aio_read.c: Likewise.
22054 * rt/aio_sigqueue.c: Likewise.
22055 * rt/aio_suspend.c: Likewise.
22056 * rt/aio_write.c: Likewise.
22057 * rt/clock_getres.c: Likewise.
22058 * rt/clock_gettime.c: Likewise.
22059 * rt/clock_nanosleep.c: Likewise.
22060 * rt/clock_settime.c: Likewise.
22061 * rt/lio_listio.c: Likewise.
22062 * rt/mq_close.c: Likewise.
22063 * rt/mq_getattr.c: Likewise.
22064 * rt/mq_notify.c: Likewise.
22065 * rt/mq_open.c: Likewise.
22066 * rt/mq_receive.c: Likewise.
22067 * rt/mq_send.c: Likewise.
22068 * rt/mq_setattr.c: Likewise.
22069 * rt/mq_timedreceive.c: Likewise.
22070 * rt/mq_timedsend.c: Likewise.
22071 * rt/mq_unlink.c: Likewise.
22072 * rt/shm_open.c: Likewise.
22073 * rt/shm_unlink.c: Likewise.
22074 * rt/timer_create.c: Likewise.
22075 * rt/timer_delete.c: Likewise.
22076 * rt/timer_getoverr.c: Likewise.
22077 * rt/timer_gettime.c: Likewise.
22078 * rt/timer_settime.c: Likewise.
22079 * setjmp/__longjmp.c: Likewise.
22080 * setjmp/setjmp.c: Likewise.
22081 * signal/kill.c: Likewise.
22082 * signal/killpg.c: Likewise.
22083 * signal/raise.c: Likewise.
22084 * signal/sigaction.c: Likewise.
22085 * signal/sigaltstack.c: Likewise.
22086 * signal/sigblock.c: Likewise.
22087 * signal/sigignore.c: Likewise.
22088 * signal/sigintr.c: Likewise.
22089 * signal/signal.c: Likewise.
22090 * signal/sigpause.c: Likewise.
22091 * signal/sigpending.c: Likewise.
22092 * signal/sigqueue.c: Likewise.
22093 * signal/sigreturn.c: Likewise.
22094 * signal/sigset.c: Likewise.
22095 * signal/sigsetmask.c: Likewise.
22096 * signal/sigstack.c: Likewise.
22097 * signal/sigsuspend.c: Likewise.
22098 * signal/sigtimedwait.c: Likewise.
22099 * signal/sigvec.c: Likewise.
22100 * signal/sigwait.c: Likewise.
22101 * signal/sigwaitinfo.c: Likewise.
22102 * signal/sysv_signal.c: Likewise.
22103 * socket/accept.c: Likewise.
22104 * socket/accept4.c: Likewise.
22105 * socket/bind.c: Likewise.
22106 * socket/connect.c: Likewise.
22107 * socket/getpeername.c: Likewise.
22108 * socket/getsockname.c: Likewise.
22109 * socket/getsockopt.c: Likewise.
22110 * socket/isfdtype.c: Likewise.
22111 * socket/listen.c: Likewise.
22112 * socket/recv.c: Likewise.
22113 * socket/recvfrom.c: Likewise.
22114 * socket/recvmsg.c: Likewise.
22115 * socket/send.c: Likewise.
22116 * socket/sendmsg.c: Likewise.
22117 * socket/sendto.c: Likewise.
22118 * socket/setsockopt.c: Likewise.
22119 * socket/shutdown.c: Likewise.
22120 * socket/sockatmark.c: Likewise.
22121 * socket/socket.c: Likewise.
22122 * socket/socketpair.c: Likewise.
22123 * stdio-common/ctermid.c: Likewise.
22124 * stdio-common/cuserid.c: Likewise.
22125 * stdio-common/remove.c: Likewise.
22126 * stdio-common/rename.c: Likewise.
22127 * stdio-common/renameat.c: Likewise.
22128 * stdio-common/tempname.c: Likewise.
22129 * stdlib/getcontext.c: Likewise.
22130 * stdlib/makecontext.c: Likewise.
22131 * stdlib/setcontext.c: Likewise.
22132 * stdlib/swapcontext.c: Likewise.
22133 * stdlib/system.c: Likewise.
22134 * streams/fattach.c: Likewise.
22135 * streams/fdetach.c: Likewise.
22136 * streams/getmsg.c: Likewise.
22137 * streams/getpmsg.c: Likewise.
22138 * streams/putmsg.c: Likewise.
22139 * streams/putpmsg.c: Likewise.
22140 * sysdeps/unix/bsd/getpt.c: Likewise.
22141 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
22142 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
22143 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
22144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
22146 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
22147 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
22148 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
22149 * sysvipc/msgctl.c: Likewise.
22150 * sysvipc/msgget.c: Likewise.
22151 * sysvipc/msgrcv.c: Likewise.
22152 * sysvipc/msgsnd.c: Likewise.
22153 * sysvipc/semctl.c: Likewise.
22154 * sysvipc/semget.c: Likewise.
22155 * sysvipc/semop.c: Likewise.
22156 * sysvipc/semtimedop.c: Likewise.
22157 * sysvipc/shmat.c: Likewise.
22158 * sysvipc/shmctl.c: Likewise.
22159 * sysvipc/shmdt.c: Likewise.
22160 * sysvipc/shmget.c: Likewise.
22161 * termios/tcdrain.c: Likewise.
22162 * termios/tcflow.c: Likewise.
22163 * termios/tcflush.c: Likewise.
22164 * termios/tcgetattr.c: Likewise.
22165 * termios/tcgetpgrp.c: Likewise.
22166 * termios/tcsendbrk.c: Likewise.
22167 * termios/tcsetattr.c: Likewise.
22168 * termios/tcsetpgrp.c: Likewise.
22169 * time/adjtime.c: Likewise.
22170 * time/clock.c: Likewise.
22171 * time/getitimer.c: Likewise.
22172 * time/gettimeofday.c: Likewise.
22173 * time/setitimer.c: Likewise.
22174 * time/settimeofday.c: Likewise.
22175 * time/stime.c: Likewise.
22176 * time/time.c: Likewise.
22178 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
22180 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
22183 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
22185 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
22187 2012-11-03 Joseph Myers <joseph@codesourcery.com>
22190 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
22191 FE_TONEAREST before applying Dekker multiplication and Knuth
22192 addition. Clear inexact exceptions and check for exact zero
22193 results afterwards.
22194 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22195 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
22196 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22197 * math/libm-test.inc (fma_test): Add more tests.
22198 (fma_test_towardzero): Likewise.
22199 (fma_test_downward): Likewise.
22200 (fma_test_upward): Likewise.
22201 * sysdeps/generic/math_private.h (default_libc_fesetround): New
22203 (libc_fesetround): New macro.
22204 (libc_fesetroundf): Likewise.
22205 (libc_fesetroundl): Likewise.
22206 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
22208 (libc_fesetround_387): Likewise.
22209 (libc_fesetroundf): New macro.
22210 (libc_fesetround): Likewise.
22211 (libc_fesetroundl): Likewise.
22212 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
22214 (libc_fesetroundf): New macro.
22215 (libc_fesetround): Likewise.
22216 (libc_fesetroundl): Likewise.
22217 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
22218 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
22219 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
22221 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
22222 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
22224 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
22225 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
22227 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
22231 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
22232 integer constant usable in #if and use that to give value to enum
22234 (FE_DIVBYZERO): Likewise.
22235 (FE_UNDERFLOW): Likewise.
22236 (FE_OVERFLOW): Likewise.
22237 (FE_INVALID): Likewise.
22238 (FE_INVALID_SNAN): Likewise.
22239 (FE_INVALID_ISI): Likewise.
22240 (FE_INVALID_IDI): Likewise.
22241 (FE_INVALID_ZDZ): Likewise.
22242 (FE_INVALID_IMZ): Likewise.
22243 (FE_INVALID_COMPARE): Likewise.
22244 (FE_INVALID_SOFTWARE): Likewise.
22245 (FE_INVALID_SQRT): Likewise.
22246 (FE_INVALID_INTEGER_CONVERSION): Likewise.
22247 (FE_TONEAREST): Likewise.
22248 (FE_TOWARDZERO): Likewise.
22249 (FE_UPWARD): Likewise.
22250 (FE_DOWNWARD): Likewise.
22251 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
22252 (FE_DIVBYZERO): Likewise.
22253 (FE_OVERFLOW): Likewise.
22254 (FE_UNDERFLOW): Likewise.
22255 (FE_INEXACT): Likewise.
22256 (FE_TONEAREST): Likewise.
22257 (FE_DOWNWARD): Likewise.
22258 (FE_UPWARD): Likewise.
22259 (FE_TOWARDZERO): Likewise.
22260 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
22261 (FE_UNDERFLOW): Likewise.
22262 (FE_OVERFLOW): Likewise.
22263 (FE_DIVBYZERO): Likewise.
22264 (FE_INVALID): Likewise.
22265 (FE_TONEAREST): Likewise.
22266 (FE_TOWARDZERO): Likewise.
22267 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
22268 (FE_OVERFLOW): Likewise.
22269 (FE_UNDERFLOW): Likewise.
22270 (FE_DIVBYZERO): Likewise.
22271 (FE_INEXACT): Likewise.
22272 (FE_TONEAREST): Likewise.
22273 (FE_TOWARDZERO): Likewise.
22274 (FE_UPWARD): Likewise.
22275 (FE_DOWNWARD): Likewise.
22276 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
22277 (FE_DIVBYZERO): Likewise.
22278 (FE_OVERFLOW): Likewise.
22279 (FE_UNDERFLOW): Likewise.
22280 (FE_INEXACT): Likewise.
22281 (FE_TONEAREST): Likewise.
22282 (FE_DOWNWARD): Likewise.
22283 (FE_UPWARD): Likewise.
22284 (FE_TOWARDZERO): Likewise.
22286 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
22288 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
22290 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
22292 * scripts/cross-test-ssh.sh (command): Use newlines to separate
22293 commands. Quote $PWD.
22294 (blacklist_exports): Don't use remove_newlines. Replace "declare
22296 (remove_newlines): Remove.
22298 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
22300 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
22301 * stdlib/stdlib.h (atof): Moved to ...
22302 * include/bits/stdlib-float.h: Here. New file.
22303 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
22304 * stdlib/bits/stdlib-float.h: New file.
22305 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
22307 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
22310 2012-11-02 Joseph Myers <joseph@codesourcery.com>
22312 * conform/conformtest.pl (@headers): Add fenv.h.
22313 * conform/data/fenv.h-data: New file.
22314 * include/fenv.h [_ISOMAC]: Disable all contents of file except
22315 include of <math/fenv.h>.
22317 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
22318 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
22319 && !UNIX98]. Enables tests for XOPEN2K8.
22320 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
22321 POSIX2008]: Likewise.
22323 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
22324 (struct rusage): Do not expect type or its members.
22327 * math/math.h (FP_NAN): Define macro to integer constant usable in
22328 #if and use that to give value to enum constant.
22329 (FP_INFINITE): Likewise.
22330 (FP_ZERO): Likewise.
22331 (FP_SUBNORMAL): Likewise.
22332 (FP_NORMAL): Likewise.
22334 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
22336 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
22337 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
22340 2012-11-02 Roland McGrath <roland@hack.frob.com>
22342 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
22343 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
22344 autoconf-time if not.
22345 * configure.in: Remove AC_PREREQ.
22347 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22349 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
22350 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
22351 of the internal implementation.
22353 2012-11-02 Joseph Myers <joseph@codesourcery.com>
22355 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
22356 except include of <misc/sys/syslog.h>.
22358 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
22360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
22361 function returns with a NULL context exit with zero.
22363 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22365 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
22367 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
22369 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
22370 (run_program_cmd): This.
22371 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
22372 (tst_langinfo): New variable. Use it.
22374 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
22376 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
22377 floating point opcodes.
22379 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22381 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
22384 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
22386 * sysdeps/mach/hurd/powerpc: Remove directory.
22387 * sysdeps/mach/powerpc: Likewise.
22389 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
22391 * scripts/check-local-headers.sh: Ignore c++ headers.
22393 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22395 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
22396 __libc_cleanup_region_start argument.
22398 2012-11-01 Joseph Myers <joseph@codesourcery.com>
22402 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
22403 x * y using scaling, not as x * y + z.
22404 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22405 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22406 * math/libm-test.inc (fma_test): Add more tests.
22407 (fma_test_towardzero): Likewise.
22408 (fma_test_downward): Likewise.
22409 (fma_test_upward): Likewise.
22411 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22413 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
22415 2012-10-31 Joseph Myers <joseph@codesourcery.com>
22417 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
22420 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
22422 * rt/tst-shm.c (worker): Correct checking for mmap failure.
22424 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
22426 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22431 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22433 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22434 Fix the order of the list for glibc 2.17.
22435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22438 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
22440 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22442 2012-10-31 Joseph Myers <joseph@codesourcery.com>
22445 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
22446 for low part of x being zero before using __atanl (y).
22447 * math/libm-test.inc (atan2_test): Add another test.
22449 * manual/install.texi (Configuring and compiling): Document
22450 general use of test-wrapper and test-wrapper-env.
22451 * INSTALL: Regenerated.
22453 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
22454 (__fma): Do not extract and scale down low bits on after-rounding
22455 systems when result rounded to normal precision would have normal
22457 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
22458 (__fmal): Do not extract and scale down low bits on after-rounding
22459 systems when result rounded to normal precision would have normal
22461 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
22462 (__fmal): Do not extract and scale down low bits on after-rounding
22463 systems when result rounded to normal precision would have normal
22465 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
22467 (fma_test): Add more tests.
22468 (fma_test_towardzero): Likewise.
22469 (fma_test_downward): Likewise.
22470 (fma_test_upward): Likewise.
22472 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
22474 * sysdeps/i386/tininess.h: Renamed to ...
22475 * sysdeps/x86/tininess.h: This.
22476 * sysdeps/x86_64/tininess.h: Removed.
22478 2012-10-30 Joseph Myers <joseph@codesourcery.com>
22480 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
22481 input. Use $(build-program-cmd).
22482 ($(objpfx)tst-array1-static.out): Likewise.
22483 ($(objpfx)tst-array2.out): Likewise.
22484 ($(objpfx)tst-array3.out): Likewise.
22485 ($(objpfx)tst-array4.out): Likewise.
22486 ($(objpfx)tst-array5.out): Likewise.
22487 ($(objpfx)tst-array5-static.out): Likewise.
22489 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
22491 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
22494 * nss/nsswitch.h (nss_interface_function): Provide new
22495 macro for use with NSS functions.
22496 * grp/initgroups.c: Use new macro.
22497 * nss/getXXbyYY.c: Likewise.
22498 * nss/getXXbyYY_r.c: Likewise.
22499 * nss/getXXent.c: Likewise.
22500 * nss/getXXent_r.c: Likewise.
22501 * sysdeps/posix/getaddrinfo.c: Likewise.
22503 2012-10-30 Andreas Jaeger <aj@suse.de>
22505 * po/ru.po: Update Russion translation from translation project.
22507 2012-10-30 Joseph Myers <joseph@codesourcery.com>
22511 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
22512 result and shift together with sticky bit instead of replicating
22513 round-to-nearest rounding.
22514 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22515 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22516 * math/libm-test.inc (fma_test): Add more tests. Do not permit
22517 missing underflow exceptions.
22518 (fma_test_towardzero): Add more tests.
22519 (fma_test_downward): Likewise.
22520 (fma_test_upward): Likewise.
22523 * sysdeps/generic/tininess.h: New file.
22524 * sysdeps/i386/tininess.h: Likewise.
22525 * sysdeps/sh/tininess.h: Likewise.
22526 * sysdeps/x86_64/tininess.h: Likewise.
22527 * stdlib/tst-strtod-underflow.c: Likewise.
22528 * stdlib/tst-tininess.c: Likewise.
22529 * stdlib/strtod_l.c: Include <tininess.h>.
22530 (round_and_return): Do not set errno for exact underflow cases.
22531 Force an underflow exception when setting errno for underflow.
22532 Determine underflow based on rounding to normal precision if
22533 TININESS_AFTER_ROUNDING.
22534 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
22535 ERANGE for exact underflow cases.
22536 * stdlib/Makefile (tests): Add tst-tininess and
22537 tst-strtod-underflow.
22538 ($(objpfx)tst-tininess): Use $(link-libm).
22539 ($(objpfx)tst-strtod-underflow): Likewise.
22541 2012-10-30 Andreas Jaeger <aj@suse.de>
22544 * elf/Makefile (tests): Remove conditional for have-initfini-array
22545 since this is now always required and the variable does not exist
22547 (tests-static): Likewise.
22548 (modules-names): Likewise.
22550 * po/eo.po: Add Esperanto translation from translation project.
22552 * elf/tst-array1.c (fini_array): Make writeable so that it can be
22553 merged with constructor/destructor.
22554 (init_array): Likewise.
22555 * elf/tst-array2dep.c (fini_array): Likewise.
22556 (init_array): Likewise.
22558 2012-10-29 Mike Frysinger <vapier@gentoo.org>
22560 * manual/message.texi: Delete @cartouche tags.
22562 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
22564 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
22566 * sysdeps/mach/hurd/fsync.c: Likewise.
22568 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
22569 [_POSIX_REALTIME_SIGNALS]: Change condition to
22570 [_POSIX_REALTIME_SIGNALS > 0].
22572 2012-10-27 Andreas Jaeger <aj@suse.de>
22574 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
22575 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
22576 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
22577 [__WORDSIZE != 64]: Likewise.
22579 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
22581 * iconvdata/tst-table.sh: Remove ${SHELL}.
22582 * iconvdata/tst-tables.sh: Likewise.
22584 2012-10-25 David S. Miller <davem@davemloft.net>
22586 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22587 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
22590 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
22592 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22593 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
22594 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
22597 2012-10-25 Roland McGrath <roland@hack.frob.com>
22599 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22600 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
22603 2012-10-25 Joseph Myers <joseph@codesourcery.com>
22604 Jim Blandy <jimb@codesourcery.com>
22606 * scripts/cross-test-ssh.sh: New file.
22607 * manual/install.texi (Configuring and compiling): Document use of
22609 * INSTALL: Regenerated.
22611 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
22613 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
22616 2012-10-25 Joseph Myers <joseph@codesourcery.com>
22618 * Makeconfig (run-program-prefix): Fix comment.
22620 2012-10-24 Joseph Myers <joseph@codesourcery.com>
22621 Jim Blandy <jimb@codesourcery.com>
22623 * Makeconfig (test-wrapper): New variable,
22624 (test-wrapper-env): Likewise.
22625 [$(cross-compiling) = yes && $(test-wrapper) != ""]
22626 (run-built-tests): Define to yes.
22627 (run-program-prefix): Use $(test-wrapper).
22628 (built-program-cmd): Likewise.
22629 * Rules (make-test-out): Use $(test-wrapper-env) and
22630 $(host-built-program-cmd).
22631 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
22632 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
22634 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
22635 $(test-wrapper-env) to tst-rtld-load-self.sh.
22636 ($(objpfx)order2.out): Use $(test-wrapper).
22637 ($(objpfx)tst-initorder.out): Likewise.
22638 ($(objpfx)tst-initorder2.out): Likewise.
22639 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
22640 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
22641 (test_wrapper_env): New variable. Use it to run ld.so.
22642 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
22643 Use it to run ld.so.
22644 (test_wrapper_env): Likewise.
22645 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
22646 $(test-wrapper) to run-iconv-test.sh.
22647 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
22648 (ICONV): Use $test_wrapper.
22649 * posix/Makefile ($(objpfx)globtest.out): Pass
22650 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
22651 globtest.sh, not $(run-program-prefix).
22652 * posix/globtest.sh (run_via_rtld_prefix): New variable.
22653 (test_wrapper): Likewise.
22654 (test_wrapper_env): Likewise. Use it to run globtest with HOME
22655 set together with run_via_rtld_prefix.
22656 (run_program_prefix): Define in terms of test_wrapper and
22657 run_via_rtld_prefix.
22659 2012-10-24 Roland McGrath <roland@hack.frob.com>
22661 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
22662 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
22666 * include/time.h: Remove librt_hidden_proto (clock_gettime).
22667 Declare __clock_getres, __clock_gettime, __clock_settime,
22668 __clock_nanosleep, and __clock_getcpuclockid.
22669 * rt/clock_gettime.c: Define __clock_gettime as an alias.
22670 Remove librt_hidden_def (clock_gettime).
22671 * sysdeps/unix/clock_gettime.c: Likewise.
22672 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
22673 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
22674 * rt/clock_getres.c: Define __clock_getres as an alias.
22675 * sysdeps/posix/clock_getres.c: Likewise.
22676 * rt/clock_settime.c: Define __clock_settime as an alias.
22677 * sysdeps/unix/clock_settime.c: Likewise.
22678 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
22679 * sysdeps/unix/clock_nanosleep.c: Likewise.
22680 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
22681 * rt/clock-compat.c: New file.
22682 * rt/Makefile (librt-routines): Add clock-compat and move
22683 $(clock-routines) to ...
22684 (routines): ... here, new variable.
22685 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
22686 Don't add get_clockfreq here.
22687 * rt/Versions (libc: GLIBC_2.17): New version set.
22688 Add clock_* symbols here.
22689 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
22690 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
22691 (GLIBC_2.17): Add clock_* symbols.
22692 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
22693 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
22694 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
22695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22697 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22699 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
22700 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
22701 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
22702 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
22703 * NEWS: Mention the move.
22705 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
22706 Use __open, __read, __close rather than their public counterparts.
22707 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22708 (__get_clockfreq_via_cpuinfo): Likewise.
22709 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
22710 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
22712 * config.h.in (HAVE_IFUNC): New #undef.
22713 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
22715 * configure: Regenerated.
22717 2012-10-24 Mike Frysinger <vapier@gentoo.org>
22719 * configure.in: Move READELF check to start of file.
22720 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
22721 libc_cv_asm_gnu_indirect_function in the process.
22722 * configure: Regenerated.
22724 2012-10-24 Mike Frysinger <vapier@gentoo.org>
22726 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
22727 send the output to /dev/null.
22728 (libc_cv_cc_with_libunwind): Likewise.
22729 (libc_cv_as_noexecstack): Likewise.
22730 * configure: Regenerate.
22732 2012-10-24 Joseph Myers <joseph@codesourcery.com>
22734 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
22736 * posix/globtest.sh (TMPDIR): Do not set.
22737 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
22738 (testout): Likewise.
22740 2012-10-24 Andreas Jaeger <aj@suse.de>
22742 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
22743 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
22744 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
22745 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
22746 posix_fadvise64, posix_fallocate64.
22748 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
22749 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
22750 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
22752 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
22754 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
22756 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
22757 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
22758 <bits/fcntl-linux.h>.
22759 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
22761 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
22762 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
22763 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
22764 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
22765 [__WORDSIZE != 64]: Likewise.
22767 2012-10-23 Joseph Myers <joseph@codesourcery.com>
22769 * Makeconfig (run-built-tests): New variable.
22770 * Rules [$(cross-compiling) = yes]: Change condition to
22771 [$(run-built-tests) = no].
22772 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
22773 to [$(run-built-tests) = yes].
22774 * elf/Makefile [$(cross-compiling) = no]: Likewise
22775 * grp/Makefile [$(cross-compiling) = no]: Likewise.
22776 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
22777 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
22778 * intl/Makefile [$(cross-compiling) = no]: Likewise.
22779 * io/Makefile [$(cross-compiling) = no]: Likewise.
22780 * libio/Makefile [$(cross-compiling) = no]: Likewise.
22781 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
22782 * misc/Makefile [$(cross-compiling) = no]: Likewise.
22783 * posix/Makefile [$(cross-compiling) = no]: Likewise.
22784 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
22785 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
22786 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
22787 * string/Makefile [$(cross-compiling) = no]: Likewise.
22789 * posix/Makefile ($(objpfx)globtest.out): Pass
22790 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
22791 $(rtld-installed-name).
22792 * posix/globtest.sh (elf_objpfx): Remove variable.
22793 (rtld_installed_name): Likewise.
22794 (library_path): Likewise.
22795 (run_program_prefix): New variable. Use for running globtest
22798 2012-10-23 Jim Blandy <jimb@codesourcery.com>
22799 Joseph Myers <joseph@codesourcery.com>
22801 * Makeconfig (host-built-program-cmd): New variable.
22802 * elf/Makefile (tst-stackguard1-ARGS): Use
22803 $(host-built-program-cmd).
22804 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
22805 (tst-spawn-ARGS): Likewise.
22806 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
22808 2012-10-23 Joseph Myers <joseph@codesourcery.com>
22809 Jim Blandy <jimb@codesourcery.com>
22811 * Makeconfig (run-via-rtld-prefix): New variable.
22812 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
22813 (built-program-cmd): Likewise.
22815 2012-10-22 Andreas Jaeger <aj@suse.de>
22817 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
22818 __O_RSYNC if it exists, otherwise to O_SYNC.
22820 2012-10-22 Jim Blandy <jimb@codesourcery.com>
22821 Joseph Myers <joseph@codesourcery.com>
22823 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
22825 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
22827 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
22830 2012-10-22 Andreas Jaeger <aj@suse.de>
22832 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
22834 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
22836 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22837 bits/fcntl-linux.h.
22839 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
22840 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
22842 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
22844 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
22847 2012-10-21 Jim Blandy <jimb@codesourcery.com>
22848 Joseph Myers <joseph@codesourcery.com>
22850 * config.make.in (NM): New variable.
22852 2012-10-21 Andreas Jaeger <aj@suse.de>
22854 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
22855 definitions and declarations that are provided by
22856 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
22858 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
22861 * elf/Makefile (tests-static): Add tst-leaks1-static.
22862 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
22863 ($(objpfx)tst-leaks1-static): New rule.
22864 ($(objpfx)tst-leaks1-static-mem): Likewise.
22865 (tst-leaks1-static-ENV): New macro.
22866 * elf/dl-open.c (dl_open_worker): Check the main application
22867 only if SHARED is defined.
22868 * elf/tst-leaks1-static.c: New file.
22870 2012-10-20 Andreas Jaeger <aj@suse.de>
22872 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
22873 generic values for Linux.
22874 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
22875 and declarations that are provided by <bits/fcntl-linux.h> and
22876 include <bits/fcntl-linux.h>.
22877 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22878 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22880 2012-10-20 Roland McGrath <roland@hack.frob.com>
22882 * io/fcntl.h: Move include of <bits/types.h> to the top and
22883 include it unconditionally.
22885 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
22887 * wcsmbs/Makefile (tests-ifunc): New variable.
22888 (tests): Add $(tests-ifunc).
22889 * wcsmbs/test-wcschr-ifunc.c: New file.
22890 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
22891 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
22892 * wcsmbs/test-wcslen-ifunc.c: Likewise.
22893 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
22894 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
22896 * string/Makefile (tests-ifunc): New variable.
22897 (tests): Add $(tests-ifunc).
22898 * string/test-memccpy.c (TEST_NAME): New macro.
22899 * string/test-memchr.c (TEST_NAME): Likewise.
22900 * string/test-memcmp.c (TEST_NAME): Likewise.
22901 * string/test-memcpy.c (TEST_NAME): Likewise.
22902 * string/test-memmem.c (TEST_NAME): Likewise.
22903 * string/test-memmove.c (TEST_NAME): Likewise.
22904 * string/test-memset.c (TEST_NAME): Likewise.
22905 * string/test-rawmemchr.c (TEST_NAME): Likewise.
22906 * string/test-stpcpy.c (TEST_NAME): Likewise.
22907 * string/test-stpncpy.c (TEST_NAME): Likewise.
22908 * string/test-strcasecmp.c (TEST_NAME): Likewise.
22909 * string/test-strcasestr.c (TEST_NAME): Likewise.
22910 * string/test-strcat.c (TEST_NAME): Likewise.
22911 * string/test-strchr.c (TEST_NAME): Likewise.
22912 * string/test-strcmp.c(TEST_NAME): Likewise.
22913 * string/test-strcpy.c (TEST_NAME): Likewise.
22914 * string/test-strcspn.c (TEST_NAME): Likewise.
22915 * string/test-strlen.c (TEST_NAME): Likewise.
22916 * string/test-strncasecmp.c (TEST_NAME): Likewise.
22917 * string/test-strncmp.c (TEST_NAME): Likewise.
22918 * string/test-strncpy.c (TEST_NAME): Likewise.
22919 * string/test-strnlen.c (TEST_NAME): Likewise.
22920 * string/test-strpbrk.c (TEST_NAME): Likewise.
22921 * string/test-strrchr.c (TEST_NAME): Likewise.
22922 * string/test-strspn.c (TEST_NAME): Likewise.
22923 * string/test-strstr.c (TEST_NAME): Likewise.
22924 * string/test-bcopy-ifunc.c: New file.
22925 * string/test-bzero-ifunc.c: Likewise.
22926 * string/test-memccpy-ifunc.c: Likewise.
22927 * string/test-memchr-ifunc.c: Likewise.
22928 * string/test-memcmp-ifunc.c: Likewise.
22929 * string/test-memcpy-ifunc.c: Likewise.
22930 * string/test-memmem-ifunc.c: Likewise.
22931 * string/test-memmove-ifunc.c: Likewise.
22932 * string/test-mempcpy-ifunc.c: Likewise.
22933 * string/test-memset-ifunc.c: Likewise.
22934 * string/test-rawmemchr-ifunc.c: Likewise.
22935 * string/test-stpcpy-ifunc.c: Likewise.
22936 * string/test-stpncpy-ifunc.c: Likewise.
22937 * string/test-strcasecmp-ifunc.c: Likewise.
22938 * string/test-strcasestr-ifunc.c: Likewise.
22939 * string/test-strcat-ifunc.c: Likewise.
22940 * string/test-strchr-ifunc.c: Likewise.
22941 * string/test-strchrnul-ifunc.c: Likewise.
22942 * string/test-strcmp-ifunc.c: Likewise.
22943 * string/test-strcpy-ifunc.c: Likewise.
22944 * string/test-strcspn-ifunc.c: Likewise.
22945 * string/test-strlen-ifunc.c: Likewise.
22946 * string/test-strncasecmp-ifunc.c: Likewise.
22947 * string/test-strncat-ifunc.c: Likewise.
22948 * string/test-strncmp-ifunc.c: Likewise.
22949 * string/test-strncpy-ifunc.c: Likewise.
22950 * string/test-strnlen-ifunc.c: Likewise.
22951 * string/test-strpbrk-ifunc.c: Likewise.
22952 * string/test-strrchr-ifunc.c: Likewise.
22953 * string/test-strspn-ifunc.c: Likewise.
22954 * string/test-strstr-ifunc.c: Likewise.
22956 * debug/Makefile (tests-ifunc): New variable.
22957 (tests): Add $(tests-ifunc).
22958 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
22959 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
22960 * debug/test-stpcpy_chk-ifunc.c: New file.
22961 * debug/test-strcpy_chk-ifunc.c: Likewise.
22963 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
22966 * elf/dl-load.c (open_verify): Retry read if the entire ELF
22967 header is not read in.
22969 2012-10-19 Joseph Myers <joseph@codesourcery.com>
22971 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
22972 script to $(SHELL) as $<. Pass $(common-objpfx) to script
22973 directly. Pass built executable to script as
22974 $(built-program-cmd).
22975 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
22976 $testprogram without using LD_LIBRARY_PATH and $ldso.
22978 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
22979 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
22980 $(rtld-installed-name).
22981 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
22982 (rtld_installed_name): Likewise.
22983 (library_path): Likewise.
22984 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
22985 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
22986 $(run-program-prefix) to tst-tables.sh.
22987 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
22988 it to run tst-table-from and tst-table-to.
22989 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
22990 Pass it to tst-table.sh.
22991 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
22992 $(run-program-prefix) to tst-gettext.sh.
22993 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
22995 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
22997 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
22998 to run tst-gettext.
22999 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
23000 to run tst-gettext2.
23001 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
23002 to run tst-translit.
23003 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
23004 $(run-program-prefix) to tst-mtrace.sh.
23005 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
23007 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
23008 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
23009 $(rtld-installed-name).
23010 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
23011 (rtld_installed_name): Likewise.
23012 (run_program_prefix): New variable. Use it to run wordexp-test.
23014 * Makeconfig (ARCH): Remove all definitions.
23015 (machine): Likewise.
23016 [ARCH]: Remove conditional code.
23017 [!objdir]: Give error.
23018 [!objdir] (objpfx): Remove.
23019 [!objdir] (common-objpfx): Likewise.
23020 [!objdir] (common-objdir): Likewise.
23021 * configure.in (config_makefile): Remove. Hardcode Makefile in
23022 AC_CONFIG_FILES call.
23023 * configure: Regenerated.
23026 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
23028 (testout): Likewise.
23030 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
23031 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
23032 $(rtld-installed-name).
23033 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
23034 (rtld_installed_name): Likwise.
23035 (runit): Remove function.
23036 (run_getconf): New variable, Use it for running getconf binary.
23038 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
23041 * string/test-memmem.c (check_result): New function.
23042 (do_one_test): Use it.
23043 (check1): New function.
23044 (test_main): Use it.
23046 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
23048 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
23050 2012-10-18 Joseph Myers <joseph@codesourcery.com>
23052 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
23053 (_G_LSEEK64): Likewise.
23054 (_G_MMAP64): Likewise.
23055 (_G_FSTAT64): Likewise.
23056 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
23057 (_G_LSEEK64): Likewise.
23058 (_G_MMAP64): Likewise.
23059 (_G_FSTAT64): Likewise.
23060 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
23061 unconditional. Call __mmap64 directly.
23062 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
23063 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
23064 __lseek64 directly.
23065 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
23066 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
23068 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
23069 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
23070 __lseek64 directly.
23071 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
23072 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
23073 __lseek64 directly.
23074 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
23075 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
23076 __lseek64 directly.
23077 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
23078 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
23079 __fxstat64 directly.
23080 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
23081 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
23083 (freopen64) [!_G_OPEN64]: Remove conditional code.
23084 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
23086 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
23087 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
23089 (ftello64) [!_G_LSEEK64]: Remove conditional code.
23090 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
23092 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
23093 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
23095 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
23096 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
23098 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
23099 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
23101 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
23102 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
23104 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
23106 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
23109 * manual/memory.texi (Malloc Tunable Parameters): Add note
23110 about free list pointers overwriting some perturb bytes.
23111 Wording suggested by Roland McGrath.
23113 2012-10-17 Joseph Myers <joseph@codesourcery.com>
23115 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
23116 (lgamma_test): Likewise.
23117 (tgamma_test): Likewise.
23119 2012-10-16 Florian Weimer <fweimer@redhat.com>
23122 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
23123 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
23125 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
23127 * NEWS: Mention BZ #14716.
23128 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
23129 when removing AVAILABLE1_USES_J macro.
23131 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
23133 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
23134 (__bswap_64): __uint64_t for unsigned 64-bit int.
23136 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
23138 * include/string.h (memmem): Declare libc hidden alias.
23139 * string/memmem.c (memmem): Define libc hidden alias.
23140 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
23141 __read, __close instead of open, read, close.
23143 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
23145 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
23146 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
23148 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
23149 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
23150 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
23152 (__rawmemchr_sse2): Likewise.
23153 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
23154 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
23155 (__strchr_sse2): Likewise.
23156 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
23157 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
23158 (__strcasecmp_sse2): Likewise.
23159 (__strncasecmp_sse2): Likewise.
23160 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
23161 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
23162 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
23163 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
23164 (__strrchr_sse2): Likewise.
23165 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
23167 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
23168 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
23169 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
23170 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
23171 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
23172 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
23173 * sysdeps/x86_64/multiarch/memset.S: Likewise.
23174 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
23175 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
23176 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
23177 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
23178 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
23179 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
23180 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
23181 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
23182 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
23183 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
23184 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
23185 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
23186 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
23187 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
23188 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
23189 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
23190 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
23191 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
23192 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23193 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
23194 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
23195 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
23196 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
23198 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
23200 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
23201 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
23202 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
23203 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
23205 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
23207 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
23208 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
23209 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
23210 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
23212 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
23213 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
23214 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
23215 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
23216 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
23217 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
23218 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
23219 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
23220 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
23221 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
23222 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
23223 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
23224 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
23225 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
23226 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
23227 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
23228 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
23229 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
23230 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
23231 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
23232 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
23233 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
23234 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
23235 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
23236 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
23237 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
23238 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
23239 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
23240 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
23241 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
23242 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
23243 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
23244 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
23245 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
23246 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
23247 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
23248 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
23249 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
23250 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
23251 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
23252 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
23254 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
23255 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
23256 * include/ifunc-impl-list.h: New file.
23257 * misc/ifunc-impl-list.c: Likewise.
23258 * misc/Makefile (routines): Add ifunc-impl-list.
23259 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
23260 * string/test-string.h: Include <ifunc-impl-list.h>.
23261 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
23262 TEST_NAME]: New variables.
23263 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
23265 (test_init): Call __libc_ifunc_impl_list to initialize
23266 func_list if TEST_IFUNC and TEST_NAME are defined.
23268 * string/Makefile (strop-tests): Add bcopy and bzero.
23269 * string/test-bcopy.c: New file.
23270 * string/test-bzero.c: Likewise.
23271 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
23273 * string/test-memset.c: Support bzero test if TEST_BZERO is
23275 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
23277 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
23279 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
23282 2012-10-10 Joseph Myers <joseph@codesourcery.com>
23284 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
23285 * configure: Regenerated.
23287 * Makeconfig (+link-static-before-libc): Don't include
23288 $(link-static-libc).
23290 * libio/libio.h (_IO_pos_t): Remove.
23292 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
23294 * NEWS: Add note about FIPS mode. Wording suggested by Roland
23297 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
23299 * crypt/crypt-entry.c: Include fips-private.h.
23300 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
23301 * crypt/md5c-test.c (main): Tolerate disabled MD5.
23302 * sysdeps/unix/sysv/linux/fips-private.h: New file.
23303 * sysdeps/generic/fips-private.h: New file, dummy fallback.
23305 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
23307 * crypt/crypt-private.h: Include stdbool.h.
23308 (_ufc_setup_salt_r): Return bool.
23309 * crypt/crypt-entry.c: Include errno.h.
23310 (__crypt_r): Return NULL with EINVAL for bad salt.
23311 * crypt/crypt_util.c (bad_for_salt): New.
23312 (_ufc_setup_salt_r): Check that salt is long enough and within
23313 the specified alphabet.
23314 * crypt/badsalttest.c: New file.
23315 * crypt/Makefile (tests): Add it.
23316 ($(objpfx)badsalttest): New.
23318 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
23320 * NEWS: Add entry for BZ #14602.
23322 2012-10-09 Joseph Myers <joseph@codesourcery.com>
23324 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
23326 * math/libm-test.inc: Update comment listing what functions and
23328 (isgreater_test): New function.
23329 (isgreaterequal_test): Likewise.
23330 (isless_test): Likewise.
23331 (islessequal_test): Likewise.
23332 (islessgreater_test): Likewise.
23333 (isunordered_test): Likewise.
23334 (main): Call the new functions.
23336 2012-10-09 Roland McGrath <roland@hack.frob.com>
23338 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
23339 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
23340 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
23341 * sysdeps/i386/configure: Regenerated.
23342 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
23343 * sysdeps/mach/configure: Regenerated.
23344 * sysdeps/mach/hurd/configure: Regenerated.
23345 * sysdeps/powerpc/configure: Regenerated.
23346 * sysdeps/powerpc/powerpc32/configure: Regenerated.
23347 * sysdeps/powerpc/powerpc64/configure: Regenerated.
23348 * sysdeps/s390/s390-32/configure: Regenerated.
23349 * sysdeps/s390/s390-64/configure: Regenerated.
23350 * sysdeps/sh/configure: Regenerated.
23351 * sysdeps/sparc/configure: Regenerated.
23352 * sysdeps/unix/sysv/linux/configure: Regenerated.
23353 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
23354 * sysdeps/x86_64/configure: Regenerated.
23356 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
23357 defined. Don't check if MAP is NULL.
23359 2012-10-09 Joseph Myers <joseph@codesourcery.com>
23361 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
23362 (_G_stat64): Likewise.
23363 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
23364 (_G_stat64): Likewise.
23365 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
23366 instead of struct _G_stat64.
23367 * libio/fileops.c (mmap_remap_check): Likewise.
23368 (decide_maybe_mmap): Likewise.
23369 (_IO_new_file_seekoff): Likewise.
23370 (_IO_file_stat): Likewise.
23371 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
23373 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
23374 instead of struct _G_stat64.
23375 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
23377 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
23380 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23382 (CHECK_EOL): New macro.
23383 (two_way_short_needle): Check beginning of haystack for EOL. Use
23385 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23386 Replace with CHECK_EOL.
23387 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23388 Replace with CHECK_EOL.
23390 2012-10-08 Joseph Myers <joseph@codesourcery.com>
23392 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
23394 * math/libm-test.inc: Update comment listing what functions and
23396 (finite_test): New function.
23397 (isinf_test): Likewise.
23398 (isnan_test): Likewise.
23399 (fpclassify_test): Test subnormal input.
23400 (isfinite_test): Likewise.
23401 (isnormal_test): Likewise.
23402 (main): Call the new functions.
23404 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
23407 * Makerules (%.dynsym): Force C locale when running
23408 $(OBJDUMP) --dynamic-syms.
23410 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
23412 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
23415 2012-10-06 David S. Miller <davem@davemloft.net>
23417 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
23418 upper 32-bits of the length value in %o2 since we use branch-on-register
23419 tests which consider the entire 64-bit register.
23421 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
23423 * string/test-strstr.c (check2): Add a test for page boundary.
23425 2012-10-05 David S. Miller <davem@davemloft.net>
23427 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
23428 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
23430 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
23432 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
23433 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
23434 and bzero when HWCAP_SPARC_CRYPTO is present.
23436 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
23439 * string/test-strstr.c (check2): New function.
23440 (test_main): Call check2.
23442 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
23444 * string/bug-strcasestr1.c (do_test): Moved to ...
23445 * string/test-strcasestr.c (check1): Here. New function.
23446 (do_one_test): Break out result checking code into ...
23447 (check_result): This. New function.
23448 (do_one_test): Call check_result.
23449 (test_main): Call check1.
23450 * string/bug-strchr1.c (do_test): Moved to ...
23451 * string/test-strchr.c (check1): Here. New function.
23452 (do_one_test): Break out result checking code into ...
23453 (check_result): This. New function.
23454 (do_one_test): Call check_result.
23455 (test_main): Call check1.
23456 * string/bug-strstr1.c (main): Moved to ...
23457 * string/test-strstr.c (check1): Here. New function.
23458 (do_one_test): Break out result checking code into ...
23459 (check_result): This. New function.
23460 (do_one_test): Call check_result.
23461 (test_main): Call check1.
23462 * string/bug-strcasestr1.c: Removed.
23463 * string/bug-strchr1.c: Likewise.
23464 * string/bug-strstr1.c: Likewise.
23466 * elf/Makefile (dl-routines): Add hwcaps.
23467 * elf/dl-support.c (_dl_important_hwcaps): Removed.
23468 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
23469 (_dl_important_hwcaps): Moved to ...
23470 * elf/dl-hwcaps.c: Here. New file.
23471 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
23474 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
23475 if IS_IN_rtld isn't defined.
23477 * elf/dl-support.c (_dl_sysinfo_map): New.
23478 Include "get-dynamic-info.h" and "setup-vdso.h".
23479 (_dl_non_dynamic_init): Call setup_vdso.
23480 * elf/dynamic-link.h: Don't include <assert.h>.
23481 (elf_get_dynamic_info): Moved to ...
23482 * elf/get-dynamic-info.h: Here. New file.
23483 * elf/dynamic-link.h: Include "get-dynamic-info.h".
23484 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
23485 * elf/setup-vdso.h: Here. New file.
23486 * elf/rtld.c: Include "setup-vdso.h".
23487 (dl_main): Call setup_vdso.
23489 2012-10-05 Joseph Myers <joseph@codesourcery.com>
23491 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
23492 creal in comment listing functions tested. List finite, isinf,
23493 isnan, isless, islessequal, isgreater, isgreaterequal,
23494 islessgreater, isunordered, lgamma_r and pow10 as functions and
23495 macros not tested. Mention which functions not tested are aliases
23496 for other functions. Fix typo. Note that signs of NaNs are not
23499 * scripts/config.guess: Update from config.git.
23500 * scripts/config.sub: Likewise.
23502 2012-10-04 Roland McGrath <roland@hack.frob.com>
23504 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
23505 * misc/madvise.c (madvise): Renamed to __madvise.
23506 Make madvise a weak alias.
23507 * include/sys/mman.h: Declare __madvise.
23508 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
23509 * sysdeps/unix/syscalls.list
23510 (madvise): Make __madvise the strong name, and madvise a weak alias.
23511 * sysdeps/unix/sysv/linux/syscalls.list
23512 (madvise, mmap): Remove redundant entries.
23513 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
23514 * malloc/malloc.c (mtrim): Likewise.
23515 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
23517 2012-10-03 Roland McGrath <roland@hack.frob.com>
23519 * sysdeps/mach/hurd/dl-cache.c: File removed.
23520 * config.h.in (USE_LDCONFIG): New #undef.
23521 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
23522 * configure: Regenerated.
23523 * elf/Makefile (dl-routines): Add dl-cache only under
23524 [$(use-ldconfig) = yes].
23525 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
23526 cache on [USE_LDCONFIG].
23527 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
23529 * elf/rtld.c (dl_main): Likewise.
23531 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
23533 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
23534 _SC_LEVEL4_CACHE_LINESIZE.
23536 2012-10-03 Roland McGrath <roland@hack.frob.com>
23538 * sysdeps/unix/bsd/confstr.h: File removed.
23540 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
23542 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
23545 2012-10-02 Roland McGrath <roland@hack.frob.com>
23547 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
23548 Make 'mapoff' field ElfW(Off) rather than off_t.
23550 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
23552 * nscd/Makefile: Remove nscd-cflags and all its users.
23553 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
23554 (CFLAGS-nonlib): Add compiler flags for nscd modules.
23557 * malloc.c (malloc_printerr): Clarify error message.
23559 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
23562 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23563 Set bit_FMA_Usable if FMA is supported.
23564 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
23566 (bit_FMA4_Usable): Updated.
23567 (index_FMA_Usable): New macro.
23568 (CPUID_FMA): Likewise
23569 (HAS_FMA): Defined with bit_FMA_Usable.
23571 2012-10-01 Roland McGrath <roland@hack.frob.com>
23573 * bits/types.h (__swblk_t): Type removed.
23574 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
23575 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
23576 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23577 (__SWBLK_T_TYPE): Likewise.
23578 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
23579 (__SWBLK_T_TYPE): Likewise.
23580 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23581 (__SWBLK_T_TYPE): Likewise.
23582 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23583 (__SWBLK_T_TYPE): Likewise.
23585 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
23586 Honza Horak <hhorak@redhat.com>
23588 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
23589 (xdr_mapname): Use YPMAXMAP as maxsize.
23590 (xdr_peername): Use YPMAXPEER as maxsize.
23591 (xdr_keydat): Use YPAXRECORD as maxsize.
23592 (xdr_valdat): Use YPMAXRECORD as maxsize.
23594 2012-10-01 Roland McGrath <roland@hack.frob.com>
23596 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
23598 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
23599 * csu/init-first.c: ... here.
23600 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
23601 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
23602 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
23603 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
23604 * sysdeps/i386/init-first.c: File removed.
23605 * sysdeps/sh/init-first.c: File removed.
23607 2012-10-01 Joseph Myers <joseph@codesourcery.com>
23610 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
23611 if x * y might underflow to zero and z is zero.
23612 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23613 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23614 * math/libm-test.inc (min_subnorm_value): New variable.
23615 (fma_test): Add more tests.
23616 (fma_test_towardzero): Likewise.
23617 (fma_test_downward): Likewise
23618 (fma_test_upward): Likewise.
23619 (initialize): Set min_subnorm_value.
23621 2012-09-29 Joseph Myers <joseph@codesourcery.com>
23624 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
23626 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
23627 mode for addition resulting in exact zero.
23628 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
23629 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
23631 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23632 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23633 * math/libm-test.inc (fma_test): Add more tests.
23634 (fma_test_towardzero): New function.
23635 (fma_test_downward): Likewise.
23636 (fma_test_upward): Likewise.
23637 (main): Call the new functions.
23639 2012-09-28 David S. Miller <davem@davemloft.net>
23641 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
23643 2012-09-28 Roland McGrath <roland@hack.frob.com>
23645 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
23646 instead of SIGALRM.
23648 * sysdeps/gnu/_G_config.h: Moved to ...
23649 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
23650 * sysdeps/mach/hurd/_G_config.h: Moved to ...
23651 * sysdeps/generic/_G_config.h: ... here.
23653 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
23655 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
23657 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
23658 Conditionalize target on [libnss_test1.so-version].
23660 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
23662 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
23663 (elfobjdir): Move out of conditionals.
23665 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
23666 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
23667 (__nss_lookup_function): Conditionalize label remove_from_tree on
23668 [!DO_STATIC_NSS || SHARED], matching its only use.
23670 2012-09-28 David S. Miller <davem@davemloft.net>
23672 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
23673 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
23675 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
23677 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
23678 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
23679 when HWCAP_SPARC_CRYPTO is present.
23681 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23683 * io/tst-mknodat.c: Create a FIFO instead of a socket.
23685 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
23688 * stdio-common/vfprintf.c (process_string_arg): Revert
23691 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
23693 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
23695 * stdio-common/tst-sprintf.c: Include <locale.h>
23696 (main): Test sprintf's handling of incomplete multibyte
23699 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
23701 * elf/dl-runtime.c (VERSYMIDX): Removed.
23702 * elf/dl-version.c (VERSYMIDX): Likewise.
23703 * elf/do-rel.h (VERSYMIDX): Likewise.
23704 (VALIDX): Likewise.
23705 * elf/dynamic-link.h (VERSYMIDX): Likewise.
23706 * elf/rtld.c (VALIDX): Likewise.
23707 (ADDRIDX): Likewise.
23708 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
23709 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
23710 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
23711 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
23712 (VALIDX): Likewise.
23713 (ADDRIDX): Likewise.
23715 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23717 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
23719 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
23722 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
23724 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
23725 addresses are in the same scope as 192.0.2/24.
23726 * posix/gai.conf: Document new scope table defaults.
23728 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23731 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
23732 for ftell. Compute offsets from write pointers instead.
23733 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
23735 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23738 * libio/Makefile (tests): New test case tst-fseek.
23739 * libio/tst-fseek.c: New test case to verify that fseek/ftell
23740 combination works in wide mode.
23741 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
23742 state when the external buffer state changes.
23744 2012-09-27 David S. Miller <davem@davemloft.net>
23747 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
23748 pass reloc->r_addend in as the 'high' argument to
23749 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
23751 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23753 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23755 * rt/tst-aio2.c: Include <pthread.h>.
23756 * rt/tst-aio3.c: Likewise.
23758 2012-09-27 Steve Ellcey <sellcey@mips.com>
23760 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
23762 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
23764 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
23765 contents on [SHARED].
23767 2012-09-26 Marek Polacek <polacek@redhat.com>
23771 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
23772 for C++ and GCC <4.3 as well as for non GCC compilers.
23774 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
23776 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23778 2012-09-25 Roland McGrath <roland@hack.frob.com>
23780 * Makefile.in (all, install): Declare with .PHONY.
23781 Reported by Michael Hope <michael.hope@linaro.org>.
23783 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23785 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
23786 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
23788 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
23790 (sydep_routines): Add the new and the internal functions.
23791 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
23792 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
23793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
23794 (GLIBC_2.17): Add the new function.
23795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
23796 (GLIBC_2.17): Likewise.
23797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
23798 (GLIBC_2.17): Likewise.
23799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
23800 (GLIBC_2.17): Likewise.
23801 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
23803 2012-09-25 Alan Modra <amodra@gmail.com>
23805 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
23806 Add release barrier before setting once_control to say
23807 initialisation is done. Add hints on lwarx. Use macro in
23809 (clear_once_control): Add release barrier.
23811 2012-09-25 Joseph Myers <joseph@codesourcery.com>
23814 * math/s_clog.c (__clog): Handle more values close to |z| = 1
23816 * math/s_clog10.c (__clog10): Likewise.
23817 * math/s_clog10f.c (__clog10f): Likewise.
23818 * math/s_clog10l.c (__clog10l): Likewise.
23819 * math/s_clogf.c (__clogf): Likewise.
23820 * math/s_clogl.c (__clogl): Likewise.
23821 * math/Makefile (libm-calls): Add x2y2m1.
23822 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
23823 (__x2y2m1): Likewise.
23824 (__x2y2m1l): Likewise.
23825 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
23826 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
23827 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
23828 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
23829 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
23830 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
23831 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
23832 * sysdeps/i386/fpu/libm-test-ulps: Update.
23833 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23836 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
23837 int as type of variable DEPTH.
23838 (glob): Use size_t instead of int as type of variables NEWCOUNT
23841 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23843 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
23844 Add s_sincosf-sse2.
23845 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
23846 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
23847 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
23848 macros for using routine as __sincosf_ia32.
23849 Use macro for function declaration and weak_alias.
23850 * sysdeps/i386/fpu/libm-test-ulps: Update.
23852 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
23853 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23855 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
23856 subnormal argument.
23857 * math/s_cexpf.c (__cexpf): Likewise.
23858 * math/s_csinf.c (__csinf): Likewise.
23859 * math/s_csinhf.c (__csinhf): Likewise.
23860 * math/s_ctanf.c (__ctanf): Likewise.
23861 * math/s_ctanhf.c (__ctanhf): Likewise.
23862 * math/s_ccosh.c (__ccoshf): Likewise.
23863 * math/s_cexp.c (__cexpl): Likewise.
23864 * math/s_csin.c (__csin): Likewise.
23865 * math/s_csinh.c (__csinh): Likewise.
23866 * math/s_ctan.c (__ctan): Likewise.
23867 * math/s_ctanh.c (ctanh): Likewise.
23868 * math/s_ccoshl.c (__ccoshl): Likewise.
23869 * math/s_cexpl.c (__cexpl): Likewise.
23870 * math/s_csinl.c (__csinl): Likewise.
23871 * math/s_csinhl.c (__csinhl): Likewise.
23872 * math/s_ctanl.c (__ctanl): Likewise.
23873 * math/s_ctanhl.c (__ctanhl): Likewise.
23875 2012-09-25 Joseph Myers <joseph@codesourcery.com>
23877 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
23878 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
23879 (_IO_off_t): Define to __off_t, not _G_off_t.
23880 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
23881 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
23882 (_IO_wint_t): Define to wint_t, not _G_wint_t.
23883 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
23884 type of __dummy and __dummy2 fields.
23885 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
23886 (_G_ssize_t): Likewise.
23887 (_G_off_t): Likewise.
23888 (_G_pid_t): Likewise.
23889 (_G_uid_t): Likewise.
23890 (_G_wchar_t): Likewise.
23891 (_G_wint_t): Likewise.
23892 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
23893 (_G_ssize_t): Likewise.
23894 (_G_off_t): Likewise.
23895 (_G_pid_t): Likewise.
23896 (_G_uid_t): Likewise.
23897 (_G_wchar_t): Likewise.
23898 (_G_wint_t): Likewise.
23899 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
23900 (_G_ssize_t): Likewise.
23901 (_G_off_t): Likewise.
23902 (_G_pid_t): Likewise.
23903 (_G_uid_t): Likewise.
23904 (_G_wchar_t): Likewise.
23905 (_G_wint_t): Likewise.
23907 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23909 * malloc/arena.c: Include malloc-sysdep.h.
23910 (shrink_heap): Use check_may_shrink_heap to decide if madvise
23911 is sufficient to shrink the heap or an unmap is needed.
23912 * sysdeps/generic/malloc-sysdep.h: New file. Define
23913 new function check_may_shrink_heap.
23914 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
23915 new function check_may_shrink_heap.
23917 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23919 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
23922 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
23924 * catgets/test-gencat.sh: Add "set -e".
23925 * elf/tst-pathopt.sh: Likewise.
23926 * grp/tst_fgetgrent.sh: Likewise.
23927 * iconvdata/run-iconv-test.sh: Likewise.
23928 * intl/tst-gettext.sh: Likewise.
23929 * intl/tst-gettext2.sh: Likewise.
23930 * intl/tst-gettext4.sh: Likewise.
23931 * intl/tst-gettext6.sh: Likewise.
23932 * intl/tst-translit.sh: Likewise.
23933 * io/ftwtest-sh: Likewise.
23934 * libio/test-freopen.sh: Likewise.
23935 * malloc/tst-mtrace.sh: Likewise.
23936 * posix/globtest.sh: Likewise.
23937 * posix/tst-getconf.sh: Likewise.
23938 * posix/wordexp-tst.sh: Likewise.
23939 * stdio-common/tst-printf.sh: Likewise.
23940 * stdio-common/tst-unbputc.sh: Likewise.
23941 * stdlib/tst-fmtmsg.sh: Likewise.
23942 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
23943 * catgets/Makefile: Do not specify -e option when running
23944 testsuite shell scripts.
23945 * elf/Makefile: Likewise.
23946 * grp/Makefile: Likewise.
23947 * iconvdata/Makefile: Likewise.
23948 * intl/Makefile: Likewise.
23949 * io/Makefile: Likewise.
23950 * libio/Makefile: Likewise.
23951 * malloc/Makefile: Likewise.
23952 * posix/Makefile: Likewise.
23953 * stdio-common/Makefile: Likewise.
23954 * stdlib/Makefile: Likewise.
23955 * sysdeps/x86_64/Makefile: Likewise.
23957 * io/ftwtest-sh: Add copyright header.
23958 * posix/globtest.sh: Likewise.
23959 * posix/tst-getconf.sh: Likewise.
23960 * posix/wordexp-tst.sh: Likewise.
23961 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
23963 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
23966 * Makeconfig (+link): Defined as $(+link-static) if
23967 $(build-shared) isn't yes.
23968 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
23970 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
23972 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
23975 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
23976 new chunk size with MALLOC_ALIGN_MASK.
23978 2012-09-24 Joseph Myers <joseph@codesourcery.com>
23981 * stdio-common/printf_fphex.c: Include <stdbool.h> and
23983 (__printf_fphex): Determine rounding using get_rounding_mode and
23985 * stdio-common/tst-printf-round.c (struct hex_test): New
23987 (hex_tests): New variable.
23988 (test_hex_in_one_mode): New function.
23989 (do_test): Also run tests for hex float output.
23991 2012-09-21 Joseph Myers <joseph@codesourcery.com>
23993 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
23994 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
23995 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
23996 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
23997 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
23998 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
23999 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
24000 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
24002 2012-09-20 Joseph Myers <joseph@codesourcery.com>
24004 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
24005 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
24006 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
24007 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
24009 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
24012 * elf/rtld.c (dl_main): Limit the check for self loading to normal
24014 * elf/tst-rtld-load-self.sh: New test.
24015 * elf/Makefile: Run it.
24017 2012-09-18 Joseph Myers <joseph@codesourcery.com>
24019 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
24020 (tst-writev-ENV): Remove.
24021 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
24023 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
24025 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
24027 2012-09-17 Joseph Myers <joseph@codesourcery.com>
24029 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
24031 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
24033 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
24034 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
24035 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
24038 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
24041 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
24042 * config.make.in (have-cpp-asm-debuginfo): Removed.
24043 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
24044 * configure: Regenerated.
24046 2012-09-14 Joseph Myers <joseph@codesourcery.com>
24049 * stdio-common/printf_fp.c: Include <stdbool.h> and
24051 (___printf_fp): Determine rounding using get_rounding_mode and
24053 * stdio-common/tst-printf-round.c: New file.
24054 * stdio-common/Makefile (tests): Add tst-printf-round.
24055 (link-libm): New variable.
24056 ($(objpfx)tst-printf-round): Depend in $(link-libm).
24058 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
24061 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
24062 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
24064 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
24067 2012-09-13 Joseph Myers <joseph@codesourcery.com>
24069 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
24070 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
24071 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
24072 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
24074 2012-09-12 Joseph Myers <joseph@codesourcery.com>
24077 * include/rounding-mode.h: New file.
24078 * sysdeps/generic/get-rounding-mode.h: Likewise.
24079 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
24080 * stdlib/strtod_l.c: Include <rounding-mode.h>.
24081 (MAX_VALUE): New macro.
24082 (MIN_VALUE): Likewise.
24083 (overflow_value): New function.
24084 (underflow_value): Likewise.
24085 (round_and_return): Use overflow_value and underflow_value to
24086 determine return values in overflow and underflow cases. Use
24087 round_away to determine rounding depending on rounding mode.
24088 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
24089 determine return values in overflow and underflow cases.
24090 * stdlib/tst-strtod-round.c: Include <fenv.h>.
24091 (struct test_results): New structure.
24092 (struct test): Use struct test_results to store expected results
24093 for all rounding modes.
24094 (TEST): Include expected results for all rounding modes.
24095 (test_in_one_mode): New function.
24096 (do_test): Use test_in_one_mode to compute and check results.
24097 Check results for all rounding modes.
24098 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
24101 2012-12-09 Allan McRae <allan@archlinux.org>
24103 * sysdeps/i386/fpu/libm-test-ulps: Update
24105 2012-09-11 Joseph Myers <joseph@codesourcery.com>
24107 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
24108 (_G_int32_t): Likewise.
24109 (_G_uint16_t): Likewise.
24110 (_G_uint32_t): Likewise.
24111 (_G_HAVE_BOOL): Likewise.
24112 (_G_HAVE_ATEXIT): Likewise.
24113 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
24114 (_G_HAVE_IO_FILE_OPEN): Likewise.
24115 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
24116 (_G_int32_t): Likewise.
24117 (_G_uint16_t): Likewise.
24118 (_G_uint32_t): Likewise.
24119 (_G_HAVE_BOOL): Likewise.
24120 (_G_HAVE_ATEXIT): Likewise.
24121 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
24122 (_G_HAVE_IO_FILE_OPEN): Likewise.
24123 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
24124 (_G_int32_t): Likewise.
24125 (_G_uint16_t): Likewise.
24126 (_G_uint32_t): Likewise.
24127 (_G_HAVE_BOOL): Likewise.
24128 (_G_HAVE_ATEXIT): Likewise.
24129 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
24130 (_G_HAVE_IO_FILE_OPEN): Likewise.
24132 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
24134 * csu/libc-tls.c: Update copyright years.
24136 2012-09-10 Joseph Myers <joseph@codesourcery.com>
24138 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
24139 [!_G_USING_THUNKS]: Remove conditional code.
24140 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
24141 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
24143 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
24144 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
24145 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
24146 (_G_VTABLE_LABEL_PREFIX): Likewise.
24147 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
24148 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
24149 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
24150 (_G_VTABLE_LABEL_PREFIX): Likewise.
24151 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
24152 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
24153 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
24154 (_G_VTABLE_LABEL_PREFIX): Likewise.
24155 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
24157 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
24159 * libio/Makefile: Include ../Makeconfig before tests.
24160 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
24161 only if $(build-shared) is yes.
24163 * iconv/gconv_db.c: Update copyright years.
24165 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24167 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
24168 unwind info if defined PIC. Fix special cases description.
24169 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
24171 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
24173 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
24175 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
24177 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
24179 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
24182 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
24183 (LDLIBS-tst-chk4): This.
24184 (LDFLAGS-tst-chk5): Renamed to ...
24185 (LDLIBS-tst-chk5): This.
24186 (LDFLAGS-tst-chk6): Renamed to ...
24187 (LDLIBS-tst-chk6): This.
24188 (LDFLAGS-tst-lfschk4): Renamed to ...
24189 (LDLIBS-tst-lfschk4): This.
24190 (LDFLAGS-tst-lfschk5): Renamed to ...
24191 (LDLIBS-tst-lfschk5): This.
24192 (LDFLAGS-tst-lfschk6): Renamed to ...
24193 (LDLIBS-tst-lfschk6): This.
24195 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
24196 on $(common-objpfx)soversions.mk.
24198 2012-09-07 Joseph Myers <joseph@codesourcery.com>
24201 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
24204 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
24206 * malloc/arena.c (arena_get_retry): New function that gets
24207 another arena for the caller to try its request on.
24208 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
24209 current arena cannot fulfill the request.
24210 (__libc_memalign): Likewise.
24211 (__libc_memalign): Likewise.
24212 (__libc_pvalloc): Likewise.
24213 (__libc_calloc): Likewise.
24215 2012-09-05 John Tobey <john.tobey@gmail.com>
24218 * manual/arith.texi (Operations on Complex): Fix description
24219 of carg branch cut.
24221 2012-09-06 Joseph Myers <joseph@codesourcery.com>
24224 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
24228 * manual/memory.texi (Memory): Make order of menu items match
24231 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24233 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
24234 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
24235 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
24237 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24239 * csu/libc-tls.c (static_dtv): Renamed to ...
24240 (_dl_static_dtv): This. Make it global.
24241 (_dl_initial_dtv): Removed.
24242 (__libc_setup_tls): Updated.
24243 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
24244 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
24247 2012-09-06 Petr Machata <pmachata@redhat.com>
24249 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
24250 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
24251 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
24252 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
24254 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24257 * csu/libc-tls.c (_dl_initial_dtv): New variable.
24258 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
24261 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24264 * Makeconfig (link-static-before-libc): Replace $(+prector)
24266 (link-static-after-libc): Replace $(+postctor) with
24268 (link-bounded): Replace $(+prector)/$(+postctor) with
24269 $(+prectorT)/$(+postctorT).
24270 (+prectorT): New macro.
24271 (+postctorT): Likewise.
24273 2012-09-06 Joseph Myers <joseph@codesourcery.com>
24275 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
24276 (round_str): Handle values above the maximum for IBM long double
24278 * stdlib/tst-strtod-round.c (tests): Regenerated.
24280 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24282 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
24284 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
24285 zarch_nohighgprs around the zarch optimized routines.
24286 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
24287 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
24288 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
24291 2012-09-05 David S. Miller <davem@davemloft.net>
24293 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24295 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
24296 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
24297 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
24298 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
24301 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
24303 * malloc/arena.c: Fold copyright years.
24304 * malloc/mcheck.c, malloc/memusage.c: Likewise.
24306 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
24308 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
24310 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
24312 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
24314 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
24316 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
24317 change internal state upon failure.
24319 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
24321 * malloc/mcheck.c (mcheck_check_all): Fix typo.
24322 * malloc/memusage.c (mmap): Likewise.
24323 (mmap64, mremap): Likewise. Adjust name in comment.
24325 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
24327 * libio/fileops.c: Fix typos in comments.
24328 * libio/oldfileops.c: Likewise.
24329 * libio/wfileops.c: Likewise.
24331 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
24334 * malloc/Makefile (tests): Add tst-malloc-usable test case.
24335 (tst-malloc-usable-ENV): Set environment for test case.
24336 * malloc/hooks.c (malloc_check_get_size): New function to get
24338 * malloc/malloc.c (musable): Use malloc_check_get_size.
24339 * malloc/tst-malloc-usable.c: New test case.
24341 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
24343 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
24345 2012-09-05 Allan McRae <allan@archlinux.org>
24348 * configure.in (CXX_SYSINCLUDES): Use compiler output to
24349 determine header location.
24350 * configure: Regenerated.
24352 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
24354 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
24356 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
24357 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
24359 (test): Regenerate.
24361 2012-09-04 David S. Miller <davem@davemloft.net>
24363 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
24364 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
24365 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
24367 2012-09-04 Florian Weimer <fweimer@redhat.com>
24369 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
24372 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
24374 2012-09-04 Joseph Myers <joseph@codesourcery.com>
24377 * libio/iogetdelim.c: Include <limits.h>.
24378 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
24379 + len + 1 would overflow.
24381 2012-09-03 Andreas Jaeger <aj@suse.de>
24383 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24384 * sysdeps/i386/fpu/libm-test-ulps: Update.
24386 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24388 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
24389 Add s_sinf-sse2, s_conf-sse2.
24391 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
24392 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
24393 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
24394 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
24396 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
24397 for using routine as __sinf_ia32.
24398 Use macro for function declaration and weak_alias.
24399 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
24400 for using routine as __cosf_ia32.
24401 Use macro for function declaration and weak_alias.
24403 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
24404 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
24406 * sysdeps/x86_64/fpu/s_sinf.S: New file.
24407 * sysdeps/x86_64/fpu/s_cosf.S: New file.
24408 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24410 * math/libm-test.inc (cos_test): Add more test cases.
24411 (sin_test): Likewise.
24412 (sincos_test): Likewise.
24414 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24416 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
24417 (IFUNC_RESOLVE): Make pointers to the specialized implementations
24419 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
24421 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
24424 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
24425 first element of the GOT.
24426 (elf_machine_load_address): Return the difference between
24427 the runtime address of _DYNAMIC and elf_machine_dynamic ().
24429 2012-09-01 Allan McRae <allan@archlinux.org>
24432 * configure.in (AWK): Require gawk version 3.0 or later.
24433 * configure: Regenerated.
24435 2012-09-01 Joseph Myers <joseph@codesourcery.com>
24437 * sysdeps/unix/sysv/linux/kernel-features.h
24438 (__ASSUME_POSIX_CPU_TIMERS): Remove.
24439 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
24440 [__NR_clock_getres]: Make code unconditional.
24441 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
24442 (clock_getcpuclockid): Remove code left unreachable by removal of
24444 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
24445 code unconditional.
24446 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
24447 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24448 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
24449 Make code unconditional.
24450 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
24451 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24452 * sysdeps/unix/sysv/linux/clock_settime.c
24453 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
24455 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
24456 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24458 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
24461 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
24462 scripts/test-installation.pl.
24464 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
24465 and $ld_so_version if it is set.
24467 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
24470 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
24471 failure if reading from procfs failed.
24472 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
24474 2012-08-27 Joseph Myers <joseph@codesourcery.com>
24476 * sysdeps/unix/sysv/linux/kernel-features.h
24477 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
24478 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
24479 Remove conditional code.
24480 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24481 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
24482 Remove conditional code.
24483 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24484 * sysdeps/unix/sysv/linux/i386/fxstat.c
24485 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24486 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24487 * sysdeps/unix/sysv/linux/i386/fxstatat.c
24488 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24489 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24490 * sysdeps/unix/sysv/linux/i386/lxstat.c
24491 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24492 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24493 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
24494 Remove conditional code.
24495 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24496 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
24497 Remove conditional code.
24498 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24499 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
24500 <kernel-features.h>.
24501 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
24503 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
24504 Remove conditional code.
24505 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24506 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
24507 Remove conditional.
24509 2012-08-27 Mike Frysinger <vapier@gentoo.org>
24512 * NEWS: Add fixed bug number.
24514 2012-08-27 Joseph Myers <joseph@codesourcery.com>
24517 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
24518 underflowing exponent in case of negative sign.
24519 * stdlib/tst-strtod-round-data: Add more tests.
24520 * stdlib/tst-strtod-round.c (tests): Regenerated.
24523 * stdlib/strtod_l.c (NDIG): Remove.
24524 (HEXNDIG): Likewise.
24525 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
24526 smallest representable value.
24527 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
24528 lie within an exact representation of 1/2 ulp of the result.
24529 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
24531 (TENS_P9_IDX): Define unconditionally.
24532 (TENS_P9_SIZE): Likewise.
24533 (TENS_P10_IDX): Likewise.
24534 (TENS_P10_SIZE): Likewise.
24535 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
24536 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
24537 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
24538 entries for 10^2^13 and 10^2^14.
24539 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
24540 (TENS_P13_IDX): Define.
24541 (TENS_P13_SIZE): Likewise.
24542 (TENS_P14_IDX): Likewise.
24543 (TENS_P14_SIZE): Likewise.
24544 (_fpioconst_pow10): Change array size to
24545 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
24547 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
24548 1024]: Add entries for 10^2^13 and 10^2^14.
24549 [LAST_POW10 > _LAST_POW10]: Remove #error.
24550 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
24551 (_fpioconst_pow10): Change array size to
24552 FPIOCONST_POW10_ARRAY_SIZE.
24553 * stdlib/gen-fpioconst.c: New file.
24554 * stdlib/gen-tst-strtod-round.c: Likewise.
24555 * stdlib/tst-strtod-round-data: Likewise.
24556 * stdlib/tst-strtod-round.c: Likewise.
24557 * stdlib/Makefile (tests): Add tst-strtod-round.
24560 * stdlib/strtod_l.c: Include <stdint.h>.
24561 (NDEBUG): Do not define.
24562 (round_and_return): Change EXPONENT parameter to type intmax_t.
24563 Rearrange calculations to avoid internal overflow possibilities.
24564 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
24565 Rearrange calculations to avoid internal overflow possibilities.
24566 Assert that number fits inside MPNSIZE limbs.
24567 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
24568 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
24569 calculations and add assertions to avoid internal overflow
24570 possibilities. Add casts to avoid signed/unsigned operations.
24571 * stdlib/tst-strtod-overflow.c: New file.
24572 * stdlib/Makefile (tests): Add tst-strtod-overflow.
24574 2012-08-25 Marek Polacek <polacek@redhat.com>
24576 * time/time.h: Fix some typos in comments.
24578 2012-08-23 Roland McGrath <roland@hack.frob.com>
24580 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
24581 * posix/tst-rfc3484-2.c: Likewise.
24582 * posix/tst-rfc3484-3.c: Likewise.
24584 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
24586 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
24587 (EF_ARM_ABI_FLOAT_HARD): Likewise.
24589 2012-08-23 Joseph Myers <joseph@codesourcery.com>
24591 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
24592 #include of fxstatat64.c.
24594 2012-08-22 Roland McGrath <roland@hack.frob.com>
24596 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
24597 * shadow/getspent_r.c: Likewise.
24598 * shadow/getspnam.c: Likewise.
24599 * shadow/getspnam_r.c: Likewise.
24600 * gshadow/getsgent.c: Likewise.
24601 * gshadow/getsgent_r.c: Likewise.
24602 * gshadow/getsgnam.c: Likewise.
24603 * gshadow/getsgnam_r.c: Likewise.
24604 * inet/getnetbyad.c: Likewise.
24605 * inet/getnetbyad_r.c: Likewise.
24606 * inet/getnetbynm.c: Likewise.
24607 * inet/getnetbynm_r.c: Likewise.
24608 * inet/getnetent.c: Likewise.
24609 * inet/getnetent_r.c: Likewise.
24610 * inet/getproto.c: Likewise.
24611 * inet/getproto_r.c: Likewise.
24612 * inet/getprtent.c: Likewise.
24613 * inet/getprtent_r.c: Likewise.
24614 * inet/getprtname.c: Likewise.
24615 * inet/getprtname_r.c: Likewise.
24616 * inet/getrpcbyname.c: Likewise.
24617 * inet/getrpcbyname_r.c: Likewise.
24618 * inet/getrpcbynumber.c: Likewise.
24619 * inet/getrpcbynumber_r.c: Likewise.
24620 * inet/getrpcent.c: Likewise.
24621 * inet/getrpcent_r.c: Likewise.
24622 * inet/getaliasent.c: Likewise.
24623 * inet/getaliasent_r.c: Likewise.
24624 * inet/getaliasname.c: Likewise.
24625 * inet/getaliasname_r.c: Likewise.
24626 * nscd/getgrgid_r.c: Likewise.
24627 * nscd/getgrnam_r.c: Likewise.
24628 * nscd/gethstbyad_r.c: Likewise.
24629 * nscd/gethstbynm3_r.c: Likewise.
24630 * nscd/getpwnam_r.c: Likewise.
24631 * nscd/getpwuid_r.c: Likewise.
24632 * nscd/getsrvbynm_r.c: Likewise.
24633 * nscd/getsrvbypt_r.c: Likewise.
24634 * nscd/gai.c: Likewise.
24636 * configure.in (build_nscd): New substituted variable, set
24637 by --disable-build-nscd and defaults to $use_nscd.
24638 * configure: Regenerated.
24639 * config.make.in (build-nscd): New substituted variable.
24640 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
24641 Change conditional to require [$(build-nscd) = yes] as well.
24642 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
24645 * configure.in (use_nscd): New substituted variable, set by
24646 --disable-nscd. If enabled, define USE_NSCD.
24647 * configure: Regenerated.
24648 * config.h.in: Add USE_NSCD.
24649 * config.make.in (use-nscd): New substituted variable.
24650 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
24651 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
24652 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
24653 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
24654 (CFLAGS-getgrnam_r.c): Likewise.
24655 (CFLAGS-initgroups.c): Likewise.
24656 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
24657 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
24659 * inet/getnetgrent_r.c
24660 (nscd_setnetgrent): New function, broken out of ...
24661 (setnetgrent): ... here. Call it.
24662 (innetgr): Conditionalize nscd bits on [USE_NSCD].
24663 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
24664 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
24665 * nscd/Makefile (routines, aux): Move definitions after include of
24666 Makeconfig. Conditionalize on [$(use-nscd) != no].
24667 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
24668 Conditionalize on [USE_NSCD].
24669 (is_nscd, nscd_init_cb): Likewise.
24670 (nss_load_library): Conditionalize init callback on [USE_NSCD].
24671 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
24672 * nss/nss_db/db-init.c: Likewise.
24673 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
24675 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
24676 (make_request): Use it.
24677 (cache_valid_p): New function.
24678 (__check_pf): Use it.
24679 * NEWS: Add item for --disable-nscd.
24681 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
24683 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
24684 to support sed >= 4.2.1-20-ga9bf076.
24685 * configure: Regenerated.
24687 2012-08-22 Roland McGrath <roland@hack.frob.com>
24689 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
24690 Conditionalize whole body on [IREL].
24692 2012-08-22 Jeff Law <law@redhat.com>
24695 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
24696 if the family is PF_UNSPEC.
24698 2012-08-22 Mike Frysinger <vapier@gentoo.org>
24700 * Makerules (lib-version): Rename from V.
24701 (install-lib-nosubdir): Change V to lib-version.
24703 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
24706 * powerpc32/power6/wcschr.c: New file.
24707 * powerpc32/power6/wcscpy.c: New file.
24708 * powerpc32/power6/wcsrchr.c: New file.
24709 * powerpc64/power6/wcschr.c: New file.
24710 * powerpc64/power6/wcscpy.c: New file.
24711 * powerpc64/power6/wcsrchr.c: New file.
24713 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
24715 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
24716 (two_way_short_needle): Use it.
24717 * string/strstr.c (AVAILABLE1_USES_J): Define.
24718 * string/strcasestr.c: Likewise.
24720 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
24722 * string/strcasestr.c (TOLOWER): Make side-effect safe.
24725 * NEWS: Add an entry.
24726 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
24727 define their defaults.
24728 (two_way_short_needle): Detect end-of-string on-the-fly.
24729 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
24730 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
24731 * string/bug-strcasestr1.c: New test.
24732 * string/Makefile: Run it.
24734 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
24737 * string/str-two-way.h (two_way_short_needle): Optimize matching of
24738 the first character.
24740 2012-08-21 Roland McGrath <roland@hack.frob.com>
24742 * csu/elf-init.c (__libc_csu_irel): Function removed.
24743 * csu/libc-start.c (apply_irel): New function.
24744 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
24746 2012-08-21 Joseph Myers <joseph@codesourcery.com>
24748 * sysdeps/unix/sysv/linux/kernel-features.h
24749 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
24750 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
24751 <kernel-features.h>.
24752 [__NR_fadvise64_64]: Make code unconditional.
24753 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
24754 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
24755 !__NR_fadvise64_64)]: Likewise.
24756 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
24757 !__NR_fadvise64_64))]: Likewise.
24758 [__NR_fadvise64]: Make code unconditional.
24759 [!__NR_fadvise64]: Remove conditional code.
24760 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
24761 <kernel-features.h>.
24762 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24764 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24766 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
24767 not include <kernel-features.h>.
24768 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24770 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24772 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
24773 include <kernel-features.h>.
24774 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24776 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24779 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
24781 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
24782 slight instruction rearrangements per scrollpipe analysis.
24783 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
24785 2012-08-20 Roland McGrath <roland@hack.frob.com>
24787 * manual/syslog.texi (syslog; vsyslog, closelog):
24788 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
24789 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
24791 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
24792 DSOCAPS to match condition on defining it.
24794 2012-08-20 Joseph Myers <joseph@codesourcery.com>
24796 * sysdeps/unix/sysv/linux/kernel-features.h
24797 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
24798 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
24799 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24800 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24801 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
24802 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24803 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24804 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
24805 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24806 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24808 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
24809 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
24811 * sysdeps/unix/sysv/linux/kernel-features.h
24812 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
24813 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
24815 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24816 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
24817 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
24818 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24819 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
24820 Make code unconditional.
24821 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24822 (__mmap64) [!__NR_mmap2]: Likewise.
24823 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
24824 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
24825 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24826 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
24827 [__NR_mmap2]: Make code unconditional.
24828 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24829 (__mmap64) [!__NR_mmap2]: Likewise.
24831 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24833 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
24835 2012-08-18 Andreas Jaeger <aj@suse.de>
24837 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
24839 2012-08-18 Mike Frysinger <vapier@gentoo.org>
24841 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
24842 * include/unistd.h (__have_sock_cloexec): Likewise.
24843 (__have_pipe2): Likewise.
24844 (__have_dup3): Likewise.
24846 2012-08-18 Mike Frysinger <vapier@gentoo.org>
24849 * include/unistd.h (__have_pipe2): Change define into an extern int.
24850 (__have_dup3): Likewise.
24851 * socket/have_sock_cloexec.c: Include fcntl.h.
24852 (__have_pipe2): New variable.
24853 (__have_dup3): Likewise.
24855 2012-08-17 Mike Frysinger <vapier@gentoo.org>
24857 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
24859 2012-08-17 Marek Polacek <polacek@redhat.com>
24861 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
24862 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
24864 2012-08-17 Roland McGrath <roland@hack.frob.com>
24866 * configure.in: Add AC_SUBST for sysheaders.
24867 * configure: Regenerated.
24868 * config.make.in (sysheaders): New substituted variable.
24870 * sysdeps/unix/mkfifo.c: Moved ...
24871 * sysdeps/posix/mkfifo.c: ... here.
24872 * sysdeps/unix/mkfifoat.c: Moved ...
24873 * sysdeps/posix/mkfifoat.c: ... here.
24875 * sysdeps/unix/utime.c: Moved ...
24876 * sysdeps/posix/utime.c: ... here.
24878 * sysdeps/unix/time.c: Moved ...
24879 * sysdeps/posix/time.c: ... here.
24880 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
24881 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
24883 * sysdeps/unix/nice.c: Moved ...
24884 * sysdeps/posix/nice.c: ... here.
24886 * sysdeps/unix/alarm.c: Moved ...
24887 * sysdeps/posix/alarm.c: ... here.
24889 * intl/Makefile ($(codeset_mo)): Depend on the input file.
24891 2012-08-17 Jeff Law <law@redhat.com>
24893 * intl/Makefile (codeset_mo): New variable.
24894 ($(codeset_mo)): New target.
24895 (tst-codeset.out): Depend on that. Remove explicit rule.
24896 (tst-gettext3.out, tst-gettext5.out): Likewise.
24897 (LOCPATH-ENV, tst-codeset-ENV): New variables.
24898 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
24899 * intl/tst-codeset.sh: Remove.
24900 * intl/tst-gettext3.sh: Likewise.
24901 * intl/tst-gettext5.sh: Likewise.
24903 2012-08-17 Roland McGrath <roland@hack.frob.com>
24905 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
24906 * sysdeps/unix/syscalls.list: ... here.
24908 * sysdeps/posix/getaddrinfo.c
24909 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
24910 (gaiconf_init, gaiconf_reload): Use them.
24911 [!_STATBUF_ST_NSEC]
24912 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
24913 Define using time_t rather than struct timespec.
24915 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
24916 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
24918 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
24920 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
24921 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
24924 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
24925 __libc_cleanup_push argument.
24927 * bits/param.h: New file.
24928 * misc/sys/param.h: New file.
24929 * include/sys/param.h: New file.
24930 * misc/Makefile (headers): Add bits/param.h.
24931 * sysdeps/generic/sys/param.h: File removed.
24932 * sysdeps/unix/sysv/linux/bits/param.h: New file.
24933 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
24934 * sysdeps/mach/hurd/bits/param.h: New file.
24935 * sysdeps/mach/hurd/sys/param.h: File removed.
24937 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
24940 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
24942 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
24943 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
24946 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
24947 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
24948 rather than -D_IO_MTSAFE_IO conditionally.
24949 * stdio-common/Makefile (CPPFLAGS): Likewise.
24950 * wcsmbs/Makefile (CPPFLAGS): Likewise.
24951 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
24952 Use $(libio-mtsafe).
24953 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
24954 of -D_IO_MTSAFE_IO.
24955 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
24956 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
24957 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
24958 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
24959 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
24960 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
24961 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
24962 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
24963 (CFLAGS-fread_u_chk.c): Likewise.
24964 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
24965 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
24966 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
24967 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
24968 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
24969 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
24970 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
24971 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
24972 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
24974 * libio/Makefile: Test [$(libc-reentrant) = yes]
24975 instead of [$(filter %REENTRANT, $(defines)) nonempty].
24978 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
24979 * sysdeps/pthread/configure: File removed.
24980 * sysdeps/pthread/Makeconfig: New file.
24981 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
24982 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
24984 2012-08-16 Gary Benson <gbenson@redhat.com>
24986 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
24987 unmapping the first object in a namespace.
24989 2012-08-16 Roland McGrath <roland@hack.frob.com>
24991 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
24992 (__internal_setnetgrent): ... this. Add internal_function to
24993 definition. Add libc_hidden_def.
24994 (setnetgrent): Update caller.
24995 (internal_endnetgrent): Renamed to ...
24996 (__internal_endnetgrent): ... this. Add internal_function to
24997 definition. Add libc_hidden_def.
24998 (endnetgrent): Update caller.
24999 (internal_getnetgrent_r): Renamed to ...
25000 (__internal_getnetgrent_r): ... this. Add internal_function to
25001 definition. Add libc_hidden_def.
25002 (__getnetgrent_r): Update caller.
25003 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
25005 2012-08-16 Joseph Myers <joseph@codesourcery.com>
25007 * stdlib/longlong.h: Update from GCC.
25009 2012-08-16 Roland McGrath <roland@hack.frob.com>
25011 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
25012 on _QL, which is set by umul_ppmm but never used.
25013 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
25014 variables, which are set by GMP macros but never used.
25015 * stdio-common/_itowa.c (_itowa): Likewise.
25016 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
25017 * stdlib/mod_1.c (mpn_mod_1): Likewise.
25019 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
25021 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
25022 struct La_sh_regs is not constant.
25023 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
25024 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
25025 and struct La_sparc64_regs are not constant.
25027 2012-08-16 Joseph Myers <joseph@codesourcery.com>
25029 * sysdeps/unix/sysv/linux/kernel-features.h
25030 (__ASSUME_POSIX_TIMERS): Remove.
25031 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
25032 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25033 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
25034 Make code unconditional.
25035 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25036 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
25037 Make code unconditional.
25038 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25039 * sysdeps/unix/sysv/linux/clock_nanosleep.c
25040 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
25041 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25042 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
25043 Make code unconditional.
25044 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25045 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
25046 (__libc_missing_posix_timers): Remove.
25048 2012-08-15 Roland McGrath <roland@hack.frob.com>
25050 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
25051 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
25053 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
25055 * elf/dl-sym.c: Include <stdlib.h>.
25057 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
25058 constants, which avoids warnings in 32-bit builds.
25060 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
25061 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
25063 * misc/lseek.c: File moved to ...
25064 * io/lseek.c: ... here.
25066 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
25068 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
25069 shifting LEN more than 31 bits at once.
25071 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25074 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
25075 segmentation fault for a case of two empty input strings.
25076 * string/test-strncasecmp.c (check1): Renamed to...
25077 (bz12205): ...this.
25078 (bz14195): Add new testcase for two empty input strings and N > 0.
25079 (test_main): Call new testcase, adapt for renamed function.
25081 2012-08-15 Andreas Jaeger <aj@suse.de>
25084 * crypt/md5test2.c: New test, based on test supplied by Serge
25085 Belyshev <belyshev@depni.sinp.msu.ru>.
25086 * crypt/Makefile (xtests): Add md5test-giant..
25087 * crypt/Makefile ($(objpfx)md5test-giant): Add.
25089 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
25092 * crypt/md5.c (md5_process_block): Don't assume the buffer
25093 length is less than 2**32.
25094 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
25095 length is less than 2**64.
25097 2012-08-15 Roland McGrath <roland@hack.frob.com>
25099 * string/str-two-way.h: Include <sys/param.h>.
25100 (MAX): Macro removed.
25102 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
25103 Move #define and #undef of memmove to just before and after
25104 including <string.h>.
25106 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
25107 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
25108 and after including <string.h>. Move declarations of
25109 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
25110 to before #include "string/memmove.c".
25112 * include/dirent.h: Declare __getdirentries.
25114 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
25115 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
25117 2012-08-14 Mike Frysinger <vapier@gentoo.org>
25119 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
25120 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
25121 * sysdeps/i386/configure: Regenerated.
25122 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
25123 STABS_CURRENT_FILE, and STABS_FUN.
25124 (END): Remove call to STABS_FUN_END.
25125 (STABS_CURRENT_FILE1): Delete.
25126 (STABS_CURRENT_FILE): Likewise.
25127 (STABS_FUN): Likewise.
25128 (STABS_FUN_END): Likewise.
25129 (STABS_FUN2): Likewise.
25130 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
25131 * sysdeps/x86_64/configure: Regenerated.
25133 2012-08-14 Roland McGrath <roland@hack.frob.com>
25135 * elf/dl-open.c: Include <atomic.h>.
25136 * elf/dl-lookup.c: Likewise.
25138 2012-08-14 Joseph Myers <joseph@codesourcery.com>
25140 * sysdeps/unix/sysv/linux/kernel-features.h
25141 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
25142 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
25144 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
25146 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
25147 condition on __ASSUME_CLONE_THREAD_FLAGS.
25149 2012-08-14 Andreas Jaeger <aj@suse.de>
25151 * sysdeps/i386/fpu/libm-test-ulps: Update.
25153 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
25155 * include/atomic.h (atomic_exchange_and_add): Split into ...
25156 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
25159 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
25161 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25163 2012-08-13 Jeff Law <law@redhat.com>
25165 * manual/stdio.texi (snprintf): Clarify handling of the trailing
25166 null byte in the output string.
25168 2012-08-10 Joseph Myers <joseph@codesourcery.com>
25170 * sysdeps/unix/sysv/linux/kernel-features.h
25171 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
25172 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
25173 (__ASSUME_ARG_MAX_STACK_BASED): Define.
25174 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
25175 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
25176 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
25177 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
25179 2012-08-09 Jeff Law <law@redhat.com>
25182 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
25183 When avoid_arena is set, don't retry in the that arena. Pick the
25184 next one, whatever it might be.
25185 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
25186 (arena_lock): Pass in new parameter to arena_get2.
25187 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
25189 (__libc_malloc): Unify retrying after main arena failure with
25190 __libc_memalign version.
25191 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
25193 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
25196 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
25197 to __redirect_strstr.
25198 (__strstr_sse42): Use typeof __redirect_strstr.
25199 (__strstr_ia32): Likewise.
25200 (__libc_strstr): New prototype.
25201 (strstr): Renamed to ...
25202 (__libc_strstr): This.
25203 (strstr): New strong alias of __libc_strstr.
25204 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
25205 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
25208 (__libc_time): New prototype.
25209 (time_ifunc): Replace time with __libc_time.
25210 (time): New strong alias and hidden definition of __libc_time.
25211 (__GI_time): Remove strong alias.
25212 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
25213 Include <stddef.h>.
25214 (memmove): Redefined to __redirect_memmove.
25215 (__memmove_sse2): Use typeof __redirect_memmove.
25216 (__memmove_ssse3): Likewise.
25217 (__memmove_ssse3_back): Likewise.
25218 (__libc_memmove): New prototype.
25219 (memmove): Renamed to ...
25220 (__libc_memmove): This.
25221 (memmove): New strong alias of __libc_memmove.
25223 2012-08-08 Mark Salter <msalter@redhat.com>
25226 (R_MN10300_TLS_GD): Define.
25227 (R_MN10300_TLS_LD): Likewise.
25228 (R_MN10300_TLS_LDO): Likewise.
25229 (R_MN10300_TLS_GOTIE): Likewise.
25230 (R_MN10300_TLS_IE): Likewise.
25231 (R_MN10300_TLS_LE): Likewise.
25232 (R_MN10300_TLS_DTPMOD): Likewise.
25233 (R_MN10300_TLS_DTPOFF): Likewise.
25234 (R_MN10300_TLS_TPOFF): Likewise.
25235 (R_MN10300_SYM_DIFF): Likewise.
25236 (R_MN10300_ALIGN): Likewise.
25237 (R_MN10300_NUM): Update.
25239 2012-08-08 Joseph Myers <joseph@codesourcery.com>
25241 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
25244 2012-08-08 Roland McGrath <roland@hack.frob.com>
25246 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
25248 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
25249 sysdeps/unix -> sysdeps/posix move.
25250 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
25252 2012-08-07 Allan McRae <allan@archlinux.org>
25255 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
25256 (SUNOS_CPP): Likewise.
25257 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
25259 (open_input): Call CPP using execvp.
25261 2012-08-07 Joseph Myers <joseph@codesourcery.com>
25263 * sysdeps/unix/sysv/linux/kernel-features.h
25264 (__ASSUME_PROT_GROWSUPDOWN): Remove.
25265 (__ASSUME_NO_CLONE_DETACHED): Likewise.
25266 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
25267 (__ASSUME_WAITID_SYSCALL): Likewise.
25268 * sysdeps/unix/sysv/linux/dl-execstack.c
25269 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
25270 code unconditional.
25271 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
25273 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
25274 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
25275 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
25277 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
25279 [__ASSUME_WAITID_SYSCALL]: Likewise.
25280 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
25282 2012-08-07 Roland McGrath <roland@hack.frob.com>
25284 * sysdeps/unix/closedir.c: Renamed to ...
25285 * sysdeps/posix/closedir.c: ... here.
25286 * sysdeps/unix/dirfd.c: Renamed to ...
25287 * sysdeps/posix/dirfd.c: ... here.
25288 * sysdeps/unix/dirstream.h: Renamed to ...
25289 * sysdeps/posix/dirstream.h: ... here.
25290 * sysdeps/unix/fdopendir.c: Renamed to ...
25291 * sysdeps/posix/fdopendir.c: ... here.
25292 * sysdeps/unix/opendir.c: Renamed to ...
25293 * sysdeps/posix/opendir.c: ... here.
25294 * sysdeps/unix/readdir.c: Renamed to ...
25295 * sysdeps/posix/readdir.c: ... here.
25296 * sysdeps/unix/readdir_r.c: Renamed to ...
25297 * sysdeps/posix/readdir_r.c: ... here.
25298 * sysdeps/unix/rewinddir.c: Renamed to ...
25299 * sysdeps/posix/rewinddir.c: ... here.
25300 * sysdeps/unix/seekdir.c: Renamed to ...
25301 * sysdeps/posix/seekdir.c: ... here.
25302 * sysdeps/unix/telldir.c: Renamed to ...
25303 * sysdeps/posix/telldir.c: ... here.
25304 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
25305 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
25306 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
25307 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
25309 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
25310 * bits/fcntl.h: ... here.
25312 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
25314 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
25315 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
25316 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
25317 (struct flock): Move l_start, l_len to the beginning.
25318 Use __pid_t for l_pid.
25319 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
25320 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
25321 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
25322 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
25323 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
25324 [__USE_LARGEFILE64] (struct flock64): New type.
25325 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
25327 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
25328 * bits/dirent.h: ... here.
25330 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
25331 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
25333 2012-08-07 Joseph Myers <joseph@codesourcery.com>
25335 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25336 Change from 2.6.0 to 2.6.16.
25337 * sysdeps/unix/sysv/linux/configure: Regenerated.
25338 * sysdeps/unix/sysv/linux/kernel-features.h
25339 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
25340 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
25342 (__ASSUME_UTIMES): Likewise.
25343 (__ASSUME_CLONE_STOPPED): Remove.
25344 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
25345 architectures, not kernel version.
25346 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
25347 (__ASSUME_NO_CLONE_DETACHED): Likewise.
25348 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
25349 (__ASSUME_WAITID_SYSCALL): Likewise.
25350 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
25351 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
25352 * README: State 2.6.16 as minimum Linux kernel version. Do not
25353 refer to older versions.
25355 2012-08-06 Roland McGrath <roland@hack.frob.com>
25357 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
25358 Define alphasort64 as an alias.
25359 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
25360 Define versionsort64 as an alias.
25361 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
25362 Define scandir64 as an alias.
25363 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
25364 Define scandirat64 as an alias.
25365 * dirent/alphasort64.c (alphasort64):
25366 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
25367 * dirent/versionsort64.c: Likewise.
25368 * dirent/scandir64.c: Likewise.
25369 * dirent/scandirat64.c: Likewise.
25370 * sysdeps/wordsize-64/alphasort.c: File removed.
25371 * sysdeps/wordsize-64/alphasort64.c: File removed.
25372 * sysdeps/wordsize-64/scandir.c: File removed.
25373 * sysdeps/wordsize-64/scandir64.c: File removed.
25374 * sysdeps/wordsize-64/scandirat.c: File removed.
25375 * sysdeps/wordsize-64/scandirat64.c: File removed.
25376 * sysdeps/wordsize-64/versionsort.c: File removed.
25377 * sysdeps/wordsize-64/versionsort64.c: File removed.
25378 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
25379 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
25380 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
25381 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
25382 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
25383 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
25384 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
25385 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
25387 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
25388 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
25389 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
25390 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25391 [defined __arch64__ || defined __sparcv9]
25392 (__INO_T_MATCHES_INO64_T): New macro.
25393 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25394 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
25395 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
25396 * sysdeps/unix/sysv/linux/bits/dirent.h
25397 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
25398 (_DIRENT_MATCHES_DIRENT64): New macro.
25400 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
25401 Define lockf64 as an alias.
25402 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
25403 Define fseeko64 as an alias.
25404 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
25405 Define ftello64 as an alias.
25406 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
25407 Define _IO_fgetpos64 and fgetpos64 as aliases.
25408 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
25409 Define _IO_fsetpos64 and fsetpos64 as aliases.
25410 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
25411 Conditionalize body on this.
25412 * libio/fseeko64.c: Likewise.
25413 * libio/ftello64.c: Likewise.
25414 * libio/iofgetpos64.c: Likewise.
25415 * libio/iofsetpos64.c: Likewise.
25416 * sysdeps/wordsize-64/lockf.c: File removed.
25417 * sysdeps/wordsize-64/lockf64.c: File removed.
25418 * sysdeps/wordsize-64/fseeko.c: File removed.
25419 * sysdeps/wordsize-64/fseeko64.c: File removed.
25420 * sysdeps/wordsize-64/ftello.c: File removed.
25421 * sysdeps/wordsize-64/ftello64.c: File removed.
25422 * sysdeps/wordsize-64/iofgetpos.c: File removed.
25423 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
25424 * sysdeps/wordsize-64/iofsetpos.c: File removed.
25425 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
25426 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
25427 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
25428 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
25429 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
25430 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
25431 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
25432 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
25433 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
25434 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
25435 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
25437 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
25438 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
25439 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
25440 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25441 [defined __arch64__ || defined __sparcv9]
25442 (__OFF_T_MATCHES_OFF64_T): New macro.
25443 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25444 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
25445 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25446 (__OFF_T_MATCHES_OFF64_T): New macro.
25448 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
25450 * stdlib/secure-getenv.c (__secure_getenv): Replace
25451 GLIBC_2_16 with GLIBC_2_17.
25453 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
25455 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
25456 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
25458 2012-08-03 David S. Miller <davem@davemloft.net>
25460 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25462 2012-08-03 Joseph Myers <joseph@codesourcery.com>
25464 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
25466 (__ASSUME_CORRECT_SI_PID): Likewise.
25467 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
25468 (__ASSUME_TMPFS_NAME): Likewise.
25469 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
25470 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
25471 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
25472 (HAVE_AUX_SECURE): Make definition unconditional.
25473 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
25474 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
25476 2012-08-03 Roland McGrath <roland@hack.frob.com>
25478 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
25479 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
25480 * sysdeps/mach/hurd/eloop-threshold.h: New file.
25481 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
25482 __eloop_threshold instead of SYMLOOP_MAX.
25484 * sysdeps/generic/eloop-threshold.h: New file.
25485 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
25487 * elf/chroot_canon.c (chroot_canon): Likewise.
25489 2012-08-03 Joseph Myers <joseph@codesourcery.com>
25492 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25493 Change to 2.6.0 everywhere.
25494 * sysdeps/unix/sysv/linux/configure: Regenerated.
25495 * sysdeps/unix/sysv/linux/kernel-features.h
25496 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
25497 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
25499 (__ASSUME_POSIX_TIMERS): Define unconditionally.
25500 (__ASSUME_FUTEX_REQUEUE): Remove.
25501 (__ASSUME_STATFS64): Define unconditionally.
25502 (__ASSUME_AT_SECURE): Likewise.
25503 (__ASSUME_CORRECT_SI_PID): Likewise.
25504 (__ASSUME_TGKILL): Define without depending on kernel version for
25506 (__ASSUME_UTIMES): Likewise.
25507 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
25509 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
25510 (__ASSUME_TMPFS_NAME): Likewise.
25511 * README: Update reference to Linux kernel versions.
25513 2012-08-02 Marek Polacek <polacek@redhat.com>
25516 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
25517 libc_cv_asm_type_prefix with %.
25518 * configure: Regenerated.
25519 * include/libc-symbols.h: Remove comment about
25520 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
25521 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
25522 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
25523 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
25524 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
25525 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
25526 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
25527 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
25528 * elf/tst-unique2mod1.c: Likewise.
25529 * elf/tst-unique1mod2.c: Likewise.
25530 * elf/tst-unique1mod1.c: Likewise.
25531 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
25532 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
25533 Replace ASM_TYPE_DIRECTIVE with .type.
25534 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25535 * sysdeps/i386/sysdep.h: Likewise.
25536 * sysdeps/x86_64/sysdep.h: Likewise.
25537 * sysdeps/sh/sysdep.h: Likewise.
25538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
25539 Do not define ASM_TYPE_DIRECTIVE.
25540 * sysdeps/powerpc/sysdep.h: Likewise.
25541 * sysdeps/powerpc/powerpc32/sysdep.h:
25542 Replace ASM_TYPE_DIRECTIVE with .type.
25543 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
25544 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
25545 * sysdeps/i386/fpu/e_powf.S: Likewise.
25546 * sysdeps/i386/fpu/e_expl.S: Likewise.
25547 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
25548 * sysdeps/i386/fpu/e_acosh.S: Likewise.
25549 * sysdeps/i386/fpu/e_pow.S: Likewise.
25550 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
25551 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
25552 * sysdeps/i386/fpu/s_expm1.S: Likewise.
25553 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
25554 * sysdeps/i386/fpu/e_log2.S: Likewise.
25555 * sysdeps/i386/fpu/e_log2l.S: Likewise.
25556 * sysdeps/i386/fpu/e_scalb.S: Likewise.
25557 * sysdeps/i386/fpu/e_powl.S: Likewise.
25558 * sysdeps/i386/fpu/e_log10f.S: Likewise.
25559 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
25560 * sysdeps/i386/fpu/e_logl.S: Likewise.
25561 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
25562 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
25563 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
25564 * sysdeps/i386/fpu/e_log2f.S: Likewise.
25565 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
25566 * sysdeps/i386/fpu/e_log.S: Likewise.
25567 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
25568 * sysdeps/i386/fpu/e_logf.S: Likewise.
25569 * sysdeps/i386/fpu/e_log10l.S: Likewise.
25570 * sysdeps/i386/fpu/e_atanh.S: Likewise.
25571 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
25572 * sysdeps/i386/fpu/e_log10.S: Likewise.
25573 * sysdeps/i386/fpu/s_frexp.S: Likewise.
25574 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
25575 * sysdeps/i386/fpu/s_asinh.S: Likewise.
25576 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
25577 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
25578 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
25579 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
25580 * sysdeps/i386/i686/strtok.S: Likewise.
25581 * sysdeps/i386/i386-mcount.S: Likewise.
25582 * sysdeps/i386/strtok.S: Likewise.
25583 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
25584 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
25585 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
25586 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
25587 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
25588 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
25589 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
25590 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
25591 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
25592 * sysdeps/x86_64/_mcount.S: Likewise.
25593 * sysdeps/x86_64/strtok.S: Likewise.
25594 * sysdeps/sh/_mcount.S: Likewise.
25596 2012-08-01 Roland McGrath <roland@hack.frob.com>
25598 * libio/iofopen.c: Include <fcntl.h>.
25599 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
25600 (_IO_fopen64, fopen64): Define as aliases.
25601 * libio/iofopen64.c: Include <fcntl.h>.
25602 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
25603 Conditionalize body on this.
25604 * sysdeps/wordsize-64/iofopen.c: File removed.
25605 * sysdeps/wordsize-64/iofopen64.c: File removed.
25607 2012-08-01 Marek Polacek <polacek@redhat.com>
25609 * libc/Makeconfig: Use elf in place of binfmt-subdir.
25610 Use dlfcn directly instead of a variable.
25611 (binfmt-subdir): Do not define.
25614 2012-08-01 Joseph Myers <joseph@codesourcery.com>
25616 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
25617 Remove all definitions.
25618 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
25619 <kernel-features.h>.
25620 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
25621 (miss_F_GETOWN_EX): Remove all definitions.
25622 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
25624 [!__ASSUME_FCNTL64]: Remove conditional code.
25625 [__ASSUME_FCNTL64]: Make code unconditional.
25626 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
25627 <kernel-features.h>.
25628 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
25629 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
25630 (lockf64) [__NR_fcntl64]: Make code unconditional.
25631 (lockf64) [__ASSUME_FCNTL64]: Likewise.
25633 * sysdeps/unix/sysv/linux/kernel-features.h
25634 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
25635 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
25636 Make code unconditional.
25637 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25638 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25639 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
25640 [__NR_vfork]: Make code unconditional.
25641 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25642 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
25644 [__NR_vfork]: Make code unconditional.
25645 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25646 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25648 2012-08-01 Roland McGrath <roland@hack.frob.com>
25650 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
25651 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
25653 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25654 Define mkstemp64 as an alias.
25655 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25656 Define mkstemps64 as an alias.
25657 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25658 Define mkostemp64 as an alias.
25659 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25660 Define mkostemps64 as an alias.
25661 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
25662 Conditionalize body on this.
25663 * misc/mkostemp64.c: Likewise.
25664 * misc/mkostemps64.c: Likewise.
25665 * misc/mkstemps64.c: Likewise.
25666 * sysdeps/wordsize-64/mkstemp64.c: File removed.
25667 * sysdeps/wordsize-64/mkostemp64.c: File removed.
25668 * sysdeps/wordsize-64/mkostemp.c: File removed.
25669 * sysdeps/wordsize-64/mkstemp.c: File removed.
25670 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
25671 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
25672 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
25673 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
25676 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
25677 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
25678 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
25679 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
25681 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
25682 compat_symbol macros from <shlib-compat.h> rather than the underlying
25683 default_symbol_version and symbol_version macros, so that DEFAULT
25684 lines in shlib-versions are respected.
25685 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
25687 2012-08-01 Florian Weimer <fweimer@redhat.com>
25689 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
25690 Declare with warn_unused_result.
25691 (setgid, setregid, setegid, setresgid): Likewise.
25692 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
25694 * WUR-REPORT: Remove set*id functions.
25696 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
25698 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
25700 2012-07-31 Roland McGrath <roland@hack.frob.com>
25703 * include/sys/socket.h (__libc_accept, __libc_accept4):
25704 Add attribute_hidden.
25705 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
25707 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
25709 * inet/getnetgrent_r.c (setup): Likewise.
25711 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
25713 2012-07-31 David S. Miller <davem@davemloft.net>
25715 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25717 2012-07-31 Joseph Myers <joseph@codesourcery.com>
25720 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
25721 value between 1.0 and 2.0 and smaller part has absolute value less
25723 * math/s_clog10.c (__clog10): Likewise.
25724 * math/s_clog10f.c (__clog10f): Likewise.
25725 * math/s_clog10l.c (__clog10l): Likewise.
25726 * math/s_clogf.c (__clogf): Likewise.
25727 * math/s_clogl.c (__clogl): Likewise.
25728 * math/libm-test.inc (clog_test): Add more tests.
25729 (clog10_test): Likewise.
25730 * sysdeps/i386/fpu/libm-test-ulps: Update.
25731 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25733 2012-07-31 Florian Weimer <fweimer@redhat.com>
25735 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
25736 Exit with zero in case no suitable GID is found, and write a
25737 message to standard error.
25739 2012-07-30 Roland McGrath <roland@hack.frob.com>
25741 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
25743 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
25744 (MAXPATHLEN): Removed.
25745 (NOGROUP, NODEV): New macros.
25746 (setbit, clrbit, isset, isclr): New macros.
25747 (howmany, roundup, powerof2): New macros.
25748 (DEV_BSIZE): New macro.
25750 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
25751 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
25753 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
25754 definition on [!__NO_LONG_DOUBLE_MATH].
25756 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
25757 PTR_MANGLE and PTR_DEMANGLE.
25759 * socket/accept4.c (accept4): Rename to __libc_accept4.
25760 Define accept4 as a weak alias.
25762 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
25763 on [_DIRENT_HAVE_D_TYPE].
25764 * io/ftw.c (ftw_dir): Likewise.
25766 * io/xmknod.c (__xmknod): Don't check PATH for being null.
25768 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
25770 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
25771 Use the BSD numbers rather than the arbitrary ones we had.
25772 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
25773 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
25774 (SIGXCPU, SIGXFSZ): New macros.
25777 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
25778 initializer on [_LIBC_REENTRANT].
25780 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
25781 definitions inside [_POSIX_MAPPED_FILES].
25783 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
25785 * dirent/opendir.c: Include <fcntl.h>.
25787 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
25788 (__libc_getspecific): Likewise.
25789 (__libc_key_create): Likewise.
25791 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
25792 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
25793 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
25794 (tmpfile64): Define as alias.
25795 * sysdeps/wordsize-64/tmpfile.c: File removed.
25796 * sysdeps/wordsize-64/tmpfile64.c: File removed.
25797 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
25798 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
25800 * stdio-common/vfscanf.c: Include <stdbool.h>.
25801 * nss/makedb.c: Likewise.
25802 * stdio-common/_i18n_number.h: Likewise.
25803 * argp/argp-help.c: Likewise.
25804 * posix/wordexp.c: Likewise.
25805 * sysdeps/posix/spawni.c: Likewise.
25806 * nss/nss_files/files-initgroups.c: Likewise.
25807 * stdio-common/reg-modifier.c: Include <stdlib.h>.
25808 * nss/nss_files/files-initgroups.c: Likewise.
25809 * nss/nss_db/db-netgrp.c: Likewise.
25810 * nss/nss_db/db-initgroups.c: Likewise.
25811 * io/fchmodat.c: Include <sys/stat.h>.
25813 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
25814 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
25816 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
25819 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
25820 Add multiple inclusion protection.
25822 2012-07-27 David S. Miller <davem@davemloft.net>
25824 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25826 2012-07-27 Gary Benson <gbenson@redhat.com>
25829 * elf/rtld.c: Include <stap-probe.h>.
25830 (dl_main): Added static probes "init_start" and "init_complete".
25831 * elf/dl-load.c: Include <stap-probe.h>.
25832 (lose): Take new parameter "nsid".
25833 Added static probe "map_failed".
25834 (_dl_map_object_from_fd): Pass namespace id to lose.
25835 Added static probe "map_start".
25836 (open_verify): Pass namespace id to lose.
25837 * elf/dl-open.c: Include <stap-probe.h>.
25838 (dl_open_worker) Added static probes "map_complete", "reloc_start"
25839 and "reloc_complete".
25840 * elf/dl-close.c: Include <stap-probe.h>.
25841 (_dl_close_worker): Added static probes "unmap_start" and
25843 * elf/rtld-debugger-interface.txt: New file documenting the above.
25845 2012-07-26 Roland McGrath <roland@hack.frob.com>
25847 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
25848 rather than a string variable.
25849 * sunrpc/rpc_main.c (h_output): Likewise.
25850 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
25852 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
25854 * inet/check_native.c: New file.
25856 2012-07-26 Joseph Myers <joseph@codesourcery.com>
25859 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
25860 if larger part has absolute value 1.0.
25861 * math/s_clog10.c (__clog10): Likewise.
25862 * math/s_clog10f.c (__clog10f): Likewise.
25863 * math/s_clog10l.c (__clog10l): Likewise.
25864 * math/s_clogf.c (__clogf): Likewise.
25865 * math/s_clogl.c (__clogl): Likewise.
25866 * math/libm-test.inc (clog_test): Add more tests.
25867 (clog10_test): Likewise.
25868 * sysdeps/i386/fpu/libm-test-ulps: Update.
25869 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25871 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
25872 (pltexit): Likewise.
25873 (La_regs): Likewise.
25874 (La_retval): Likewise.
25875 (int_retval): Likewise.
25876 Update #error for removed macros to refer only to definitions in
25878 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
25880 (pltexit): Likewise.
25881 (La_regs): Likewise.
25882 (La_retval): Likewise.
25883 (int_retval): Likewise.
25884 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
25886 (pltexit): Likewise.
25887 (La_regs): Likewise.
25888 (La_retval): Likewise.
25889 (int_retval): Likewise.
25890 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
25892 (pltexit): Likewise.
25893 (La_regs): Likewise.
25894 (La_retval): Likewise.
25895 (int_retval): Likewise.
25896 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
25898 (pltexit): Likewise.
25899 (La_regs): Likewise.
25900 (La_retval): Likewise.
25901 (int_retval): Likewise.
25902 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
25904 (pltexit): Likewise.
25905 (La_regs): Likewise.
25906 (La_retval): Likewise.
25907 (int_retval): Likewise.
25908 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
25910 (pltexit): Likewise.
25911 (La_regs): Likewise.
25912 (La_retval): Likewise.
25913 (int_retval): Likewise.
25914 * sysdeps/generic/tst-audit.h: Update comment to refer only to
25915 macro definitions in tst-audit.h.
25916 * sysdeps/i386/tst-audit.h: New file.
25917 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
25918 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
25919 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
25920 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
25921 * sysdeps/sh/tst-audit.h: Likewise.
25922 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
25923 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
25924 * sysdeps/x86_64/tst-audit.h: Likewise.
25926 2012-07-26 Andreas Jaeger <aj@suse.de>
25928 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
25931 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
25932 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
25933 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
25935 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
25936 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
25937 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
25939 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
25942 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
25944 (si_call_addr, si_syscall, si_arch): Define new macro.
25945 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
25947 (si_call_addr, si_syscall, si_arch): Define new marcro.
25948 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
25950 (si_call_addr, si_syscall, si_arch): Define new macro.
25951 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
25953 (si_call_addr, si_syscall, si_arch): Define new macro.
25955 2012-07-25 Joseph Myers <joseph@codesourcery.com>
25958 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25959 Change to 2.4.21 where previously 2.4.1.
25960 * sysdeps/unix/sysv/linux/configure: Regenerated.
25961 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
25962 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
25963 Linux kernel version.
25964 (__ASSUME_STD_AUXV): Remove.
25965 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
25967 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
25968 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
25969 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
25970 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
25971 (__ASSUME_NETLINK_SUPPORT): Likewise.
25972 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
25973 (__no_netlink_support): Remove conditional definition.
25974 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
25976 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
25977 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
25978 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
25979 (if_nameindex_ioctl): Remove.
25980 (if_nameindex_netlink): Do not handle __no_netlink_support.
25981 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
25983 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
25984 Remove conditional code.
25985 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
25987 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
25989 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
25990 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
25991 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
25993 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
25994 [!__ASSUME_STD_AUXV]: Remove conditional code.
25995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
25996 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
25997 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
25998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
25999 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
26000 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
26002 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
26003 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
26004 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
26005 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
26007 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
26008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
26009 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
26011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
26012 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
26014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
26015 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
26016 code unconditional.
26017 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26019 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26021 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
26024 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26026 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
26029 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
26030 code unconditional.
26031 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26033 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26035 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
26038 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
26039 code unconditional.
26040 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26042 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26044 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26047 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
26049 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
26050 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
26051 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
26052 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
26053 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
26054 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
26055 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
26056 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
26057 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
26058 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
26059 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
26060 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
26061 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
26062 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
26063 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
26064 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
26065 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
26066 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
26067 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
26068 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
26069 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
26070 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
26071 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
26073 2012-07-25 Florian Weimer <fweimer@redhat.com>
26075 * Versions.def: Add GLIBC_2.17.
26076 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
26077 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
26078 Introduce __libc_secure_getenv.
26079 * stdlib/Versions (2.17): Add secure_getenv
26080 (GLIBC_PRIVATE): Add __libc_secure_getenv.
26081 * stdlib/secure-getenv.c: Rename __secure_getenv to
26082 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
26083 symbol __secure_getenv for GLIBC_2.0.
26084 * stdlib/tst-secure-getenv.c: New.
26085 * stdlib/Makefile (tests): Add testcase.
26086 * manual/startup.texi (Environment Access): Document
26088 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
26089 __libc_secure_getenv.
26090 * inet/ruserpass.c (ruserpass): Likewise.
26091 * malloc/mtrace.c (mtrace): Likewise.
26092 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
26093 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
26094 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
26095 * sysdeps/posix/tempname.c: Likewise. Evaluate
26096 HAVE_SECURE_GETENV.
26097 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
26098 __secure_getenv to __libc_secure_getenv.
26099 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
26100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26104 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
26105 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
26106 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
26107 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
26108 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
26109 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
26110 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
26112 2012-07-25 Joseph Myers <joseph@codesourcery.com>
26114 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
26115 (struct La_i86_retval): Likewise.
26116 (struct La_x86_64_regs): Likewise.
26117 (struct La_x86_64_retval): Likewise.
26118 (struct La_x32_regs): Likewise.
26119 (struct La_x32_retval): Likewise.
26120 (struct La_ppc32_regs): Likewise.
26121 (struct La_ppc32_retval): Likewise.
26122 (struct La_ppc64_regs): Likewise.
26123 (struct La_ppc64_retval): Likewise.
26124 (struct La_sh_regs): Likewise.
26125 (struct La_sh_retval): Likewise.
26126 (struct La_s390_32_regs): Likewise.
26127 (struct La_s390_32_retval): Likewise.
26128 (struct La_s390_64_regs): Likewise.
26129 (struct La_s390_64_retval): Likewise.
26130 (struct La_sparc32_regs): Likewise.
26131 (struct La_sparc32_retval): Likewise.
26132 (struct La_sparc64_regs): Likewise.
26133 (struct La_sparc64_retval): Likewise.
26134 (struct audit_ifaces): Remove architecture-specific pltenter and
26136 * sysdeps/i386/ldsodefs.h: New file.
26137 * sysdeps/powerpc/ldsodefs.h: Likewise.
26138 * sysdeps/s390/ldsodefs.h: Likewise.
26139 * sysdeps/sh/ldsodefs.h: Likewise.
26140 * sysdeps/sparc/ldsodefs.h: Likewise.
26141 * sysdeps/x86_64/ldsodefs.h: Likewise.
26143 2012-07-25 Marek Polacek <polacek@redhat.com>
26146 * math/libm-test.inc (yn_test): Add another test.
26147 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
26148 to ERANGE when the result is +-Inf.
26149 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
26150 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
26151 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
26152 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
26154 2012-07-24 Joseph Myers <joseph@codesourcery.com>
26156 * conform/data/time.h-data (NULL): Use macro-constant. Require
26158 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
26160 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
26162 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
26164 * configure.in <sysdeps resolving>: Correct printing
26166 * configure: Regenerate.
26168 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
26170 * math/w_ilogb.c: Include <limits.h>.
26171 * math/w_ilogbl.c: Likewise.
26173 2012-07-20 Joseph Myers <joseph@codesourcery.com>
26175 * manual/lang.texi (__va_copy): Document primarily as ISO C99
26176 va_copy. Document allowing for unavailable va_copy only as
26177 pre-C99 compatibility.
26178 * manual/string.texi (Copying and Concatenation): Use va_copy
26179 instead of __va_copy in concat example.
26181 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
26183 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
26184 (__sendto): Use create_address_port. Initialize APORT and deallocate
26187 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
26188 with O_NOLINK passed to __file_name_lookup.
26190 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
26191 with O_NOLINK passed to __file_name_lookup.
26193 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
26194 negative N or less than NGIDS.
26196 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
26197 type to string_t. Set ERANGE as errno and return it if NAME is not big
26198 enough. Use memcpy instead of strncpy.
26200 2012-07-20 Joseph Myers <joseph@codesourcery.com>
26202 * elf/Makefile (check-data): Remove.
26203 (localplt.data): New vpath directive.
26204 ($(objpfx)check-localplt.out): Use localplt.data from vpath
26205 instead of $(check-data).
26206 * scripts/data/localplt-generic.data: Move to ...
26207 * sysdeps/generic/localplt.data: ... here.
26208 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
26209 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
26210 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
26211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
26213 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
26214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
26216 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
26217 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
26219 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
26220 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
26222 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
26223 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
26225 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
26226 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
26229 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26231 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
26232 PPC32 and PPC64 files.
26233 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
26234 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
26236 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26238 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
26239 __makecontext_ret to ...
26240 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
26241 ... here and call exit if uc_link is NULL. New file.
26242 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
26243 __makecontext_ret.S.
26244 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
26245 __makecontext_ret to ...
26246 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
26247 ... here and call exit if uc_link is NULL. New file.
26248 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
26249 __makecontext_ret.S.
26251 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26253 * elf/elf.h (R_390_IRELATIVE): New definition.
26254 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
26255 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
26256 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
26257 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
26258 (elf_machine_lazy_rel): Likewise.
26259 * sysdeps/s390/dl-irel.h: New file.
26260 * sysdeps/s390/s390-64/memcpy.S: New asm code.
26261 * sysdeps/s390/s390-64/memset.S: New asm code.
26262 * sysdeps/s390/s390-64/memcmp.S: New asm code.
26263 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
26264 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
26265 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
26266 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
26267 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
26268 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
26269 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
26270 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
26271 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
26272 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
26273 * sysdeps/s390/s390-32/memcpy.S: New asm code.
26274 * sysdeps/s390/s390-32/memset.S: New asm code.
26275 * sysdeps/s390/s390-32/memcmp.S: New asm code.
26277 2012-07-17 Marek Polacek <polacek@redhat.com>
26280 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
26281 * sysdeps/s390/s390-64/configure.in: Likewise.
26282 * sysdeps/sparc/configure.in: Likewise.
26283 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
26284 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
26285 * sysdeps/i386/configure.in: Likewise.
26286 * sysdeps/x86_64/configure.in: Likewise.
26287 * sysdeps/sh/configure.in: Likewise.
26288 * sysdeps/s390/s390-32/configure: Regenerated.
26289 * sysdeps/s390/s390-64/configure: Likewise.
26290 * sysdeps/x86_64/configure: Likewise.
26291 * sysdeps/sh/configure: Likewise.
26292 * sysdeps/powerpc/powerpc64/configure: Likewise.
26293 * sysdeps/powerpc/powerpc32/configure: Likewise.
26294 * sysdeps/sparc/configure: Likwise.
26295 * sysdeps/i386/configure: Likewise.
26297 * elf/dl-open.c: Comment fixes.
26299 2012-07-17 Joseph Myers <joseph@codesourcery.com>
26301 * Makefile [CXX] (check-data): Remove.
26302 [CXX] (c++-types.data): New vpath directive.
26303 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
26304 vpath. Do not allow for C++ type data being missing.
26305 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
26306 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
26307 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
26308 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
26309 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
26310 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
26311 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
26312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
26314 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
26315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
26317 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
26318 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
26320 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
26321 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
26323 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
26324 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
26326 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
26327 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
26329 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
26330 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
26332 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
26333 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
26335 * elf/tls-macros.h (TLS_LE): Move architecture-specific
26336 definitions to architecture-specific files.
26337 (TLS_IE): Likewise.
26338 (TLS_LD): Likewise.
26339 (TLS_GD): Likewise.
26340 * sysdeps/i386/tls-macros.h: New file.
26341 * sysdeps/powerpc/tls-macros.h: Likewise.
26342 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
26343 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
26344 * sysdeps/sh/tls-macros.h: Likewise.
26345 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
26346 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
26347 * sysdeps/x86_64/tls-macros.h: Likewise.
26349 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
26351 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
26352 zero value for regular exit case.
26354 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
26355 (__start_context): Preserve zero value for regular exit case.
26357 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
26358 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26360 * manual/setjmp.texi (setcontext): Clarify normal process
26361 termination when uc_link is the null pointer.
26362 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
26365 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
26367 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
26368 preprocessor. Test for each exception mask separately.
26370 2012-07-16 Andreas Jaeger <aj@suse.de>
26372 * po/ru.po: Update from translation team.
26374 2012-07-15 Joseph Myers <joseph@codesourcery.com>
26376 * conform/data/string.h-data (NULL): Use macro-constant. Require
26378 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
26379 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
26380 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
26381 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
26382 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26384 2012-07-13 Andreas Jaeger <aj@suse.de>
26386 * po/fr.po: Update from translation team.
26388 2012-07-12 Marek Polacek <polacek@redhat.com>
26391 * math/libm-test.inc (yn_test): Add test for BZ #14173.
26392 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
26395 2012-07-12 Joseph Myers <joseph@codesourcery.com>
26398 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26399 Change to 2.4.1 where previously 2.4.0.
26400 * sysdeps/unix/sysv/linux/configure: Regenerated.
26401 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
26402 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
26404 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
26405 (__ASSUME_AT_CLKTCK): Remove.
26406 (__ASSUME_AT_PAGESIZE): Likewise.
26407 (__ASSUME_AT_XID): Likewise.
26408 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
26409 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
26410 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
26412 (HAVE_AUX_PAGESIZE): Likewise.
26413 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
26414 [__ASSUME_AT_CLKTCK]: Make code unconditional.
26415 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
26417 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
26420 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
26421 the temporary buffer used to invoke __gethostbyname2_r,
26422 __gethostbyaddr_r and gethostbyname4_r to make room for struct
26423 host_data / struct gaih_addrtuple.
26424 * resolv/nss_dns/dns-host.c (global scope): Move definition of
26425 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
26426 header file nss/nsswitch.h.
26427 * nss/nsswitch.h (global scope): Add definition of implementation
26428 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
26429 resolv/nss_dns/dns-host.c).
26431 2012-07-11 Andreas Jaeger <aj@suse.de>
26433 * po/fr.po: Update from translation team.
26435 * po/sv.po: Update from translation team
26436 * po/fr.po: Another update from translation team.
26438 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26440 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
26441 for subnormals or multiply small sinh result by itself.
26442 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
26443 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26445 2012-07-11 David S. Miller <davem@davemloft.net>
26447 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26449 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
26452 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
26453 (INTERNAL_MARK): Shift it here.
26455 2012-07-10 Marek Polacek <polacek@redhat.com>
26458 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
26459 libc_cv_asm_global_directive with .globl.
26460 * configure: Regenerated.
26461 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
26463 * sysdeps/i386/configure: Regenerated.
26464 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
26466 * sysdeps/x86_64/configure: Regenerated.
26467 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
26468 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
26469 * elf/tst-unique2mod2.c: Likewise.
26470 * elf/tst-unique2mod1.c: Likewise.
26471 * elf/tst-unique1mod2.c: Likewise.
26472 * elf/tst-unique1mod1.c: Likewise.
26473 * sysdeps/s390/s390-32/sysdep.h: Likewise.
26474 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
26475 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26476 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
26477 * sysdeps/mach/sysdep.h: Likewise.
26478 * sysdeps/i386/sysdep.h: Likewise.
26479 * sysdeps/i386/i386-mcount.S: Likewise.
26480 * sysdeps/x86_64/_mcount.S: Likewise.
26481 * sysdeps/x86_64/sysdep.h: Likewise.
26482 * sysdeps/sh/_mcount.S: Likewise.
26483 * sysdeps/sh/sysdep.h: Likewise.
26484 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
26485 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
26486 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
26487 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
26488 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
26489 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
26490 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
26491 * locale/localeinfo.h: Likewise.
26492 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
26493 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
26495 2012-07-09 Roland McGrath <roland@hack.frob.com>
26498 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
26500 * manual/message.texi (The Uniforum approach): Likewise.
26501 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
26502 (glibc iconv Implementation): Likewise.
26504 2012-07-09 Joseph Myers <joseph@codesourcery.com>
26507 * math/s_clog.c (__clog): Avoid scaling a value down where that
26508 could result in underflow.
26509 * math/s_clog10.c (__clog10): Likewise.
26510 * math/s_clog10f.c (__clog10f): Likewise.
26511 * math/s_clog10l.c (__clog10l): Likewise.
26512 * math/s_clogf.c (__clogf): Likewise.
26513 * math/s_clogl.c (__clogl): Likewise.
26514 * math/libm-test.inc (clog_test): Add more tests.
26515 (clog10_test): Likewise.
26516 * sysdeps/i386/fpu/libm-test-ulps: Update.
26517 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26519 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
26522 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
26523 by 7 not 8 to examine high bit of fractional part.
26526 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
26527 for call to __mcount_internal.
26528 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
26529 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
26530 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
26532 2012-07-06 Joseph Myers <joseph@codesourcery.com>
26535 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
26536 approximation for values within 0x1p-13f of an odd multiple of
26538 * math/libm-test.inc (tan_test): Do not allow spurious underflow
26539 exception. Add more tests.
26540 * sysdeps/i386/fpu/libm-test-ulps: Update.
26543 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
26544 inputs and return -1 for them. Do not check for +Inf in case not
26545 reachable for +Inf.
26546 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
26547 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
26548 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
26549 and return -1 for them. Do not check for +Inf in case not
26550 reachable for +Inf.
26551 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
26553 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
26554 and return -1 for them. Do not check for +Inf in case not
26555 reachable for +Inf.
26556 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
26557 spurious underflow.
26558 * sysdeps/i386/fpu/libm-test-ulps: Update.
26559 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26561 2012-07-06 Mike Frysinger <vapier@gentoo.org>
26563 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
26565 2012-07-05 Joseph Myers <joseph@codesourcery.com>
26569 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
26570 could result in spurious underflow. Scale down values above
26571 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
26572 * math/s_csqrtf.c (__csqrtf): Likewise.
26573 * math/s_csqrtl.c (__csqrtl): Likewise.
26574 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
26575 spurious underflow.
26576 * sysdeps/i386/fpu/libm-test-ulps: Update.
26577 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26579 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
26581 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
26583 * catgets/xopen-msg.awk: New file.
26584 * catgets/xopen-msg.sed: Removed.
26586 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
26588 * intl/po2test.awk: New file.
26589 * intl/po2test.sed: Removed.
26591 2012-07-04 Joseph Myers <joseph@codesourcery.com>
26594 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
26595 or multiply small sinh result by itself.
26596 * math/s_ctanf.c (__ctanf): Likewise.
26597 * math/s_ctanh.c (__ctanh): Likewise.
26598 * math/s_ctanhf.c (__ctanhf): Likewise.
26599 * math/s_ctanhl.c (__ctanhl): Likewise.
26600 * math/s_ctanl.c (__ctanl): Likewise.
26601 * math/libm-test.inc (ctan_test_tonearest): New function.
26602 (ctan_test_towardzero): Likewise.
26603 (ctan_test_downward): Likewise.
26604 (ctan_test_upward): Likewise.
26605 (ctanh_test_tonearest): Likewise.
26606 (ctanh_test_towardzero): Likewise.
26607 (ctanh_test_downward): Likewise.
26608 (ctanh_test_upward): Likewise.
26609 (main): Call these new functions.
26610 * sysdeps/i386/fpu/libm-test-ulps: Update.
26611 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26613 2012-07-03 Mike Frysinger <vapier@gentoo.org>
26615 * .gitignore: Delete /ports entry.
26617 2012-07-03 Andreas Jaeger <aj@suse.de>
26619 * po/bg.po: Update from translation team.
26620 * po/cs.po: Likewise.
26621 * po/de.po: Likewise.
26622 * po/hr.po: Likewise.
26623 * po/nl.pl: Likewise.
26624 * po/pl.po: Likewise.
26625 * po/vi.po: Likewise.
26627 2012-07-03 Joseph Myers <joseph@codesourcery.com>
26629 * Makeconfig [!+link] (+link-before-libc): New variable.
26630 [!+link] (+link-after-libc): Likewise.
26631 [!+link] (+link-tests): Likewise.
26632 [!+link] (+link): Define in terms of $(+link-before-libc) and
26633 $(+link-after-libc).
26634 [!+link-static] (+link-static-before-libc): New variable.
26635 [!+link-static] (+link-static-after-libc): Likewise.
26636 [!+link-static] (+link-static-tests): Likewise.
26637 [!+link-static] (+link-static): Define in terms of
26638 $(+link-static-before-libc) and $(+link-static-after-libc).
26639 [build-shared] (link-libc-before-gnulib): New variable.
26640 [build-shared] (link-libc-tests): Likewise.
26641 [build-shared] (link-libc): Define in terms of
26642 $(link-libc-before-gnulib).
26643 [!build-shared] (link-libc-tests): New variable.
26644 (link-libc-static-tests): New variable.
26645 [!gnulib] (gnulib-arch): New variable.
26646 [!gnulib] (gnulib-tests): Likewise.
26647 [!gnulib] (static-gnulib-arch): Likewise.
26648 [!gnulib] (static-gnulib-tests): Likewise.
26649 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
26650 Define with "=" instead of ":=".
26651 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
26652 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
26653 * Rules (binaries-all-notests): New variable.
26654 (binaries-all-tests): Likewise.
26655 (binaries-static-notests): Likewise.
26656 (binaries-static-tests): Likewise.
26657 (binaries-all): Define using $(binaries-all-notests) and
26658 $(binaries-all-tests).
26659 (binaries-static): Define using $(binaries-static-notests) and
26660 $(binaries-static-tests).
26661 (binaries-shared-tests): New variable.
26662 (binaries-shared-notests): Likewise.
26663 (binaries-shared): Remove variable.
26664 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
26665 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
26666 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
26667 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
26668 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
26669 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
26670 * elf/Makefile (sln-modules): New variable.
26671 (extra-objs): Add $(sln-modules:=.o).
26672 (ldconfig-modules): Add static-stubs.
26673 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
26674 * elf/static-stubs.c: New file.
26677 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
26678 by 7 not 8 to examine high bit of fractional part. Use volatile
26679 variables when splitting into final array of floats if
26680 __FLT_EVAL_METHOD__ != 0.
26681 * math/libm-test.inc (cos_test): Add another test.
26682 (sin_test): Likewise.
26683 * sysdeps/i386/fpu/libm-test-ulps: Update.
26686 * math/libm-test.inc (cosh_test): Add more tests.
26688 * version.h (RELEASE): Set to "development".
26689 (VERSION): Set to "2.16.90".
26691 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
26693 * NEWS: Update copyright. Remove last-updated date.
26694 Mention math library bug fixes and timezone data changes.
26695 * README: Mention GNU/Hurd, x32, and HPPA support status.
26697 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
26699 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
26701 2012-06-27 Andreas Jaeger <aj@suse.de>
26703 * manual/contrib.texi (Contributors): Add Samuel Thibault.
26705 2012-06-25 Andreas Jaeger <aj@suse.de>
26707 * sysdeps/s390/fpu/libm-test-ulps: Update.
26709 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
26710 Thomas Schwinge <thomas@codesourcery.com>
26712 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
26713 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
26714 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
26717 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
26719 * sysdeps/mach/start.c: Remove file.
26720 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
26721 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
26722 * sysdeps/sh/init-first.c: Likewise.
26724 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
26725 registers for frame unwinding purposes, add CFI directives.
26726 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
26727 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
26728 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
26731 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
26732 __fortify_fail returning.
26733 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
26735 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
26736 sysdeps/sh/____longjmp_chk.S.
26737 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
26738 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
26739 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
26740 (gen-as-const-headers): Append sigaltstack-offsets.sym.
26742 * sysdeps/sh/abort-instr.h: New file.
26743 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
26744 process in case exit returns.
26746 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
26747 initialize the GOT register before use.
26749 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
26750 calculation of ARGC > 4.
26752 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
26753 meaningful names to some local labels.
26755 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26756 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26758 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
26759 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
26760 (__arch_compare_and_exchange_val_16_acq): Likewise.
26761 (__arch_compare_and_exchange_val_32_acq): Likewise.
26762 (atomic_exchange_and_add): Fix gUSA sequence.
26763 (atomic_add): Likewise.
26764 (atomic_add_negative): Likewise.
26765 (atomic_add_zero): Likewise.
26766 (atomic_bit_test_set): Likewise.
26768 2012-06-22 Andreas Schwab <schwab@redhat.com>
26771 * include/link.h (struct link_map): Add l_free_initfini.
26772 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
26774 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
26775 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
26776 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
26779 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
26781 * configure.in: Use AC_LANG_SOURCE.
26782 * configure: Regenerate.
26784 2012-06-22 Roland McGrath <roland@hack.frob.com>
26786 * configure.in (libc_cv_localstatedir): New substituted variable.
26787 * configure: Regenerated.
26788 * config.make.in (localstatedir): New variable, substituted from
26789 libc_cv_localstatedir.
26790 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
26791 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
26792 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
26793 * sysdeps/gnu/configure: Regenerated.
26795 2012-06-21 Jeff Law <law@redhat.com>
26798 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
26799 free. Simplify list management for _LIBC case.
26801 2012-06-21 Joseph Myers <joseph@codesourcery.com>
26804 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
26805 Clear sign bit of 64-bit integer value before comparing against
26808 * sysdeps/mach/configure: Regenerated.
26810 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
26813 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
26815 2012-06-21 Jeff Law <law@redhat.com>
26818 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
26819 uint16_t for elements in the "seen" array to avoid char overflows.
26820 * elf/dl-fini.c (_dl_sort_fini): Likewise.
26821 * elf/dl-open.c (dl_open_worker): Likewise.
26823 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
26825 * scripts/list-sources.sh: Scan PORTS for translations.
26826 * po/libc.pot: Regenerated.
26828 2012-06-21 Andreas Jaeger <aj@suse.de>
26831 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
26833 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
26834 * bits/byteswap-16.h (__bswap_16): Likewise.
26835 * bits/byteswap.h (__bswap_constant_16): Likewise.
26837 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
26840 * sysdeps/i386/fpu_control.h: Removed.
26841 * sysdeps/x86_64/fpu_control.h: Moved to ...
26842 * sysdeps/x86/fpu_control.h: Here.
26844 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
26845 (_FPU_SETCW): Likewise.
26847 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
26850 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
26851 * sysdeps/x86/fpu/bits/mathinline.h: This.
26852 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
26856 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
26857 functions if __x86_64__ is defined.
26859 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
26861 * string/endian.h: Add !__ASSEMBLER__ condition for including
26862 conversion interfaces.
26864 2012-06-15 Joseph Myers <joseph@codesourcery.com>
26867 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
26868 of ABS(x) in calculating zero to negative powers other than odd
26870 * math/libm-test.inc (pow_test): Add more tests.
26872 2012-06-15 Andreas Jaeger <aj@suse.de>
26874 * manual/contrib.texi (Contributors): Update entry of Liubov
26875 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
26878 2012-06-15 Cyril Hrubis <metan@ucw.cz>
26880 * string/string.h: Add __wur to GNU version of strerror_r.
26882 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
26885 * string/Makefile (tests): Add tst-strtok_r.
26886 * string/tst-strtok_r.c: New file.
26887 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
26888 RAX_LP/RDX_LP on SAVE_PTR.
26890 2012-06-14 Roland McGrath <roland@hack.frob.com>
26892 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
26894 2012-06-14 Joseph Myers <joseph@codesourcery.com>
26896 * libm_test.inc (csqrt_test): Allow more spurious underflow
26898 (j0_test): Likewise.
26899 (j1_test): Likewise.
26900 (y0_test): Likewise.
26901 (y1_test): Likewise.
26903 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
26905 * po/Makefile (libc.pot): Use UTF-8 charset.
26907 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
26910 Suppress sign-conversion warning from FD_SET.
26911 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
26912 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
26913 not unsigned long int.
26914 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
26916 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
26920 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
26921 __extern_always_inline instead of __extern_inline.
26922 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
26923 (__signbit): Likewise.
26924 (__signbitl): Support C++ namespace.
26925 (lrintf): New inline function.
26927 (llrintf): Likewise.
26928 (llrint): Likewise.
26938 (floorf): Likewise.
26939 (nearbyint): Likewise.
26940 (nearbyintf): Likewise.
26942 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
26944 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
26945 non-default versions.
26947 2012-06-11 Roland McGrath <roland@hack.frob.com>
26950 * manual/argp.texi (Argp): Reword argp_parse description slightly.
26952 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
26954 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
26955 (FE_UPWARD, FE_DOWNWARD): Don't define.
26956 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
26957 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
26959 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
26961 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
26962 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
26964 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26966 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
26967 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
26968 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
26969 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
26971 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
26974 * sysdeps/i386/fpu/bits/fenv.h: Removed.
26975 * sysdeps/i386/fpu/Implies: New file.
26976 * sysdeps/x86_64/fpu/Implies: Likewise.
26977 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
26978 * sysdeps/x86/fpu/bits/fenv.h: This.
26980 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
26983 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
26986 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
26987 character 0xffff that matches the last element of the
26990 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26992 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
26995 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26997 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
26998 values higher than 25.6283.
27000 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27002 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
27003 subnormal exponent extraction and add some __builtin_expect.
27004 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
27005 Fix for subnormal mantissa calculation.
27007 2012-06-04 Mike Frysinger <vapier@gentoo.org>
27009 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
27010 cpu2 is -1 and errno is not ENOSYS.
27012 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
27015 * sysdeps/i386/i486/bits/string.h: Renamed to ...
27016 * sysdeps/x86/bits/string.h: This.
27017 * sysdeps/x86_64/bits/string.h: Removed.
27019 * sysdeps/i386/i486/bits/string.h: Define inline functions only
27020 if not compiling for x86-64, but compiling for >= i486.
27022 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
27023 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
27025 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
27026 New macro from Linux kernel 3.4.0.
27027 (FP_XSTATE_MAGIC2): Likewise.
27028 (FP_XSTATE_MAGIC2_SIZE): Likewise.
27029 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
27030 (struct _fpx_sw_bytes): New struct.
27031 (struct _xsave_hdr): Likewise.
27032 (struct _ymmh_state): Likewise.
27033 (struct _xstate): Likewise.
27035 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
27036 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
27037 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
27038 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
27039 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
27040 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
27042 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
27043 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
27044 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
27045 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
27046 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
27047 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
27049 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27052 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
27053 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
27054 (sysdep_headers): Include sys/platform/ppc.h.
27055 * sysdeps/powerpc/test-gettimebase.c: Test for
27056 __ppc_get_timebase() to catch future ISA opcode/insn changes.
27057 * manual/Makefile (appendices): Include platform.texi.
27058 * manual/contrib.texi (Contributors): Update @node pointers.
27059 * manual/maint.texi (Maintenance): Likewise.
27060 (Platform): New node.
27061 * manual/platform.texi: New file. Document the new features.
27063 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
27064 Jakub Jelinek <jakub@redhat.com>
27067 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
27068 where __builtin_expect is unavailable.
27070 2012-06-03 David S. Miller <davem@davemloft.net>
27072 * stdlib/longlong.h: Updated from GCC.
27074 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
27077 * sysdeps/powerpc/powerpc32/mcount.c: New file.
27078 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
27080 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
27081 (GLIBC_2.16): Likewise.
27083 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
27085 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
27087 2012-06-01 Joseph Myers <joseph@codesourcery.com>
27089 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
27090 (default-abi): New variable.
27091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
27092 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
27094 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
27096 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
27098 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
27101 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
27102 definition. Document in comment.
27104 2012-06-01 David S. Miller <davem@davemloft.net>
27106 * stdlib/longlong.h: Updated from GCC.
27108 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
27111 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
27112 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
27113 sys/debugreg.h sys/io.h here.
27114 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
27115 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
27117 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
27118 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
27119 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
27120 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
27121 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
27122 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
27124 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
27125 Define only if __x86_64__ is defined.
27127 2012-06-01 Joseph Myers <joseph@codesourcery.com>
27130 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
27131 Use int64_t for variable i.
27132 * math/libm-test.inc (fmod_test): Add more tests.
27134 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
27135 z computation is not scheduled after fetestexcept.
27136 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
27137 Use math_force_eval instead of asm to ensure calculation scheduled
27138 before exception test.
27139 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
27140 Ensure a1 + u.d computation is not scheduled after fetestexcept.
27142 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
27144 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
27145 computation is not scheduled after fetestexcept.
27147 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
27150 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
27151 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
27153 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27155 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
27156 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
27158 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
27161 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
27163 (__WCHAR_MIN): Support __WORDSIZE == 64.
27164 (__WCHAR_MAX): Likewise.
27166 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
27167 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
27170 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
27171 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
27174 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
27175 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
27177 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
27178 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
27180 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
27181 Defined to 1 if __x86_64__ isn't defined.
27182 (_STAT_VER_LINUX_OLD): New.
27183 (st_atime): Remove duplicate.
27184 (st_mtime): Likewise.
27185 (st_ctime): Likewise.
27187 2012-05-31 David S. Miller <davem@davemloft.net>
27189 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
27192 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
27194 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
27198 * elf/dl-reloc.c: Include <_itoa.h>.
27199 (_dl_reloc_bad_type): Remove use of INTUSE.
27200 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
27201 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
27202 * stdio-common/psiginfo.c (psiginfo): Likewise.
27203 * stdio-common/psignal.c (psignal): Likewise.
27204 * string/strsignal.c (strsignal): Likewise.
27205 * include/signal.h (_sys_siglist): Declare hidden proto.
27206 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
27207 INTVARDEF with libc_hidden_data_def.
27208 * stdio-common/itoa-udigits.c: Likewise.
27209 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
27210 (_itoa_lower_digits_internal): Remove declaration.
27211 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
27212 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
27213 (_sys_sigabbrev_internal): Remove aliases.
27214 (_sys_siglist): Define hidden alias.
27216 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
27218 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27221 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
27224 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
27225 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
27227 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
27228 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
27229 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
27230 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
27231 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
27232 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
27234 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
27235 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
27236 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
27238 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
27246 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
27247 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
27248 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
27250 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
27251 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
27252 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
27253 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
27254 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
27255 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
27257 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
27258 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
27260 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
27261 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
27263 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
27264 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
27265 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
27267 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
27268 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
27270 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
27272 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
27273 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
27274 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
27276 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
27278 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
27280 2012-05-31 Joseph Myers <joseph@codesourcery.com>
27282 * math/math.h (M_El): Use two more decimal places.
27283 (M_LOG2El): Likewise.
27284 (M_LOG10El): Likewise.
27285 (M_LN2l): Likewise.
27286 (M_LN10l): Likewise.
27288 (M_PI_2l): Likewise.
27289 (M_PI_4l): Likewise.
27290 (M_1_PIl): Likewise.
27291 (M_2_PIl): Likewise.
27292 (M_2_SQRTPIl): Likewise.
27293 (M_SQRT2l): Likewise.
27294 (M_SQRT1_2l): Likewise.
27296 2012-05-31 David S. Miller <davem@davemloft.net>
27298 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
27299 values between float registers.
27300 * sysdeps/sparc/sparc64/memset.S: Likewise.
27301 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
27303 2012-05-31 Mike Frysinger <vapier@gentoo.org>
27305 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
27306 -D_FORTIFY_SOURCE=1.
27307 (CPPFLAGS-tst-longjmp_chk.c): Define.
27308 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
27309 (CPPFLAGS-tst-longjmp_chk2.c): Define.
27310 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
27311 CFLAGS-tst-wchar-h.c.
27313 2012-05-31 Marek Polacek <polacek@redhat.com>
27316 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
27317 __endmntent_internal): Remove declaration.
27318 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
27319 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
27320 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
27322 2012-05-30 David S. Miller <davem@davemloft.net>
27324 * sysdeps/sparc/sparc32/soft-fp/q_util.c
27325 (___Q_simulate_exceptions): Use real FP ops rather than writing
27327 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
27330 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27333 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
27334 * sysdeps/x86/bits/xtitypes.h: This.
27336 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
27337 * sysdeps/x86/bits/wordsize.h: This.
27339 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
27340 * sysdeps/x86/bits/huge_vall.h: This.
27342 * sysdeps/i386/bits/select.h: Removed.
27343 * sysdeps/x86_64/bits/select.h: Renamed to ...
27344 * sysdeps/x86/bits/select.h: This.
27346 * sysdeps/i386/bits/setjmp.h: Removed.
27347 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
27348 * sysdeps/x86/bits/setjmp.h: This.
27350 * sysdeps/i386/bits/mathdef.h: Removed.
27351 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
27352 * sysdeps/x86/bits/mathdef.h: This.
27354 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
27357 * include/sys/socket.h (__connect_internal)
27358 (__libc_sa_len_internal): Remove declaration.
27359 (__connect, __libc_sa_len): Declare hidden_proto.
27360 (SA_LEN): Remove use of INTUSE.
27361 * socket/connect.c: Add libc_hidden_def.
27362 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
27363 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
27364 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
27366 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
27367 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
27368 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
27369 of adding _internal alias.
27371 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27374 * sysdeps/i386/bits/link.h: Removed.
27375 * sysdeps/i386/bits/linkmap.h: Likewise.
27376 * sysdeps/x86_64/bits/link.h: Renamed to ...
27377 * sysdeps/x86/bits/link.h: This.
27378 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
27379 * sysdeps/x86/bits/linkmap.h: This.
27381 * sysdeps/i386/bits/endian.h: Removed.
27382 * sysdeps/x86_64/bits/endian.h: Renamed to ...
27383 * sysdeps/x86/bits/endian.h: This.
27385 * sysdeps/i386/bits/byteswap.h: Removed.
27386 * sysdeps/i386/bits/byteswap-16.h: Likewise.
27387 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
27388 * sysdeps/x86/bits/byteswap.h: This.
27389 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
27390 * sysdeps/x86/bits/byteswap-16.h: This.
27391 * sysdeps/i386/Implies: Add x86.
27392 * sysdeps/x86_64/Implies: Likewise.
27394 2012-05-30 David S. Miller <davem@davemloft.net>
27396 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
27397 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
27398 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
27399 (FP_TRAPPING_EXCEPTIONS): Define.
27400 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
27401 (FP_TRAPPING_EXCEPTIONS): Define.
27402 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
27403 subnormals only when inexact has been signalled or underflow
27404 exceptions are enabled.
27405 (_FP_PACK_CANONICAL): Likewise.
27407 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27410 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
27411 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
27413 2012-05-30 Richard Henderson <rth@twiddle.net>
27415 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
27416 with #ifndef NOT_IN_libc.
27418 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
27419 marked to avoid plt entry.
27421 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27424 * Makeconfig (default-abi): New macro.
27425 (abi-includes): Likewise.
27426 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
27427 $(abi-$(default-abi)-lib-soname) for soname if defined.
27428 ($(common-objpfx)gnu/lib-names.stmp): Generate from
27430 * Makefile (installed-stubs): Likewise.
27431 * include/stubs-biarch.h: Removed.
27432 * scripts/lib-names.awk: Only handle one library at a time.
27433 * scripts/soversions.awk: Remove WORDSIZE support.
27434 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
27436 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
27438 (syscall-list-default-condition): Likewise.
27439 (syscall-list-default-condition): Likewise.
27440 (syscall-list-includes): Likewise.
27441 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
27442 syscall-list-* with abi-*. Handle undefined abi-variants.
27443 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
27444 * sysdeps/unix/sysv/linux/i386/Implies: New file.
27445 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
27446 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
27447 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
27448 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
27450 (syscall-list-32-options): Likewise.
27451 (syscall-list-32-condition): Likewise.
27452 (syscall-list-64-options): Likewise.
27453 (syscall-list-64-condition): Likewise.
27454 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
27456 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
27459 (abi-64-ld-soname): New macro.
27460 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
27461 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
27464 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
27465 * sysdeps/x86_64/x32/shlib-versions: Likewise.
27467 2012-05-30 Joseph Myers <joseph@codesourcery.com>
27469 * sysdeps/unix/sysv/linux/kernel-features.h
27470 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
27471 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
27472 include <kernel-features.h>.
27473 [!__NR_ftruncate64]: Remove conditional code.
27474 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27475 [__NR_ftruncate64]: Make code unconditional.
27476 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27477 * sysdeps/unix/sysv/linux/truncate64.c: Do not
27478 include <kernel-features.h>.
27479 [!__NR_ftruncate64]: Remove conditional code.
27480 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27481 [__NR_ftruncate64]: Make code unconditional.
27482 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
27484 include <kernel-features.h>.
27485 [!__NR_ftruncate64]: Remove conditional code.
27486 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27487 [__NR_ftruncate64]: Make code unconditional.
27488 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27489 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
27490 include <kernel-features.h>.
27491 [!__NR_ftruncate64]: Remove conditional code.
27492 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27493 [__NR_ftruncate64]: Make code unconditional.
27494 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27496 * configure.in (libc_cv_fpie): Weaken to a compile test using
27497 LIBC_TRY_CC_OPTION.
27498 * configure: Regenerated.
27500 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27502 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
27503 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
27504 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
27505 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
27507 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
27508 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
27509 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
27510 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
27511 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
27512 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
27515 2012-05-27 David S. Miller <davem@davemloft.net>
27517 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
27519 (__Q_simulate_exceptions): Return void. Change to simulate
27520 exceptions by writing into the %fsr.
27521 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
27522 (__Qp_handle_exceptions): Likewise.
27524 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
27525 __Qp_handle_exceptions.
27526 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
27527 __Qp_handle_exceptions.
27528 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
27529 as unused and give dummy FP_RND_NEAREST initializer.
27530 (FP_INHIBIT_RESULTS): Define.
27531 (___Q_simulate_exceptions): Update declaration.
27532 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
27534 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
27535 as unused and give dummy FP_RND_NEAREST initializer.
27536 (__Qp_handle_exceptions): Update declaration.
27537 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
27540 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
27542 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
27543 the temporary FPU control word.
27544 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
27545 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
27546 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
27547 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
27548 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
27549 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
27550 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
27551 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
27552 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
27553 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
27554 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
27556 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27558 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
27561 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
27563 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
27564 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
27565 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
27566 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
27568 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
27569 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
27572 2012-05-27 Ulrich Drepper <drepper@gmail.com>
27574 * po/h.po: Update from translation team.
27576 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
27578 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
27580 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
27581 handling of denormals.
27582 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
27583 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
27584 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
27585 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
27586 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
27587 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
27588 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
27591 2012-05-26 Marek Polacek <polacek@redhat.com>
27594 * math/libm-test.inc (fma_test): Don't always expect underflow
27597 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
27600 * elf/tst-execstack.c: Include stackinfo.h.
27601 (do_test): Adjust test case to ensure that pthread_getattr_np
27602 behaviour remains the same after marking stack executable.
27604 2012-05-25 Joseph Myers <joseph@codesourcery.com>
27606 * sysdeps/unix/sysv/linux/kernel-features.h
27607 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
27608 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
27610 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
27611 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
27612 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
27614 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
27615 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
27617 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
27619 * configure.in: Define the default includes to being none.
27620 * configure: Regenerated.
27622 2012-05-25 Roland McGrath <roland@hack.frob.com>
27624 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
27625 * sysdeps/x86_64/setjmp.S: Likewise.
27626 * sysdeps/i386/bsd-setjmp.S: Likewise.
27627 * sysdeps/i386/bsd-_setjmp.S: Likewise.
27628 * sysdeps/i386/setjmp.S: Likewise.
27629 * sysdeps/i386/__longjmp.S: Likewise.
27630 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
27631 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
27633 * include/stap-probe.h: New file.
27634 * configure.in: Handle --enable-systemtap.
27635 * configure: Regenerated.
27636 * config.h.in (USE_STAP_PROBE): New #undef.
27637 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
27638 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
27639 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
27641 2012-05-25 Joseph Myers <joseph@codesourcery.com>
27644 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
27645 to 2.4.0 where earlier.
27646 * sysdeps/unix/sysv/linux/configure: Regenerated.
27647 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
27648 <kernel-features.h>.
27649 [__ASSUME_32BITUIDS]: Make code unconditional.
27650 [!__ASSUME_32BITUIDS]: Remove conditional code.
27651 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
27652 <kernel-features.h>.
27653 [__ASSUME_32BITUIDS]: Make code unconditional.
27654 [!__ASSUME_32BITUIDS]: Remove conditional code.
27655 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
27656 [__ASSUME_32BITUIDS]: Make code unconditional.
27657 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
27658 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
27659 <kernel-features.h>.
27660 [__ASSUME_32BITUIDS]: Make code unconditional.
27661 [!__ASSUME_32BITUIDS]: Remove conditional code.
27662 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
27663 <kernel-features.h>.
27664 [__ASSUME_32BITUIDS]: Make code unconditional.
27665 [!__ASSUME_32BITUIDS]: Remove conditional code.
27666 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
27667 <kernel-features.h>.
27668 [__ASSUME_32BITUIDS]: Make code unconditional.
27669 [!__ASSUME_32BITUIDS]: Remove conditional code.
27670 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
27671 <kernel-features.h>.
27672 [__ASSUME_32BITUIDS]: Make code unconditional.
27673 [!__ASSUME_32BITUIDS]: Remove conditional code.
27674 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
27675 <kernel-features.h>.
27676 [__ASSUME_32BITUIDS]: Make code unconditional.
27677 [!__ASSUME_32BITUIDS]: Remove conditional code.
27678 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
27679 <kernel-features.h>.
27680 [__ASSUME_32BITUIDS]: Make code unconditional.
27681 [!__ASSUME_32BITUIDS]: Remove conditional code.
27682 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
27683 <kernel-features.h>.
27684 [__ASSUME_32BITUIDS]: Make code unconditional.
27685 [!__ASSUME_32BITUIDS]: Remove conditional code.
27686 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
27687 <kernel-features.h>.
27688 [__ASSUME_32BITUIDS]: Make code unconditional.
27689 [!__ASSUME_32BITUIDS]: Remove conditional code.
27690 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
27691 <kernel-features.h>.
27692 [__ASSUME_32BITUIDS]: Make code unconditional.
27693 [!__ASSUME_32BITUIDS]: Remove conditional code.
27694 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
27695 <kernel-features.h>.
27696 [__ASSUME_32BITUIDS]: Make code unconditional.
27697 [!__ASSUME_32BITUIDS]: Remove conditional code.
27698 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
27699 <kernel-features.h>.
27700 [__NR_setresgid] (__setresgid): Do not declare.
27701 [__ASSUME_32BITUIDS]: Make code unconditional.
27702 [!__ASSUME_32BITUIDS]: Remove conditional code.
27703 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
27704 <kernel-features.h>.
27705 [__NR_setresuid] (__setresuid): Do not declare.
27706 [__ASSUME_32BITUIDS]: Make code unconditional.
27707 [!__ASSUME_32BITUIDS]: Remove conditional code.
27708 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
27709 <kernel-features.h>.
27710 [__ASSUME_32BITUIDS]: Make code unconditional.
27711 [!__ASSUME_32BITUIDS]: Remove conditional code.
27712 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
27713 <kernel-features.h>.
27714 [__ASSUME_32BITUIDS]: Make code unconditional.
27715 [!__ASSUME_32BITUIDS]: Remove conditional code.
27716 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
27717 <kernel-features.h>.
27718 [__ASSUME_32BITUIDS]: Make code unconditional.
27719 [!__ASSUME_32BITUIDS]: Remove conditional code.
27720 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
27721 <kernel-features.h>.
27722 [__ASSUME_32BITUIDS]: Make code unconditional.
27723 [!__ASSUME_32BITUIDS]: Remove conditional code.
27724 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
27725 <kernel-features.h>.
27726 [__ASSUME_32BITUIDS]: Make code unconditional.
27727 [!__ASSUME_32BITUIDS]: Remove conditional code.
27728 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
27729 <kernel-features.h>.
27730 [__ASSUME_32BITUIDS]: Make code unconditional.
27731 [!__ASSUME_32BITUIDS]: Remove conditional code.
27732 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
27733 <kernel-features.h>.
27734 [__ASSUME_32BITUIDS]: Make code unconditional.
27735 [!__ASSUME_32BITUIDS]: Remove conditional code.
27736 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
27737 <kernel-features.h>.
27738 [__ASSUME_32BITUIDS]: Make code unconditional.
27739 [!__ASSUME_32BITUIDS]: Remove conditional code.
27740 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
27741 <kernel-features.h>.
27742 [__ASSUME_32BITUIDS]: Make code unconditional.
27743 [!__ASSUME_32BITUIDS]: Remove conditional code.
27744 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
27745 <kernel-features.h>.
27746 [__ASSUME_32BITUIDS]: Make code unconditional.
27747 [!__ASSUME_32BITUIDS]: Remove conditional code.
27748 * sysdeps/unix/sysv/linux/kernel-features.h
27749 (__ASSUME_SETRESUID_SYSCALL): Remove.
27750 (__ASSUME_SETRESGID_SYSCALL): Likewise.
27751 (__ASSUME_32BITUIDS): Likewise.
27752 (__ASSUME_LDT_WORKS): Likewise.
27753 (__ASSUME_O_DIRECTORY): Likewise.
27754 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
27755 architecture but not kernel version.
27756 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
27757 (__ASSUME_MMAP2_SYSCALL): Likewise.
27758 (__ASSUME_STAT64_SYSCALL): Likewise.
27759 (__ASSUME_IPC64): Likewise.
27760 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
27761 <kernel-features.h>.
27762 [__ASSUME_32BITUIDS]: Make code unconditional.
27763 [!__ASSUME_32BITUIDS]: Remove conditional code.
27764 * sysdeps/unix/sysv/linux/opendir.c: Do not include
27765 <kernel-features.h>.
27766 [__ASSUME_O_DIRECTORY]: Make code unconditional.
27767 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
27768 132096]: Remove conditional code.
27769 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
27770 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
27771 <kernel-features.h>.
27772 [__ASSUME_32BITUIDS]: Make code unconditional.
27773 [!__ASSUME_32BITUIDS]: Remove conditional code.
27774 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
27775 <kernel-features.h>.
27776 [__ASSUME_32BITUIDS]: Make code unconditional.
27777 [!__ASSUME_32BITUIDS]: Remove conditional code.
27778 * sysdeps/unix/sysv/linux/setegid.c: Do not include
27779 <kernel-features.h>.
27780 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
27782 (__setresgid): Do not declare.
27783 [__ASSUME_32BITUIDS]: Make code unconditional.
27784 [!__ASSUME_32BITUIDS]: Remove conditional code.
27785 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
27786 <kernel-features.h>.
27787 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
27789 (__setresuid): Do not declare.
27790 [__ASSUME_32BITUIDS]: Make code unconditional.
27791 [!__ASSUME_32BITUIDS]: Remove conditional code.
27792 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
27793 <kernel-features.h>.
27794 [__ASSUME_32BITUIDS]: Make code unconditional.
27795 [!__ASSUME_32BITUIDS]: Remove conditional code.
27796 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
27797 <kernel-features.h>.
27798 [__ASSUME_32BITUIDS]: Make code unconditional.
27799 [!__ASSUME_32BITUIDS]: Remove conditional code.
27801 2012-05-25 Richard Henderson <rth@twiddle.net>
27803 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
27804 dl_hwcap to ifunc resolver.
27805 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
27807 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
27808 dl_hwcap to ifunc resolver.
27809 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
27811 2012-05-24 Joseph Myers <joseph@codesourcery.com>
27814 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
27815 for |x| <= 2**-26, not 2**-57.
27816 * math/libm-test.inc (acos_test): Do not allow spurious underflow
27819 2012-05-24 Jeff Law <law@redhat.com>
27821 * stdio-common/Makefile (tests): Add bug25.
27822 * stdio-common/bug25.c: New test.
27824 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
27827 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
27828 multiple of MALLOC_ALIGNMENT in size.
27829 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
27831 2012-05-24 Joseph Myers <joseph@codesourcery.com>
27833 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
27835 (FILENAME_MAX): Use macro-int-constant.
27836 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
27837 (_IOFBF): Use macro-int-constant.
27838 (_IOLBF): Likewise.
27839 (_IONBF): Likewise.
27840 (SEEK_CUR): Likewise.
27841 (SEEK_END): Likewise.
27842 (SEEK_SET): Likewise.
27843 (TMP_MAX): Likewise.
27844 (EOF): Use macro-int-constant. Require < 0.
27845 (NULL): Use macro-constant. Require == 0.
27846 (stdin): Require type to be FILE *.
27847 (stdout): Likewise.
27848 (stderr): Likewise.
27849 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
27850 macro-int-constant.
27851 (EXIT_SUCCESS): Likewise.
27852 (NULL): Use macro-constant. Require == 0.
27853 (RAND_MAX): Use macro-int-constant.
27854 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
27855 [C99-based standards] (strtof): Require function.
27856 [C99-based standards] (strtold): Likewise.
27857 [C99-based standards] (strtoll): Likewise.
27858 [C99-based standards] (strtoull): Likewise.
27859 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
27860 [ISO || ISO99 || ISO11] (limits.h): Likewise.
27861 [ISO || ISO99 || ISO11] (math.h): Likewise.
27862 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
27863 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
27864 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27866 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
27869 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
27870 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
27871 * intl/dgettext.c (DCGETTEXT): Likewise.
27872 * intl/gettext.c (DCGETTEXT): Likewise.
27873 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
27874 * posix/regex_internal.h (gettext): Likewise.
27875 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
27876 Remove declaration.
27877 * include/argz.h (__argz_count_internal)
27878 (__argz_stringify_internal): Remove declaration.
27879 (__argz_count, __argz_stringify): Declare hidden proto.
27880 * intl/dcgettext.c: Remove use of INTDEF.
27881 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
27882 * string/argz-stringify.c: Likewise.
27883 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
27884 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
27885 Declare hidden proto.
27886 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
27887 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
27888 Declare hidden proto.
27889 * include/stdio.h (__asprintf_internal): Don't declare.
27890 (__asprintf): Don't define as macro. Declare hidden proto.
27891 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
27892 (__fsetlocking): Declare hidden proto.
27893 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
27894 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
27896 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
27897 (_IO_setlinebuf): Remove use of INTUSE.
27898 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
27899 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
27900 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
27901 Remove declaration.
27902 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
27903 (_IO_do_flush): Remove use of INTUSE.
27904 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
27905 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
27906 (_IO_adjust_column, _IO_least_wmarker)
27907 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
27908 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
27909 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
27910 (_IO_default_doallocate, _IO_wdefault_doallocate)
27911 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
27912 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
27913 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
27914 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
27915 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
27916 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
27917 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
27918 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
27919 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
27920 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
27921 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
27922 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
27923 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
27925 (_IO_flush_all_internal, _IO_adjust_column_internal)
27926 (_IO_default_uflow_internal, _IO_default_finish_internal)
27927 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
27928 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
27929 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
27930 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
27931 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
27932 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
27933 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
27934 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
27935 (_IO_file_close_internal, _IO_file_close_it_internal)
27936 (_IO_file_underflow_internal, _IO_file_overflow_internal)
27937 (_IO_file_init_internal, _IO_file_attach_internal)
27938 (_IO_file_fopen_internal, _IO_file_read_internal)
27939 (_IO_file_sync_internal, _IO_file_seek_internal)
27940 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
27941 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
27942 (_IO_str_underflow_internal, _IO_str_overflow_internal)
27943 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
27944 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
27945 (_IO_list_all_internal, _IO_link_in_internal)
27946 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
27947 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
27948 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
27949 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
27950 (_IO_do_write_internal, _IO_padn_internal)
27951 (_IO_getline_info_internal, _IO_getline_internal)
27952 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
27953 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
27954 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
27955 (_IO_vfscanf_internal, _IO_vfprintf_internal)
27956 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
27957 (_IO_init_internal, _IO_un_link_internal): Don't declare.
27958 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
27959 with libc_hidden_ver, remove use of INTUSE.
27960 * libio/genops.c: Likewise.
27961 * libio/freopen.c: Likewise.
27962 * libio/freopen64.c: Likewise.
27963 * libio/iofclose.c: Likewise.
27964 * libio/iofdopen.c: Likewise.
27965 * libio/iofflush.c: Likewise.
27966 * libio/iofflush_u.c: Likewise.
27967 * libio/iofgets.c: Likewise.
27968 * libio/iofgets_u.c: Likewise.
27969 * libio/iofopen.c: Likewise.
27970 * libio/iofopncook.c: Likewise.
27971 * libio/iofread.c: Likewise.
27972 * libio/iofread_u.c: Likewise.
27973 * libio/ioftell.c: Likewise.
27974 * libio/iofwrite.c: Likewise.
27975 * libio/iogetline.c: Likewise.
27976 * libio/iogets.c: Likewise.
27977 * libio/iogetwline.c: Likewise.
27978 * libio/iopadn.c: Likewise.
27979 * libio/iopopen.c: Likewise.
27980 * libio/ioseekoff.c: Likewise.
27981 * libio/ioseekpos.c: Likewise.
27982 * libio/iosetbuffer.c: Likewise.
27983 * libio/iosetvbuf.c: Likewise.
27984 * libio/ioungetc.c: Likewise.
27985 * libio/ioungetwc.c: Likewise.
27986 * libio/iovdprintf.c: Likewise.
27987 * libio/iovsprintf.c: Likewise.
27988 * libio/iovsscanf.c: Likewise.
27989 * libio/memstream.c: Likewise.
27990 * libio/obprintf.c: Likewise.
27991 * libio/oldfileops.c: Likewise.
27992 * libio/oldiofclose.c: Likewise.
27993 * libio/oldiofdopen.c: Likewise.
27994 * libio/oldiofopen.c: Likewise.
27995 * libio/oldiopopen.c: Likewise.
27996 * libio/oldstdfiles.c: Likewise.
27997 * libio/putc.c: Likewise.
27998 * libio/setbuf.c: Likewise.
27999 * libio/setlinebuf.c: Likewise.
28000 * libio/stdfiles.c: Likewise.
28001 * libio/strops.c: Likewise.
28002 * libio/vasprintf.c: Likewise.
28003 * libio/vscanf.c: Likewise.
28004 * libio/vsnprintf.c: Likewise.
28005 * libio/vswprintf.c: Likewise.
28006 * libio/wfiledoalloc.c: Likewise.
28007 * libio/wfileops.c: Likewise.
28008 * libio/wgenops.c: Likewise.
28009 * libio/wmemstream.c: Likewise.
28010 * libio/wstrops.c: Likewise.
28011 * libio/__fpurge.c: Likewise.
28012 * libio/__fsetlocking.c: Likewise.
28013 * assert/assert.c: Likewise.
28014 * debug/fgets_chk.c: Likewise.
28015 * debug/fgets_u_chk.c: Likewise.
28016 * debug/fread_chk.c: Likewise.
28017 * debug/fread_u_chk.c: Likewise.
28018 * debug/gets_chk.c: Likewise.
28019 * debug/obprintf_chk.c: Likewise.
28020 * debug/vasprintf_chk.c: Likewise.
28021 * debug/vdprintf_chk.c: Likewise.
28022 * debug/vsnprintf_chk.c: Likewise.
28023 * debug/vsprintf_chk.c: Likewise.
28024 * malloc/mtrace.c: Likewise.
28025 * misc/error.c: Likewise.
28026 * misc/syslog.c: Likewise.
28027 * stdio-common/asprintf.c: Likewise.
28028 * stdio-common/fxprintf.c: Likewise.
28029 * stdio-common/getw.c: Likewise.
28030 * stdio-common/isoc99_fscanf.c: Likewise.
28031 * stdio-common/isoc99_scanf.c: Likewise.
28032 * stdio-common/isoc99_vfscanf.c: Likewise.
28033 * stdio-common/isoc99_vscanf.c: Likewise.
28034 * stdio-common/isoc99_vsscanf.c: Likewise.
28035 * stdio-common/printf-prs.c: Likewise.
28036 * stdio-common/printf_fp.c: Likewise.
28037 * stdio-common/printf_fphex.c: Likewise.
28038 * stdio-common/printf_size.c: Likewise.
28039 * stdio-common/putw.c: Likewise.
28040 * stdio-common/scanf.c: Likewise.
28041 * stdio-common/sprintf.c: Likewise.
28042 * stdio-common/tmpfile.c: Likewise.
28043 * stdio-common/vfprintf.c: Likewise.
28044 * stdio-common/vfscanf.c: Likewise.
28045 * stdlib/strfmon_l.c: Likewise.
28046 * sunrpc/openchild.c: Likewise.
28047 * sunrpc/xdr_stdio.c: Likewise.
28048 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
28049 * sysdeps/mach/hurd/tmpfile.c: Likewise.
28051 2012-05-24 Roland McGrath <roland@hack.frob.com>
28053 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
28055 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
28056 in the third column, to generate for the shared library an IFUNC
28057 that uses _dl_vdso_vsym.
28058 * Makerules (COMPILE.c, compile-stdin.c): New variables.
28059 * Makeconfig (object-suffixes-noshared): New variable.
28061 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
28062 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
28063 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
28064 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
28067 * include/sys/time.h (__gettimeofday): Remove macro.
28068 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
28069 * time/gettimeofday.c (__gettimeofday): Remove #undef.
28071 (__gettimeofday): Add libc_hidden_def.
28072 (gettimeofday): Add libc_hidden_weak.
28073 * sysdeps/mach/gettimeofday.c: Likewise.
28074 * sysdeps/posix/gettimeofday.c: Likewise.
28075 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
28076 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
28077 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
28078 (__gettimeofday_internal): Remove strong_alias.
28079 (__gettimeofday): Add libc_hidden_def.
28080 (gettimeofday): Add libc_hidden_weak.
28081 * sysdeps/unix/syscalls.list (gettimeofday):
28082 Remove __gettimeofday_internal alias.
28084 2012-05-24 Daniel Jacobowitz <drow@false.org>
28085 H.J. Lu <hongjiu.lu@intel.com>
28088 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
28089 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
28090 (largebin_index_32_big): New.
28091 (largebin_index): Use it for 16-byte alignment.
28092 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
28093 correction with front_misalign.
28095 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
28097 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
28098 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
28100 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
28102 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
28104 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
28106 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
28108 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
28110 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
28112 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
28114 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
28116 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
28118 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
28120 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
28123 * scripts/data/c++-types-x32-linux-gnu.data: New file.
28124 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
28126 2012-05-24 Joseph Myers <joseph@codesourcery.com>
28130 * math/libm-test.inc (exp_test): Add test from bug 14036.
28131 (pow_test): Add test from bug 10846.
28133 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
28135 (special_function): Do not include flags in test name.
28136 (parse_args): Likewise.
28137 * sysdeps/i386/fpu/libm-test-ulps: Update.
28138 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28139 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
28140 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
28141 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28143 * math/gen-libm-test.pl (%beautify): Add entries for underflow
28145 * math/libm-test.inc ("Philosophy"): Update comment about
28147 (UNDERFLOW_EXCEPTION): New macro.
28148 (UNDERFLOW_EXCEPTION_OK): Likewise.
28149 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
28150 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
28151 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
28152 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
28153 (INVALID_EXCEPTION_OK): Update value.
28154 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
28155 (OVERFLOW_EXCEPTION_OK): Likewise.
28156 (IGNORE_ZERO_INF_SIGN): Likewise.
28157 (test_exceptions): Handle underflow exceptions.
28158 (acos_test): Update for underflow exception expectations.
28159 (cexp_test): Likewise.
28160 (clog_test): Likewise.
28161 (clog10_test): Likewise.
28162 (csqrt_test): Likewise.
28163 (ctan_test): Likewise.
28164 (ctanh_test): Likewise.
28165 (exp_test): Likewise.
28166 (exp10_test): Likewise.
28167 (exp2_test): Likewise.
28168 (expm1_test): Likewise.
28169 (fma_test): Likewise.
28170 (j0_test): Likewise.
28171 (jn_test): Likewise.
28172 (nexttoward_test): Likewise.
28173 (pow_test): Likewise.
28174 (scalbn_test): Likewise.
28175 (scalbln_test): Likewise.
28176 (tan_test): Likewise.
28177 (y1_test): Likewise.
28178 * sysdeps/i386/fpu/libm-test-ulps: Update.
28179 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28181 2012-05-23 David S. Miller <davem@davemloft.net>
28183 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
28184 (__libc_sigaction): Remove unused local variables.
28186 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28188 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
28190 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
28192 mktime: avoid signed integer overflow
28193 * time/mktime.c (__mktime_internal): Do not mishandle the case
28194 where diff == INT_MIN.
28196 mktime: simplify computation of average
28197 * time/mktime.c (ranged_convert): Use new time_t_avg function
28198 instead of rolling our own (probably-slower) code.
28200 mktime: do not assume signed right shift propagates sign bit
28201 * time/mktime.c (isdst_differ): New static function.
28202 (__mktime_internal): No need to normalize tm_isdst now.
28203 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
28206 mktime: merge another wrapv change from gnulib
28207 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
28208 from some compilers.
28210 mktime: remove incorrect attempt at unusual arithmetics
28211 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
28212 The code didn't really work on such machines anyway.
28213 (TYPE_MINIMUM): Assume two's complement.
28214 (twos_complement_arithmetic): Verify that long_int and time_t
28215 are two's complement (or unsigned, in the latter case).
28217 mktime: check signed shifts on long_int and time_t, too
28218 * time/mktime.c (SHR): Check that shifts work as desired
28219 on the types long_int and time_t too, as SHR is used on
28222 mktime: do not assume 'long' is wide enough
28223 * time/mktime.c (verify): Move decl up.
28224 (long_int): New type.
28225 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
28226 to remove assumption in the code that 'long' is wide enough to
28227 store year values. This assumption is not true on x32 and on
28228 some non-glibc platforms.
28230 mktime: merge wrapv change from gnulib
28231 * time/mktime.c (WRAPV): New macro.
28232 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
28233 (guess_time_tm, __mktime_internal): Do not assume that signed
28234 integer overflow wraps around; modern compilers generate code
28235 where this assumption is no longer valid.
28237 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28239 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
28240 Replace "jmp L(pseudo_end)" with "ret".
28241 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
28244 2012-05-23 Andreas Jaeger <aj@suse.de>
28246 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
28247 * sysdeps/unix/sysv/linux/poll.c: Remove file.
28249 2012-05-23 Andreas Jaeger <aj@suse.de>
28250 Maximilian Attems <max@stro.at>
28252 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
28255 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28257 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
28258 code so that pseudo_end is just ret and the stack pointer is
28259 correct also for static library in error case.
28261 2012-05-23 Joseph Myers <joseph@codesourcery.com>
28263 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
28264 move to syscalls.list.
28265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
28266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
28267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
28268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
28270 * manual/install.texi (Running make install): Do not mention Linux
28271 kernel version for which pt_chown is not needed.
28272 (Linux): Do not mention problems with nscd with 2.0 kernels.
28273 * INSTALL: Regenerated.
28275 2012-05-23 Andreas Jaeger <aj@suse.de>
28277 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
28278 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
28280 * sysdeps/unix/sysv/linux/s390/bits/mman.h
28281 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28282 * sysdeps/unix/sysv/linux/sh/bits/mman.h
28283 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28284 * sysdeps/unix/sysv/linux/i386/bits/mman.h
28285 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28286 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
28287 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28288 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
28289 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28290 * sysdeps/unix/sysv/linux/bits/in.h
28291 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
28293 2012-05-22 Roland McGrath <roland@hack.frob.com>
28295 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
28296 (PREPARE_VERSION): Just use assert instead, it will be elided
28297 under [NDEBUG] anyway.
28299 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28301 * sysdeps/unix/sysv/linux/Makefile: Include
28302 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
28303 (sysdep_routines): Remove sysctl.
28304 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
28305 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
28306 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
28307 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
28308 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
28310 2012-05-22 Andreas Jaeger <aj@suse.de>
28312 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
28313 that pseudo_end is just ret and the stack pointer is correct also
28314 for static library in error case.
28316 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
28319 * nss/nsswitch.c (defconfig_entries): New variable.
28320 (__nss_database_lookup): Don't leak defconfig entries.
28321 (nss_parse_service_list): Don't leak on error paths.
28322 (free_database_entries): New function.
28323 (free_defconfig): New function.
28324 (free_mem): Move common code to free_database_entries.
28326 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28328 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
28330 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
28332 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
28333 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
28334 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
28336 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
28337 (INTERNAL_SYSCALL_TYPES): Likewise.
28338 (LOAD_ARGS_TYPES_[1-6]): Likewise.
28339 (LOAD_REGS_TYPES_[1-6]): Likewise.
28340 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
28341 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
28343 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28345 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
28346 copysignl for GLIBC_2_0.
28347 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
28348 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
28349 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
28350 logbl for GLIBC_2_0.
28351 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
28352 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
28354 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28356 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
28357 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
28359 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
28362 * time/mktime.c: Update copyright years.
28364 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
28366 mktime: merge comment-quoting-style change from gnulib
28367 * time/mktime.c: Quote 'like this' in comments.
28368 The GNU coding standards suggest that we no longer quote `like this',
28369 as "`" and "'" are typically rendered asymmetrically nowadays.
28370 The typical gnulib style is to quote 'like this' when quoting
28371 code, and "like this" when quoting English.
28373 * time/mktime.c (compile-command): Add "-I.".
28375 mktime: merge mktime-internal.h change from gnulib
28376 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
28378 mktime: merge time_r change from gnulib
28379 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
28381 mktime: merge DEBUG change from gnulib
28382 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
28383 case system <time.h> has a #define.
28385 mktime: merge <sys/types.h> change from gnulib
28386 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
28387 since <time.t> is now guaranteed to define time_t.
28389 mktime: merge HAVE_CONFIG_H change from gnulib
28390 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
28392 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28394 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
28397 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
28399 (struct rusage): Use anonymous union to pad each field to
28402 2012-05-21 David S. Miller <davem@davemloft.net>
28404 * Makefules (o-iterator): Remove .s cases.
28405 (compile-command.s): Delete.
28406 (COMPILE.s): Delete.
28407 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
28409 2012-05-21 Joseph Myers <joseph@codesourcery.com>
28411 * configure.in (libc_cv_predef_stack_protector): Only consider
28412 "foobar" and "__stack_chk_fail" lines in libc_undefs.
28413 * configure: Regenerated.
28415 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28417 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
28418 New macro. Use R*LP on int and pointer.
28419 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
28420 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
28421 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
28422 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
28424 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
28425 [__WORDSIZE_TIME64_COMPAT32] instead of
28426 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
28427 (struct utmp): Likewise.
28428 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
28429 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
28431 (__WORDSIZE_TIME64_COMPAT32): This.
28432 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
28433 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
28434 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
28435 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
28436 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
28437 (__WORDSIZE_TIME64_COMPAT32): New macro.
28439 2012-05-21 Andreas Jaeger <aj@suse.de>
28441 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
28442 only if [SHARED]. Add prototype for __wcschr_ia32.
28444 2012-05-21 Roland McGrath <roland@hack.frob.com>
28446 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
28447 of %rbp unmolested in the jmp_buf while mangling the low bits.
28448 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
28449 unmolested high bits of %rbp while demangling the low bits.
28450 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
28452 2012-05-21 Andreas Jaeger <aj@suse.de>
28454 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
28455 * sunrpc/svc_simple.c: Use it for registerrpc.
28456 * sunrpc/xcrypt.c: Use it for passwd2des.
28458 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
28460 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28462 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
28463 Don't define if [__SYSCALL_WORDSIZE != 32].
28464 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
28467 2012-05-21 Bruno Haible <bruno@clisp.org>
28468 Andreas Jaeger <aj@suse.de>
28470 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
28471 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
28472 inptr and inend for must_buffer_ch.
28473 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
28474 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
28475 * stdio-common/Makefile (tests): Remove bug15.
28476 (bug15-ENV): Remove macro.
28477 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
28480 2012-05-19 Andreas Jaeger <aj@suse.de>
28481 Roland McGrath <roland@hack.frob.com>
28483 * manual/contrib.texi: Completely rewritten. It contains now an
28484 alphabetical list of contributors and their contributions.
28486 2012-05-21 Richard Henderson <rth@twiddle.net>
28488 * misc/getauxval.c (__getauxval): Use unsigned long int.
28489 * misc/sys/auxv.h: Include <sys/cdefs.h>.
28490 (getauxval): Use unsigned long int.
28492 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28494 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
28496 2012-05-21 Roland McGrath <roland@hack.frob.com>
28498 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
28499 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
28500 __alignof__ (long double).
28502 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28504 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28506 2012-05-20 Richard Henderson <rth@twiddle.net>
28508 * misc/getauxval.c: New file.
28509 * misc/sys/auxv.h: New file.
28510 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
28511 (routines): Add getauxval.
28512 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
28513 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
28514 * elf/dl-sysdep.c (_dl_auxv): Remove.
28515 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
28516 * elf/dl-support.c (_dl_auxv): New variable.
28517 (_dl_aux_init): Initialize it.
28518 * manual/startup.texi (Auxiliary Vector): New node.
28519 * sysdeps/generic/bits/hwcap.h: New file.
28520 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
28521 * sysdeps/powerpc/sysdep.h: ... here. Include it.
28522 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
28523 * sysdeps/sparc/sysdep.h: ... here. Include it.
28524 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
28525 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
28526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
28529 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
28530 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
28531 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
28532 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
28533 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
28534 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
28535 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
28537 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28539 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28541 2012-05-19 David S. Miller <davem@davemloft.net>
28543 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28545 2012-05-19 Joseph Myers <joseph@codesourcery.com>
28548 * math/s_ccosh.c: Include <float.h>
28549 (__ccosh): Avoid internal overflow calculating sinh and cosh
28550 values before multiplying by sin and cos values.
28551 * math/s_ccoshf.c: Likewise.
28552 * math/s_ccoshl.c: Likewise.
28553 * math/s_csin.c: Likewise.
28554 * math/s_csinf.c: Likewise.
28555 * math/s_csinl.c: Likewise.
28556 * math/s_csinh.c: Likewise.
28557 * math/s_csinhf.c: Likewise.
28558 * math/s_csinhl.c: Likewise.
28559 * math/libm-test.inc (ccos_test): Add more tests.
28560 (ccosh_test): Likewise.
28561 (csin_test): Likewise.
28562 (csinh_test): Likewise.
28563 * sysdeps/i386/fpu/libm-test-ulps: Update.
28564 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28566 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
28568 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
28569 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
28571 * sysdeps/x86_64/x32/_itoa.h: Add comment.
28573 2012-05-19 Joseph Myers <joseph@codesourcery.com>
28575 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
28576 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
28577 * sysdeps/powerpc/soft-fp/Versions: Likewise.
28578 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
28579 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
28580 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
28581 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
28582 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
28583 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
28584 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
28585 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
28586 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
28587 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
28588 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
28589 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
28590 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
28591 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
28592 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
28593 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
28594 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
28595 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
28596 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
28597 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
28598 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
28599 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
28600 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
28601 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
28602 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
28603 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
28604 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
28605 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
28607 2012-05-18 Andreas Jaeger <aj@suse.de>
28609 * csu/.gitignore: Delete.
28611 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28613 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
28614 (timex): Use __syscall_slong_t.
28616 2012-05-18 Andreas Jaeger <aj@suse.de>
28617 Carlos O'Donell <carlos_odonell@mentor.com>
28619 * manual/install.texi (Configuring and compiling): Update
28620 description about files modified in the source directory.
28621 * INSTALL: Regenerated.
28623 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28625 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
28626 value. Use "or" to set return value to -1.
28627 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
28628 negate return value.
28630 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28632 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
28633 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
28634 failure if the compiler has Graphite support disabled.
28635 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
28637 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
28638 (CFLAGS-memmove.c): Likewise.
28639 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
28642 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28644 * sysdeps/x86_64/x32/_itoa.h: New file.
28646 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
28647 getdents system call only if kernel and user dirents have the
28648 same d_ino and d_off.
28650 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
28651 LLONG_MAX != LONG_MAX.
28652 (_itoa_word): Use _ITOA_WORD_TYPE on value.
28653 (_fitoa_word): Likewise.
28655 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
28657 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
28658 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
28659 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
28661 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
28662 include <bits/wordsize.h>. Check __x86_64__ instead of
28664 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
28665 if __x86_64__ is defined. Use anonymous union on fpstate.
28667 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
28670 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
28672 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
28673 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
28674 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
28675 Refer to _rtld_local_ro instead of _rtld_global_ro.
28676 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
28678 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
28680 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
28682 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
28683 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
28684 of _rtld_global, and rtld_progname instead of _dl_argv[0].
28686 * sysdeps/powerpc/powerpc32/dl-machine.c
28687 (__elf_machine_runtime_setup) [PROF]: Don't reference
28690 2012-05-18 Andreas Jaeger <aj@suse.de>
28692 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
28693 function only available for GCCs before 3.4 since GCC 3.4
28694 introduced a builtin.
28696 (llrintf): Likewise.
28697 (llrint): Likewise.
28704 (nearbyint): Likewise.
28705 (nearbyintf): Likewise.
28709 (floorf): Likewise.
28711 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28713 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
28714 on both fields and cast pointer to __syscall_ulong_t.
28716 * bits/types.h (__fsword_t): New type.
28717 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
28718 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
28719 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28720 (__FSWORD_T_TYPE): Likewise.
28721 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28722 (__FSWORD_T_TYPE): Likewise.
28723 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28724 (__FSWORD_T_TYPE): Likewise.
28725 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
28726 (__FSWORD_T_TYPE): Likewise.
28727 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
28728 __SWORD_TYPE with __fsword_t.
28729 (statfs64): Likewise.
28731 2012-05-17 David S. Miller <davem@davemloft.net>
28733 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
28735 2012-05-17 Andreas Jaeger <aj@suse.de>
28737 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
28740 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28742 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
28744 2012-05-17 Andreas Jaeger <aj@suse.de>
28746 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
28749 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
28751 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
28753 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28755 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
28756 * sysdeps/x86_64/tst-mallocalign1.c: New file.
28758 2012-05-17 Andreas Jaeger <aj@suse.de>
28759 Carlos O'Donell <carlos_odonell@mentor.com>
28762 * sysdeps/x86_64/multiarch/init-arch.h
28763 (bit_YMM_Usable): Rename to...
28764 (bit_AVX_Usable): ... this.
28765 (bit_FMA4_Usable): New macro.
28766 (bit_XMM_state): New macro.
28767 (bit_YMM_state): New macro.
28768 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
28769 [__ASSEMBLER__] (index_AVX_Usable): ... this.
28770 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
28771 (CPUID_OSXSAVE): New macro.
28772 (CPUID_AVX): New macro.
28773 (CPUID_FMA4): New macro.
28774 (index_YMM_Usable): Rename to...
28775 (index_AVX_Usable): ... this.
28776 (HAS_AVX): Use HAS_ARCH_FEATURE.
28777 (HAS_FMA4): Likewise.
28778 (HAS_YMM_USABLE): Remove.
28779 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28780 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
28782 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
28783 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
28784 * sysdeps/x86_64/multiarch/Makefile: Likewise.
28785 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
28786 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
28788 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
28790 * math/libm-test.c: Support platforms without multiple rounding modes.
28791 * math/bug-nextafter.c: Support platforms without FP exceptions.
28792 * math/bug-nexttoward.c: Likewise.
28793 * math/test-fenv.c: Likewise.
28794 * math/test-misc.c: Likewise.
28795 * stdlib/bug-getcontext.c: Likewise.
28797 2012-05-17 Andreas Jaeger <aj@suse.de>
28799 * manual/examples/search.c (critter_cmp): Change signature to
28801 * manual/string.texi (Collation Functions): Likewise.
28803 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28805 * bits/types.h: Fold copyright years.
28806 * bits/typesizes.h: Likewise.
28807 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
28808 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
28809 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
28810 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
28811 * time/time.h: Likewise.
28813 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
28816 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
28817 in instead of returning them. Return void.
28818 (__libc_mallinfo): Accumulate over all arenas.
28819 (__malloc_stats): Adjust for change in int_mallinfo interface.
28821 2012-05-16 Roland McGrath <roland@hack.frob.com>
28824 * configure.in (NM): Add AC_CHECK_TOOL for it.
28825 (libc_extra_cflags): New substituted variable.
28826 Check for -fstack-protector being used implicitly.
28827 * configure: Regenerated.
28828 * config.make.in (config-extra-cflags): New variable,
28829 gets @libc_extra_cflags@.
28830 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
28833 * configure.in: Check for _FORTIFY_SOURCE being predefined.
28834 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
28835 * configure: Regenerated.
28836 * config.make.in (CPPUNDEFS): New substituted variable.
28837 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
28838 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
28839 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
28841 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28843 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
28844 (mq_attr): Use __syscall_slong_t.
28846 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28848 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
28849 Check __x86_64__ instead of __WORDSIZE.
28850 (_STAT_VER_LINUX): Likewise.
28851 (stat): Check __x86_64__ instead of __WORDSIZE. Use
28852 __syscall_ulong_t and __syscall_slong_t.
28853 (stat64): Likewise.
28855 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28857 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
28859 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28861 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
28863 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28865 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
28868 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
28869 include <bits/wordsize.h>. Check __x86_64__ instead of
28871 (greg_t): Use "__extension__ long long int" if __x86_64__ is
28873 (mcontext_t): Replace "unsigned long" with "unsigned long long".
28875 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
28876 include <bits/wordsize.h>. Check __x86_64__ instead of
28878 (user_regs_struct): Use "__extension__ unsigned long long"
28879 instead of "unsigned long" if __x86_64__ is defined.
28880 (user): Likewise. Pad after pointer field if __ILP32__ is
28883 2012-05-16 Joseph Myers <joseph@codesourcery.com>
28885 * configure.in (makeinfo): Require version 4.5 or later. Allow
28887 * configure: Regenerated.
28888 * manual/install.texi (texinfo): Increase version requirement to
28890 * INSTALL: Regenerated.
28892 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
28894 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28896 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
28898 * sysdeps/x86_64/x32/ffs.c: New file.
28900 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
28902 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
28903 defined. Use __syscall_ulong_t.
28904 (shminfo): Use __syscall_ulong_t.
28905 (shm_info): Likewise.
28907 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
28910 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
28912 (msgqnum_t): Use __syscall_ulong_t.
28913 (msglen_t): Likewise.
28914 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
28917 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
28918 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
28920 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
28922 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
28923 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
28925 * sysvipc/sys/msg.h (msgbuf): Replace long int with
28928 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
28929 include <bits/wordsize.h>. Check __x86_64__ instead of
28932 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
28933 "unsigned long long int" if __x86_64__ is defined.
28934 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
28936 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
28937 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
28938 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
28940 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
28942 (GET_PC): Cast to uintptr_t first.
28943 (GET_FRAME): Likewise.
28944 (GET_STACK): Likewise.
28946 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
28947 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
28948 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
28949 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
28950 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
28951 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
28952 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
28953 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
28954 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
28955 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
28956 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
28957 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
28958 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
28959 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
28960 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
28961 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
28962 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
28963 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
28964 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
28965 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
28966 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
28967 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
28968 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
28969 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
28970 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
28971 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
28972 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
28973 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
28974 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
28976 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
28978 * Makerules (+depfiles): Also collect depfiles from .oS in
28980 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
28981 .oS, $(libnldbl-routines)).
28983 * Makerules (native-compile-mkdep-flags): Define.
28984 * sunrpc/Makefile (extra-objs): Add $(addprefix
28985 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
28986 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
28987 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
28988 calling $(make-target-directory).
28990 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28992 * bits/types.h (__snseconds_t): Removed.
28993 * time/time.h (struct timespec): Replace __snseconds_t with
28995 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
28996 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
28998 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28999 (__SNSECONDS_T_TYPE): Likewise.
29000 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29001 (__SNSECONDS_T_TYPE): Likewise.
29002 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29003 (__SNSECONDS_T_TYPE): Likewise.
29005 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29007 * sysdeps/mach/hurd/bits/typesizes.h
29008 (__SYSCALL_SLONG_TYPE): New macro.
29009 (__SYSCALL_ULONG_TYPE): Likewise.
29011 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29013 * bits/types.h (__syscall_slong_t): New type.
29014 (__syscall_ulong_t): Likewise.
29016 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
29017 (__SYSCALL_ULONG_TYPE): Likewise.
29018 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29019 (__SYSCALL_SLONG_TYPE): Likewise.
29020 (__SYSCALL_ULONG_TYPE): Likewise.
29021 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29022 (__SYSCALL_SLONG_TYPE): Likewise.
29023 (__SYSCALL_ULONG_TYPE): Likewise.
29024 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29025 (__SYSCALL_SLONG_TYPE): Likewise.
29026 (__SYSCALL_ULONG_TYPE): Likewise.
29028 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29030 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
29031 Add sigaltstack-offsets.sym.
29032 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
29033 <sigaltstack-offsets.h>.
29034 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
29035 longjmp_msg pointer.
29036 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
29037 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
29039 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
29041 2012-05-15 Joseph Myers <joseph@codesourcery.com>
29043 * elf/stackguard-macros.h: Remove file.
29044 * sysdeps/generic/stackguard-macros.h: New file.
29045 * sysdeps/i386/stackguard-macros.h: Likewise.
29046 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
29047 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
29048 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
29049 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
29050 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
29051 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
29052 * sysdeps/x86_64/stackguard-macros.h: Likewise.
29053 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
29054 <elf/stackguard-macros.h>.
29057 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
29058 __aligned__ in attribute.
29059 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
29060 (gregset_t): Likewise.
29062 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29064 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
29065 * sysdeps/x86_64/64/Implies-after: Here. New file.
29066 * sysdeps/x86_64/x32/Implies-after: New file.
29068 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29070 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
29071 and access return value for _dl_profile_fixup. Use R10_LP to
29074 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29076 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
29078 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29080 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
29081 * sysdeps/x86_64/x32/sysdep.h: New file.
29083 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29085 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
29086 * sysdeps/x86_64/setjmp.S: Likewise.
29088 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29090 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
29091 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
29092 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
29093 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
29094 remove unused global constant.
29096 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
29098 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
29099 include of <not-cancel.h>.
29101 2012-05-15 Roland McGrath <roland@hack.frob.com>
29103 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
29105 2012-05-15 Jeff Law <law@redhat.com>
29106 Andreas Jaeger <aj@suse.de>
29109 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
29111 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
29112 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
29113 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
29114 code changing __hst_map_handle.map.
29116 2012-05-15 Roland McGrath <roland@hack.frob.com>
29118 * configure.in (sysnames): Look for Implies-before and Implies-after
29120 * configure: Regenerated.
29122 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29124 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
29125 8-byte data alignment with LP_SIZE alignment.
29127 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29129 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
29132 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29134 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
29136 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29138 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
29139 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
29140 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
29142 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
29144 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29146 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
29147 (stackinfo_sub_sp): Likewise.
29149 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29151 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
29154 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29156 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
29159 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29161 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
29164 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29166 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
29168 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29170 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
29171 into R11_LP and load __x86_64_shared_cache_size_half into
29174 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29176 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
29179 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29181 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
29183 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
29185 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
29187 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
29188 powerpc32/power7/fpu/s_logb.c via #include.
29189 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
29190 powerpc32/power7/fpu/s_logbf.c via #include.
29191 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
29192 powerpc32/power7/fpu/s_logbl.c via #include.
29194 2012-05-15 Joseph Myers <joseph@codesourcery.com>
29196 * README.libm: Remove file.
29198 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29200 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
29201 count for x32. Use R*_LP and omit operand-size suffix.
29203 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29205 * shlib-versions: Move x86_64-.*-linux.* entries to ...
29206 * sysdeps/x86_64/64/shlib-versions: Here. New file.
29207 * sysdeps/x86_64/x32/shlib-versions: New file.
29209 2012-05-14 Roland McGrath <roland@hack.frob.com>
29211 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
29212 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
29213 Use _dl_fatal_printf instead.
29215 2012-05-14 Joseph Myers <joseph@codesourcery.com>
29217 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
29218 set if not set by the user. Do not allow for being unset.
29219 * sysdeps/unix/sysv/linux/configure: Regenerated.
29221 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29223 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
29224 the `q' suffix from lea and replace .quad with ASM_ADDR.
29226 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29228 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
29229 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
29231 (PTR_DEMANGLE): Likewise.
29233 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29235 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
29237 (ASM_ADDR): Likewise.
29238 (RAX_LP): Likewise.
29239 (RBP_LP): Likewise.
29240 (RBX_LP): Likewise.
29241 (RCX_LP): Likewise.
29242 (RDI_LP): Likewise.
29243 (RSI_LP): Likewise.
29244 (RSP_LP): Likewise.
29247 (R10_LP): Likewise.
29248 (R10_LP): Likewise.
29249 (R11_LP): Likewise.
29250 (R12_LP): Likewise.
29251 (R13_LP): Likewise.
29252 (R14_LP): Likewise.
29253 (R15_LP): Likewise.
29255 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29257 * sysdeps/x86_64/x32/dl-machine.h: New file.
29259 2012-05-14 Andreas Jaeger <aj@suse.de>
29261 * manual/Makefile (subdir): Remove export of subdir.
29262 (all): Remove target.
29263 (.PHONY): Remove all from list.
29264 (mkinstalldirs): Remove.
29265 (.PHONY): Remove installdirs from list.
29266 ($(inst_infodir)/libc.info): Use make-target-directory.
29267 (installdirs): Remove.
29268 (subdir_%): Remove.
29269 (glibc-targets): Remove.
29272 ($(objpfx)stubs ../po/manual.pot): Remove.
29273 ($(objpfx)stamp%): Remove.
29274 (make-target-directory): Remove.
29275 (subdir_install): Remove.
29276 (routines): Remove.
29283 * manual/.gitignore: Remove, it's not needed anymore.
29284 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
29286 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
29288 (texis): Renamed to $(objpfx)texis.
29289 (texis-path): New, contains path to generated files.
29290 (chapters.%): Use texis-path for complete path, add extra argument
29292 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
29293 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
29294 (summary,texi, stamp-summary): Use complete path of
29295 files. Generate files in build dir.
29296 (dir-add.texi): Build in build dir.
29297 (libm-err.texi,stamp-libm-err): Likewise.
29298 (version.texi, stamp-version): Likewise.
29299 (.%c.texi): Likewise.
29300 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
29301 (mostlyclean): Remove target.
29302 (realclean): Remove target.
29303 (generated): Add new variable with contents from mostlyclean and
29304 realclean, remove entries duplicated in common-mostlyclean, add
29305 stamp-libm-err and stamp-version.
29306 (generated-dirs): Add libc directory.
29307 ($(inst_infodir)/libc.info): Install files from build dir.
29309 * manual/install.texi (Configuring and compiling): Adjust since
29310 the info files are not part of the tar ball anymore.
29312 2012-05-14 Andreas Jaeger <aj@suse.de>
29314 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
29317 2012-05-14 Joseph Myers <joseph@codesourcery.com>
29320 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
29321 to 2.2.0 where earlier.
29322 * sysdeps/unix/sysv/linux/configure: Regenerated.
29323 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
29324 Remove conditional code.
29325 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
29326 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
29327 Remove conditional code.
29328 [!__NR_lchown]: Likewise.
29329 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29330 [__NR_lchown]: Likewise.
29331 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
29332 comment referencing __ASSUME_LCHOWN_SYSCALL.
29333 * sysdeps/unix/sysv/linux/i386/sigaction.c
29334 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29335 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29336 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
29337 Remove conditional code.
29338 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
29339 (__protocol_available): Remove #if 0 code.
29340 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
29342 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
29343 * sysdeps/unix/sysv/linux/kernel-features.h
29344 (__ASSUME_GETCWD_SYSCALL): Don't define.
29345 (__ASSUME_REALTIME_SIGNALS): Likewise.
29346 (__ASSUME_PREAD_SYSCALL): Likewise.
29347 (__ASSUME_PWRITE_SYSCALL): Likewise.
29348 (__ASSUME_POLL_SYSCALL): Likewise.
29349 (__ASSUME_LCHOWN_SYSCALL): Likewise.
29350 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
29352 (__ASSUME_SIOCGIFNAME): Don't define.
29353 (__ASSUME_MSG_NOSIGNAL): Likewise.
29354 (__ASSUME_SENDFILE): Define unconditionally.
29355 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
29356 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
29358 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
29359 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
29360 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
29361 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29362 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
29363 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
29364 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29365 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
29366 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29367 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29368 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
29369 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29370 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29371 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
29372 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29373 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
29375 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29376 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
29378 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29379 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
29381 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29382 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
29384 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29385 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
29387 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29388 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29389 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
29390 Remove conditional code.
29391 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29392 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
29393 Remove conditional code.
29394 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29395 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
29396 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
29397 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
29398 Remove conditional code.
29399 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29400 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
29401 Remove conditional code.
29402 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29403 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
29404 Remove conditional code.
29405 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29406 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
29407 Remove conditional code.
29408 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29409 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
29410 Remove conditional code.
29411 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29412 * sysdeps/unix/sysv/linux/sh/pwrite64.c
29413 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29414 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29415 * sysdeps/unix/sysv/linux/sigaction.c
29416 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29417 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29418 * sysdeps/unix/sysv/linux/sigpending.c
29419 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29420 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29421 * sysdeps/unix/sysv/linux/sigprocmask.c
29422 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29423 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29424 * sysdeps/unix/sysv/linux/sigsuspend.c
29425 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29426 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29427 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
29428 (__libc_missing_rt_sigs): Remove.
29429 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
29430 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
29431 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
29432 Remove conditional code.
29433 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
29434 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
29436 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
29437 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
29438 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
29439 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
29441 2012-05-14 Andreas Jaeger <aj@suse.de>
29443 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
29444 it's not used in glibc.
29445 (__coshm1): Likewise.
29446 (__acosh1p): Likewise.
29449 * manual/string.texi (Copying and Concatenation): Add missing
29450 variable in concat example.
29451 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
29453 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29456 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
29457 __builtin_clzl with __builtin_clzll.
29459 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29462 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
29465 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29467 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
29468 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
29469 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
29470 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
29472 2012-05-14 Mike Frysinger <vapier@gentoo.org>
29474 * NEWS: Update ia64 info.
29476 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
29478 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
29481 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
29483 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
29484 * sysdeps/unix/syscalls.list (dup3): Likewise.
29485 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
29486 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
29488 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
29490 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
29491 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
29493 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
29495 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
29497 (TLS_IE): Use mov/add instead of movq/addq to load thread
29499 (TLS_GD_PREFIX): New.
29502 2012-05-11 David S. Miller <davem@davemloft.net>
29504 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
29505 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
29506 (_FPU_SETCW): Likewise.
29508 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29510 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
29511 is 32-byte aligned.
29513 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
29516 * iconvdata/gb18030.c: Update tables.
29517 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
29518 characters specially.
29519 (BODY for TO_LOOP): Add encoding of missing ranges.
29521 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
29524 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
29525 * sysdeps/mach/hurd/dup3.c: Likewise.
29526 * sysdeps/mach/hurd/readlinkat.c: Likewise.
29527 * sysdeps/powerpc/memmove.c:: Likewise.
29529 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29531 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
29532 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
29534 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29536 * elf/elf.h (R_X86_64_RELATIVE64): New.
29537 (R_X86_64_NUM): Updated.
29538 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
29539 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
29540 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
29541 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
29542 tst-quad1pie tst-quad2pie
29543 (modules-names): Add tst-quadmod1 tst-quadmod2.
29544 ($(objpfx)tst-quad1): New dependency.
29545 ($(objpfx)tst-quad2): Likewise.
29546 ($(objpfx)tst-quad1pie): Likewise.
29547 ($(objpfx)tst-quad2pie): Likewise.
29548 * sysdeps/x86_64/tst-quad1.c: New file.
29549 * sysdeps/x86_64/tst-quad1pie.c: New file.
29550 * sysdeps/x86_64/tst-quad2.c: Likewise.
29551 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
29552 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
29553 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
29554 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
29555 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
29557 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29559 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
29560 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
29561 * streams/stropts.h (t_scalar_t): Define type.
29563 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
29564 (_PATH_PRESERVE): Set to "/var/lib".
29565 (_PATH_RWHODIR): Set to "/var/spool/rwho".
29567 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
29570 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
29571 if __dir_mkfile succeeded.
29573 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
29574 checking for _hurd_dtablesize. Unlock it right after having
29575 finished _hurd_dtable allocation.
29577 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29579 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
29580 * sysdeps/mach/hurd/configure: Regenerated.
29581 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
29582 special-casing to...
29583 * sysdeps/gnu/configure.in: ... this new file.
29584 * sysdeps/unix/sysv/linux/configure: Regenerated.
29585 * sysdeps/gnu/configure: New generated file.
29587 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
29588 for Linux: use nsec instead of usec, as well as:
29589 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
29590 members of type struct timespec.
29591 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
29593 (struct stat64): Likewise.
29594 (_STATBUF_ST_NSEC): New macro.
29595 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
29597 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
29598 __strtoul_internal rather than strtoul.
29600 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29602 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
29605 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29607 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
29608 which preserves existing values.
29609 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
29611 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29613 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
29614 TIMEOUT values. Return EINVAL for NFDS values either negative or
29615 greater than FD_SETSIZE.
29617 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29619 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
29620 allocated, call __vm_protect to finish enabling the existing space, and
29621 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
29622 allocate the remainder.
29624 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29626 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
29627 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
29629 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29631 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
29632 sysdeps/mach/hurd/readlink.c.
29634 * posix/tst-sysconf.c (posix_options): Only use
29635 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
29636 _POSIX_SYNCHRONIZED_IO when they are defined
29637 * sysdeps/mach/hurd/bits/posix_opt.h:
29638 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
29639 (_XOPEN_REALTIME): Undefine macro.
29640 (_XOPEN_REALTIME_THREADS): Undefine macro.
29641 (_XOPEN_SHM): Undefine macro.
29642 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
29644 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
29646 (_POSIX_ASYNC_IO): Undefine macro.
29647 (_POSIX_PRIORITIZED_IO): Undefine macro.
29648 (_POSIX_SPIN_LOCKS): Define macro to -1.
29650 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
29651 SA_NODEFER, SA_RESETHAND.
29652 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
29653 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
29656 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29658 * elf/Makefile (pldd-modules): Define unconditionally.
29660 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29662 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
29664 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29666 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
29667 Return ENOENT when name is empty.
29668 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
29670 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29672 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
29674 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
29676 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29678 Fix mlock in all cases except non-readable pages.
29679 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
29680 instead of VM_PROT_ALL as parameter to __vm_wire function.
29682 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
29683 (__mkdir): When path is `/', just fail with EEXIST.
29684 * sysdeps/mach/hurd/mkdirat.c: Likewise.
29686 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29688 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
29689 <sys/uio.h> (for writev).
29690 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
29691 and <sys/param.h> (for MIN).
29693 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29695 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
29696 REQUESTED_TIME. Properly set the remaining time and return EINTR
29699 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29701 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
29702 Depend on against $(link-rpcuserlibs).
29704 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29706 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
29707 (__libc_stack_end): Do not use attribute_relro.
29708 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
29709 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
29710 to libthread-provided value.
29711 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
29714 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29717 * bits/libc-lock.h (__libc_once_get): New macro.
29718 * sysdeps/mach/bits/libc-lock.h: Likewise.
29719 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
29720 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
29721 instead of using implementation details.
29723 * libio/fileops.c: Unconditionally include <kernel-features.h>.
29724 * libio/freopen.c: Likewise.
29725 * libio/freopen64.c: Likewise.
29726 * misc/syslog.c: Likewise.
29727 * nscd/connections.c: Likewise.
29728 * nscd/netgroupcache.c: Likewise.
29729 * sysdeps/posix/getcwd.c: Likewise.
29731 2012-05-10 Roland McGrath <roland@hack.frob.com>
29733 * math/w_ilogbf.c: Add #include <limits.h>.
29735 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29737 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
29738 path instead of returning without unlocking.
29740 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
29741 immediate-write ioctls.
29742 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
29744 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29746 * sysdeps/mach/hurd/i386/init-first.c (init): Use
29747 __builtin_frame_address instead of making assumptions about the
29748 location of the return address relative to DATA. Force early load of
29749 the return address.
29750 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
29751 __builtin_frame_address.
29754 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
29755 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
29756 implement dup3 and do some further code clean-ups.
29757 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
29758 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
29760 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29762 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
29764 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
29765 HURD_CRITICAL_END around holding _hurd_dtable_lock.
29766 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
29767 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
29768 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
29771 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
29772 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
29773 when handler == SIG_ERR, not when handler != SIG_ERR.
29775 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29777 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
29778 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
29781 accept4 for GNU Hurd.
29782 * include/sys/socket.h (__libc_accept4): New prototype.
29783 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
29784 to implement __libc_accept4.
29785 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
29787 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
29789 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
29790 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
29791 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
29792 signal-defines.sym.
29794 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29796 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
29798 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29800 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
29801 assertion on O_CLOEXEC flag.
29802 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
29803 * hurd/intern-fd.c: Likewise.
29804 * hurd/port2fd.c: Likewise.
29806 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29809 * bits/in.h (IPV6_PKTINFO): Define new macro.
29810 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
29812 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29817 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
29818 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
29819 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
29820 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
29821 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29822 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
29823 * math/libm-test.inc (logb_test) : Additional logb tests.
29825 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
29826 Andreas Jaeger <aj@suse.de>
29828 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
29829 * configure: Regenerated.
29830 * config.h.in (LINK_OBSOLETE_RPC): New macro.
29831 * config.make.in (link-obsolete-rpc): New substituted variable.
29832 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
29833 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
29834 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
29835 (shared-only-routines): Don't set it under [link-obsolete-rpc],
29836 so that libc.a contains the symbols.
29837 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
29838 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
29839 * sunrpc/auth_none.c: Likewise.
29840 * sunrpc/auth_unix.c: Likewise.
29841 * sunrpc/authdes_prot.c: Likewise.
29842 * sunrpc/authuxprot.c: Likewise.
29843 * sunrpc/clnt_gen.c: Likewise.
29844 * sunrpc/clnt_perr.c: Likewise.
29845 * sunrpc/clnt_raw.c: Likewise.
29846 * sunrpc/clnt_simp.c: Likewise.
29847 * sunrpc/clnt_tcp.c: Likewise.
29848 * sunrpc/clnt_udp.c: Likewise.
29849 * sunrpc/clnt_unix.c: Likewise.
29850 * sunrpc/des_crypt.c: Likewise.
29851 * sunrpc/des_soft.c: Likewise.
29852 * sunrpc/get_myaddr.c: Likewise.
29853 * sunrpc/key_call.c: Likewise.
29854 * sunrpc/key_prot.c: Likewise.
29855 * sunrpc/netname.c: Likewise.
29856 * sunrpc/pm_getmaps.c: Likewise.
29857 * sunrpc/pm_getport.c: Likewise.
29858 * sunrpc/pmap_clnt.c: Likewise.
29859 * sunrpc/pmap_prot.c: Likewise.
29860 * sunrpc/pmap_prot2.c: Likewise.
29861 * sunrpc/pmap_rmt.c: Likewise.
29862 * sunrpc/publickey.c: Likewise.
29863 * sunrpc/rpc_cmsg.c: Likewise.
29864 * sunrpc/rpc_common.c: Likewise.
29865 * sunrpc/rpc_dtable.c: Likewise.
29866 * sunrpc/rpc_prot.c: Likewise.
29867 * sunrpc/rpc_thread.c: Likewise.
29868 * sunrpc/rtime.c: Likewise.
29869 * sunrpc/svc.c: Likewise.
29870 * sunrpc/svc_auth.c: Likewise.
29871 * sunrpc/svc_raw.c: Likewise.
29872 * sunrpc/svc_run.c: Likewise.
29873 * sunrpc/svc_tcp.c: Likewise.
29874 * sunrpc/svc_udp.c: Likewise.
29875 * sunrpc/svc_unix.c: Likewise.
29876 * sunrpc/svcauth_des.c: Likewise.
29877 * sunrpc/xcrypt.c: Likewise.
29878 * sunrpc/xdr.c: Likewise.
29879 * sunrpc/xdr_array.c: Likewise.
29880 * sunrpc/xdr_float.c: Likewise.
29881 * sunrpc/xdr_intXX_t.c: Likewise.
29882 * sunrpc/xdr_mem.c: Likewise.
29883 * sunrpc/xdr_rec.c: Likewise.
29884 * sunrpc/xdr_ref.c: Likewise.
29885 * sunrpc/xdr_sizeof.c: Likewise.
29886 * sunrpc/xdr_stdio.c: Likewise.
29888 2012-05-10 Roland McGrath <roland@hack.frob.com>
29890 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
29891 change. Update copyright years.
29893 2012-05-10 Joseph Myers <joseph@codesourcery.com>
29895 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
29897 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
29898 Joseph Myers <joseph@codesourcery.com>
29899 Paul Pluzhnikov <ppluzhnikov@google.com>
29902 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
29904 [cross-compiling] (extra-libs): Likewise.
29905 [cross-compiling] (extra-libs-others): Likewise.
29906 [cross-compiling] (librpcsvc-routines): Likewise.
29907 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
29908 [cross-compiling] (omit-deps): Likewise.
29909 (sunrpc-CPPFLAGS): New variable.
29910 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
29911 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
29912 (cross-rpcgen-objs): New variable.
29913 (extra-objs): Append $(cross-rpcgen-objs).
29914 ($(cross-rpcgen-objs)): New rule.
29915 ($(objpfx)cross-rpcgen): Likewise.
29916 (rpcgen-cmd): Define to use $(built-program-file). Expand
29918 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
29919 ($(objpfx)x%.stmp): Likewise.
29920 * sunrpc/proto.h [IS_IN_build] (_): Define.
29921 [IS_IN_build] (_libc_intl_domainname): Likewise.
29923 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29925 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
29926 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
29927 and R_X86_64_TPOFF64.
29929 2012-05-10 Joseph Myers <joseph@codesourcery.com>
29931 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
29932 sysdeps/unix/sysv/syscalls.list.
29935 * sysdeps/unix/sysv/syscalls.list: Remove file.
29937 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
29940 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
29941 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
29942 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
29943 (__LC_IDENTIFICATION): Make these macros useful in #if
29944 expressions, as required by C99.
29946 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
29948 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
29949 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
29952 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
29954 * stdlib/longlong.h: Updated from GCC.
29956 2012-05-09 Andreas Jaeger <aj@suse.de>
29958 * nscd/nscd.c (run_modes): Make named enum, reorder so that
29959 default is first entry.
29960 (run_mode): Set type.
29961 (main): Remove informal message about syslog.
29962 (options): Fix typo.
29965 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
29968 (llrintf): Likewise.
29969 (llrint): Likewise.
29972 (nearbyint): Likewise.
29973 (nearbyintf): Likewise.
29975 2012-05-09 Andreas Jaeger <aj@suse.de>
29976 Pedro Alves <palves@redhat.com>
29978 * nscd/nscd.c (run_mode): Use enum.
29979 (main): Cleanup coding style issue.
29981 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
29982 Andreas Jaeger <aj@suse.de>
29984 * nscd/nscd.c (go_background): Replaced with...
29985 (run_mode): ... this.
29986 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
29987 (options): Add -F --foreground.
29988 (main): Implement it.
29989 (parse_opt): Parse it.
29991 2012-05-09 Andreas Jaeger <aj@suse.de>
29994 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
29995 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
29996 -Wconversion warning.
29997 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
30000 2012-05-09 Joseph Myers <joseph@codesourcery.com>
30002 * conform/data/locale.h-data (NULL): Use macro-constant. Require
30004 (LC_ALL): Use macro-int-constant.
30005 (LC_COLLATE): Likewise.
30006 (LC_CTYPE): Likewise.
30007 (LC_MESSAGES): Likewise.
30008 (LC_MONETARY): Likewise.
30009 (LC_NUMERIC): Likewise.
30010 (LC_TIME): Likewise.
30011 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
30012 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
30013 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30014 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
30016 [C99-based standards] (float_t): Expect type.
30017 [C99-based standards] (double_t): Expect type.
30018 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
30020 [C99-based standards] (HUGE_VALL): Likewise.
30021 [C99-based standards] (INFINITY): Likewise.
30022 [C99-based standards] (NAN): Likewise.
30023 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
30024 [C99-based standards] (FP_NAN): Likewise.
30025 [C99-based standards] (FP_NORMAL): Likewise.
30026 [C99-based standards] (FP_SUBNORMAL): Likewise.
30027 [C99-based standards] (FP_ZERO): Likewise.
30028 [C99-based standards] (FP_FAST_FMA): Use
30029 optional-macro-int-constant. Specify type. Require == 1.
30030 [C99-based standards] (FP_FAST_FMAF): Likewise.
30031 [C99-based standards] (FP_FAST_FMAL): Likewise.
30032 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
30033 [C99-based standards] (FP_ILOGBNAN): Likewise.
30034 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
30036 [C99-based standards] (MATH_ERREXCEPT): Likewise.
30037 [C99-based standards] (math_errhandling): Specify type.
30038 [ISO99 || ISO11] (signgam): Do not allow.
30039 [non-C99-based standards] (copysignf): Do not allow.
30040 [non-C99-based standards] (exp2f): Likewise.
30041 [non-C99-based standards] (log2f): Likewise.
30042 [non-C99-based standards] (modff): Allow.
30043 [non-C99-based standards] (erff): Do not allow.
30044 [non-C99-based standards] (erfcf): Likewise.
30045 [non-C99-based standards] (gammaf): Likewise.
30046 [non-C99-based standards] (hypotf): Likewise.
30047 [non-C99-based standards] (j0f): Likewise.
30048 [non-C99-based standards] (j1f): Likewise.
30049 [non-C99-based standards] (jnf): Likewise.
30050 [non-C99-based standards] (lgammaf): Likewise.
30051 [non-C99-based standards] (tgammaf): Likewise.
30052 [non-C99-based standards] (y0f): Likewise.
30053 [non-C99-based standards] (y1f): Likewise.
30054 [non-C99-based standards] (ynf): Likewise.
30055 [non-C99-based standards] (isnanf): Likewise.
30056 [non-C99-based standards] (acoshf): Likewise.
30057 [non-C99-based standards] (asinhf): Likewise.
30058 [non-C99-based standards] (atanhf): Likewise.
30059 [non-C99-based standards] (cbrtf): Likewise.
30060 [non-C99-based standards] (expm1f): Likewise.
30061 [non-C99-based standards] (ilogbf): Likewise.
30062 [non-C99-based standards] (log1pf): Likewise.
30063 [non-C99-based standards] (logbf): Likewise.
30064 [non-C99-based standards] (nextafterf): Likewise.
30065 [non-C99-based standards] (remainderf): Likewise.
30066 [non-C99-based standards] (rintf): Likewise.
30067 [non-C99-based standards] (scalbf): Likewise.
30068 [non-C99-based standards] (copysignl): Likewise.
30069 [non-C99-based standards] (exp2l): Likewise.
30070 [non-C99-based standards] (log2l): Likewise.
30071 [non-C99-based standards] (modfl): Allow.
30072 [non-C99-based standards] (erfl): Do not allow.
30073 [non-C99-based standards] (erfcl): Likewise.
30074 [non-C99-based standards] (gammal): Likewise.
30075 [non-C99-based standards] (hypotl): Likewise.
30076 [non-C99-based standards] (j0l): Likewise.
30077 [non-C99-based standards] (j1l): Likewise.
30078 [non-C99-based standards] (jnl): Likewise.
30079 [non-C99-based standards] (lgammal): Likewise.
30080 [non-C99-based standards] (tgammal): Likewise.
30081 [non-C99-based standards] (y0l): Likewise.
30082 [non-C99-based standards] (y1l): Likewise.
30083 [non-C99-based standards] (ynl): Likewise.
30084 [non-C99-based standards] (isnanl): Likewise.
30085 [non-C99-based standards] (acoshl): Likewise.
30086 [non-C99-based standards] (asinhl): Likewise.
30087 [non-C99-based standards] (atanhl): Likewise.
30088 [non-C99-based standards] (cbrtl): Likewise.
30089 [non-C99-based standards] (expm1l): Likewise.
30090 [non-C99-based standards] (ilogbl): Likewise.
30091 [non-C99-based standards] (log1pl): Likewise.
30092 [non-C99-based standards] (logbl): Likewise.
30093 [non-C99-based standards] (nextafterl): Likewise.
30094 [non-C99-based standards] (remainderl): Likewise.
30095 [non-C99-based standards] (rintl): Likewise.
30096 [non-C99-based standards] (scalbl): Likewise.
30097 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30098 [non-C99-based standards] (FP_*): Do not allow.
30099 [C99-based standards] (FP_*): Change to
30100 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
30101 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30103 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
30104 (SIG_ERR): Likewise.
30105 [X/Open-based standards] (SIG_HOLD): Likewise.
30106 (SIG_IGN): Likewise.
30107 (SIGABRT): Use macro-int-constant. Specify type. Require
30109 (SIGFPE): Likewise.
30110 (SIGILL): Likewise.
30111 (SIGINT): Likewise.
30112 (SIGSEGV): Likewise.
30113 (SIGTER): Likewise.
30114 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
30115 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
30116 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
30117 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
30118 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
30119 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
30120 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
30121 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
30122 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
30123 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
30124 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
30125 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
30126 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
30127 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
30128 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
30129 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
30130 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
30131 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
30132 [X/Open-based standards] (SIGTRAP): Likewise.
30133 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
30134 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
30135 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
30136 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
30137 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30140 2012-05-08 Ian Wienand <ianw@vmware.com>
30143 * time/tzset.c (__tzset_parse_tz): Update default rules for
30144 daylight time changes in the Energy Policy Act of 2005.
30146 2012-05-09 Andreas Jaeger <aj@suse.de>
30149 * elf/ldconfig.c (parse_conf): Change string to make clear that
30150 ldconfig only issued a warning if ld.so.conf does not exist.
30152 2012-05-08 David S. Miller <davem@davemloft.net>
30154 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
30155 movxtod instead of popping the value on the stack.
30157 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30159 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
30161 * config.h.in: Add HAVE_ARM_PCS_VFP.
30163 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
30166 * include/features.h: Warn if user requests __FORTIFY_SOURCE
30167 checking but the checks are disabled for any reason.
30169 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
30171 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
30172 and ELF64_R_TYPE with ELFW(R_TYPE).
30174 2012-05-08 Joseph Myers <joseph@codesourcery.com>
30176 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
30177 (ulimit): Likewise.
30179 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
30180 (settimeofday): Likewise.
30182 2012-05-08 Mike Frysinger <vapier@gentoo.org>
30184 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
30185 a struct th_u2 inside the union, and move tu_block/tu_code into
30186 a new th_u3 union of tu_block/tu_code inside of that. Move
30187 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
30188 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
30189 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
30190 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
30191 (th_stuff): Change to th_u1.tu_stuff.
30193 (th_msg): Change to th_u1.th_u2.tu_data.
30195 2012-05-07 David S. Miller <davem@davemloft.net>
30197 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30200 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
30201 (SETUP_PIC_REG): Use it.
30202 (SETUP_PIC_REG_LEAF): Use it.
30204 2012-05-07 Joseph Myers <joseph@codesourcery.com>
30208 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30210 (EXPL_FINITE): Likewise.
30211 (FLDLOG): Likewise.
30212 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
30213 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
30215 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30217 (EXPL_FINITE): Likewise.
30218 (FLDLOG): Likewise.
30219 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
30220 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
30222 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
30223 test of -max_value argument for long double.
30224 * sysdeps/i386/fpu/libm-test-ulps: Update.
30225 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30227 2012-05-06 David S. Miller <davem@davemloft.net>
30229 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
30230 quad soft-float symbols whose references which are compiler
30232 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
30234 2012-05-06 Joseph Myers <joseph@codesourcery.com>
30238 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30240 (EXPL_FINITE): Likewise.
30241 (FLDLOG): Likewise.
30244 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
30245 Adjust comments for base varying.
30246 (__expl_finite): Change alias to EXPL_FINITE.
30247 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
30249 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
30250 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
30251 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
30252 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
30253 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30255 (EXPL_FINITE): Likewise.
30256 (FLDLOG): Likewise.
30259 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
30260 Adjust comments for base varying.
30261 (__expl_finite): Change alias to EXPL_FINITE.
30262 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
30264 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30267 * math/libm-test.inc (check_float_internal): Correct ulp
30268 calculation for subnormal expected results.
30270 2012-05-06 Andreas Jaeger <aj@suse.de>
30272 * Makeconfig (+math-flags): New, set to -frounding-math.
30273 (+cflags): Add +math-flags so that all of glibc gets compiled with
30276 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
30278 2012-05-05 Joseph Myers <joseph@codesourcery.com>
30280 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
30286 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
30287 (__ieee754_expl): Allow for and saturate large arguments.
30288 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
30289 (u_threshold): Likewise.
30290 (__exp): Call __ieee754_exp before checking for overflow and
30292 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
30293 (u_threshold): Likewise.
30294 (__expf): Call __ieee754_expf before checking for overflow and
30296 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
30297 (u_threshold): Likewise.
30298 (__expl): Call __ieee754_expl before checking for overflow and
30300 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
30301 (__ieee754_expl): Allow for and saturate large arguments.
30302 * math/libm-test.inc (exp_test): Add another test. Do not allow
30303 missing overflow exception on overflow.
30304 (expm1_test): Do not allow missing overflow exception on overflow.
30306 * sysdeps/i386/fpu/e_expl.c: Move to ...
30307 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
30308 rather than using inline asm.
30309 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
30310 * sysdeps/x86_64/fpu/e_expl.S: Copy from
30311 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
30313 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
30316 (signal): Likewise.
30320 2012-05-04 Joseph Myers <joseph@codesourcery.com>
30322 * sysdeps/unix/syscalls.list (adjtime): Add entry from
30323 sysdeps/unix/common/syscalls.list.
30324 (fchmod): Likewise.
30325 (fchown): Likewise.
30326 (ftruncate): Likewise.
30327 (getrusage): Likewise.
30328 (gettimeofday): Likewise.
30329 (setpgid): Likewise.
30330 (setregid): Likewise.
30331 (setreuid): Likewise.
30332 (sigaction): Likewise.
30333 (truncate): Likewise.
30334 (vhangup): Likewise.
30335 * sysdeps/unix/common/syscalls.list: Remove file.
30336 * sysdeps/unix/bsd/Implies: Don't include unix/common.
30337 * sysdeps/unix/sysv/linux/Implies: Likewise.
30339 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
30341 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
30342 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
30343 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
30345 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
30347 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
30349 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
30350 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
30352 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
30353 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
30355 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
30356 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
30358 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
30359 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
30361 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
30362 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
30364 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
30365 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
30367 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
30369 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
30371 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
30373 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
30375 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
30376 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
30378 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
30380 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
30382 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
30384 2012-05-04 Joseph Myers <joseph@codesourcery.com>
30386 * sysdeps/unix/common/bits/dirent.h: Remove file.
30387 * sysdeps/unix/common/bits/fcntl.h: Likewise.
30389 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
30390 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
30391 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
30392 * sysdeps/unix/bsd/isatty.c: Likewise.
30393 * sysdeps/unix/bsd/tcdrain.c: Likewise.
30394 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
30395 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
30397 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30400 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
30401 long double comparison inaccuracies.
30402 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
30403 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30405 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
30407 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
30408 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
30410 2012-05-04 Joseph Myers <joseph@codesourcery.com>
30413 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
30414 nonzero digits before rounding a hex value.
30415 * stdlib/tst-strtod.c (tests): Add another test.
30417 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30419 * sysdeps/s390/fpu/libm-test-ulps: Update.
30421 2012-05-03 Andreas Jaeger <aj@suse.de>
30423 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
30424 does not get optimized out.
30425 (malloc_opt_barrier): New.
30427 2012-05-03 Andreas Jaeger <aj@suse.de>
30428 Roland McGrath <roland@hack.frob.com>
30430 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
30431 intermediate file deletion.
30432 (generated): Add .symlist files.
30434 2012-05-03 Joseph Myers <joseph@codesourcery.com>
30437 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
30438 Redirect under this condition.
30439 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
30440 [__USE_GNU] (__dprintf_chk): Not under this condition.
30441 [__USE_GNU] (__vdprintf_chk): Likewise.
30442 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
30443 under this condition.
30444 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
30445 [__USE_XOPEN2K8] (dprintf): Define under this condition.
30446 [__USE_XOPEN2K8] (vdprintf): Likewise.
30447 [__USE_GNU] (__dprintf_chk): Not under this condition.
30448 [__USE_GNU] (__vdprintf_chk): Likewise.
30449 [__USE_GNU] (dprintf): Likewise.
30450 [__USE_GNU] (vdprintf): Likewise.
30452 2012-05-03 Roland McGrath <roland@hack.frob.com>
30454 * elf/Makefile (common-generated): Set this instead of generated for
30455 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
30456 $(all-built-dso)-derived lists.
30458 2012-05-03 Andreas Jaeger <aj@suse.de>
30460 * sysdeps/i386/fpu/libm-test-ulps: Update.
30463 * FAQ.in: Likewise.
30464 * scripts/gen-FAQ.pl: Likewise.
30465 * manual/install.texi (Installation): Point to online location of
30467 * Makefile (files-for-dist): Remove FAQ.
30470 2012-05-02 Allan McRae <allan@archlinux.org>
30472 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
30473 (LDFLAGS-reldepmod5.so): Likewise.
30474 (LDFLAGS-reldep6mod1.so): Likewise.
30475 (LDFLAGS-reldep6mod4.so): Likewise.
30476 (LDFLAGS-reldep8mod3.so): Likewise.
30477 (LDFLAGS-unload4mod1.so): Likewise.
30478 (LDFLAGS-unload4mod2.so): Likewise.
30479 (LDFLAGS-tst-initorder): Likewise.
30480 (LDFLAGS-tst-initordera2.so): Likewise.
30481 (LDFLAGS-tst-initordera3.so): Likewise.
30482 (LDFLAGS-tst-initordera4.so): Likewise.
30483 (LDFLAGS-tst-initorderb2.so): Likewise.
30484 (LDFLAGS-noload): Likewise.
30485 (LDFLAGS-next): Likewise.
30486 (LDFLAGS-order2mod1.so): Likewise.
30487 (LDFLAGS-order2mod2.so): Likewise.
30488 (LDFLAGS-tst-initorder2): Likewise.
30489 (LDFLAGS-tst-initorder2a.so): Likewise.
30490 (LDFLAGS-tst-initorder2b.so): Likewise.
30491 (LDFLAGS-tst-initorder2c.so): Likewise.
30492 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
30494 2012-05-02 David S. Miller <davem@davemloft.net>
30496 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30498 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
30501 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
30503 2012-05-02 Andreas Jaeger <aj@suse.de>
30505 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
30506 since we manipulate rounding mode.
30507 (CPPFLAGS-test-idouble.c): Likewise.
30508 (CPPFLAGS-test-ifloat.c): Likewise.
30509 (CFLAGS-test-ldouble.c): Likewise.
30510 (CFLAGS-test-double.c): Likewise.
30511 (CFLAGS-test-float.c): Likewise.
30512 (CFLAGS-test-misc.c): Likewise.
30513 (CFLAGS-test-test-fenv.c): Likewise.
30515 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30519 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
30520 comparisons to determine direction to adjust input.
30522 2012-05-01 Roland McGrath <roland@hack.frob.com>
30524 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
30525 output to the target.
30527 * scripts/localplt.awk: New file.
30528 * elf/Makefile ($(objpfx)check-localplt): Target removed.
30529 (check-localplt-CFLAGS): Variable removed.
30530 ($(all-built-dso:=.jmprel)): New static pattern rule.
30531 (generated): Add those targets.
30532 (localplt-built-dso): New variable.
30533 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
30535 * elf/check-localplt.c: File removed.
30537 * scripts/check-execstack.awk: New file.
30538 * elf/Makefile ($(objpfx)check-execstack): Target removed.
30539 (check-execstack-CFLAGS): Variable removed.
30540 ($(objpfx)check-execstack.h): Target removed.
30541 ($(objpfx)execstack-default): New target.
30542 (generated): Add that instead of check-execstack.h.
30543 ($(all-built-dso:=.phdr)): New static pattern rule.
30544 (generated): Add those targets.
30545 * elf/check-execstack.c: File removed.
30547 * scripts/check-textrel.awk: New file.
30548 * elf/Makefile ($(objpfx)check-textrel): Target removed.
30549 (check-textrel-CFLAGS): Variable removed.
30550 (all-built-dso): Use := to define.o
30551 ($(all-built-dso:=.dyn)): New static pattern rule.
30552 (generated): Add those targets.
30553 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
30554 * config.make.in (READELF): New substituted variable.
30555 * elf/check-textrel.c: File removed.
30557 2012-05-01 Joseph Myers <joseph@codesourcery.com>
30559 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30561 * conform/data/ctype.h-data [C99-based standards] (isblank):
30563 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
30564 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
30565 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30566 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
30567 Specify type. Require positive value.
30568 (EILSEQ): Likewise.
30569 (ERANGE): Likewise.
30570 [ISO || POSIX] (EILSEQ): Do not expect.
30571 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
30572 Specify type. Require positive value.
30573 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
30574 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
30575 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
30576 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
30577 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
30578 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
30579 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
30580 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
30581 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
30582 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
30583 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
30584 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
30585 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
30586 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
30587 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
30588 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
30589 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
30590 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
30591 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
30592 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
30593 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
30594 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
30595 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
30596 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
30597 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
30598 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
30599 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
30600 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
30601 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
30602 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
30603 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
30604 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
30605 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
30606 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
30607 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
30608 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
30609 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
30610 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
30611 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
30612 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
30613 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
30614 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
30615 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
30616 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
30617 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
30618 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
30619 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
30620 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
30621 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
30622 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
30623 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
30624 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
30625 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
30626 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
30627 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
30628 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
30629 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
30630 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
30631 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
30632 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
30633 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
30634 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
30635 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
30636 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
30637 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
30638 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
30639 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
30640 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
30641 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
30642 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
30643 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
30644 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
30645 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
30646 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
30647 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
30648 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
30649 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
30651 (FLT_ROUNDS): Expect as macro, not constant.
30652 (FLT_MANT_DIG): Use macro-int-constant.
30653 (DBL_MANT_DIG): Likewise.
30654 (LDBL_MANT_DIG): Likewise.
30655 (FLT_DIG): Likewise.
30656 (DBL_DIG): Likewise.
30657 (LDBL_DIG): Likewise.
30658 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
30659 (DBL_MIN_EXP): Likewise.
30660 (LDBL_MIN_EXP): Likewise.
30661 (FLT_MAX_EXP): Use macro-int-constant.
30662 (DBL_MAX_EXP): Likewise.
30663 (LDBL_MAX_EXP): Likewise.
30664 (FLT_MAX_10_EXP): Likewise.
30665 (DBL_MAX_10_EXP): Likewise.
30666 (LDBL_MAX_10_EXP): Likewise.
30667 (FLT_MAX): Use macro-constant.
30668 (DBL_MAX): Likewise.
30669 (LDBL_MAX): Likewise.
30670 (FLT_EPSILON): Use macro-constant. Give upper bound.
30671 (DBL_EPSILON): Likewise.
30672 (LDBL_EPSILON): Likewise.
30673 (FLT_MIN): Likewise.
30674 (DBL_MIN): Likewise.
30675 (LDBL_MIN): Likewise.
30676 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
30677 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
30678 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
30679 [ISO11] (FLT_HAS_SUBNORM): Likewise.
30680 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
30681 [ISO11] (DBL_DECIMAL_DIG): Likewise.
30682 [ISO11] (FLT_DECIMAL_DIG): Likewise.
30683 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
30684 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
30685 [ISO11] (FLT_TRUE_MIN): Likewise.
30686 [ISO11] (LDBL_TRUE_MIN): Likewise.
30687 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30688 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
30689 (SCHAR_MIN): Use macro-int-constant. Specify type.
30690 (SCHAR_MAX): Likewise.
30691 (UCHAR_MAX): Likewise.
30692 (CHAR_MIN): Likewise.
30693 (CHAR_MAX): Likewise.
30694 (MB_LEN_MAX): Use macro-int-constant.
30695 (SHRT_MIN): Use macro-int-constant. Specify type.
30696 (SHRT_MAX): Likewise.
30697 (USHRT_MAX): Likewise.
30698 (INT_MAX): Likewise.
30699 (INT_MIN): Use macro-int-constant. Specify type. Make upper
30701 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
30703 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
30705 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
30706 bound negative. Suffix upper bound with "L".
30707 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
30709 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
30711 [C99-based standards] (LLONG_MAX): Likewise.
30712 [C99-based standards] (ULLONG_MAX): Likewise.
30713 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
30715 [ISO11] (max_align_t): Require type.
30716 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30718 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
30719 from $CFLAGS, without defining away __attribute__ calls.
30720 (checknamespace): Use $CFLAGS_namespace.
30722 * conform/conformtest.pl (@keywords): Only include C99 keywords
30723 for standards based on C99 or C11.
30725 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
30727 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
30730 * conform/conformtest.pl: Handle "macro-int-constant" and test for
30731 usability of symbols in #if.
30733 * conform/conformtest.pl: If macro or constant types start
30734 "promoted:", expect the symbol to be of the following type
30735 promoted by the integer promotions.
30737 * conform/conformtest.pl: Parse all "constant" and "macro" lines
30738 in one place. Also handle "macro-constant".
30740 * conform/conformtest.pl: Only accept expected macro values with
30741 "==". Parse all "macro" lines in one place.
30742 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
30744 * conform/conformtest.pl: Handle braced types on "constant" lines
30745 instead of handling "typed-constant".
30746 * conform/data/signal.h-data: Use "constant" instead of
30749 * conform/conformtest.pl: Handle "optional-" at start of lines in
30750 one place rather than duplicating several cases. Handle each
30751 format of "macro" line with initial "optional-".
30753 * conform/conformtest.pl: Only accept expected constant or
30754 optional-constant values with "==". Parse all "constant" lines in
30755 one place. Parse all "optional-constant" lines in one place.
30756 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
30757 * conform/data/fmtmsg.h-data: Likewise.
30758 * conform/data/netinet/in.h-data: Likewise.
30759 * conform/data/tar.h-data: Likewise.
30760 * conform/data/limits.h-data: Use "==" form on "constant" and
30761 "optional-constant" lines.
30763 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
30764 Use -std=c99 for XOPEN2K.
30765 (@knownproblems): Remove.
30766 (newtoken): Don't check %isknown.
30768 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
30769 Do not expect macro.
30770 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
30771 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
30772 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
30773 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
30774 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
30775 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
30776 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
30777 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
30778 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
30779 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
30780 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
30781 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
30782 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
30783 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
30784 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
30785 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
30786 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
30787 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
30788 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
30789 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
30790 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
30791 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
30792 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
30793 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
30794 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
30795 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
30796 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
30797 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
30798 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
30799 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
30800 [XPG3] (acosh): Likewise.
30801 [XPG3] (asinh): Likewise.
30802 [XPG3] (atanh): Likewise.
30803 [XPG3] (cbrt): Likewise.
30804 [XPG3] (expm1): Likewise.
30805 [XPG3] (ilogb): Likewise.
30806 [XPG3] (log1p): Likewise.
30807 [XPG3] (logb): Likewise.
30808 [XPG3] (nextafter): Likewise.
30809 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
30810 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
30811 [XPG3] (remainder): Likewise.
30812 [XPG3] (rint): Likewise.
30813 [XPG3 || XPG4 || UNIX98] (round): Likewise.
30814 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
30815 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
30816 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
30817 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
30818 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
30819 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
30820 [UNIX98 || XOPEN2K] (scalb): Expect.
30821 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
30822 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
30823 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
30824 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
30825 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
30826 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
30827 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
30828 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
30829 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
30830 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
30831 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
30832 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
30833 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
30834 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
30835 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
30836 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
30837 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
30838 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
30839 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
30840 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
30841 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
30842 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
30843 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
30844 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
30845 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
30846 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
30847 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
30848 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
30849 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
30850 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
30851 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
30852 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
30853 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
30854 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
30855 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
30856 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
30857 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
30858 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
30859 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
30860 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
30861 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
30862 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
30863 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
30864 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
30865 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
30866 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
30867 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
30868 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
30869 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
30870 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
30871 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
30872 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
30873 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
30874 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
30875 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
30876 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
30877 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
30878 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
30879 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
30880 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
30881 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
30882 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
30883 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
30884 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
30885 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
30886 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
30887 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
30888 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
30889 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
30890 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
30891 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
30892 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
30893 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
30894 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
30895 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
30896 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
30897 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
30898 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
30899 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
30900 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
30901 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
30902 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
30903 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
30904 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
30905 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
30906 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
30907 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
30908 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
30909 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
30910 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
30911 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
30912 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
30913 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
30914 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
30915 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
30916 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
30917 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
30918 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
30919 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
30920 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
30921 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
30922 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
30923 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
30924 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
30925 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
30926 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
30927 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
30928 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
30929 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
30930 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
30931 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
30932 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
30933 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
30934 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
30935 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
30936 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
30937 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
30938 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
30939 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
30940 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
30941 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
30942 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
30943 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
30944 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
30945 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
30946 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
30947 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
30948 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
30949 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
30950 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
30951 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
30952 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
30953 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
30954 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
30955 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
30956 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
30957 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
30959 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
30960 _XOPEN_SOURCE_EXTENDED for XPG4.
30962 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
30964 * Makeconfig (localtime): Remove variable.
30965 (inst_localtime-file): Likewise.
30967 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
30969 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
30971 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30973 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
30975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
30977 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
30979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
30981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
30985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
30988 2012-05-01 Joseph Myers <joseph@codesourcery.com>
30992 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
30993 comparisons to determine direction to adjust input.
30994 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
30995 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
30996 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
30998 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
31000 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
31002 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
31003 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
31005 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
31007 * math/libm-test.inc (nexttoward_test): Add more tests.
31009 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
31012 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
31013 in version GLIBC_2.1, not GLIBC_2.0.
31014 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
31017 2012-04-30 Joseph Myers <joseph@codesourcery.com>
31020 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
31022 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
31023 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
31024 * math/libm-test.inc (acos_test): Add more tests.
31025 (asin_test): Likewise.
31026 * sysdeps/i386/fpu/libm-test-ulps: Update.
31027 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31030 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
31032 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
31033 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
31034 * math/libm-test.inc (acos_test_tonearest): New function.
31035 (acos_test_towardzero): Likewise.
31036 (acos_test_downward): Likewise.
31037 (acos_test_upward): Likewise.
31038 (asin_test_tonearest): Likewise.
31039 (asin_test_towardzero): Likewise.
31040 (asin_test_downward): Likewise.
31041 (asin_test_upward): Likewise.
31042 (main): Call the new functions.
31043 * sysdeps/i386/fpu/libm-test-ulps: Update.
31044 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31048 * math/e_exp10.c: Include <float.h>.
31049 (__ieee754_exp10): Handle underflow here rather than multiplying
31050 large negative argument by M_LN10.
31051 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
31053 * math/e_exp10l.c: Include <float.h>.
31054 (__ieee754_exp10l): Handle underflow here rather than multiplying
31055 large negative argument by M_LN10l.
31056 * math/libm-test.inc (exp10_test): Add another test. Do not allow
31057 spurious overflow exception on underflow.
31059 2012-04-29 Marek Polacek <polacek@redhat.com>
31061 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
31062 (__fortify_function): New macro.
31063 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
31064 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
31065 __extern_always_inline.
31066 * libio/bits/stdio2.h: Likewise.
31067 * libio/bits/stdio.h: Likewise.
31068 * string/string.h: Likewise.
31069 * string/bits/string3.h: Likewise.
31070 * include/stdio.h: Likewise.
31071 * stdlib/bits/stdlib.h: Likewise.
31072 * stdlib/stdlib.h: Likewise.
31073 * rt/bits/mqueue2.h: Likewise.
31074 * rt/mqueue.h: Likewise.
31075 * posix/bits/unistd.h: Likewise.
31076 * posix/unistd.h: Likewise.
31077 * io/bits/poll2.h: Likewise.
31078 * io/bits/fcntl2.h: Likewise.
31079 * io/fcntl.h: Likewise.
31080 * io/sys/poll.h: Likewise.
31081 * misc/bits/syslog.h: Likewise.
31082 * misc/bits/syslog-ldbl.h: Likewise.
31083 * misc/sys/syslog.h: Likewise.
31084 * socket/bits/socket2.h: Likewise.
31085 * socket/sys/socket.h: Likewise.
31086 * debug/tst-chk1.c: Likewise.
31087 * wcsmbs/bits/wchar2.h: Likewise.
31088 * wcsmbs/bits/wchar-ldbl.h: Likewise.
31089 * wcsmbs/wchar.h: Likewise.
31091 2012-04-29 Andreas Jaeger <aj@suse.de>
31093 * Makerules (tests): Remove enable-check-abi protection.
31094 (check-abi-warn): Remove.
31095 (check-abi-%): Remove check-abi-warn usage.
31097 * configure.in: Remove check-abi configure option.
31098 * configure: Regenerated.
31099 * config.make.in (enable-check-abi): Remove.
31101 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
31104 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
31105 double functions to double *_finite functions.
31108 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
31109 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
31111 * stdio-common/Makefile (tests): Add tst-sprintf3.
31112 * stdio-common/tst-sprintf3.c: New file.
31114 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
31115 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
31117 2012-04-28 Joseph Myers <joseph@codesourcery.com>
31119 * conform/conformtest.pl: Remove duplicate typed-constant
31122 2012-04-28 David S. Miller <davem@davemloft.net>
31124 * Makerules (%.abilist): Add vpath on sysdep_dirs.
31125 (check-abi-%): Remove AWK script prerequisite and explicit
31127 (check-abi): Rewrite to just diff the symlist with the abilist.
31128 (config-tls, config-abi-config): Delete, no longer used.
31129 (update-abi-%): Remove AWK script and explicit abilist directory.
31130 (update-abi): Rewrite to simply compare and conditionally copy the
31131 symlist and the sysdep abilist file. Remove update-abi-config
31133 * abilist/ld.abilist: Remove.
31134 * abilist/libBrokenLocale.abilist: Remove.
31135 * abilist/libanl.abilist: Remove.
31136 * abilist/libcrypt.abilist: Remove.
31137 * abilist/libdl.abilist: Remove.
31138 * abilist/librt.abilist: Remove.
31139 * abilist/libthread_db.abilist: Remove.
31140 * abilist/libutil.abilist: Remove.
31141 * scripts/extract-abilist.awk: Remove.
31142 * scripts/merge-abilist.awk: Remove.
31143 * sysdeps/generic/libcidn.abilist: New file.
31144 * sysdeps/generic/libnss_compat.abilist: New file.
31145 * sysdeps/generic/libnss_db.abilist: New file.
31146 * sysdeps/generic/libnss_dns.abilist: New file.
31147 * sysdeps/generic/libnss_files.abilist: New file.
31148 * sysdeps/generic/libnss_hesiod.abilist: New file.
31149 * sysdeps/generic/libnss_nis.abilist: New file.
31150 * sysdeps/generic/libnss_nisplus.abilist: New file.
31151 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
31152 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
31153 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
31155 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
31156 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
31157 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
31158 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
31159 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
31160 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
31161 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
31162 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
31163 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
31165 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
31166 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
31167 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
31168 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
31170 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
31171 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
31172 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
31173 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
31174 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
31175 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
31177 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
31178 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
31179 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
31181 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
31182 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
31184 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
31186 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
31188 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
31190 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
31192 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
31194 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
31196 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
31198 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
31200 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
31202 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
31204 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
31206 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
31208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
31210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
31212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
31214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
31216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
31218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
31220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
31222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
31224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
31226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
31228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
31230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
31232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
31234 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
31235 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
31237 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
31239 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
31241 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
31243 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
31245 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
31247 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
31249 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
31251 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
31253 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
31255 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
31257 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
31259 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
31260 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
31262 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
31264 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
31266 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
31268 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
31270 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
31272 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
31274 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
31276 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
31278 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
31280 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
31282 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
31284 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
31285 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
31286 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
31288 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
31289 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
31290 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
31291 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
31292 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
31293 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
31294 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
31295 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
31296 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
31297 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
31298 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
31299 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
31301 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
31303 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
31305 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
31307 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
31309 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
31311 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
31313 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
31315 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
31317 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
31319 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
31321 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
31323 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
31324 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
31326 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
31328 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
31330 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
31332 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
31334 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
31336 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
31338 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
31340 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
31342 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
31344 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
31346 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
31349 2012-04-28 Joseph Myers <joseph@codesourcery.com>
31351 * conform/conformtest.pl: Fix typo in handling typed-constant from
31354 2012-04-27 Joseph Myers <joseph@codesourcery.com>
31356 * README: Cut down references to pre-2.6 Linux kernels and
31357 Linuxthreads. Update lists of configurations in libc and ports
31358 and sort alphabetically. Say "or newer" with Linux kernel version
31361 * config.h.in [IS_IN_build]: Allow compiling without optimization.
31363 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
31366 * math/libm-test.inc (logb_test_downward): New test to expose
31367 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
31370 2012-04-27 Joseph Myers <joseph@codesourcery.com>
31373 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
31375 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
31376 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
31378 2012-04-26 Joseph Myers <joseph@codesourcery.com>
31380 * sysdeps/unix/i386/brk.S: Remove file.
31381 * sysdeps/unix/i386/dl-brk.S: Likewise.
31382 * sysdeps/unix/i386/pipe.S: Likewise.
31383 * sysdeps/unix/i386/sigreturn.S: Likewise.
31384 * sysdeps/unix/i386/syscall.S: Likewise.
31385 * sysdeps/unix/i386/vfork.S: Likewise.
31386 * sysdeps/unix/i386/wait.S: Likewise.
31388 * sysdeps/unix/common/tcsendbrk.c: Move to ...
31389 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
31391 * configure.in (arm*-none*): Do not allow without
31392 --enable-hacker-mode.
31393 (netbsd*): Remove case setting base_os.
31394 (386bsd*): Likewise.
31395 (freebsd*): Likewise.
31398 (sunos*): Likewise.
31399 (ultrix*): Likewise.
31400 (newsos*): Likewise.
31401 (dynix*): Likewise.
31407 (minix*): Likewise.
31408 (irix4*): Likewise.
31409 (irix6*): Likewise.
31410 (solaris[2-9]*): Likewise.
31412 * configure: Regenerated.
31414 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31417 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
31418 overflow or cancellation in calculating denominator.
31419 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
31420 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
31421 down expression to avoid unexpected rounding in newer GCCs.
31422 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
31424 2012-04-26 David S. Miller <davem@davemloft.net>
31426 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
31427 long-double compat symbols.
31428 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
31429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
31430 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
31431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
31432 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
31433 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
31434 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
31435 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
31436 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
31437 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
31438 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
31439 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
31440 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
31442 2012-04-25 David S. Miller <davem@davemloft.net>
31444 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
31445 HWCAP_* values only after the memory barriers have been defined.
31446 (atomic_full_barrier): Define.
31447 (atomic_read_barrier): Define.
31448 (atomic_write_barrier): Define.
31450 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
31452 * shlib-versions: Add libgcc_s version information.
31453 * sysdeps/generic/libgcc_s.h: Remove.
31454 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
31456 * sysdeps/gnu/unwind-resume.c: Likewise.
31457 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
31459 2012-04-25 David S. Miller <davem@davemloft.net>
31461 * sysdeps/unix/sparc/brk.S: Delete.
31462 * sysdeps/unix/sparc/dl-brk.S: Delete.
31463 * sysdeps/unix/sparc/pipe.S: Delete.
31464 * sysdeps/unix/sparc/sysdep.S: Delete.
31465 * sysdeps/unix/sparc/sysdep.h: Delete.
31466 * sysdeps/unix/sparc/vfork.S: Delete.
31467 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
31468 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
31469 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
31470 (ret_ERRVAL, r0, r1, MOVE): Define.
31471 (JUMPTARGET): Remove.
31472 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
31473 sysdeps/unix/sparc/sysdep.h
31474 (ENTRY, END): Remove.
31475 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31477 2012-04-25 Joseph Myers <joseph@codesourcery.com>
31479 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
31480 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
31483 * timezone/README: Update upstream location and email address for
31485 * timezone/zdump.c: Update from tzcode 2012b.
31486 * timezone/zic.c: Likewise.
31488 * configure.in (libc_cv_as_needed): Remove test.
31489 * configure: Regenerated.
31490 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
31491 conditional definition.
31492 [$(have-as-needed) != yes] (no-as-needed): Likewise.
31493 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
31494 * config.make.in (have-as-needed): Remove variable.
31496 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
31497 Paul Pluzhnikov <ppluzhnikov@google.com>
31499 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
31502 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
31504 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
31505 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
31506 * sysdeps/sh/strlen.S: Likewise.
31508 2012-04-24 Joseph Myers <joseph@codesourcery.com>
31510 * sysdeps/unix/fork.S: Remove file.
31511 * sysdeps/unix/i386/fork.S: Likewise.
31512 * sysdeps/unix/sparc/fork.S: Likewise.
31514 * sysdeps/unix/system.c: Remove file.
31515 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
31517 * sysdeps/unix/getegid.S: Remove file.
31518 * sysdeps/unix/geteuid.S: Likewise.
31520 2012-04-24 Roland McGrath <roland@hack.frob.com>
31522 * scripts/check-localplt.awk: New file.
31523 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
31525 * scripts/data/localplt-generic.data: Add a comment.
31527 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
31528 NODE when __dir_mkfile failed.
31529 * sysdeps/mach/hurd/symlinkat.c: Likewise.
31530 Reported by Ludovic Courtès <ludo@gnu.org>.
31532 2012-04-24 Andreas Jaeger <aj@suse.de>
31534 * Makerules (common-clean): Also remove gen-as-const-headers
31537 2012-04-24 Joseph Myers <joseph@codesourcery.com>
31539 * Makerules (native-compile): Do not change working directory for
31540 build. Use $(OUTPUT_OPTION) in command.
31541 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
31543 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31546 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
31547 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
31548 * math/libm-test.inc (floor_test): Add more tests.
31549 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
31551 2012-04-24 Joseph Myers <joseph@codesourcery.com>
31553 * sysdeps/unix/getdents.c: Remove file.
31554 * sysdeps/unix/sysv/getdents.c: Likewise.
31555 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
31557 * sysdeps/unix/syscalls.list (madvise): Add syscall from
31558 sysdeps/unix/mman/syscalls.list.
31560 (mprotect): Likewise.
31562 (munmap): Likewise.
31563 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
31564 * sysdeps/unix/mman/syscalls.list: Remove.
31565 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
31567 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
31568 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
31569 * configure: Regenerated.
31570 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
31571 $(libgcc_s_suffix).
31572 * config.make.in (libgcc_s_suffix): Remove variable.
31574 2012-04-23 Joseph Myers <joseph@codesourcery.com>
31576 * sysdeps/unix/sysv/gethostname.c: Move to ...
31577 * sysdeps/posix/gethostname.c: ... here.
31579 * sysdeps/unix/execve.S: Remove file.
31581 * sysdeps/unix/_exit.S: Remove file.
31583 2012-04-23 Andreas Jaeger <aj@suse.de>
31586 * manual/Makefile: Remove make dist support, there's no
31587 need for a stand-alone documentation tar ball.
31588 (TEXI2DVI): Define always, it's not in Makeconfig.
31591 (edition): Removed.
31592 (glibc-doc-$(edition).tar): Removed
31596 (ETAGS): Remove, it's in Makeconfig.
31597 (move-if-change): Remove, it's in Makeconfig.
31599 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
31602 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
31603 (strtod, strtof, strtold, strtol, strtoul, strtoq)
31604 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
31605 (strtod_l, strtof_l, strtold_l): Remove __wur.
31606 It is not necessarily an error to ignore strtol's return value.
31607 One can reliably look at the stored endptr to decide whether
31608 the number had valid syntax.
31610 2012-04-21 Andreas Jaeger <aj@suse.de>
31613 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
31615 2012-04-21 Joseph Myers <joseph@codesourcery.com>
31617 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
31618 * sysdeps/unix/sysv/Versions: Remove file.
31620 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
31623 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31625 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
31628 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
31629 version from __vm86.
31631 2012-04-20 Joseph Myers <joseph@codesourcery.com>
31633 * sysdeps/unix/common/lxstat.c: Remove file.
31634 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
31636 * sysdeps/unix/sysv/Makefile: Remove file.
31638 * sysdeps/unix/sysv/direct.h: Remove file.
31640 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
31641 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
31642 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
31643 * sysdeps/unix/sysv/bits/signum.h: Likewise.
31644 * sysdeps/unix/sysv/bits/stat.h: Likewise.
31645 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
31646 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
31648 * sysdeps/unix/sysv/setrlimit.c: Remove file.
31650 * sysdeps/unix/xmknod.c: Remove file.
31651 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
31653 * sysdeps/unix/sysv/settimeofday.c: Remove file.
31655 * sysdeps/unix/sysv/i386/time.S: Remove file.
31657 * sysdeps/unix/fxstat.c: Remove file.
31658 * sysdeps/unix/xstat.c: Likewise.
31659 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
31661 * sysdeps/unix/sysv/sigaction.c: Remove file.
31663 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
31664 (sysdep_headers): Remove variable.
31665 [termio.h not in sysdep_headers] (generated): Likewise.
31666 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
31667 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
31668 * sysdeps/unix/sysv/tcdrain.c: Likewise.
31669 * sysdeps/unix/sysv/tcflow.c: Likewise.
31670 * sysdeps/unix/sysv/tcflush.c: Likewise.
31671 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
31672 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
31673 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
31674 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
31675 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
31677 * sysdeps/unix/siglist.c: Remove file.
31679 * sysdeps/unix/getppid.S: Remove file.
31681 * sysdeps/unix/mkdir.c: Remove file.
31682 * sysdeps/unix/rmdir.c: Likewise.
31684 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
31686 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
31688 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
31689 errlist-compat value.
31691 2012-04-18 David S. Miller <davem@davemloft.net>
31693 * sysdeps/generic/memcopy.h (reg_char): Delete.
31694 * debug/strcat_chk.c: Use char, not reg_char.
31695 * debug/strcpy_chk.c: Likewise.
31696 * debug/strncat_chk.c: Likewise.
31697 * debug/strncpy_chk.c: Likewise.
31698 * string/memchr.c: Likewise.
31699 * string/memrchr.c: Likewise.
31700 * string/rawmemchr.c: Likewise.
31701 * string/strcat.c: Likewise.
31702 * string/strchr.c: Likewise.
31703 * string/strchrnul.c: Likewise.
31704 * string/strcmp.c: Likewise.
31705 * string/strcpy.c: Likewise.
31706 * string/strncat.c: Likewise.
31707 * string/strncmp.c: Likewise.
31708 * string/strncpy.c: Likewise.
31710 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31712 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
31713 __builtin_memcopy is called when src and dest ranges are known to not
31716 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31718 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
31719 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
31720 fwd_align_merge macro call.
31721 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
31722 bwd_align_merge macro call.
31723 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31725 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31727 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
31728 bwd_align_merge macros.
31729 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
31730 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
31731 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31733 2012-04-18 David S. Miller <davem@davemloft.net>
31735 * sysdeps/sparc/sparc64/memcopy.h: Delete.
31737 2012-04-18 Andreas Jaeger <aj@suse.de>
31740 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
31741 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
31742 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31744 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
31745 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
31746 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31748 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
31749 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
31750 Adjust for changed ldbl-128 files.
31752 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
31753 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
31754 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31756 2012-04-17 David S. Miller <davem@davemloft.net>
31758 * sysdeps/sparc/sparc32/memcopy.h: Delete.
31760 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
31762 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
31763 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
31764 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
31765 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
31766 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
31767 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
31769 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31772 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
31773 * math/libm-test.inc: Add ilogb errno and exception tests.
31774 * math/w_ilogb.c: New file: ilogb wrapper.
31775 * math/w_ilogbf.c: New file: ilogbf wrapper.
31776 * math/w_ilogbl.c: New file: ilogbl wrapper.
31777 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
31778 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
31779 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
31780 exception being thrown with 0.0 as argument.
31781 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
31782 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
31783 exception being thrown with 0.0 as argument.
31784 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
31785 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
31786 exception being thrown with 0.0 as argument.
31787 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
31788 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
31789 exception being thrown with 0.0 as argument.
31790 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
31791 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
31792 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
31793 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
31794 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
31795 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
31796 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
31797 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
31798 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
31800 2012-04-17 Petr Baudis <pasky@ucw.cz>
31802 * include/sys/uio.h: Change __vector to __iovec to avoid clash
31805 2012-04-16 Marek Polacek <polacek@redhat.com>
31807 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
31809 2012-04-16 Marek Polacek <polacek@redhat.com>
31811 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
31812 operands of fdivp instruction.
31814 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
31816 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
31817 * elf/tst-auditmod3b.c: Likewise.
31818 * elf/tst-auditmod4b.c: Likewise.
31819 * elf/tst-auditmod5b.c: Likewise.
31820 * elf/tst-auditmod6b.c: Likewise.
31821 * elf/tst-auditmod6c.c: Likewise.
31822 * elf/tst-auditmod7b.c: Likewise.
31823 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
31824 * sysdeps/x86_64/preconfigure.in: Likewise.
31825 * sysdeps/x86_64/preconfigure: Regenerated.
31827 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
31829 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
31832 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
31834 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31835 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
31837 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
31840 * locale/iso-639.def: Fix gl language name. Spotted by
31843 2012-04-12 Roland McGrath <roland@hack.frob.com>
31846 * libio/libio.h (__io_write_fn): Update comment.
31848 2012-04-12 Petr Baudis <pasky@ucw.cz>
31851 * stdio.texi (Hook Functions): The user provided writer function
31852 is not allowed to return -1.
31854 2012-04-11 David S. Miller <davem@davemloft.net>
31856 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31858 2012-04-11 Mike Frysinger <vapier@gentoo.org>
31860 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
31861 Add a leading slash to rtkaio.
31863 2012-04-11 Jim Meyering <meyering@redhat.com>
31866 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
31867 It is not necessarily an error to ignore fwrite's return
31868 value. One can reliably use ferror to test for errors after
31871 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
31873 * bits/types.h (__snseconds_t): New type.
31874 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
31876 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
31877 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31878 (__SNSECONDS_T_TYPE): Likewise.
31879 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31880 (__SNSECONDS_T_TYPE): Likewise.
31881 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31882 (__SNSECONDS_T_TYPE): Likewise.
31884 2012-04-10 Andreas Jaeger <aj@suse.de>
31887 * manual/time.texi (Processor Time): Return type of times is
31888 elapsed real time since an arbitrary point in the past.
31889 (CPU Time): Move CLK_TCK from here...
31890 (Processor Time): ...to here. Correct description.
31891 * manual/conf.texi (Constants for Sysconf): Correct description of
31894 2012-04-10 David S. Miller <davem@davemloft.net>
31897 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
31898 where the is a gap between DT_REL(A) and DT_JMPREL.
31900 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
31902 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
31903 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
31904 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
31906 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
31908 * elf/dl-support.c (_dl_inhibit_cache): New variable.
31909 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
31910 (dl_main): Handle --inhibit-cache.
31911 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
31913 * elf/dl-load.c (_dl_map_object): Use it.
31914 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
31916 2012-04-09 Joseph Myers <joseph@codesourcery.com>
31919 * sysdeps/i386/fpu/e_powl.S (p78): New object.
31920 (__ieee754_powl): Saturate large exponents rather than testing for
31921 overflow of y*log2(x).
31922 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31923 * math/libm-test.inc (pow_test): Do not permit spurious overflow
31927 * math/s_ctan.c: Include <float.h>.
31928 (__ctan): Avoid internal overflow or cancellation in calculating
31930 * math/s_ctanf.c: Likewise.
31931 * math/s_ctanl.c: Likewise.
31932 * math/s_ctanh.c: Likewise.
31933 * math/s_ctanhf.c: Likewise.
31934 * math/s_ctanhl.c: Likewise.
31935 * math/libm-test.inc (ctan_test): Add more tests.
31936 (ctanh_test): Likewise.
31937 * sysdeps/i386/fpu/libm-test-ulps: Update.
31938 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31940 2012-04-09 Andreas Jaeger <aj@suse.de>
31943 * manual/filesys.texi (Directory Entries): Mention that d_namlen
31944 is an optional BSD extension.
31947 * manual/stdio.texi (Opening Streams): Document additional fopen
31950 2012-04-09 Roland McGrath <roland@hack.frob.com>
31952 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
31953 %eax without telling the compiler.
31955 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
31958 * manual/install.texi: Use sourceware.org.
31960 2012-04-09 Joseph Myers <joseph@codesourcery.com>
31963 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
31964 (__ieee754_pow): Generate overflow and underflow using huge*huge
31965 and tiny*tiny rather than just returning constant infinity or zero
31966 for large exponents.
31967 * math/libm-test.inc (pow_test): Require overflow exceptions for
31968 applicable cases of large exponents.
31971 * sysdeps/i386/fpu/e_pow.S (p10): New object.
31972 (__ieee754_pow): Use iterative multiplication algorithm only for
31973 integer exponents with absolute value below 1024. Check for odd
31974 integer exponents when using algorithm for real exponents.
31975 * math/libm-test.inc (pow_test): Add more tests.
31976 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31978 2012-04-08 Joseph Myers <joseph@codesourcery.com>
31981 * math/libm-test.inc (exp_test): Do not allow overflow exception
31984 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
31987 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
31988 instead of __kernel_standard_f.
31990 2012-04-08 Mike Frysinger <vapier@gentoo.org>
31992 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
31993 * sysdeps/x86_64/memset_chk.S: Likewise.
31995 2012-04-08 Andreas Jaeger <aj@suse.de>
31998 * manual/startup.texi (Environment Access): Describe return value
31999 for putenv and setenv.
32002 * manual/filesys.texi (Directory Entries): Add description for
32006 * manual/filesys.texi (Directory Entries): Clarify that it's file
32007 system not operating system in the description of DT_UNKNOWN.
32010 * manual/syslog.texi (closelog): Fix reference, it's openlog.
32012 2012-04-08 Stephen Compall <s11@member.fsf.org>
32015 * manual/llio.texi (Opening and Closing Files): Add cross
32016 reference to explain mode argument.
32018 2012-04-07 Mike Frysinger <vapier@gentoo.org>
32020 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
32021 * sysdeps/x86_64/memset_chk.S: Likewise.
32023 2012-04-07 David S. Miller <davem@davemloft.net>
32025 * elf/elf.h (R_SPARC_WDISP10): Define.
32026 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
32028 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
32029 R_SPARC_SIZE64 and R_SPARC_H34.
32031 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
32033 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
32034 conditions and remove no longer applicable assertion.
32036 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
32038 * bits/byteswap.h: Include <features.h>.
32039 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
32040 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
32042 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
32044 * bits/byteswap.h (__bswap_16): Removed.
32045 Include <bits/byteswap-16.h> to get __bswap_16.
32046 * sysdeps/i386/bits/byteswap.h: Likewise.
32047 * sysdeps/s390/bits/byteswap.h: Likewise.
32048 * sysdeps/x86_64/bits/byteswap.h: Likewise.
32049 * bits/byteswap-16.h: New file.
32050 * sysdeps/i386/bits/byteswap-16.h: Likewise.
32051 * sysdeps/s390/bits/byteswap-16.h: Likewise.
32052 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
32053 * string/Makefile (headers): Add bits/byteswap-16.h.
32055 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
32058 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
32060 * nss/Makefile (tests-static, tests): Add tst-nss-static.
32061 * nss/tst-nss-static.c: New.
32063 2012-04-06 Robert Millan <rmh@gnu.org>
32066 * manual/llio.texi (File Position Primitive): lseek
32067 refers to WHENCE when it really means OFFSET.
32069 2012-04-06 Andreas Jaeger <aj@suse.de>
32071 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
32072 strncmp declarations.
32074 * abilist/libc.abilist: Add __poll and __ppoll.
32076 2012-04-05 David S. Miller <davem@davemloft.net>
32078 * scripts/check-local-headers.sh: Accept a host triplet in the
32079 path matched by the exclude regexp.
32081 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
32083 * sysdeps/powerpc/powerpc32/dl-machine.h
32084 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
32085 * sysdeps/s390/s390-32/dl-machine.h
32086 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
32087 * sysdeps/sparc/sparc32/dl-machine.h
32088 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
32089 * sysdeps/sparc/sparc64/dl-machine.h
32090 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
32092 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
32094 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
32095 undefined symbol errors.
32097 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
32100 2012-04-05 Michael Matz <matz@suse.de>
32103 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
32105 2012-04-05 Andreas Jaeger <aj@suse.de>
32108 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
32111 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32113 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
32114 which ROUND is no valid rounding mode.
32116 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32118 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
32120 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
32122 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32124 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
32125 an exception using FPU order intentionally.
32127 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32129 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
32130 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
32131 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
32132 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
32134 2012-04-05 Simon Josefsson <simon@josefsson.org>
32137 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
32138 EINVAL when BUFLEN is too smal.
32140 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
32143 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
32144 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
32146 2012-04-03 Andreas Jaeger <aj@suse.de>
32149 * manual/setjmp.texi (System V contexts): Fix sentence.
32152 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
32153 New macro for this case.
32154 [!__GNUC__] (__bswap_64): New inline function for this case.
32155 * sysdeps/x86_64/bits/byteswap.h: Likewise.
32156 * bits/byteswap.h: Likewise.
32157 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
32158 ull, guard with __GLIBC_HAVE_LONG_LONG.
32160 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
32161 __GLIBC_HAVE_LONG_LONG.
32163 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
32164 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
32166 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32169 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
32170 inptr and inend, rather than using last_ch.
32172 2012-04-02 David S. Miller <davem@davemloft.net>
32174 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
32175 * stdio-common/printf-parse.h (read_int): Change return type to
32176 'int', return -1 on INT_MAX overflow.
32177 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
32178 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
32179 overflows INT_MAX. Check for overflow of in-format-string precision
32180 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
32181 SIZE_MAX not INT_MAX for integer overflow test.
32182 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
32183 skip the construct in the format string but do not record anything.
32184 * stdio-common/bug22.c: Adjust to test both width/prevision
32185 INT_MAX overflow as well as total length INT_MAX overflow. Check
32186 explicitly for proper errno values.
32188 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
32190 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
32192 * string/test-strcmp.c [! WIDE]: Likewise.
32193 * time/tst-mktime2.c: Likewise for INT_MAX.
32194 * string/test-string.h: #include <sys/param.h> for MIN.
32196 * csu/init-first.c (__libc_init_first): Call __ctype_init.
32197 * sysdeps/i386/init-first.c (init): Likewise.
32198 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
32199 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
32200 * sysdeps/sh/init-first.c (init): Likewise.
32202 2012-04-01 Ulrich Drepper <drepper@gmail.com>
32204 * po/ru.po: Update from translation team.
32205 * po/vi.po: Likewise.
32207 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
32209 * resolv/nss_dns/dns-host.c: Merge copyright years.
32211 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32213 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
32214 Optimize memcpy with prefetch if
32215 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
32216 src, dst pointers have unequal 16 byte alignments.
32218 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
32221 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
32222 from a CNAME entry and return the minimum ttl for the query.
32223 (gaih_getanswer_slice): Likewise.
32225 2012-03-30 Jeff Law <law@redhat.com>
32227 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
32229 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
32230 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
32232 * resolv/nss_dns/dns-host.c: Update copyright year.
32234 2012-03-30 Ulrich Drepper <drepper@gmail.com>
32236 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
32237 requests to save a system call. Fix check that all bytes are sent.
32239 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
32240 comments for sendmmsg.
32242 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32245 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
32246 with only 1 character between 0x0041 and 0x01b0.
32247 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
32248 * wcsmbs/tst-mbsnrtowcs.c: New file.
32250 2012-03-29 David S. Miller <davem@davemloft.net>
32252 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
32253 small copies by hand.
32255 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32258 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
32259 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
32262 2012-03-28 David S. Miller <davem@davemloft.net>
32264 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
32265 that branches into memcpy.
32266 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
32267 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
32268 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
32269 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
32270 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
32272 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
32273 implementation too.
32274 * sysdeps/sparc/mempcpy.S: New file.
32276 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
32277 the IFUNC routine in the libc case.
32278 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
32280 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
32281 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
32282 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
32283 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
32284 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
32285 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
32286 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
32287 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
32289 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
32290 loop to 256 bytes instead of 64 bytes and fix test signedness.
32292 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
32293 * sysdeps/sparc/sparc32/Makefile: rather than here...
32294 * sysdeps/sparc/sparc64/Makefile: and here.
32296 2012-03-28 Ulrich Drepper <drepper@gmail.com>
32298 * malloc/mallocbug.c: Avoid warnings about unused variables.
32300 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
32303 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
32304 in the right place. Discard and retry query if response is
32305 larger than input buffer size.
32307 2012-03-28 Joseph Myers <joseph@codesourcery.com>
32312 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
32313 x for large integer exponent.
32314 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
32315 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
32316 sign of result as needed afterwards.
32317 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
32318 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
32319 result for underflowing pow the same as for overflow.
32320 (__kernel_standard_l): Handle powl overflow and underflow here
32321 rather than calling __kernel_standard.
32322 * math/libm-test.inc (pow_test): Add more tests.
32337 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
32338 * sysdeps/ieee754/k_standard.c: Include <float.h>.
32339 (__kernel_standard_l): New function.
32340 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
32342 * math/w_acosl.c (__acosl): Likewise.
32343 * math/w_asinl.c (__asinl): Likewise.
32344 * math/w_atan2l.c (__atan2l): Likewise.
32345 * math/w_atanhl.c (__atanhl): Likewise.
32346 * math/w_coshl.c (__coshl): Likewise.
32347 * math/w_exp10l.c (__exp10l): Likewise.
32348 * math/w_exp2l.c (__exp2l): Likewise.
32349 * math/w_fmodl.c (__fmodl): Likewise.
32350 * math/w_hypotl.c (__hypotl): Likewise.
32351 * math/w_j0l.c (__j0l, __y0l): Likewise.
32352 * math/w_j1l.c (__j1l, __y1l): Likewise.
32353 * math/w_jnl.c (__jnl, __ynl): Likewise.
32354 * math/w_lgammal.c (__lgammal): Likewise.
32355 * math/w_log10l.c (__log10l): Likewise.
32356 * math/w_log2l.c (__log2l): Likewise.
32357 * math/w_logl.c (__logl): Likewise.
32358 * math/w_powl.c (__powl): Likewise.
32359 * math/w_remainderl.c (__remainderl): Likewise.
32360 * math/w_scalbl.c (sysv_scalbl): Likewise.
32361 * math/w_sinhl.c (__sinhl): Likewise.
32362 * math/w_sqrtl.c (__sqrtl): Likewise.
32363 * math/w_tgammal.c (__tgammal): Likewise.
32364 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
32365 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
32366 * math/libm-test.inc (acos_test): Add more tests.
32367 (acosh_test): Likewise.
32368 (asin_test): Likewise.
32369 (atanh_test): Likewise.
32370 (exp_test): Likewise.
32371 (exp10_test): Likewise.
32372 (exp2_test): Likewise.
32373 (expm1_test): Likewise.
32374 (lgamma_test): Likewise.
32375 (log_test): Likewise.
32376 (log10_test): Likewise.
32377 (log1p_test): Likewise.
32378 (log2_test): Likewise.
32379 (pow_test): Do not allow some spurious overflow exceptions.
32380 (sqrt_test): Add more tests.
32381 (tgamma_test): Likewise.
32382 (y0_test): Likewise.
32383 (y1_test): Likewise.
32384 (yn_test): Likewise.
32386 2012-03-27 Anton Blanchard <anton@samba.org>
32388 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
32390 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
32391 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
32392 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
32394 2012-03-27 David S. Miller <davem@davemloft.net>
32396 * conform/Makefile: Run run-conformtest.sh using $(BASH).
32398 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
32399 have-as-vis3 check.
32401 2012-03-27 Andreas Jaeger <aj@suse.de>
32403 * sysdeps/x86_64/elf/configure.in: Moved to ...
32404 * sysdeps/x86_64/configure.in: ... here.
32405 * sysdeps/x86_64/elf/start.S: Moved to ...
32406 * sysdeps/x86_64/start.S: ... here.
32407 * sysdeps/x86_64/elf/configure: Delete.
32409 * sysdeps/x86_64/configure.in: Merge contents from
32410 sysdeps/i386/configure.in (without i686 check).
32412 * sysdeps/i386/elf/Versions: Merge into ...
32413 * sysdeps/i386/Versions: ... this.
32414 * sysdeps/i386/elf/Versions: Delete file.
32415 * sysdeps/i386/elf/start.S: Moved to ...
32416 * sysdeps/i386/start.S: ...here.
32417 * sysdeps/i386/elf/configure.in: Merge into...
32418 * sysdeps/i386/configure.in: ...here.
32419 * sysdeps/i386/elf/configure.in: Delete file.
32420 * sysdeps/i386/elf/configure: Delete file.
32422 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
32423 * debug/backtracesyms.c: ... here.
32424 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
32425 * debug/backtracesymsfd.c: ... here.
32426 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
32427 * sysdeps/generic/ifunc-sel.h: ... here.
32429 * sysdeps/unix/i386/start.c: Delete file.
32430 * sysdeps/unix/sparc/start.c: Delete file.
32431 * sysdeps/unix/start.c: Delete file.
32433 * sysdeps/sh/elf/configure.in: Moved to ...
32434 * sysdeps/sh/configure.in: ... here.
32435 * sysdeps/sh/elf/start.S: Moved to ...
32436 * sysdeps/sh/start.S: ... here.
32437 * sysdeps/sh/elf/configure: Delete file.
32439 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
32440 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
32441 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
32442 * sysdeps/powerpc/powerpc64/entry.h: ... here.
32443 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
32444 * sysdeps/powerpc/powerpc64/start.S: here.
32445 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
32446 * sysdeps/powerpc/powerpc64/Makefile: ... this.
32447 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
32448 * sysdeps/powerpc/powerpc64/configure.in: ... this.
32449 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
32451 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
32452 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
32453 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
32454 * sysdeps/powerpc/powerpc32/start.S: ... here.
32455 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
32456 * sysdeps/powerpc/powerpc32/configure.in: ... this.
32457 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
32459 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
32460 * sysdeps/powerpc/ifunc-sel.h: ... here.
32461 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
32462 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
32464 * sysdeps/sparc/elf/configure.in: Moved to ...
32465 * sysdeps/sparc/configure.in: ... here.
32466 * sysdeps/sparc/elf/configure: Delete file.
32467 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
32468 * sysdeps/sparc/sparc32/start.S: ... here.
32469 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
32470 * sysdeps/sparc/sparc64/start.S: ... here.
32471 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
32472 * sysdeps/sparc/sparc32/Makefile: ... this.
32473 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
32474 * sysdeps/sparc/sparc64/Makefile: ... this.
32476 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
32477 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
32478 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
32479 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
32480 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
32481 * sysdeps/s390/s390-32/setjmp.S: ... here.
32482 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
32483 * sysdeps/s390/s390-32/configure.in: ... here.
32484 * sysdeps/s390/s390-32/elf/configure: Delete file.
32485 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
32486 * sysdeps/s390/s390-32/start.S: ... here.
32488 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
32489 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
32490 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
32491 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
32492 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
32493 * sysdeps/s390/s390-64/setjmp.S: ... here.
32494 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
32495 * sysdeps/s390/s390-64/configure.in: ... here
32496 * sysdeps/s390/s390-64/elf/configure: Delete file.
32497 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
32498 * sysdeps/s390/s390-64/start.S: ... here.
32499 * sysdeps/s390/s390-64/elf/configure: Delete.
32501 * configure.in: Remove support for elf directories in sysdeps.
32503 * configure: Regenerated.
32504 * sysdeps/i386/configure: Regenerated.
32505 * sysdeps/powerpc/powerpc32/configure: Regenerated.
32506 * sysdeps/powerpc/powerpc64/configure: Regenerated.
32507 * sysdeps/s390/s390-32/configure: Regenerated.
32508 * sysdeps/s390/s390-64/configure: Regenerated.
32509 * sysdeps/sh/configure: Regenerated.
32510 * sysdeps/sparc/configure: Regenerated.
32511 * sysdeps/x86_64/configure: Regenerated.
32513 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
32515 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32517 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
32518 denormal result into account.
32520 2012-03-25 Roland McGrath <roland@hack.frob.com>
32522 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
32523 Reported by Allan McRae <allan@archlinux.org>.
32525 2012-03-23 Jeff Law <law@redhat.com>
32527 * nss/getnssent.c (__nss_getent): Fix typo.
32529 2012-03-23 David S. Miller <davem@davemloft.net>
32531 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32533 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
32535 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
32536 to pad to uint64_t for each field.
32537 (dl_tls_index): Replace unsigned long with uint64_t.
32539 2012-03-23 Daniel Jacobowitz <dmj@google.com>
32540 Paul Pluzhnikov <ppluzhnikov@google.com>
32543 * grp/Makefile (otherlibs): Don't set it.
32544 * inet/Makefile (otherlibs): Likewise.
32545 * login/Makefile (otherlibs): Likewise.
32546 * nscd/Makefile (otherlibs): Likewise.
32547 * posix/Makefile (otherlibs): Likewise.
32548 * pwd/Makefile (otherlibs): Likewise.
32549 * rt/Makefile (otherlibs): Likewise.
32550 * sunrpc/Makefile (otherlibs): Likewise.
32551 * nss/Makefile (otherlibs): Likewise.
32552 Add libnss_files to routines and static-only-routines.
32553 ($(objpfx)getent): Remove rule.
32554 * resolv/Makefile: Add libnss_dns and libresolv to routines and
32555 static-only-routines.
32557 2012-03-22 Joseph Myers <joseph@codesourcery.com>
32560 * math/s_cexp.c: Include <float.h>.
32561 (__cexp): Handle exp result overflowing not necessarily
32562 overflowing both real and imaginary parts of result.
32563 * math/s_cexpf.c: Likewise.
32564 * math/s_cexpl.c: Likewise.
32565 * math/libm-test.inc (cexp_test): Add more tests.
32566 * sysdeps/i386/fpu/libm-test-ulps: Update.
32567 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32569 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32571 * include/link.h (ELFW): New macro.
32572 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
32573 Replace ELF64_R_TYPE with ELFW(R_TYPE).
32575 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32577 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
32580 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32582 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
32584 (struct La_x32_retval): Likewise.
32586 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32588 * sysdeps/x86_64/preconfigure.in: New file.
32589 * sysdeps/x86_64/preconfigure: New generated file.
32591 2012-03-22 Joseph Myers <joseph@codesourcery.com>
32594 * math/e_exp2l.c: Include <float.h>.
32595 (__ieee754_exp2l): Handle overflow and underflow cases
32596 separately. Only pass fractional part of argument to
32598 * math/libm-test.inc (exp2_test): Add more tests.
32600 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
32601 negating x to take absolute value.
32602 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
32604 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
32605 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
32607 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
32608 computing low part if x was negated.
32609 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
32611 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32613 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
32614 la_x32_gnu_pltexit.
32615 (pltexit): Cast int_retval to ptrdiff_t.
32616 * elf/tst-auditmod3b.c: Likewise.
32617 * elf/tst-auditmod4b.c: Likewise.
32618 * elf/tst-auditmod5b.c: Likewise.
32619 * elf/tst-auditmod6b.c: Likewise.
32620 * elf/tst-auditmod6c.c: Likewise.
32621 * elf/tst-auditmod7b.c: Likewise.
32623 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
32624 and x32_gnu_pltexit.
32626 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
32627 __ELF_NATIVE_CLASS.
32628 (La_x32_regs): New macro.
32629 (La_x32_retval): Likewise.
32630 (la_x32_gnu_pltenter): New function prototype.
32631 (la_x32_gnu_pltexit): Likewise.
32633 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
32635 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
32638 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32640 * configure.in (libc_cv_cc_nofma): Check for option to disable
32641 generation of FMA instructions.
32642 * configure: Regenerate.
32643 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
32644 * sysdeps/ieee754/dbl-64/Makefile: New file.
32645 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
32646 Remove brandred-fma4.
32647 (CFLAGS-brandred-fma4.c): Remove.
32648 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
32649 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
32651 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
32654 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32656 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
32657 LLONG_MAX != LONG_MAX.
32658 (_itoa_word): Use _ITOA_WORD_TYPE on value.
32659 (_fitoa_word): Likewise.
32660 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
32661 LLONG_MAX != LONG_MAX.
32662 * stdio-common/_itowa.h: Include <_itoa.h>.
32663 (_itowa_word): Use _ITOA_WORD_TYPE on value.
32664 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
32665 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
32666 only if not defined.
32667 (_ITOA_WORD_TYPE): Likewise.
32668 (_itoa_word): Use _ITOA_WORD_TYPE on value.
32669 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
32671 2012-03-21 David S. Miller <davem@davemloft.net>
32673 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32675 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32677 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
32678 of x86_64 when setting libc_cv_slibdir, libdir and
32680 * sysdeps/unix/sysv/linux/configure: Regenerated.
32682 2012-03-21 Joseph Myers <joseph@codesourcery.com>
32684 * manual/lang.texi (Old Varargs): Remove section.
32685 (How Variadic): Update menu.
32686 (va_start): Do not mention varargs.h.
32688 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
32689 Joseph Myers <joseph@codesourcery.com>
32691 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
32693 * configure: Regenerated.
32695 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
32697 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
32698 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
32701 2012-03-21 Joseph Myers <joseph@codesourcery.com>
32704 * Makefile (files-for-dist): Remove NOTES.
32705 (NOTES): Remove rule.
32706 * README: Don't refer to NOTES.
32707 * manual/creature.texi: Don't include macros.texi.
32708 * manual/intro.texi (creature.texi): Remove comment referring to
32711 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
32712 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
32713 * configure: Regenerated.
32714 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
32715 LIBC_TRY_CC_OPTION.
32716 (libc_cv_as_i686): Likewise.
32717 (libc_cv_cc_avx): Likewise.
32718 (libc_cv_cc_sse2avx): Likewise.
32719 (libc_cv_cc_fma4): Likewise.
32720 (libc_cv_cc_novzeroupper): Likewise.
32721 * sysdeps/i386/configure: Regenerated.
32724 * sysdeps/i386/fpu/s_cexp.S: Remove.
32725 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
32726 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
32727 * math/libm-test.inc (cexp_test): Add more tests.
32728 * sysdeps/i386/fpu/libm-test-ulps: Update.
32729 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32731 2012-03-21 Allan McRae <allan@archlinux.org>
32733 * timezone/Makefile: Do not install iso3166.tab and zone.tab
32735 2012-03-21 Joseph Myers <joseph@codesourcery.com>
32738 * math/w_exp2.c: Do not include <float.h>.
32739 (o_threshold, u_threshold): Remove.
32740 (__exp2): Calculate result before checking finiteness and calling
32742 * math/w_exp2f.c: Likewise.
32743 * math/w_exp2l.c: Likewise.
32744 * math/libm-test.inc (exp2_test): Require overflow exception for
32748 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
32749 range of signed 64-bit integers before using fistpll. Remove
32750 checks for whether integers fit in mantissa bits.
32751 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
32752 the range of signed 32-bit integers before using fistpl. Remove
32753 checks for whether integers fit in mantissa bits.
32754 * sysdeps/i386/fpu/e_powl.S (p64): New object.
32755 (__ieee754_powl): Test for y outside the range of signed 64-bit
32756 integers before using fistpll. Reduce 64-bit values to 63-bit
32758 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
32759 divide-by-zero is raised for zero to large negative powers.
32760 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
32761 (__ieee754_powl): Test for y outside the range of signed 64-bit
32762 integers before using fistpll. Reduce 64-bit values to 63-bit
32764 * math/libm-test.inc (pow_test): Add more tests.
32766 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32768 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
32769 <stdio-common/_itoa.h>.
32770 * debug/segfault.c: Likewise.
32771 * elf/dl-cache.c: Likewise.
32772 * elf/dl-minimal.c: Likewise.
32773 * elf/dl-misc.c: Likewise.
32774 * elf/dl-sysdep.c: Likewise.
32775 * elf/dl-version.c: Likewise.
32776 * elf/rtld.c: Likewise.
32777 * hurd/hurdsock.c: Likewise.
32778 * hurd/lookup-retry.c: Likewise.
32779 * malloc/malloc.c: Likewise.
32780 * malloc/mtrace.c: Likewise.
32781 * nscd/nscd_getgr_r.c: Likewise.
32782 * nscd/nscd_getpw_r.c: Likewise.
32783 * nscd/nscd_getserv_r.c: Likewise.
32784 * posix/getopt_init.c: Likewise.
32785 * posix/wordexp.c: Likewise.
32786 * stdio-common/_itoa.c: Likewise.
32787 * stdio-common/printf_fphex.c: Likewise.
32788 * stdio-common/vfprintf.c: Likewise.
32789 * string/_strerror.c: Likewise.
32790 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
32791 * sysdeps/i386/i686/hp-timing.h: Likewise.
32792 * sysdeps/mach/_strerror.c: Likewise.
32793 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
32794 * sysdeps/mach/hurd/sethostid.c: Likewise.
32795 * sysdeps/mach/hurd/xmknodat.c: Likewise.
32796 * sysdeps/mach/xpg-strerror.c: Likewise.
32797 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
32798 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
32799 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
32800 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
32801 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
32802 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
32803 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
32804 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
32805 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
32806 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
32807 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
32808 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
32809 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
32810 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
32811 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
32812 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
32813 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
32814 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
32815 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
32816 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
32817 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
32819 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
32821 * stdio-common/_itoa.h: Moved to ...
32822 * sysdeps/generic/_itoa.h: Here.
32824 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
32826 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
32827 instead of "_itoa.h" and "_itowa.h".
32828 * stdio-common/vfprintf.: Likewise.
32830 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32832 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
32834 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
32835 (__signbit): Likwise.
32836 (llrintf): Likwise.
32839 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32841 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
32844 2012-03-20 Joseph Myers <joseph@codesourcery.com>
32846 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
32847 OVERFLOW_EXCEPTION_OK.
32848 * math/libm-test.inc ("Philosophy"): Update comment about
32850 (OVERFLOW_EXCEPTION): Define.
32851 (OVERFLOW_EXCEPTION_OK): Likewise.
32852 (INVALID_EXCEPTION_OK): Renumber.
32853 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
32854 (IGNORE_ZERO_INF_SIGN): Likewise.
32855 (test_exceptions): Handle FE_OVERFLOW.
32856 (exp10_test): Expect overflow exceptions.
32857 (exp2_test): Likewise.
32858 (expm1_test): Likewise.
32859 (nextafter_test): Likewise.
32860 (pow_test): Likewise.
32861 (scalbn_test): Likewise.
32862 (scalbln_test): Likewise.
32864 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32866 * sysdeps/x86_64/bits/atomic.h
32867 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
32869 (atomic_exchange_acq): Likewise.
32870 (__arch_exchange_and_add_body): Likewise.
32871 (__arch_add_body): Likewise.
32872 (atomic_add_negative): Likewise.
32873 (atomic_add_zero): Likewise.
32875 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32877 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
32878 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
32880 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32882 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
32883 Check __x86_64__ instead of __WORDSIZE.
32885 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32887 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
32889 2012-03-19 David S. Miller <davem@davemloft.net>
32891 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32893 * sysdeps/sparc/fpu/fenv_private.h: New file.
32894 * sysdeps/sparc/fpu/math_private.h: Use it.
32895 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
32897 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
32898 (libc_feholdexcept_setroundl): Remove.
32899 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
32901 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
32902 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
32904 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32906 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
32907 int64_t instead of long int.
32908 (INSERT_WORDS64): Likwise.
32910 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32912 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
32913 _Unwind_GetCFA return to _Unwind_Ptr first.
32915 2012-03-19 Joseph Myers <joseph@codesourcery.com>
32918 * math/s_clog.c: Include <float.h>.
32919 (__clog): Scale large or subnormal inputs.
32920 * math/s_clogf.c: Likewise.
32921 * math/s_clogl.c: Likewise.
32922 * math/s_clog10.c: Include <float.h>.
32923 (M_LOG10_2): Define.
32924 (__clog10): Scale large or subnormal inputs.
32925 * math/s_clog10f.c: Likewise.
32926 * math/s_clog10l.c: Likewise.
32927 * math/libm-test.inc (clog_test): Add more tests.
32928 (clog10_test): Likewise.
32929 * sysdeps/i386/fpu/libm-test-ulps: Update.
32930 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32933 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
32935 * math/libm-test.inc (atan2_test): Add another test.
32937 * Makerules (common-objdir-compile): Remove.
32938 * sysdeps/unix/Makefile (config-generated): Do not add
32939 $(unix-generated) to variable.
32940 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
32941 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
32943 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
32945 [generic bits/local_lim.h] (before-compile): Do not append to
32947 [generic bits/local_lim.h] (common-generated): Likewise.
32948 [generic sys/param.h] (before-compile): Do not append to variable.
32949 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
32950 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
32951 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
32952 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
32954 [generic sys/param.h] (sys/param.h-includes): Remove variable.
32955 [generic sys/param.h] (sys/param.h-includes): Remove rule.
32956 [generic sys/param.h] ($(addprefix
32957 $(common-objpfx),$(sys/param.h-includes))): Likewise.
32958 [generic sys/param.h] (common-generated): Do not append to
32960 [generic sys/param.h] (sysdep_headers): Likewise.
32961 [generic bits/errno.h] (before-compile): Do not append to
32963 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
32965 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
32966 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
32967 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
32968 [generic bits/errno.h] (common-generated): Do not append to
32970 [generic bits/ioctls.h] (before-compile): Do not append to
32972 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
32974 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
32975 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
32976 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
32978 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
32979 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
32980 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
32981 [generic bits/ioctls.h] (common-generated): Do not append to
32983 [generic sys/syscall.h] (syscall.h): Remove variable.
32984 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
32986 [generic sys/syscall.h] (before-compile): Do not append to
32988 [generic sys/syscall.h] (common-generated): Likewise.
32989 * sysdeps/unix/errnos-tmpl.c: Remove file.
32990 * sysdeps/unix/errnos.awk: Likewise.
32991 * sysdeps/unix/ioctls-tmpl.c: Likewise.
32992 * sysdeps/unix/ioctls.awk: Likewise.
32993 * sysdeps/unix/mk-local_lim.c: Likewise.
32994 * sysdeps/unix/snarf-ioctls: Likewise.
32996 2012-03-19 Richard Henderson <rth@twiddle.net>
32998 * sysdeps/i386/fpu/fenv_private.h: New file.
32999 * sysdeps/i386/fpu/math_private.h: Use it.
33000 (math_opt_barrier, math_force_eval): Remove.
33001 (libc_feholdexcept_setround_53bit): Remove.
33002 (libc_feupdateenv_53bit): Remove.
33003 * sysdeps/x86_64/fpu/math_private.h: Likewise.
33004 (math_opt_barrier, math_force_eval): Remove.
33005 (libc_feholdexcept): Remove.
33006 (libc_feholdexcept_setround): Remove.
33007 (libc_fetestexcept, libc_fesetenv): Remove.
33008 (libc_feupdateenv_test): Remove.
33009 (libc_feupdateenv, libc_feholdsetround): Remove.
33010 (libc_feresetround): Remove.
33012 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
33013 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
33015 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
33016 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
33017 (libc_feupdateenv_testl): New.
33018 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
33019 (libc_feupdateenv_testf): New.
33020 (libc_feupdateenv): Use libc_feupdateenv_test.
33021 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
33022 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
33024 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
33025 (libc_feholdsetroundf, libc_feholdsetroundl): New.
33026 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
33027 (libc_feresetround_noex): New.
33028 (libc_feresetround_noexf): New.
33029 (libc_feresetround_noexl): New.
33030 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
33031 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
33032 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
33033 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
33035 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
33036 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
33038 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
33039 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
33040 SET_RESTORE_ROUND_NOEX.
33041 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
33042 SET_RESTORE_ROUND_NOEXF.
33043 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
33044 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
33045 (libc_feholdsetroundf): New.
33046 (libc_feresetround, libc_feresetroundf): New.
33048 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
33049 (libc_feholdexcept_setround_53bit): Convert from macro to function.
33050 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
33052 * sysdeps/generic/math_private.h: Include <fenv.h>.
33053 (default_libc_feholdexcept): New.
33054 (default_libc_feholdexcept_setround): New.
33055 (default_libc_fesetenv, default_libc_feupdateenv): New.
33056 (libc_feholdexcept): Only define if undefined.
33057 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
33058 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
33059 (libc_feholdexcept_setroundl): Likewise.
33060 (libc_feholdexcept_setround_53bit): Likewise.
33061 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
33062 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
33063 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
33064 (libc_feupdateenv_53bit): Likewise.
33065 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
33066 (libc_feholdexcept): Convert from macro to inline function.
33067 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
33068 (libc_fesetenv, libc_feupdateenv): Likewise.
33070 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
33071 not previously defined.
33072 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
33073 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
33074 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
33075 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
33076 * sysdeps/ieee754/flt-32/math_private.h: New file.
33077 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
33078 math_private.h below SET_FLOAT_WORD.
33079 (__isnan, __isinf_ns, __finite): Remove.
33080 (__isnanf, __isinf_nsf, __finitef): Remove.
33082 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
33084 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33086 2012-03-17 David S. Miller <davem@davemloft.net>
33089 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
33092 2012-03-16 David S. Miller <davem@davemloft.net>
33094 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
33098 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
33100 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
33101 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
33102 sysdep_routines when subdir is sysvipc.
33103 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
33104 __getshmlba helper.
33106 * sysdeps/sparc/fpu/libm-test/ulps: Update.
33108 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33110 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
33113 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33115 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
33116 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
33117 (__lround): Renamed to ...
33118 (__llround): This. Replace long int with long long int.
33119 Define lround functions as aliases of llround functions.
33120 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
33122 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33124 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
33125 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
33126 adresses to uintptr_t. Replace "long int" and "unsigned long
33127 int" with "greg_t" on va_arg.
33129 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33131 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
33132 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
33134 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
33135 Move e_machine check before EI_CLASS check. Handle x32
33136 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
33137 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
33138 SKIP_EM_IA_64 and include
33139 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
33141 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
33142 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
33143 (add_system_dir): New macro.
33145 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
33146 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
33148 2012-03-16 Joseph Myers <joseph@codesourcery.com>
33159 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
33161 * math/w_j0f.c (j0f): Likewise.
33163 * math/w_j0l.c (__j0l): Likewise.
33165 * math/w_j1.c (j1): Likewise.
33167 * math/w_j1f.c (j1f): Likewise.
33169 * math/w_j1l.c (__j1l): Likewise.
33171 * math/w_jn.c (jn): Likewise.
33173 * math/w_jnf.c (jnf): Likewise.
33175 * math/w_jnl.c (__jnl): Likewise.
33177 * math/libm-test.inc (j0_test): Add more tests.
33178 (j1_test): Likewise.
33179 (jn_test): Likewise. Add trailing semicolon to existing test.
33180 (y0_test): Likewise.
33181 (y1_test): Likewise.
33182 * sysdeps/i386/fpu/libm-test-ulps: Update.
33183 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33187 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
33188 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
33189 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
33190 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
33191 (__tanl): Set errno for infinite argument.
33192 * sysdeps/i386/fpu/mptan.c: Remove.
33193 * sysdeps/i386/fpu/s_tan.S: Likewise.
33194 * sysdeps/i386/fpu/s_tanl.S: Likewise.
33195 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
33196 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
33197 * math/libm-test.inc (tan_test): Add more tests and enable more
33198 tests for double and long double.
33199 * sysdeps/i386/fpu/libm-test-ulps: Update.
33200 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33202 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
33204 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
33205 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
33207 2012-03-16 Roland McGrath <roland@hack.frob.com>
33209 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
33210 * configure.in: Use it for both main tree and add-ons.
33211 * configure: Regenerated.
33213 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33215 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
33217 2012-03-16 Joseph Myers <joseph@codesourcery.com>
33219 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
33223 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
33224 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
33225 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
33226 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
33227 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
33229 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
33230 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
33231 != 0 for prec == 2.
33232 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
33233 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
33234 * sysdeps/i386/fpu/s_cosl.S: Likewise.
33235 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
33236 * sysdeps/i386/fpu/s_sinl.S: Likewise.
33237 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
33238 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
33239 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
33240 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
33241 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
33242 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
33243 * math/libm-test.inc (cos_test): Add more tests and enable more
33244 tests for long double.
33245 (sin_test): Likewise.
33246 (sincos_test): Likewise.
33247 * sysdeps/i386/fpu/libm-test-ulps: Update.
33248 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33250 2012-03-16 David S. Miller <davem@davemloft.net>
33252 * sysdeps/sparc/fpu/math_private.h: New file.
33254 2012-03-15 David S. Miller <davem@davemloft.net>
33256 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
33258 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
33259 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
33261 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
33262 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
33263 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
33264 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
33265 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
33266 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
33268 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
33270 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
33271 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
33273 * sysdeps/sparc/sparc-ifunc.h: New file.
33274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
33276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
33277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
33279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
33281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
33282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
33283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
33284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
33286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
33287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
33288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
33289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
33290 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
33292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
33294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
33295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
33296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
33297 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
33298 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
33299 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
33300 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
33301 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
33302 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
33303 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
33304 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
33305 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
33306 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
33307 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
33308 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
33309 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
33310 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
33311 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
33312 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
33313 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
33314 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
33315 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
33316 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
33317 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
33319 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
33321 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
33323 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33325 2012-03-15 Andreas Jaeger <aj@suse.de>
33328 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
33329 ieee754/flt-32 implementation for sin, cos and sincos.
33330 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
33331 * sysdeps/i386/fpu/s_cosf.S: Likewise.
33332 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
33333 * sysdeps/i386/fpu/s_sinf.S: Likewise.
33334 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
33335 ieee754/flt-32 implementation for tan.
33337 * math/libm-test.inc (cos_test): Enable some large input tests for
33339 (sin_test): Likewise.
33340 (sincos_test): Likewise.
33341 (tan_test): Add tests for large input.
33343 * sysdeps/i386/fpu/libm-test-ulps: Update.
33345 2012-03-15 Andreas Jaeger <aj@suse.de>
33348 * math/libm-test.inc (cos_test): Add more test cases.
33349 (sin_test): Likewise.
33350 (sincos_test): Likewise.
33352 2012-03-15 Andreas Jaeger <aj@suse.de>
33355 * math/libm-test.inc (cos_test): Add a test case for large input
33357 (sin_test): Likewise.
33358 (sincos_test): Likewise.
33360 2012-03-15 Andreas Jaeger <aj@suse.de>
33361 Joseph Myers <joseph@codesourcery.com>
33364 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
33365 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
33366 * sysdeps/i386/fpu/branred.c: Likewise.
33367 * sysdeps/i386/fpu/dosincos.c: Likewise.
33368 * sysdeps/i386/fpu/mpa.c: Likewise.
33369 * sysdeps/i386/fpu/s_cos.S: Likewise.
33370 * sysdeps/i386/fpu/s_sin.S: Likewise.
33371 * sysdeps/i386/fpu/s_sincos.S: Likewise.
33372 * sysdeps/i386/fpu/sincos32.c: Likewise.
33374 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
33376 (libc_feupdateenv_53bit): Define.
33377 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
33379 (libc_feupdateenv_53bit): Define.
33381 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
33382 53 bit (without extend i386 double precision).
33384 * math/libm-test.inc (sincos_test): Add tests for large input.
33388 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
33390 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
33392 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33394 2012-03-15 David S. Miller <davem@davemloft.net>
33396 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
33397 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
33398 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
33399 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
33400 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
33401 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
33402 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
33403 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
33404 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
33405 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
33406 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
33407 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
33408 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
33409 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
33410 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
33411 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
33413 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
33414 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
33416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
33417 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
33419 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
33420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
33422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
33423 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
33424 fmin/fmax sysdep routines.
33425 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
33427 2012-03-14 David S. Miller <davem@davemloft.net>
33429 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
33430 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
33431 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
33432 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
33433 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
33434 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
33435 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
33436 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
33437 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
33438 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
33439 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
33440 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
33441 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
33442 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
33443 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
33444 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
33445 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
33446 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
33447 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
33448 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
33449 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
33450 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
33451 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
33452 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
33453 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
33454 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
33455 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
33456 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
33457 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
33459 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
33461 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
33462 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
33464 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
33465 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
33467 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
33468 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
33470 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
33471 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
33473 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
33474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
33476 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
33478 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
33480 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
33482 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
33484 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
33486 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
33488 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
33489 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
33491 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
33492 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
33494 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
33495 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
33497 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
33498 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
33501 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
33504 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33506 * sysdeps/sparc/configure.in: New file.
33507 * sysdeps/sparc/configure: Generate.
33508 * configure.in (libc_cv_sparc_as_vis3): Substitute.
33509 * configure: Regenerate.
33510 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
33511 * config.make.in (have-as-vis3): New.
33512 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
33513 available use -Av9d instead of -Av9a.
33514 * sysdeps/sparc/sparc64/Makefile: Likewise.
33515 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
33516 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
33518 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
33520 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
33522 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
33524 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
33525 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
33526 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
33527 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
33528 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
33530 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
33531 fzeros/fnegs to load 0x80000000 into a float register instead of
33533 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
33535 2012-03-14 Joseph Myers <joseph@codesourcery.com>
33537 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33539 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
33540 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
33541 ($(inst_includedir)/bits/syscall.h): Remove rule.
33542 ($(objpfx)bits/syscall.d): Include instead of
33543 $(objpfx)syscall-list.d.
33544 (generated): Change syscall-list.h and syscall-list.d to
33545 bits/syscall.h and bits/syscall.d.
33547 2012-03-14 Roland McGrath <roland@hack.frob.com>
33550 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
33552 2012-03-14 Joseph Myers <joseph@codesourcery.com>
33555 * math/s_csqrt.c: Include <float.h>.
33556 (__csqrt): Scale large or subnormal inputs.
33557 * math/s_csqrtf.c: Likewise.
33558 * math/s_csqrtl.c: Likewise.
33559 * math/libm-test.inc (csqrt_test): Add more tests.
33560 * sysdeps/i386/fpu/libm-test-ulps: Update.
33561 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33564 * math/libm-test.inc (hypot_test): Add more tests.
33566 2012-03-13 David S. Miller <davem@davemloft.net>
33569 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
33570 double-precision for the calculation instead of scaling.
33572 2012-03-13 Joseph Myers <joseph@codesourcery.com>
33574 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
33575 manipulate bits before adding and subtracting TWO52[sx].
33576 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
33577 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
33579 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
33581 2012-03-13 David S. Miller <davem@davemloft.net>
33583 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
33584 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
33585 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
33586 rtld-global-offsets.h
33587 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
33589 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
33592 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
33594 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
33595 'err' in the ifdef scope in which it is actually used.
33597 * nss/nss_db/db-init.c: Include string.h
33599 2012-03-12 David S. Miller <davem@davemloft.net>
33601 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
33602 masking out of the most significant byte of random value used.
33603 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33604 Fix coding style in previous change.
33606 * sysdeps/unix/sysv/linux/kernel-features.h
33607 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
33608 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
33610 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
33613 2012-03-11 David S. Miller <davem@davemloft.net>
33615 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
33616 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
33617 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
33618 for 'resultvar' otherwise things get truncated on 64-bit.
33620 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33621 Fix masking out of the most significant byte of random value used.
33623 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33625 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
33627 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33629 2012-03-09 David S. Miller <davem@davemloft.net>
33631 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
33632 variables with appropriate CPP guards.
33633 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
33634 from the frame pointer, not the stack pointer. Correct layout
33635 comments. Fix test on resulting framesize and the management of
33636 the outregs buffer for pltexit. Preserve floating point return
33637 values across _dl_call_pltexit call.
33638 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
33639 framesize and the management of the outregs buffer for pltexit.
33640 Preserve floating point return values across _dl_call_pltexit
33642 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
33643 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
33644 (la_sparc64_gnu_pltexit): New functions.
33645 (print_exit): Fix format string for return register value.
33647 2012-03-10 Joseph Myers <joseph@codesourcery.com>
33649 * sunrpc/Makefile (others): Add rpcgen.
33650 ($(objpfx)rpcgen): Remove special build rule and dependency on
33652 * sunrpc/rpcgen.c: New file.
33654 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
33657 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
33658 * stdio-common/bug-vfprintf-nargs.c: Likewise.
33659 * sysdeps/i386/crti.S: Likewise.
33660 * sysdeps/i386/crtn.S: Likewise.
33661 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
33662 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
33663 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
33664 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
33665 * sysdeps/sh/crti.S: Likewise.
33666 * sysdeps/sh/crtn.S: Likewise.
33667 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
33670 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
33672 * locale/programs/locfile-kw.gperf: Likewise.
33673 * locale/programs/charmap-kw.h: Regenerated.
33674 * locale/programs/locfile-kw.h: Likewise.
33677 * intl/plural.y: Replace FSF snail mail address with URL.
33678 * intl/plural.c: Regenerated.
33680 2012-03-09 Richard Henderson <rth@twiddle.net>
33682 * include/math_private.h: Remove file.
33683 * math/math_private.h: Move file ...
33684 * sysdeps/generic/math_private.h: ... here.
33686 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
33687 * sysdeps/powerpc/fpu/math_private.h: Likewise.
33688 * sysdeps/x86_64/fpu/math_private.h: Likewise.
33690 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33691 and <math_private.h>.
33692 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
33693 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
33694 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
33695 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
33696 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
33697 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
33698 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
33699 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33700 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
33701 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33702 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33703 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
33704 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
33705 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33706 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
33707 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
33708 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
33709 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
33710 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
33711 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
33712 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33713 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
33714 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
33715 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33716 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
33717 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33718 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
33719 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33720 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33721 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
33722 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
33723 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33724 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
33725 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
33726 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
33727 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
33728 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
33729 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
33730 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
33731 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
33732 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
33733 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
33734 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
33735 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
33736 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
33737 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
33738 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
33739 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
33740 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
33741 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
33742 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
33743 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
33744 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
33745 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
33746 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
33747 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
33748 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
33749 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
33750 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
33751 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
33752 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
33753 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
33754 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33755 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
33756 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
33757 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
33758 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
33759 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
33760 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
33761 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
33762 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
33763 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
33764 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
33765 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
33766 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
33767 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
33768 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
33769 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
33770 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
33771 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
33772 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
33773 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
33774 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
33775 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
33776 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
33777 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
33778 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
33779 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
33780 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
33781 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
33782 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
33783 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
33784 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33785 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
33786 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
33787 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
33788 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
33789 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
33790 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33791 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
33792 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
33793 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
33794 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
33795 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
33796 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
33797 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
33798 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
33799 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
33800 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
33801 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
33802 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
33803 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
33804 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
33805 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
33806 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
33807 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
33808 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
33809 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
33810 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
33811 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
33812 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
33813 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
33814 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
33815 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
33816 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
33817 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
33818 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
33819 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
33820 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
33821 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
33822 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
33823 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
33824 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
33825 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
33826 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
33827 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
33828 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
33829 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
33830 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
33831 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
33832 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
33833 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
33834 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
33835 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
33836 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
33837 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
33838 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
33839 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
33840 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
33841 * sysdeps/ieee754/k_standard.c: Likewise.
33842 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
33843 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
33844 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
33845 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
33846 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
33847 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
33848 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
33849 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
33850 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
33851 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
33852 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33853 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
33854 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
33855 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
33856 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
33857 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
33858 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
33859 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
33860 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
33861 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
33862 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
33863 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
33864 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
33865 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
33866 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
33867 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
33868 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
33869 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
33870 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
33871 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
33872 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
33873 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
33874 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
33875 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
33876 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
33877 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
33878 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
33879 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
33880 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
33881 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
33882 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
33883 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
33884 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
33885 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
33886 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
33887 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
33888 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
33889 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
33890 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
33891 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
33892 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
33893 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
33894 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
33895 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
33896 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
33897 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
33898 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
33899 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
33900 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
33901 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
33902 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
33903 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
33904 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
33905 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
33906 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
33907 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
33908 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
33909 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
33910 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
33911 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
33912 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
33913 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
33914 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
33915 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
33916 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
33917 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
33918 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
33919 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
33920 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33921 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
33922 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
33923 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
33924 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
33925 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
33926 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
33927 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
33928 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
33929 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
33930 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
33931 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
33932 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
33933 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
33934 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
33935 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
33936 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
33937 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
33938 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
33939 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
33940 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
33941 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
33942 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
33943 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
33944 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
33945 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
33946 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
33947 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
33948 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
33949 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
33950 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
33951 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
33952 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
33953 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
33954 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
33955 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
33956 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
33957 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
33958 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
33959 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
33960 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
33961 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
33962 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33963 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
33964 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
33965 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
33966 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
33967 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
33968 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
33969 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
33970 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
33971 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
33972 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
33973 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
33974 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
33975 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
33976 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
33977 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
33978 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
33979 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
33980 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
33981 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
33982 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
33983 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
33984 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
33985 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
33986 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
33987 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
33988 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
33989 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
33990 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
33991 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
33992 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
33993 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
33994 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
33995 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
33996 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
33997 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
33998 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
33999 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
34000 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
34001 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
34002 * sysdeps/ieee754/s_lib_version.c: Likewise.
34003 * sysdeps/ieee754/s_matherr.c: Likewise.
34004 * sysdeps/ieee754/s_signgam.c: Likewise.
34005 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
34006 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
34007 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
34008 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
34009 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
34010 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
34011 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
34012 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
34013 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
34014 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
34015 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
34016 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
34017 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
34018 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
34019 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
34020 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
34021 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
34022 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
34023 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
34024 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
34025 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
34027 2012-03-09 Joseph Myers <joseph@codesourcery.com>
34029 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
34030 * sunrpc/rpc_main.c: Likewise.
34031 * sunrpc/rpc_svcout.c: Likewise.
34033 2012-03-09 David S. Miller <davem@davemloft.net>
34035 * include/math_private.h: New file.
34037 2012-03-09 Joseph Myers <joseph@codesourcery.com>
34039 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
34040 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
34041 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
34042 from <bits/socket_type.h>.
34043 (enum __socket_type): Don't define here.
34044 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
34045 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34046 bits/socket_type.h.
34049 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
34050 checking __USE_GNU.
34052 * Makerules ($(inst_includedir)/%.h): New rule.
34053 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
34054 (install-others): Remove variable setting.
34055 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
34057 2012-03-08 Richard Henderson <rth@twiddle.net>
34059 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
34060 from macro to inline function; merge with the
34061 !__LIBC_INTERNAL_MATH_INLINES version.
34062 (__ieee754_sqrtf): Likewise.
34064 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
34065 to inline function.
34066 (__rintf, __floor, __floorf): Likewise.
34068 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
34069 macro to inline function.
34070 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
34072 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
34073 not <math/math_private.h>.
34075 2012-03-08 David S. Miller <davem@davemloft.net>
34077 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
34079 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
34081 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
34083 * resolv/gai_misc.c (handle_requests): Fix struct timespec
34085 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
34086 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
34088 2012-03-08 Ulrich Drepper <drepper@gmail.com>
34090 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
34091 be defined individually, they must be defined as a block. Define
34092 S for printing a string instead of hidint the different by using a
34093 macro for adding the 'l'.
34094 * stdio-common/tst-fphex-wide.c: Adjust.
34096 2012-03-07 Marek Polacek <polacek@redhat.com>
34098 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
34100 2012-03-08 Marek Polacek <polacek@redhat.com>
34103 * stdio-common/Makefile (tests): Add tst-fphex-wide.
34104 * stdio-common/tst-fphex.c: Define a few macros to make the
34105 test reusable. Use them.
34106 * stdio-common/tst-fphex-wide.c: New file.
34108 2012-03-08 Joseph Myers <joseph@codesourcery.com>
34111 * manual/macros.texi (gnusystems): New macro.
34112 (nongnusystems): Likewise.
34113 (gnulinuxhurdsystems): Likewise.
34114 (gnuhurdsystems): Likewise..
34115 (gnulinuxsystems): Likewise.
34116 * manual/charset.texi: Use new macros or @theglibc{} to refer to
34117 variants of the GNU system, not "GNU system".
34118 * manual/conf.texi: Likewise.
34119 * manual/errno.texi: Likewise. Update example of errno macro
34121 * manual/filesys.texi: Likewise.
34122 (getumask): Document as specific to GNU/Hurd.
34123 * manual/install.texi: Likewise. Reword some references to
34125 * manual/intro.texi: Likewise.
34126 * manual/io.texi: Likewise.
34127 (File Name Portability): Detail which constraints are inapplicable
34128 to all GNU systems and which are only inapplicable to GNU/Hurd.
34129 * manual/job.texi: Likewise.
34130 * manual/llio.texi: Likewise.
34131 (O_NOCTTY): Document as present on GNU/Linux.
34132 * manual/maint.texi: Likewise.
34133 * manual/memory.texi: Likewise.
34134 * manual/pattern.texi: Likewise.
34135 * manual/pipe.texi: Likewise.
34136 * manual/process.texi: Likewise.
34137 * manual/resource.texi: Likewise.
34138 (RUSAGE_CHILDREN): Remove statement about specifying a particular
34140 * manual/setjmp.texi: Likewise.
34141 * manual/signal.texi: Likewise.
34142 * manual/startup.texi: Likewise.
34143 * manual/stdio.texi: Likewise.
34144 * manual/terminal.texi: Likewise.
34145 (ONLCR): Document as POSIX.
34146 (OXTABS): Document availability on GNU/Linux as XTABS.
34147 (ONOEOT): Document availability separately from other bits.
34148 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
34149 * manual/time.texi: Likewise.
34150 * manual/users.texi: Likewise.
34151 * INSTALL: Regenerated.
34152 * sysdeps/gnu/errlist.c: Regenerated.
34154 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
34155 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
34156 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
34158 * configure: Regenerated.
34160 2012-03-07 Joseph Myers <joseph@codesourcery.com>
34162 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
34163 default includes instead of AC_HEADER_CHECK.
34164 * sysdeps/i386/configure: Regenerated.
34167 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
34168 * math/s_cacoshf.c (__cacoshf): Likewise.
34169 * math/s_cacoshl.c (__cacoshl): Likewise.
34170 * math/s_casinh.c (__casinh): Set signs of result from argument.
34171 * math/s_casinhf.c (__casinhf): Likewise.
34172 * math/s_casinhl.c (__casinhl): Likewise.
34173 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
34174 (casinh_test): Add more tests.
34175 * sysdeps/i386/fpu/libm-test-ulps: Update.
34176 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34178 2012-03-07 Ulrich Drepper <drepper@gmail.com>
34180 * po/zh_TW.po: Update from translation team.
34182 * login/Makefile (distribute): Remove variable.
34183 * catgets/Makefile: Likewise.
34184 * mach/Makefile: Likewise.
34185 * malloc/Makefile: Likewise.
34186 * misc/Makefile: Likewise.
34187 * iconv/Makefile: Likewise.
34188 * nscd/Makefile: Likewise.
34189 * hurd/Makefile: Likewise.
34190 * manual/Makefile: Likewise.
34191 * locale/Makefile: Likewise.
34192 * intl/Makefile: Likewise.
34193 * conform/Makefile: Likewise.
34194 * nss/Makefile: Likewise.
34195 * time/Makefile: Likewise.
34196 * soft-fp/Makefile: Likewise.
34197 * dirent/Makefile: Likewise.
34198 * gmon/Makefile: Likewise.
34199 * po/Makefile: Likewise.
34200 * rt/Makefile: Likewise.
34201 * socket/Makefile: Likewise.
34202 * math/Makefile: Likewise.
34203 * signal/Makefile: Likewise.
34204 * debug/Makefile: Likewise.
34205 * elf/Makefile: Likewise.
34206 * timezone/Makefile: Likewise.
34207 * stdlib/Makefile: Likewise.
34208 * iconvdata/Makefile: Likewise.
34209 * sunrpc/Makefile: Likewise.
34210 * io/Makefile: Likewise.
34211 * argp/Makefile: Likewise.
34212 * inet/Makefile: Likewise.
34213 * hesiod/Makefile: Likewise.
34214 * grp/Makefile: Likewise.
34215 * csu/Makefile: Likewise.
34216 * wctype/Makefile: Likewise.
34217 * crypt/Makefile: Likewise.
34218 * libio/Makefile: Likewise.
34219 * string/Makefile: Likewise.
34220 * nis/Makefile: Likewise.
34221 * resolv/Makefile: Likewise.
34222 * stdio-common/Makefile: Likewise.
34223 * wcsmbs/Makefile: Likewise.
34224 * dlfcn/Makefile: Likewise.
34225 * posix/Makefile: Likewise.
34228 * timezone/Makefile: Don't install timezone files, just the programs
34231 2012-03-06 Ulrich Drepper <drepper@gmail.com>
34233 * nss/databases.def: Add missing gshadow entry.
34235 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
34237 2012-03-06 Marek Polacek <polacek@redhat.com>
34240 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
34241 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
34242 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
34243 * stdio-common/tst-long-dbl-fphex.c: New file.
34245 2012-03-06 David S. Miller <davem@davemloft.net>
34247 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34248 (set_obp_int): New function.
34249 (get_obp_int): New function.
34250 (__get_clockfreq_via_dev_openprom): Likewise.
34251 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
34252 Avoid unused variable warnings on 'val' and use builtin_expect.
34253 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
34255 (INLINE_CLONE_SYSCALL): Likewise.
34257 2012-03-05 David S. Miller <davem@davemloft.net>
34259 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34261 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
34263 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34265 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
34266 only for |x| >= 40.
34267 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
34269 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
34271 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
34272 Replace gettimeofday with __vdso_gettimeofday.
34274 * sysdeps/unix/sysv/linux/x86_64/init-first.c
34275 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
34276 __vdso_clock_gettime and __vdso_getcpu.
34278 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
34279 time with __vdso_time.
34281 2012-03-05 Joseph Myers <joseph@codesourcery.com>
34283 * manual/lang.texi (size_t): Note types to which size_t may be
34284 equivalent with the GNU C Library, but do not describe when
34285 differences between them are significant.
34287 2012-03-05 Andreas Jaeger <aj@suse.de>
34289 * sysdeps/i386/fpu/libm-test-ulps: Update.
34291 2012-03-05 Joseph Myers <joseph@codesourcery.com>
34294 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
34295 (__ieee754_pow): Save and restore rounding mode and use
34296 round-to-nearest for main computations.
34297 * math/libm-test.inc (pow_test_tonearest): New function.
34298 (pow_test_towardzero): Likewise.
34299 (pow_test_downward): Likewise.
34300 (pow_test_upward): Likewise.
34301 (main): Call the new functions.
34302 * sysdeps/i386/fpu/libm-test-ulps: Update.
34303 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34306 * math/libm-test.inc (cosh_test_tonearest): New function.
34307 (cosh_test_towardzero): Likewise.
34308 (cosh_test_downward): Likewise.
34309 (cosh_test_upward): Likewise.
34310 (sinh_test_tonearest): Likewise.
34311 (sinh_test_towardzero): Likewise.
34312 (sinh_test_downward): Likewise.
34313 (sinh_test_upward): Likewise.
34314 (main): Call the new functions.
34315 * sysdeps/i386/fpu/libm-test-ulps: Update.
34316 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34318 2012-03-05 Tom de Vries <tom@codesourcery.com>
34320 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
34321 default stack guard is set in last bytes.
34322 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
34324 2012-03-05 Kees Cook <keescook@chromium.org>
34326 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
34329 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
34330 possibly allocate from heap instead of stack.
34331 * stdio-common/bug-vfprintf-nargs.c: New file.
34332 * stdio-common/Makefile (tests): Add nargs overflow test.
34334 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
34336 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34338 2012-03-03 Marek Polacek <polacek@redhat.com>
34340 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
34341 * math/math_private.h: Likewise.
34342 * stdlib/tst-strtod.c: Likewise.
34343 * sysdeps/i386/i486/bits/atomic.h: Likewise.
34344 * sysdeps/x86_64/bits/atomic.h: Likewise.
34346 2012-03-02 David S. Miller <davem@davemloft.net>
34348 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
34349 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
34350 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
34351 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
34352 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
34353 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
34354 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
34355 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
34357 2012-03-02 Roland McGrath <roland@hack.frob.com>
34360 * manual/examples/README: New file, says the example source files
34361 can be used under GPL>=2.
34362 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
34363 line containing just "*/".
34364 * manual/examples/add.c: Add copyright header (GPL>=2).
34365 * manual/examples/argp-ex1.c: Likewise.
34366 * manual/examples/argp-ex2.c: Likewise.
34367 * manual/examples/argp-ex3.c: Likewise.
34368 * manual/examples/argp-ex4.c: Likewise.
34369 * manual/examples/atexit.c: Likewise.
34370 * manual/examples/db.c: Likewise.
34371 * manual/examples/dir.c: Likewise.
34372 * manual/examples/dir2.c: Likewise.
34373 * manual/examples/execinfo.c: Likewise.
34374 * manual/examples/filecli.c: Likewise.
34375 * manual/examples/filesrv.c: Likewise.
34376 * manual/examples/fmtmsgexpl.c: Likewise.
34377 * manual/examples/genpass.c: Likewise.
34378 * manual/examples/inetcli.c: Likewise.
34379 * manual/examples/inetsrv.c: Likewise.
34380 * manual/examples/isockad.c: Likewise.
34381 * manual/examples/longopt.c: Likewise.
34382 * manual/examples/memopen.c: Likewise.
34383 * manual/examples/memstrm.c: Likewise.
34384 * manual/examples/mkfsock.c: Likewise.
34385 * manual/examples/mkisock.c: Likewise.
34386 * manual/examples/mygetpass.c: Likewise.
34387 * manual/examples/pipe.c: Likewise.
34388 * manual/examples/popen.c: Likewise.
34389 * manual/examples/rprintf.c: Likewise.
34390 * manual/examples/search.c: Likewise.
34391 * manual/examples/select.c: Likewise.
34392 * manual/examples/setjmp.c: Likewise.
34393 * manual/examples/sigh1.c: Likewise.
34394 * manual/examples/sigusr.c: Likewise.
34395 * manual/examples/stpcpy.c: Likewise.
34396 * manual/examples/strdupa.c: Likewise.
34397 * manual/examples/strftim.c: Likewise.
34398 * manual/examples/strncat.c: Likewise.
34399 * manual/examples/subopt.c: Likewise.
34400 * manual/examples/swapcontext.c: Likewise.
34401 * manual/examples/termios.c: Likewise.
34402 * manual/examples/testopt.c: Likewise.
34403 * manual/examples/testpass.c: Likewise.
34404 * manual/examples/timeval_subtract.c: Likewise.
34407 * manual/time.texi (Elapsed Time): Move timeval_subtract example
34409 * manual/timeval_subtract.c.texi: ... here, new file.
34411 2012-03-02 David S. Miller <davem@davemloft.net>
34413 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
34415 2012-03-02 Joseph Myers <joseph@codesourcery.com>
34418 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
34419 (__sin): Save and restore rounding mode and use round-to-nearest
34420 for all computations.
34421 (__cos): Save and restore rounding mode and use round-to-nearest
34422 for all computations.
34423 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
34425 (tan): Save and restore rounding mode and use round-to-nearest for
34427 * math/libm-test.inc (cos_test_tonearest): New function.
34428 (cos_test_towardzero): Likewise.
34429 (cos_test_downward): Likewise.
34430 (cos_test_upward): Likewise.
34431 (sin_test_tonearest): Likewise.
34432 (sin_test_towardzero): Likewise.
34433 (sin_test_downward): Likewise.
34434 (sin_test_upward): Likewise.
34435 (tan_test_tonearest): Likewise.
34436 (tan_test_towardzero): Likewise.
34437 (tan_test_downward): Likewise.
34438 (tan_test_upward): Likewise.
34439 (main): Call the new functions.
34440 * sysdeps/i386/fpu/libm-test-ulps: Update.
34441 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34444 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
34445 small n, then large n, before computing and testing k+n.
34446 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
34447 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
34449 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
34451 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
34452 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
34453 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
34454 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
34455 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
34456 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
34457 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
34458 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
34459 * math/libm-test.inc (scalbn_test): Add more tests.
34460 (scalbln_test): Likewise.
34462 * manual/filesys.texi (mode_t): Describe constraints on size and
34463 signedness, not exact equivalence to a particular type.
34465 (ino64_t): Likewise.
34467 (nlink_t): Likewise.
34468 (blkcnt_t): Likewise.
34469 (blkcnt64_t): Likewise.
34470 * manual/llio.texi (off_t): Likewise.
34473 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
34474 (__ieee754_exp): Save and restore rounding mode and use
34475 round-to-nearest for all computations.
34476 * math/libm-test.inc (exp_test_tonearest): New function.
34477 (exp_test_towardzero): Likewise.
34478 (exp_test_downward): Likewise.
34479 (exp_test_upward): Likewise.
34480 (main): Call the new functions.
34481 * sysdeps/i386/fpu/libm-test-ulps: Update.
34482 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34484 2012-03-01 Chris Demetriou <cgd@google.com>
34486 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
34487 have predictable order.
34489 2012-03-01 David S. Miller <davem@davemloft.net>
34491 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
34493 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
34494 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
34495 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
34496 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
34498 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
34499 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
34500 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
34501 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
34502 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
34503 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
34504 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
34505 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
34506 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
34508 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34510 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
34511 * sysdeps/sparc/fpu/libm-test-ulps: to here.
34512 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
34514 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
34515 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
34516 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
34517 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
34518 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
34519 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
34520 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
34521 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
34522 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
34523 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
34524 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
34525 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
34526 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
34527 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
34528 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
34529 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34530 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
34531 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
34532 * sysdeps/sparc/elf/configure: Regenerated.
34534 2012-03-01 Joseph Myers <joseph@codesourcery.com>
34536 * configure.in (AS, LD): Require binutils 2.20 or later.
34537 * configure: Regenerated.
34538 * manual/install.texi (Tools for Compilation): Give binutils 2.20
34539 as required minimum version.
34540 * INSTALL: Regenerated.
34544 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
34545 before squaring exponent.
34546 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
34547 bottom long double and 27 bits of top long double before squaring
34549 * math/libm-test.inc (erfc_test): Add more tests.
34550 * sysdeps/i386/fpu/libm-test-ulps: Update.
34551 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34552 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34554 2012-03-01 Kai Tietz <ktietz@redhat.com>
34556 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
34557 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
34558 containing bit-fields.
34559 * soft-fp/extended.h (_FP_UNION_E): Likewise.
34560 * soft-fp/single.h (_FP_UNION_S): Likewise.
34561 * soft-fp/double.h (_FP_UNION_D): Likewise.
34563 2012-02-29 Joseph Myers <joseph@codesourcery.com>
34566 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
34567 not include ../strcmp.S.
34568 [USE_AS_STRNCASECMP_L]: Likewise.
34569 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
34570 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
34571 * sysdeps/i386/i686/multiarch/strncase_l-c.c
34572 (__strncasecmp_l_ia32): Define as alias to
34573 __strncasecmp_l_nonascii.
34576 * math/libm-test.inc (expm1_test): Add test for bug 5794.
34577 * sysdeps/i386/fpu/libm-test-ulps: Update.
34578 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34580 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
34581 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34583 2012-02-29 Jeff Law <law@redhat.com>
34585 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
34586 out of bounds read.
34588 2012-02-29 Marek Polacek <polacek@redhat.com>
34591 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
34592 * elf/Makefile: Add rules to run tst-unused-dep.out.
34594 2012-02-28 David S. Miller <davem@davemloft.net>
34596 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
34597 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
34598 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
34599 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
34600 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
34601 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
34603 2012-02-29 Joseph Myers <joseph@codesourcery.com>
34605 * math/libm-test.inc (llround_test): Move one test from
34606 lround_test. Use TEST_f_L in moved test.
34607 (lround_test): Move misplaced test to llround_test. Add testcase
34610 2012-02-28 Ulrich Drepper <drepper@gmail.com>
34612 * sysdeps/x86_64/fpu/e_expf.S: New file.
34613 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
34615 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
34618 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
34619 of remain_len that may cause incomplete multi-byte character and
34621 * posix/bug-regex33.c: New file.
34622 * posix/Makefile (tests): Add bug-regex33.
34624 2012-02-28 Joseph Myers <joseph@codesourcery.com>
34626 * manual/macros.texi: New file.
34627 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
34628 * manual/libc.texinfo: Include macros.texi.
34629 * manual/creatute.texi: Likewise.
34630 * manual/install.texi: Likewise.
34631 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
34632 @glibcadj{} in references to the GNU C Library.
34633 * manual/charset.texi: Likewise.
34634 * manual/conf.texi: Likewise.
34635 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
34636 when not using those macros.
34637 * manual/creature.texi: Likewise.
34638 * manual/crypt.texi: Likewise.
34639 * manual/errno.texi: Likewise.
34640 * manual/filesys.texi: Likewise.
34641 * manual/header.texi: Likewise.
34642 * manual/install.texi: Likewise.
34643 * manual/intro.texi: Likewise.
34644 * manual/io.texi: Likewise.
34645 * manual/job.texi: Likewise.
34646 * manual/lang.texi: Likewise.
34647 * manual/libc.texiinfo: Likewise.
34648 * manual/llio.texi: Likewise.
34649 * manual/locale.texi: Likewise.
34650 * manual/maint.texi: Likewise.
34651 * manual/math.texi: Likewise.
34652 * manual/memory.texi: Likewise.
34653 * manual/message.texi: Likewise.
34654 * manual/nss.texi: Likewise.
34655 * manual/pattern.texi: Likewise.
34656 * manual/process.texi: Likewise.
34657 * manual/resource.texi: Likewise.
34658 * manual/search.texi: Likewise.
34659 * manual/setjmp.texi: Likewise.
34660 * manual/signal.texi: Likewise.
34661 * manual/socket.texi: Likewise.
34662 * manual/startup.texi: Likewise.
34663 * manual/stdio.texi: Likewise.
34664 * manual/string.texi: Likewise.
34665 * manual/sysinfo.texi: Likewise.
34666 * manual/syslog.texi: Likewise.
34667 * manual/terminal.texi: Likewise.
34668 * manual/time.texi: Likewise.
34669 * manual/users.texi: Likewise.
34670 * INSTALL: Regenerated.
34671 * NOTES: Regenerated.
34672 * sysdeps/gnu/errlist.c: Regenerated.
34674 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
34676 * include/dirent.h: Include <dirstream.h> before
34679 2012-02-28 David S. Miller <davem@davemloft.net>
34681 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
34682 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
34683 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
34684 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
34686 2012-02-27 David S. Miller <davem@davemloft.net>
34688 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
34689 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
34690 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
34691 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
34693 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
34694 frame pointer instead of stack pointer relative arg slot.
34695 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
34696 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
34697 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
34699 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
34702 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
34704 2012-02-27 David S. Miller <davem@davemloft.net>
34706 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
34707 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
34708 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
34709 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
34710 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
34711 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
34712 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
34713 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
34715 2012-02-27 Joseph Myers <joseph@codesourcery.com>
34717 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
34718 later. Allow versions 5-9.
34719 * configure: Regenerated.
34720 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
34721 required minimum version and 4.6 as recommended version. Do not
34722 mention bugs in GCC 2.7 and 2.8.
34723 * INSTALL: Regenerated.
34725 2012-02-27 David S. Miller <davem@davemloft.net>
34727 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
34728 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
34729 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
34730 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
34731 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
34732 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
34733 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
34734 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
34736 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
34737 manipulate bits before adding and subtracting TWO112[sx].
34738 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
34740 2012-02-27 Roland McGrath <roland@hack.frob.com>
34743 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
34744 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
34745 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
34746 being in POSIX, because they are in 1003.1-2008.
34748 * rt/tst-aio.c: Include <fcntl.h>.
34749 * rt/tst-aio7.c: Likewise.
34750 * rt/tst-aio64.c: Likewise.
34752 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
34754 2012-02-27 Joseph Myers <joseph@codesourcery.com>
34756 * manual/install.texi (--with-headers): Describe headers as
34757 interface headers, not private headers.
34758 (Specific advice for GNU/Linux systems): Describe use of headers
34759 from "make headers_install", not private headers from older
34761 * INSTALL: Regenerated.
34762 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
34764 * sysdeps/unix/sysv/linux/configure: Regenerated.
34766 * manual/llio.texi (fclean): Remove documentation.
34768 * manual/Makefile (libc-texi-generated): New variable. Include
34770 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
34771 $(libc-texi-generated), not duplicated list of files.
34772 (version.texi, stamp-version): New rules.
34773 (realclean): Remove $(libc-texi-generated), not individual files
34774 from that list. Do not remove dir-add.texinfo.
34775 * manual/libc.texinfo: Comment out uses of edition numbers and
34776 references to printed manual. Remove last-updated dates.
34777 (EDITION): Comment out.
34779 (VERSION, UPDATED): Remove.
34780 (version.texi): Include.
34782 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
34784 * sysdeps/posix/spawni.c: Include <signal.h>.
34785 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
34786 * sysdeps/pthread/aio_fsync.c: Likewise.
34788 2012-02-26 Ulrich Drepper <drepper@gmail.com>
34790 * conform/Makefile (tests): Run only when not cross-compiling and
34791 when fast-check is not defined.
34793 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
34794 * conform/data/limits.h-data: Fixes for POSIX2008.
34795 * conform/run-conformtest.sh: Run all tests.
34796 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
34798 * include/bits/dlfcn.h: Likewise.
34799 * include/langinfo.h: Likewise.
34800 * include/monetary.h: Likewise.
34801 * include/sys/poll.h: Likewise.
34803 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
34805 * posix/spawn.h: Define __need_sigset_t.
34806 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
34807 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
34808 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
34809 to get sigevent_t only.
34810 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
34811 only for __USE_GNU.
34812 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
34813 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
34814 process_vm_writev only for __USE_GNU.
34815 * termios/termios.h: Declare tcgetsid also for POSIX2008.
34817 * conform/Makefile: For now ignore errors from run-conformtest.
34818 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
34819 POSIX to avoid namespace pollution. Don't prepend headers.
34820 * conform/data/aio.h-data: Fixes for POSIX testing.
34821 * conform/data/fcntl.h-data: Likewise.
34822 * conform/data/glob.h-data: Likewise.
34823 * conform/data/grp.h-data: Likewise.
34824 * conform/data/pthread.h-data: Likewise.
34825 * conform/data/pwd.h-data: Likewise.
34826 * conform/data/signal.h-data: Likewise.
34827 * conform/data/spawn.h-data: Likewise.
34828 * conform/data/stdio.h-data: Likewise.
34829 * conform/data/stdlib.h-data: Likewise.
34830 * conform/data/stropts.h-data: Likewise.
34831 * conform/data/sys/mman.h-data: Likewise.
34832 * conform/data/sys/stat.h-data: Likewise.
34833 * conform/data/sys/types.h-data: Likewise.
34834 * conform/data/sys/wait.h-data: Likewise.
34835 * conform/data/time.h-data: Likewise.
34836 * conform/data/unistd.h-data: Likewise.
34837 * conform/data/utime.h-data: Likewise.
34839 * io/sys/stat.h: fchmod was always in POSIX.
34840 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
34841 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
34842 * rt/aio.h: Define __need_timespec before including <time.h>.
34843 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
34844 struct. Add forward declaration of pthread_attr_t and use it in
34846 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
34847 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
34848 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
34849 always remove CLK_TCK definition.
34851 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
34853 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
34855 2012-02-25 Ulrich Drepper <drepper@gmail.com>
34857 * conform/run-conformtest.sh: New file.
34858 * conform/Makefile: Run run-conformtest for tests.
34859 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
34862 * conform/data/uchar.h-data: New file.
34863 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
34864 * conform/data/arpa/inet.h-data: Likewise.
34865 * conform/data/assert.h-data: Likewise.
34866 * conform/data/complex.h-data: Likewise.
34867 * conform/data/cpio.h-data: Likewise.
34868 * conform/data/ctype.h-data: Likewise.
34869 * conform/data/dirent.h-data: Likewise.
34870 * conform/data/dlfcn.h-data: Likewise.
34871 * conform/data/errno.h-data: Likewise.
34872 * conform/data/fcntl.h-data: Likewise.
34873 * conform/data/float.h-data: Likewise.
34874 * conform/data/fmtmsg.h-data: Likewise.
34875 * conform/data/fnmatch.h-data: Likewise.
34876 * conform/data/ftw.h-data: Likewise.
34877 * conform/data/glob.h-data: Likewise.
34878 * conform/data/grp.h-data: Likewise.
34879 * conform/data/iconv.h-data: Likewise.
34880 * conform/data/inttypes.h-data: Likewise.
34881 * conform/data/langinfo.h-data: Likewise.
34882 * conform/data/libgen.h-data: Likewise.
34883 * conform/data/limits.h-data: Likewise.
34884 * conform/data/locale.h-data: Likewise.
34885 * conform/data/math.h-data: Likewise.
34886 * conform/data/monetary.h-data: Likewise.
34887 * conform/data/mqueue.h-data: Likewise.
34888 * conform/data/ndbm.h-data: Likewise.
34889 * conform/data/net/if.h-data: Likewise.
34890 * conform/data/netdb.h-data: Likewise.
34891 * conform/data/netinet/in.h-data: Likewise.
34892 * conform/data/nl_types.h-data: Likewise.
34893 * conform/data/poll.h-data: Likewise.
34894 * conform/data/pthread.h-data: Likewise.
34895 * conform/data/pwd.h-data: Likewise.
34896 * conform/data/regex.h-data: Likewise.
34897 * conform/data/sched.h-data: Likewise.
34898 * conform/data/search.h-data: Likewise.
34899 * conform/data/semaphore.h-data: Likewise.
34900 * conform/data/setjmp.h-data: Likewise.
34901 * conform/data/signal.h-data: Likewise.
34902 * conform/data/spawn.h-data: Likewise.
34903 * conform/data/stdarg.h-data: Likewise.
34904 * conform/data/stdio.h-data: Likewise.
34905 * conform/data/stdlib.h-data: Likewise.
34906 * conform/data/string.h-data: Likewise.
34907 * conform/data/strings.h-data: Likewise.
34908 * conform/data/stropts.h-data: Likewise.
34909 * conform/data/sys/ipc.h-data: Likewise.
34910 * conform/data/sys/mman.h-data: Likewise.
34911 * conform/data/sys/msg.h-data: Likewise.
34912 * conform/data/sys/resource.h-data: Likewise.
34913 * conform/data/sys/select.h-data: Likewise.
34914 * conform/data/sys/sem.h-data: Likewise.
34915 * conform/data/sys/shm.h-data: Likewise.
34916 * conform/data/sys/socket.h-data: Likewise.
34917 * conform/data/sys/stat.h-data: Likewise.
34918 * conform/data/sys/statvfs.h-data: Likewise.
34919 * conform/data/sys/time.h-data: Likewise.
34920 * conform/data/sys/timeb.h-data: Likewise.
34921 * conform/data/sys/times.h-data: Likewise.
34922 * conform/data/sys/types.h-data: Likewise.
34923 * conform/data/sys/uio.h-data: Likewise.
34924 * conform/data/sys/un.h-data: Likewise.
34925 * conform/data/sys/utsname.h-data: Likewise.
34926 * conform/data/sys/wait.h-data: Likewise.
34927 * conform/data/syslog.h-data: Likewise.
34928 * conform/data/tar.h-data: Likewise.
34929 * conform/data/termios.h-data: Likewise.
34930 * conform/data/utime.h-data: Likewise.
34931 * conform/data/utmpx.h-data: Likewise.
34932 * conform/data/varargs.h-data: Likewise.
34933 * conform/data/wchar.h-data: Likewise.
34934 * conform/data/wctype.h-data: Likewise.
34935 * conform/data/wordexp.h-data: Likewise.
34937 * include/stropts.h: New file.
34938 * include/uchar.h: New file.
34939 * include/aio.h: Changes to allow conformtest.pl to use the headers.
34940 * include/assert.h: Likewise.
34941 * include/ctype.h: Likewise.
34942 * include/dirent.h: Likewise.
34943 * include/dlfcn.h: Likewise.
34944 * include/fcntl.h: Likewise.
34945 * include/fnmatch.h: Likewise.
34946 * include/glob.h: Likewise.
34947 * include/grp.h: Likewise.
34948 * include/libio.h: Likewise.
34949 * include/locale.h: Likewise.
34950 * include/math.h: Likewise.
34951 * include/net/if.h: Likewise.
34952 * include/netdb.h: Likewise.
34953 * include/netinet/in.h: Likewise.
34954 * include/pthread.h: Likewise.
34955 * include/pwd.h: Likewise.
34956 * include/regex.h: Likewise.
34957 * include/sched.h: Likewise.
34958 * include/search.h: Likewise.
34959 * include/setjmp.h: Likewise.
34960 * include/signal.h: Likewise.
34961 * include/stdio.h: Likewise.
34962 * include/stdlib.h: Likewise.
34963 * include/string.h: Likewise.
34964 * include/sys/cdefs.h: Likewise.
34965 * include/sys/mman.h: Likewise.
34966 * include/sys/msg.h: Likewise.
34967 * include/sys/resource.h: Likewise.
34968 * include/sys/select.h: Likewise.
34969 * include/sys/socket.h: Likewise.
34970 * include/sys/stat.h: Likewise.
34971 * include/sys/statvfs.h: Likewise.
34972 * include/sys/time.h: Likewise.
34973 * include/sys/times.h: Likewise.
34974 * include/sys/uio.h: Likewise.
34975 * include/sys/utsname.h: Likewise.
34976 * include/sys/wait.h: Likewise.
34977 * include/termios.h: Likewise.
34978 * include/time.h: Likewise.
34979 * include/ulimit.h: Likewise.
34980 * include/unistd.h: Likewise.
34981 * include/utime.h: Likewise.
34982 * include/wchar.h: Likewise.
34983 * include/wctype.h: Likewise.
34984 * include/wordexp.h: Likewise.
34986 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
34988 * time/time.h: TIME_UTC must be a macro.
34989 Make timespec_get available for ISO C11 only as well.
34991 2012-02-24 Ulrich Drepper <drepper@gmail.com>
34993 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
34994 Reported by Peng Haitao <penght@cn.fujitsu.com>.
34996 2012-02-24 Joseph Myers <joseph@codesourcery.com>
34998 * configure.in: Use -o not -a in test for unsupported multi-arch.
35000 2012-02-24 Joseph Myers <joseph@codesourcery.com>
35002 * manual/texinfo.tex: Update to version 2012-01-19.16.
35004 2012-02-24 Joseph Myers <joseph@codesourcery.com>
35006 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
35008 2012-02-24 Roland McGrath <roland@hack.frob.com>
35011 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
35012 * manual/fdl-1.3.texi: New file.
35013 * manual/fdl-1.1.texi: File removed.
35016 * manual/libc.texinfo (FDL_VERSION): New @set.
35017 Use it for mention of FDL in cover text.
35018 (Documentation License): Use it in @include file name.
35020 2012-02-22 Joseph Myers <joseph@codesourcery.com>
35021 Roland McGrath <roland@hack.frob.com>
35024 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
35025 (not LONG_LONG_MAX and LONG_LONG_MIN.
35026 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
35027 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
35029 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
35031 2012-02-22 Joseph Myers <joseph@codesourcery.com>
35035 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
35036 manipulate bits before adding and subtracting TWO23[sx].
35037 * math/libm-test.inc (nearbyint_test): Add more tests.
35039 2012-02-22 Joseph Myers <joseph@codesourcery.com>
35042 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
35043 bits before adding and subtracting TWO23[sx].
35044 * math/libm-test.inc (rint_test): Add more tests.
35045 (rint_test_tonearest): Likewise.
35046 (rint_test_towardzero): Likewise.
35047 (rint_test_downward): Likewise.
35048 (rint_test_upward: Likewise.
35050 2012-02-22 Joseph Myers <joseph@codesourcery.com>
35053 * include/stdc-predef.h: New file. Extracted from features.h.
35054 * include/features.h: Include stdc-predef.h.
35055 * Makefile (headers): Add stdc-predef.h.
35056 * CONFORMANCE (Compiler limitations): Update.
35058 2012-02-22 Joseph Myers <joseph@codesourcery.com>
35060 * manual/libc.texinfo (VERSION, UPDATED): Revert.
35062 2012-02-21 David S. Miller <davem@davemloft.net>
35064 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
35065 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
35067 2012-02-20 David S. Miller <davem@davemloft.net>
35069 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
35070 using a normal save/restore sequence, rather than allocating a
35071 dummy stack frame just to store a frame pointer and restore.
35072 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
35074 2012-02-21 Joseph Myers <joseph@codesourcery.com>
35076 * manual/install.texi: Fix stray word in line-wrapped comment.
35078 2012-02-20 David S. Miller <davem@davemloft.net>
35080 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
35081 both binutils and gcc support GOTDATA.
35083 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
35084 "rd %pc" in the PIC register setup sequences.
35086 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
35087 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
35088 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
35089 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
35090 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
35091 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
35092 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
35093 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
35094 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
35095 (SYSCALL_ERROR_HANDLER): Likewise.
35096 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
35097 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
35098 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
35099 (SYSCALL_ERROR_HANDLER): Likewise.
35101 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
35102 (HAVE_GCC_GOTDATA): New.
35103 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
35104 relocation support in both binutils and gcc.
35105 * sysdeps/sparc/elf/configure: Regenerate.
35107 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
35108 * sysdeps/sparc/sparc32/elf/configure: Delete.
35109 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
35110 * sysdeps/sparc/sparc64/elf/configure: Delete.
35111 * sysdeps/sparc/elf/configure.in: New file.
35112 * sysdeps/sparc/elf/configure: Generate.
35114 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
35115 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
35116 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
35117 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
35118 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
35120 2012-02-21 Joseph Myers <joseph@codesourcery.com>
35122 * manual/install.texi: Do not mention specific glibc version
35124 * manual/libc.texinfo (VERSION, UPDATED): Update.
35125 (@copying): Use @copyright{} and range of years.
35127 2012-02-21 Joseph Myers <joseph@codesourcery.com>
35130 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
35131 [crti.S not in sysdirs] (generated): Do not append.
35132 [crti.S not in sysdirs] (omit-deps): Likewise.
35133 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
35134 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
35135 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
35136 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
35137 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
35139 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
35140 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
35141 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
35142 * csu/defs.awk: Remove file.
35143 * sysdeps/generic/initfini.c: Likewise.
35144 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
35146 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
35149 2012-02-20 Joseph Myers <joseph@codesourcery.com>
35151 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
35152 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
35153 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
35154 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
35155 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
35156 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
35158 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
35159 (__EPOLL_PACKED): Define to empty if not defined by
35161 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
35162 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35165 2012-02-20 Joseph Myers <joseph@codesourcery.com>
35167 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
35168 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
35169 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
35170 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
35172 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
35173 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35176 2012-02-20 Joseph Myers <joseph@codesourcery.com>
35178 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
35180 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35181 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
35182 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
35183 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35185 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
35187 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35188 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
35190 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
35192 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
35193 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
35195 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
35197 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
35200 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
35202 * math/w_acos.c: Use non-signaling floating-point comparisons.
35203 * math/w_acosf.c: Likewise.
35204 * math/w_acosh.c: Likewise.
35205 * math/w_acoshf.c: Likewise.
35206 * math/w_acoshl.c: Likewise.
35207 * math/w_acosl.c: Likewise.
35208 * math/w_asin.c: Likewise.
35209 * math/w_asinf.c: Likewise.
35210 * math/w_asinl.c: Likewise.
35211 * math/w_atanh.c: Likewise.
35212 * math/w_atanhf.c: Likewise.
35213 * math/w_atanhl.c: Likewise.
35214 * math/w_exp2.c: Likewise.
35215 * math/w_exp2f.c: Likewise.
35216 * math/w_exp2l.c: Likewise.
35217 * math/w_j0.c: Likewise.
35218 * math/w_j0f.c: Likewise.
35219 * math/w_j0l.c: Likewise.
35220 * math/w_j1.c: Likewise.
35221 * math/w_j1f.c: Likewise.
35222 * math/w_j1l.c: Likewise.
35223 * math/w_jn.c: Likewise.
35224 * math/w_jnf.c: Likewise.
35225 * math/w_log.c: Likewise.
35226 * math/w_log10.c: Likewise.
35227 * math/w_log10f.c: Likewise.
35228 * math/w_log10l.c: Likewise.
35229 * math/w_log2.c: Likewise.
35230 * math/w_log2f.c: Likewise.
35231 * math/w_log2l.c: Likewise.
35232 * math/w_logf.c: Likewise.
35233 * math/w_logl.c: Likewise.
35234 * math/w_sqrt.c: Likewise.
35235 * math/w_sqrtf.c: Likewise.
35236 * math/w_sqrtl.c: Likewise.
35237 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
35238 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
35239 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
35240 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
35241 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
35243 2012-02-19 Joseph Myers <joseph@codesourcery.com>
35246 * manual/string.texi (strnlen): Use correct parameter name in
35247 equivalent expression.
35249 2012-02-19 Joseph Myers <joseph@codesourcery.com>
35252 * manual/users.texi (seteuid): Consistently use neweuid for
35255 2012-02-19 Joseph Myers <joseph@codesourcery.com>
35258 * manual/nss.texi (Services in the NSS configuration): Correct
35259 list of services in example configuration file.
35261 2012-02-19 Nick Bowler <nbowler@draconx.ca>
35264 * manual/arith.texi: Remove statements about negative zero
35265 behaving identically to zero.
35267 2012-02-18 Joseph Myers <joseph@codesourcery.com>
35270 * manual/install.texi: Do not document upgrading from libc5.
35272 2012-02-18 Joseph Myers <joseph@codesourcery.com>
35275 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
35277 2012-02-18 David S. Miller <davem@davemloft.net>
35279 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
35280 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
35281 %o7 across the call.
35282 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
35284 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
35285 SETUP_PIC_REG_LEAF.
35286 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35287 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
35288 * sysdeps/sparc/crtn.S: Likewise.
35290 2012-02-17 Ulrich Drepper <drepper@gmail.com>
35292 * aout/Makefile: Remove.
35294 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
35297 * manual/examples/argp-ex1.c (main): Format definition in GNU
35299 * manual/examples/argp-ex2.c (main): Likewise.
35300 * manual/examples/argp-ex3.c (main): Likewise.
35301 * manual/examples/argp-ex4.c (main): Likewise.
35302 * manual/examples/longopt.c (main): Use new-style prototype
35304 * manual/examples/strncat.c (main): Specify return type and use
35305 (void) for arguments.
35306 * manual/examples/subopt.c (main): Use char **argv argument.
35308 2012-02-17 Joseph Myers <joseph@codesourcery.com>
35311 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
35314 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
35317 * manual/string.texi (strchr): Change when strchrnul is
35320 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
35323 * manual/locale.texi (setlocale): Document LOCPATH.
35325 2012-02-17 Joseph Myers <joseph@codesourcery.com>
35328 * manual/process.texi (execle): Move @dots{} before last argument.
35330 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
35333 * manual/charset.texi (Generic Charset Conversion): Fix typo
35334 (LC_TYPE -> LC_CTYPE).
35336 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
35339 * manual/arith.texi (scalbn): Use @var{} on parameter names.
35340 (scalbnf): Likewise.
35341 (scalbnl): Likewise.
35342 (scalbln): Likewise.
35343 (scalblnf): Likewise.
35344 (scalblnl): Likewise.
35345 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
35346 (vwarnx): Likewise.
35349 * manual/filesys.texi (telldir): Use braces around return type.
35350 * manual/llio.texi (mmap): Add space after comma.
35351 (mmap64): Likewise.
35352 * manual/math.texi (jn): Use @var{} on parameter names.
35358 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
35360 * manual/resource.texi (ulimit): Use @dots{} instead of literal
35362 (sched_get_priority_min): Remove semicolon on @deftypefun line.
35363 (sched_get_priority_max): Likewise.
35364 * manual/signal.texi (sigvec): Add space after comma.
35365 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
35367 (if_indextoname): Likewise.
35368 (if_freenameindex): Likewise.
35369 (sendto): Use ',' instead of '.' in prototype.
35370 * manual/startup.texi (syscall): Use @dots{} instead of literal
35372 * manual/stdio.texi (__fpending): Separate initial words of
35373 paragraph from @deftypefun line.
35374 * manual/syslog.texi (syslog): Use @dots{} instead of literal
35376 (vsyslog): Use @var{} on parameter names.
35377 * manual/terminal.texi (stty): Use @var{} on parameter names.
35378 * manual/users.texi (getutmp): Use @var{} on parameter names.
35379 (getutmpx): Likewise.
35381 2012-02-17 Joseph Myers <joseph@codesourcery.com>
35384 * manual/stdio.texi (fopen): Fix typos in description of
35387 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
35390 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
35391 get clock_id definition.
35393 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
35396 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
35397 (madvise): Cast every argument to void on its own.
35399 2012-02-17 Joseph Myers <joseph@codesourcery.com>
35402 * manual/startup.texi (Exit Status): Fix typo.
35404 2012-02-17 Joseph Myers <joseph@codesourcery.com>
35407 * manual/examples/argp-ex1.c: Include <stdlib.h>.
35408 * manual/examples/argp-ex2.c: Likewise.
35409 * manual/examples/argp-ex3.c: Likewise.
35411 2012-02-16 Richard Henderson <rth@redhat.com>
35413 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
35414 * sysdeps/s390/s390-32/initfini.c: Remove.
35415 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
35416 * sysdeps/s390/s390-64/initfini.c: Remove.
35418 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
35420 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
35421 compiler output for sysdeps/generic/initfini.c.
35422 * sysdeps/sh/elf/initfini.c: Remove file.
35424 2012-02-16 David S. Miller <davem@davemloft.net>
35427 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
35429 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
35430 * sysdeps/sparc/crti.S: New file.
35431 * sysdeps/sparc/crtn.S: New file.
35432 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
35433 * sysdeps/sparc/sparc64/Makefile: Likewise.
35435 2012-02-15 Mike Frysinger <vapier@gentoo.org>
35438 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
35440 2012-02-15 Roland McGrath <roland@hack.frob.com>
35443 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
35445 * mach/devstream.c (cookie_io_functions_t): Macro removed.
35446 (write, read, close): Likewise.
35447 Patch by Aurelien Jarno <aurelien@aurel32.net>.
35449 2012-02-15 Joseph Myers <joseph@codesourcery.com>
35451 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
35452 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
35453 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
35454 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
35456 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
35457 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35460 2012-02-14 Marek Polacek <polacek@redhat.com>
35462 * sysdeps/x86_64/crti.S: New file.
35463 * sysdeps/x86_64/crtn.S: New file.
35464 * sysdeps/x86_64/elf/initfini.c: Remove file.
35466 2012-02-13 Joseph Myers <joseph@codesourcery.com>
35468 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
35469 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
35470 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
35471 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
35473 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
35474 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35477 2012-02-13 Joseph Myers <joseph@codesourcery.com>
35479 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
35480 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
35481 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
35482 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
35484 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
35485 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35488 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
35490 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
35491 __feraiseexcept instead of feraiseexcept.
35493 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
35494 nanosleep invocations.
35495 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
35496 strings, and add error checking for a nanosleep invocations.
35498 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
35500 Replace FSF snail mail address with URLs, as per GNU coding standards.
35501 Most of the snail mail addresses were wrong anyway, and omitting
35502 them makes the source code easier to maintain. Almost all of the
35503 changes are to license notices and to locale LC_IDENTIFICATION
35504 addresses, except for this one:
35505 * manual/libc.texinfo: In "Published by", give the FSF's URL,
35506 not its snail mail address.
35508 2012-02-09 Richard Henderson <rth@twiddle.net>
35510 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
35511 of kernel-features.h.
35513 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
35515 2012-02-08 Marek Polacek <polacek@redhat.com>
35517 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
35518 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
35519 * sysdeps/gnu/_G_config.h: Likewise.
35520 * sysdeps/generic/_G_config.h: Likewise.
35522 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
35524 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
35526 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35528 * sysdeps/powerpc/powerpc32/crti.S: New file.
35529 * sysdeps/powerpc/powerpc32/crtn.S: New file.
35530 * sysdeps/powerpc/powerpc64/crti.S: New file.
35531 * sysdeps/powerpc/powerpc64/crtn.S: New file.
35533 * Makeconfig (have-initfini): Don't set.
35534 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
35535 * configure.in (nopic_initfini): Don't substitute.
35536 * config.h.in (HAVE_INITFINI): Don't #undef.
35537 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
35538 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
35540 2012-02-08 Joseph Myers <joseph@codesourcery.com>
35542 Support crti.S and crtn.S provided directly by architectures.
35543 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
35544 [crti.S in sysdirs] (omit-deps): Likewise.
35545 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
35546 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
35547 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
35548 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
35549 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
35550 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
35551 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
35552 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
35553 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
35554 compiler output for sysdeps/generic/initfini.c.
35555 * sysdeps/i386/elf/Makefile: Remove file.
35556 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
35558 2012-02-07 Marek Polacek <polacek@redhat.com>
35560 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
35561 * sysdeps/gnu/_G_config.h: Likewise.
35562 * sysdeps/mach/hurd/_G_config.h: Likewise.
35564 2012-02-07 Marek Polacek <polacek@redhat.com>
35566 * math/Makefile (tests): Add tst-CMPLX2.
35567 * math/tst-CMPLX2.c: New file.
35569 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
35571 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35573 * math/libm-test.inc (jn_test): Add missing L suffix.
35575 2012-02-06 Marek Polacek <polacek@redhat.com>
35577 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
35578 * sysdeps/i386/fpu/e_powf.S: Likewise.
35579 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
35580 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
35581 * sysdeps/i386/fpu/e_acosh.S: Likewise.
35582 * sysdeps/i386/fpu/e_pow.S: Likewise.
35583 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
35584 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
35585 * sysdeps/i386/fpu/s_expm1.S: Likewise.
35586 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
35587 * sysdeps/i386/fpu/e_log2.S: Likewise.
35588 * sysdeps/i386/fpu/e_log2l.S: Likewise.
35589 * sysdeps/i386/fpu/e_scalb.S: Likewise.
35590 * sysdeps/i386/fpu/e_powl.S: Likewise.
35591 * sysdeps/i386/fpu/s_log1p.S: Likewise.
35592 * sysdeps/i386/fpu/e_log10f.S: Likewise.
35593 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
35594 * sysdeps/i386/fpu/e_logl.S: Likewise.
35595 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
35596 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
35597 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
35598 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
35599 * sysdeps/i386/fpu/e_log2f.S: Likewise.
35600 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
35601 * sysdeps/i386/fpu/e_log.S: Likewise.
35602 * sysdeps/i386/fpu/s_cexp.S: Likewise.
35603 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
35604 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
35605 * sysdeps/i386/fpu/e_logf.S: Likewise.
35606 * sysdeps/i386/fpu/e_log10l.S: Likewise.
35607 * sysdeps/i386/fpu/e_atanh.S: Likewise.
35608 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
35609 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
35610 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
35611 * sysdeps/i386/fpu/e_log10.S: Likewise.
35612 * sysdeps/i386/fpu/s_frexp.S: Likewise.
35613 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
35614 * sysdeps/i386/fpu/s_asinh.S: Likewise.
35615 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
35616 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
35617 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
35618 * sysdeps/i386/asm-syntax.h: Likewise.
35619 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
35620 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
35621 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
35622 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
35623 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
35624 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
35625 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
35626 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
35627 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
35628 * sysdeps/powerpc/sysdep.h: Likewise.
35629 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
35630 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
35632 2012-02-06 Joseph Myers <joseph@codesourcery.com>
35635 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
35637 2012-02-06 Joseph Myers <joseph@codesourcery.com>
35639 * sysdeps/i386/sysdep.h: Include <features.h>.
35640 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
35643 2012-02-05 Joseph Myers <joseph@codesourcery.com>
35645 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
35647 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
35650 2012-02-03 Joseph Myers <joseph@codesourcery.com>
35652 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
35653 (SETUP_PIC_REG): Use GET_PC_THUNK.
35654 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
35657 2012-02-03 Joseph Myers <joseph@codesourcery.com>
35659 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
35660 for non-PIC compilation.
35661 (SETUP_PIC_REG): Add .p2align directive.
35662 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
35663 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
35664 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
35665 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
35666 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
35667 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
35668 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
35669 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
35670 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
35671 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
35672 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
35673 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
35674 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
35675 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
35676 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
35677 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
35678 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
35679 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
35680 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
35681 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
35682 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
35683 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
35684 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
35685 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
35686 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
35687 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
35688 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
35689 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
35690 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
35691 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
35692 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
35693 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
35694 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
35695 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
35696 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
35697 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
35698 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
35699 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
35700 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
35701 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
35702 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
35704 2012-02-03 Joseph Myers <joseph@codesourcery.com>
35706 * math/tst-CMPLX.c: Include <stdio.h>.
35708 2012-01-31 Joseph Myers <joseph@codesourcery.com>
35710 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
35712 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
35713 * sysdeps/sparc/bits/mathdef.h: Likewise.
35715 2012-01-31 Marek Polacek <polacek@redhat.com>
35717 * libio/libio.h: Don't define _PARAMS.
35718 * locale/programs/config.h: Don't define PARAMS.
35719 * stdlib/strtol_l.c: Likewise.
35720 (__strtol_l): Remove PARAMS from the prototype.
35722 2012-01-31 Ulrich Drepper <drepper@gmail.com>
35724 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
35725 names. Just use the correct names. Remove unnecessary wrapper
35727 * malloc/arena.c: Likewise.
35728 * malloc/hooks.c: Likewise.
35730 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
35731 ARENA_TEST says not to. Simplify test for creation of a new arena.
35732 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
35734 2012-01-30 Ulrich Drepper <drepper@gmail.com>
35736 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
35738 (update_get_addr): New function.
35739 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
35740 GET_ADDR_MODULE parameter.
35742 2012-01-30 Joseph Myers <joseph@codesourcery.com>
35744 * crypt/cert.c: Remove __STDC__ conditionals.
35745 * crypt/crypt-entry.c: Likewise.
35746 * crypt/crypt_util.c: Likewise.
35747 * libio/filedoalloc.c: Likewise.
35748 * libio/fileops.c: Likewise.
35749 * libio/genops.c: Likewise.
35750 * libio/iofclose.c: Likewise.
35751 * libio/iofdopen.c: Likewise.
35752 * libio/iofopen.c: Likewise.
35753 * libio/iofopen64.c: Likewise.
35754 * libio/iogetdelim.c: Likewise.
35755 * libio/iopopen.c: Likewise.
35756 * libio/obprintf.c: Likewise.
35757 * libio/oldfileops.c: Likewise.
35758 * libio/oldiofclose.c: Likewise.
35759 * libio/oldiofdopen.c: Likewise.
35760 * libio/oldiofopen.c: Likewise.
35761 * libio/oldiopopen.c: Likewise.
35762 * libio/wfiledoalloc.c: Likewise.
35763 * libio/wgenops.c: Likewise.
35764 * locale/programs/xmalloc.c: Likewise.
35765 * misc/syslog.c: Likewise.
35766 * stdio-common/xbug.c: Likewise.
35767 * string/memchr.c: Likewise.
35768 * string/memcmp.c: Likewise.
35769 * string/memrchr.c: Likewise.
35770 * string/rawmemchr.c: Likewise.
35771 * sysdeps/posix/getcwd.c: Likewise.
35772 * time/strftime_l.c: Likewise.
35774 2012-01-30 Joseph Myers <joseph@codesourcery.com>
35776 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
35777 * config.make.in (config-cflags-sse2avx): Define.
35778 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
35781 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
35783 * scripts/config.guess: Update from upstream config git repository.
35784 * scripts/config.sub: Likewise.
35786 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
35788 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
35790 (R_TILEPRO_*, R_TILEGX_*): New macros.
35792 * scripts/firstversions.awk: Fix bug in version range handling.
35794 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
35796 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
35798 * include/sys/epoll.h: New file.
35799 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
35802 2012-01-28 Ulrich Drepper <drepper@gmail.com>
35804 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
35805 Avoid unnecessary __WORDSIZE == 64 test.
35806 (fmaxf): Use VEX format if possible.
35811 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
35812 * math/math_private.h: Remove libc_fegetround* and
35814 * sysdeps/i386/configure.in: Check for -msse2avx.
35815 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
35816 also if SSE2AVX is defined.
35817 Remove libc_fegetround* and libc_fesetround*.
35818 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
35819 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
35820 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
35822 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
35823 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
35824 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
35825 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
35826 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
35828 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
35830 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35832 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
35834 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
35836 2012-01-27 Ulrich Drepper <drepper@gmail.com>
35839 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
35841 * Makeconfig (libm): Define.
35842 * elf/Makefile: Add rules to build and run tst-relsort1.
35843 * elf/tst-relsort1.c: New file.
35844 * elf/tst-relsort1mod1.c: New file.
35845 * elf/tst-relsort1mod2.c: New file.
35847 2012-01-27 Joseph Myers <joseph@codesourcery.com>
35849 * math/s_ldexp.c: Remove __STDC__ conditionals.
35850 * math/s_ldexpf.c: Likewise.
35851 * math/s_ldexpl.c: Likewise.
35852 * math/s_nextafter.c: Likewise.
35853 * math/s_nexttowardf.c: Likewise.
35854 * math/s_significand.c: Likewise.
35855 * math/s_significandf.c: Likewise.
35856 * math/s_significandl.c: Likewise.
35857 * math/w_jnl.c: Likewise.
35858 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
35859 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
35860 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
35861 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
35862 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
35863 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
35864 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
35865 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
35866 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
35867 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
35868 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
35869 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
35870 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
35871 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
35872 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
35873 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
35874 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
35875 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
35876 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
35877 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
35878 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
35879 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
35880 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
35881 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
35882 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
35883 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
35884 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
35885 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
35886 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
35887 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
35888 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
35889 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
35890 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
35891 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
35892 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
35893 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
35894 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
35895 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
35896 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
35897 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
35898 * sysdeps/ieee754/k_standard.c: Likewise.
35899 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
35900 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
35901 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
35902 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
35903 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
35904 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
35905 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
35906 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
35907 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
35908 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
35909 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
35910 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
35911 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
35912 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
35913 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
35914 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
35915 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
35916 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
35917 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
35918 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
35919 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
35920 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
35921 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
35922 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
35923 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
35924 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
35925 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
35926 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
35927 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
35928 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
35929 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
35930 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
35931 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
35932 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
35933 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
35934 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
35935 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
35936 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
35937 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
35938 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
35939 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
35940 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
35941 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
35942 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
35943 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
35944 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
35945 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
35946 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
35947 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
35948 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
35949 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
35950 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
35951 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
35952 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
35953 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
35954 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
35955 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
35956 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
35957 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
35958 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
35959 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
35960 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
35961 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
35962 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
35963 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
35964 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
35965 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
35966 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
35967 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
35968 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
35969 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
35970 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
35971 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
35972 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
35973 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
35974 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
35975 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
35976 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
35977 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
35978 * sysdeps/ieee754/s_matherr.c: Likewise.
35979 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
35980 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
35981 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
35982 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
35984 2012-01-26 Joseph Myers <joseph@codesourcery.com>
35986 * crypt/md5.h: Remove __STDC__ conditionals.
35987 * libio/libioP.h: Likewise.
35988 * locale/programs/config.h: Likewise.
35989 * sysdeps/generic/sysdep.h: Likewise.
35990 * sysdeps/i386/asm-syntax.h: Likewise.
35991 * sysdeps/s390/asm-syntax.h: Likewise.
35992 * sysdeps/unix/sysdep.h: Likewise.
35993 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
35994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
35996 2012-01-26 Joseph Myers <joseph@codesourcery.com>
35998 * libio/libio.h: Remove __STDC__ conditionals.
35999 * malloc/obstack.h: Likewise.
36000 * math/complex.h: Likewise.
36001 * math/math.h: Likewise.
36002 * sysdeps/generic/_G_config.h: Likewise.
36003 * sysdeps/gnu/_G_config.h: Likewise.
36004 * sysdeps/mach/hurd/_G_config.h: Likewise.
36005 * sysdeps/powerpc/bits/mathdef.h: Likewise.
36006 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
36007 * sysdeps/sparc/bits/mathdef.h: Likewise.
36009 2012-01-26 Ulrich Drepper <drepper@gmail.com>
36012 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
36013 Clean up HAS_* macros.
36014 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
36015 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
36017 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
36019 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
36020 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
36021 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
36022 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
36023 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
36025 2012-01-25 Joseph Myers <joseph@codesourcery.com>
36027 * elf/tst-unique3.cc (gets): Remove declaration.
36028 * elf/tst-unique3lib.cc (gets): Likewise.
36029 * elf/tst-unique3lib2.cc (gets): Likewise.
36030 * elf/tst-unique4.cc (gets): Likewise.
36032 2012-01-24 Ulrich Drepper <drepper@gmail.com>
36034 * include/stdio.h: Add C++ protection. Add gets declarations and
36036 * debug/tst-chk1.c: Don't declare gets here.
36037 * stdio-common/tst-gets.c: Likewise.
36039 2012-01-24 Joseph Myers <joseph@codesourcery.com>
36041 * posix/glob: Remove directory.
36043 2012-01-24 Joseph Myers <joseph@codesourcery.com>
36045 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
36047 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
36049 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
36050 of the non-standard EPFNOSUPPORT.
36052 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
36054 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
36055 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
36056 ANYWHERE set to 1 only on KERN_NO_SPACE error.
36058 2012-01-21 Ulrich Drepper <drepper@gmail.com>
36060 * wcsmbs/uchar.h: Test __STDC_VERSION__.
36062 2012-01-20 Ulrich Drepper <drepper@gmail.com>
36064 * nscd/aicache.c (addhstaiX): Do not cache negative results of
36066 * nscd/grpcache.c (cache_addgr): Likewise.
36067 * nscd/hstcache.c (cache_addhst): Likewise.
36068 * nscd/initgrcache.c (addinitgroupsX): Likewise.
36069 * nscd/pwdcache.c (cache_addpw): Likewise.
36070 * nscd/servicescache.c (cache_addserv): Likewise.
36072 2012-01-16 Ulrich Drepper <drepper@gmail.com>
36074 * malloc/malloc.c: Various cleanups.
36075 * malloc/hooks.c: Likewise.
36077 * stdlib/Makefile (tests): Add bug-fmtmsg1.
36078 * stdlib/bug-fmtmsg1.c: New file.
36080 * stdlib/fmtmsg.c (init): Add missing unlock.
36081 Patch by Peng Haitao <penght@cn.fujitsu.com>.
36083 2012-01-12 Marek Polacek <polacek@redhat.com>
36085 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
36088 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
36090 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
36091 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
36092 macro to ensure uniqueness of label name.
36093 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
36094 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
36096 2012-01-11 Ulrich Drepper <drepper@gmail.com>
36098 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
36100 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
36101 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
36102 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
36103 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
36105 2012-01-10 Ulrich Drepper <drepper@gmail.com>
36107 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
36109 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
36110 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
36111 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
36113 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
36115 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
36116 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
36117 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
36118 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
36120 * math/bits/math-finite.h: Add ldexp support.
36122 2012-01-10 Marek Polacek <polacek@redhat.com>
36124 * locale/programs/localedef.h (show_archive_content): Add noreturn
36127 2012-01-09 Ulrich Drepper <drepper@gmail.com>
36129 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
36131 2012-01-08 Ulrich Drepper <drepper@gmail.com>
36133 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
36135 * io/Makefile (headers): Add bits/poll2.h.
36137 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
36139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
36140 typo #include statement.
36142 2012-01-08 Ulrich Drepper <drepper@gmail.com>
36144 * include/sys/cdefs.h: Define __attribute_alloc_size.
36145 * catgets/gencat.c: Add alloc_size attribute and apply consistently
36146 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
36147 * elf/pldd.c: Likewise.
36148 * iconv/iconv_charmap.c: Likewise.
36149 * iconv/iconvconfig.c: Likewise.
36150 * iconv/strtab.c: Likewise.
36151 * locale/programs/locale.c: Likewise.
36152 * locale/programs/localedef.h: Likewise.
36153 * locale/programs/simple-hash.c: Likewise.
36154 * nscd/nscd.h: Likewise.
36155 * nss/makedb.c: Likewise.
36156 * sysdeps/generic/ldconfig.h: Likewise.
36157 * locale/programs/localedef.c: Remove xmalloc prototype.
36158 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
36160 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
36162 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
36165 2012-01-08 Ulrich Drepper <drepper@gmail.com>
36167 * math/Makefile (tests): Add tst-CMPLX.
36168 * math/tst-CMPLX.c: New file.
36170 * math/complex.h (CMPLXL): Fix typo.
36172 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
36173 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
36175 * debug/tst-chk1.c: Add poll and ppoll tests.
36176 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
36177 * include/sys/poll.h: Add hidden proto for ppoll.
36178 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
36179 * sysdeps/mach/hurd/ppoll.c: Likewise.
36180 * io/ppoll.c: Likewise.
36181 * debug/poll_chk.c: New file.
36182 * debug/ppoll_chk.c: New file.
36183 * include/bits/poll2.h: New file.
36184 * io/bits/poll2.h: New file.
36187 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
36189 * configure.in: static is always set to yes. Remove.
36190 * config.make.in: Don't set build-static.
36191 * Makeconfig: Remove use of build-static.
36192 * dlfcn/Makefile: Likewise.
36193 * elf/Makefile: Likewise.
36194 * math/Makefile: Likewise.
36195 * misc/Makefile: Likewise.
36196 * nptl/Makefile: Likewise.
36197 * sysdeps/mach/hurd/Makefile: Likewise.
36199 * configure.in: PWD_P is not used anymore.
36200 * config.make.in: Remove PWD_P entry.
36202 * configure.in: Remove last remnants of RANLIB.
36203 No need to check for signed size_t anymore.
36204 Don't set libc_commonpagesize and libc_relro_required here for Alpha
36206 Remove __builtin_expect test because we require at least gcc 3.4.
36207 * aclocal.m4: Likewise.
36209 * wcsmbs/mbrtoc16.c: Implement using towc function.
36210 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
36211 * wcsmbs/wcsmbsload.c: Likewise.
36212 * iconv/gconv_simple.c: Likewise.
36213 * iconv/gconv_int.h: Likewise.
36214 * iconv/gconv_builtin.h: Likewise.
36215 * iconv/iconv_prog.c: Remove CHAR16 handling.
36217 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
36219 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
36221 * configure.in: Remove --with-elf and --enable-bounded options.
36222 Dont set base_machine for ia64. More non-ELF conditions removed.
36223 Remove testing and setting of leading underscore information.
36224 * config.make.in (build-bounded): Set to no.
36225 * config.h.in: Remove NO_UNDERSCORES entry.
36226 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
36228 * csu/start.c: Remove !NO_UNDERSCORE code.
36229 * locale/localeinfo.h: Likewise.
36230 * sysdeps/generic/machine-gmon.h: Likewise.
36231 * sysdeps/generic/sysdep.h: Likewise.
36232 * sysdeps/i386/sysdep.h: Likewise.
36233 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
36234 * sysdeps/mach/sysdep.h: Likewise.
36235 * sysdeps/s390/s390-32/sysdep.h: Likewise.
36236 * sysdeps/s390/s390-64/sysdep.h: Likewise.
36237 * sysdeps/sh/sysdep.h: Likewise.
36238 * sysdeps/sparc/sparc32/alloca.S: Likewise.
36239 * sysdeps/unix/i386/sysdep.S: Likewise.
36240 * sysdeps/unix/sparc/start.c: Likewise.
36241 * sysdeps/unix/sparc/sysdep.S: Likewise.
36242 * sysdeps/unix/sparc/sysdep.h: Likewise.
36243 * sysdeps/unix/start.c: Likewise.
36244 * sysdeps/unix/x86_64/sysdep.S: Likewise.
36245 * sysdeps/x86_64/sysdep.h: Likewise.
36247 2012-01-07 Ulrich Drepper <drepper@gmail.com>
36250 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
36252 * argp/argp-fmtstream.h: Use const instead __const.
36253 * argp/argp.h: Likewise.
36254 * assert/assert.h: Likewise.
36255 * bits/fenv.h: Likewise.
36256 * bits/sched.h: Likewise.
36257 * bits/sigset.h: Likewise.
36258 * bits/sigthread.h: Likewise.
36259 * catgets/nl_types.h: Likewise.
36260 * conform/data/pthread.h-data: Likewise.
36261 * crypt/crypt-private.h: Likewise.
36262 * crypt/crypt.h: Likewise.
36263 * crypt/crypt_util.c: Likewise.
36264 * ctype/ctype.h: Likewise.
36265 * debug/execinfo.h: Likewise.
36266 * debug/mbsnrtowcs_chk.c: Likewise.
36267 * debug/mbsrtowcs_chk.c: Likewise.
36268 * debug/wcsnrtombs_chk.c: Likewise.
36269 * debug/wcsrtombs_chk.c: Likewise.
36270 * debug/wcstombs_chk.c: Likewise.
36271 * dirent/dirent.h: Likewise.
36272 * dlfcn/dlfcn.h: Likewise.
36273 * elf/neededtest4.c: Likewise.
36274 * grp/grp.h: Likewise.
36275 * gshadow/gshadow.h: Likewise.
36276 * iconv/gconv.h: Likewise.
36277 * iconv/gconv_int.h: Likewise.
36278 * iconv/gconv_simple.c: Likewise.
36279 * iconv/iconv.h: Likewise.
36280 * iconv/loop.c: Likewise.
36281 * iconv/skeleton.c: Likewise.
36282 * include/aio.h: Likewise.
36283 * include/aliases.h: Likewise.
36284 * include/argz.h: Likewise.
36285 * include/arpa/inet.h: Likewise.
36286 * include/assert.h: Likewise.
36287 * include/dirent.h: Likewise.
36288 * include/dlfcn.h: Likewise.
36289 * include/execinfo.h: Likewise.
36290 * include/fcntl.h: Likewise.
36291 * include/fenv.h: Likewise.
36292 * include/glob.h: Likewise.
36293 * include/grp.h: Likewise.
36294 * include/libintl.h: Likewise.
36295 * include/mntent.h: Likewise.
36296 * include/netdb.h: Likewise.
36297 * include/pwd.h: Likewise.
36298 * include/rpc/netdb.h: Likewise.
36299 * include/sched.h: Likewise.
36300 * include/search.h: Likewise.
36301 * include/shadow.h: Likewise.
36302 * include/signal.h: Likewise.
36303 * include/stdio.h: Likewise.
36304 * include/stdlib.h: Likewise.
36305 * include/string.h: Likewise.
36306 * include/sys/socket.h: Likewise.
36307 * include/sys/stat.h: Likewise.
36308 * include/sys/statfs.h: Likewise.
36309 * include/sys/statvfs.h: Likewise.
36310 * include/sys/syslog.h: Likewise.
36311 * include/sys/time.h: Likewise.
36312 * include/sys/uio.h: Likewise.
36313 * include/time.h: Likewise.
36314 * include/unistd.h: Likewise.
36315 * include/utmp.h: Likewise.
36316 * include/wchar.h: Likewise.
36317 * include/wctype.h: Likewise.
36318 * inet/aliases.h: Likewise.
36319 * inet/arpa/inet.h: Likewise.
36320 * inet/netinet/ether.h: Likewise.
36321 * inet/netinet/in.h: Likewise.
36322 * intl/libintl.h: Likewise.
36323 * io/bits/fcntl2.h: Likewise.
36324 * io/fcntl.h: Likewise.
36325 * io/ftw.h: Likewise.
36326 * io/sys/poll.h: Likewise.
36327 * io/sys/stat.h: Likewise.
36328 * io/sys/statfs.h: Likewise.
36329 * io/sys/statvfs.h: Likewise.
36330 * io/utime.h: Likewise.
36331 * libio/bits/stdio.h: Likewise.
36332 * libio/bits/stdio2.h: Likewise.
36333 * libio/libio.h: Likewise.
36334 * libio/libioP.h: Likewise.
36335 * libio/stdio.h: Likewise.
36336 * locale/lc-ctype.c: Likewise.
36337 * locale/locale.h: Likewise.
36338 * login/utmp.h: Likewise.
36339 * malloc/arena.c: Likewise.
36340 * malloc/malloc.c: Likewise.
36341 * malloc/malloc.h: Likewise.
36342 * malloc/mcheck.c: Likewise.
36343 * malloc/mtrace.c: Likewise.
36344 * math/bits/mathcalls.h: Likewise.
36345 * math/fenv.h: Likewise.
36346 * math/math_private.h: Likewise.
36347 * misc/bits/error.h: Likewise.
36348 * misc/bits/syslog.h: Likewise.
36349 * misc/err.h: Likewise.
36350 * misc/error.h: Likewise.
36351 * misc/fstab.h: Likewise.
36352 * misc/mntent.h: Likewise.
36353 * misc/regexp.h: Likewise.
36354 * misc/search.h: Likewise.
36355 * misc/sgtty.h: Likewise.
36356 * misc/sys/mman.h: Likewise.
36357 * misc/sys/syslog.h: Likewise.
36358 * misc/sys/uio.h: Likewise.
36359 * misc/sys/xattr.h: Likewise.
36360 * misc/ttyent.h: Likewise.
36361 * nis/rpcsvc/ypclnt.h: Likewise.
36362 * nss/nss.h: Likewise.
36363 * posix/bits/unistd.h: Likewise.
36364 * posix/fnmatch.h: Likewise.
36365 * posix/glob.h: Likewise.
36366 * posix/sched.h: Likewise.
36367 * posix/spawn.h: Likewise.
36368 * posix/sys/wait.h: Likewise.
36369 * posix/unistd.h: Likewise.
36370 * posix/wordexp.h: Likewise.
36371 * pwd/pwd.h: Likewise.
36372 * resolv/netdb.h: Likewise.
36373 * resource/sys/resource.h: Likewise.
36374 * rt/aio.h: Likewise.
36375 * rt/bits/mqueue2.h: Likewise.
36376 * rt/mqueue.h: Likewise.
36377 * shadow/shadow.h: Likewise.
36378 * signal/signal.h: Likewise.
36379 * socket/send.c: Likewise.
36380 * socket/sendto.c: Likewise.
36381 * socket/sys/socket.h: Likewise.
36382 * stdio-common/printf.h: Likewise.
36383 * stdlib/bits/stdlib.h: Likewise.
36384 * stdlib/fmtmsg.h: Likewise.
36385 * stdlib/monetary.h: Likewise.
36386 * stdlib/stdlib.h: Likewise.
36387 * stdlib/ucontext.h: Likewise.
36388 * streams/stropts.h: Likewise.
36389 * string/argz.h: Likewise.
36390 * string/bits/string2.h: Likewise.
36391 * string/string.h: Likewise.
36392 * string/strings.h: Likewise.
36393 * sunrpc/rpc/auth.h: Likewise.
36394 * sunrpc/rpc/auth_des.h: Likewise.
36395 * sunrpc/rpc/clnt.h: Likewise.
36396 * sunrpc/rpc/netdb.h: Likewise.
36397 * sunrpc/rpc/pmap_clnt.h: Likewise.
36398 * sunrpc/rpc/xdr.h: Likewise.
36399 * sysdeps/generic/inttypes.h: Likewise.
36400 * sysdeps/generic/net/if.h: Likewise.
36401 * sysdeps/generic/sys/swap.h: Likewise.
36402 * sysdeps/gnu/net/if.h: Likewise.
36403 * sysdeps/gnu/utmpx.h: Likewise.
36404 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
36405 * sysdeps/i386/i486/bits/string.h: Likewise.
36406 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
36407 * sysdeps/s390/bits/string.h: Likewise.
36408 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
36409 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
36410 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
36411 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
36412 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
36413 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
36414 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
36415 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
36416 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
36417 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
36418 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
36419 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
36420 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
36421 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
36422 * sysdeps/unix/sysv/linux/readv.c: Likewise.
36423 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
36424 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
36425 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36426 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
36427 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
36428 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
36429 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
36430 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
36431 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
36432 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
36433 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
36434 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
36435 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36436 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
36437 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
36438 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
36439 * sysvipc/sys/ipc.h: Likewise.
36440 * sysvipc/sys/msg.h: Likewise.
36441 * sysvipc/sys/sem.h: Likewise.
36442 * sysvipc/sys/shm.h: Likewise.
36443 * termios/termios.h: Likewise.
36444 * time/sys/time.h: Likewise.
36445 * time/time.h: Likewise.
36446 * wcsmbs/bits/wchar2.h: Likewise.
36447 * wcsmbs/uchar.h: Likewise.
36448 * wcsmbs/wchar.h: Likewise.
36449 * wctype/wctype.h: Likewise.
36452 * Makeconfig: Remove all but ELF support including AIX support.
36453 * Makerules: Likewise.
36454 * config.h.in: Likewise.
36455 * config.make.in: Likewise.
36456 * configure: Likewise.
36457 * configure.in: Likewise.
36458 * csu/Makefile: Likewise.
36459 * csu/version.c: Likewise.
36460 * debug/Makefile: Likewise.
36461 * dlfcn/Makefile: Likewise.
36462 * elf/Makefile: Likewise.
36463 * extra-lib.mk: Likewise.
36464 * iconv/Makefile: Likewise.
36465 * include/libc-symbols.h: Likewise.
36466 * include/shlib-compat.h: Likewise.
36467 * resolv/Makefile: Likewise.
36468 * resolv/res_libc.c: Likewise.
36469 * rt/Makefile: Likewise.
36470 * sysdeps/i386/asm-syntax.h: Likewise.
36471 * sysdeps/i386/sysdep.h: Likewise.
36472 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
36473 * sysdeps/mach/sysdep.h: Likewise.
36474 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
36475 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
36476 * sysdeps/s390/asm-syntax.h: Likewise.
36477 * sysdeps/s390/s390-32/sysdep.h: Likewise.
36478 * sysdeps/s390/s390-64/sysdep.h: Likewise.
36479 * sysdeps/sh/sysdep.h: Likewise.
36480 * sysdeps/unix/sparc/sysdep.h: Likewise.
36481 * sysdeps/wordsize-32/divdi3.c: Likewise.
36482 * sysdeps/x86_64/sysdep.h: Likewise.
36484 * argp/Versions: Remove _argp_unlock_xxx.
36487 * abilist/ld.abilist: Update. Adjust for removal of tls option.
36488 * abilist/libBrokenLocale.abilist: Likewise.
36489 * abilist/libanl.abilist: Likewise.
36490 * abilist/libc.abilist: Likewise.
36491 * abilist/libcrypt.abilist: Likewise.
36492 * abilist/libdl.abilist: Likewise.
36493 * abilist/libm.abilist: Likewise.
36494 * abilist/libnsl.abilist: Likewise.
36495 * abilist/libpthread.abilist: Likewise.
36496 * abilist/libresolv.abilist: Likewise.
36497 * abilist/librt.abilist: Likewise.
36498 * abilist/libthread_db.abilist: Likewise.
36499 * abilist/libutil.abilist: Likewise.
36500 * abilist/libnss_db.abilist: New file.
36502 * scripts/abilist.awk: Add support for indirect functions.
36504 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
36506 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
36508 * shlib-versions: Remove entries for ports architectures.
36510 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
36512 * elf/stackguard-macros.h: Remove support for IA-64.
36513 * elf/tst-auditmod1.c: Likewise.
36514 * sysdeps/generic/ldsodefs.h: Likewise.
36516 * sysdeps/unix/sysv/linux/configure.in: Ports should define
36517 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
36521 * configure.in: Remove --enable-omitfp support.
36523 * config.make.in: Likewise.
36524 * Makeconfig: Likewise.
36525 * manual/install.texi: Likewise.
36527 In case anyone cares, the IA-64 architecture could move to ports.
36528 * sysdeps/ia64/*: Removed.
36529 * sysdeps/unix/sysv/linux/ia64/*: Removed.
36530 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
36533 * configure.in: Remove entries for unsupported architectures.
36536 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
36537 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
36539 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
36540 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
36541 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
36542 fall back to using wcrtomb.
36543 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
36544 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
36546 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
36547 * wcsmbs/tst-c16c32-1.c: New file.
36549 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
36552 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
36554 * elf/tst-unique3.cc: Add explicit declaration of gets.
36555 * elf/tst-unique3lib.cc: Likewise.
36556 * elf/tst-unique3lib2.cc: Likewise.
36557 * elf/tst-unique4.cc: Likewise.
36559 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
36561 2012-01-06 Joseph Myers <joseph@codesourcery.com>
36564 * assert/assert.h (static_assert): Don't define for C++.
36565 * libio/stdio.h (gets): Do declare for C++ <= C++11.
36566 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
36568 2012-01-03 Ulrich Drepper <drepper@gmail.com>
36570 * iconv/loop.c (single loop): Fix assertion in storing of
36573 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
36575 2012-01-01 Ulrich Drepper <drepper@gmail.com>
36577 * posix/getconf.c: Update copyright year.
36578 * nss/getent.c: Likewise.
36579 * nss/makedb.c: Likewise.
36580 * iconv/iconvconfig.c: Likewise.
36581 * iconv/iconv_prog.c: Likewise.
36582 * elf/ldconfig.c: Likewise.
36583 * elf/pldd.c: Likewise.
36584 * elf/sotruss.ksh: Likewise.
36585 * catgets/gencat.c: Likewise.
36586 * csu/version.c: Likewise.
36587 * elf/ldd.bash.in: Likewise.
36588 * elf/sprof.c (print_version): Likewise.
36589 * locale/programs/locale.c: Likewise.
36590 * locale/programs/localedef.c: Likewise.
36591 * login/programs/pt_chown.c: Likewise.
36592 * nscd/nscd.c (print_version): Likewise.
36593 * debug/xtrace.sh: Likewise.
36594 * malloc/memusage.sh: Likewise.
36595 * malloc/mtrace.pl: Likewise.
36596 * debug/catchsegv.sh: Likewise.
36598 2011-12-30 Jakub Jelinek <jakub@redhat.com>
36600 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
36603 2011-12-24 Ulrich Drepper <drepper@gmail.com>
36606 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
36607 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
36609 * iconv/gconv_int.h: Likewise.
36610 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
36611 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
36612 from libc for GLIBC_2.16.
36613 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
36614 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
36615 * wcsmbs/uchar.h: Really define mbstate_t.
36616 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
36617 * wcsmbs/c16rtomb.c: New file.
36618 * wcsmbs/mbrtoc16.c: New file.
36619 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
36620 for C/POSIX locale.
36621 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
36622 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
36624 * wcsmbs/wchar.h: Add missing __restrict.
36626 2011-12-23 Ulrich Drepper <drepper@gmail.com>
36629 * time/Makefile (routines): Add timespec_get.
36630 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
36631 * time/time.h: Define TIME_UTC and declare timespec_get. Define
36632 timespec for ISO C11.
36633 * time/timespec_get.c: New file.
36634 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
36635 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
36638 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
36639 * stdlib/stdlib.h: Declare aligned_alloc.
36640 * Versions.def: Add GLIBC_2.16 for libc.
36641 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
36644 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
36647 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
36651 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
36654 * assert/assert.h (static_assert): Define.
36656 * version.h: Update for 2.16 development version.
36659 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
36662 * version.h (RELEASE): Bump for 2.15 release.
36663 * include/features.h (__GLIBC_MINOR__): Bump to 15.
36665 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
36666 Patch by Marek Polacek <mpolacek@redhat.com>.
36668 * bits/byteswap.h: Protect long long constants with __extension__.
36669 * sysdeps/i386/bits/byteswap.h: Likewise.
36670 * sysdeps/ia64/bits/byteswap.h: Likewise.
36671 * sysdeps/s390/bits/byteswap.h: Likewise.
36672 * sysdeps/x86_64/bits/byteswap.h: Likewise.
36674 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36677 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
36678 destination buffer.
36679 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
36681 2011-12-23 Marek Polacek <polacek@redhat.com>
36683 * elf/dl-addr.c (determine_info): Add inline keyword.
36684 * elf/tst-auditmod4b.c (check_avx): Likewise.
36685 * elf/tst-auditmod6b.c (check_avx): Likewise.
36686 * elf/tst-auditmod6c.c (check_avx): Likewise.
36687 * elf/tst-auditmod7b.c (check_avx): Likewise.
36689 2011-12-23 Ulrich Drepper <drepper@gmail.com>
36691 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
36694 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36697 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
36698 processing for last bytes.
36700 2011-08-06 Bruno Haible <bruno@clisp.org>
36703 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
36704 U+0385, not to U+1FEE.
36707 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
36708 entry for U+00A5 U+0301.
36710 2011-12-22 Ulrich Drepper <drepper@gmail.com>
36713 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
36714 buffer for the output is too small.
36716 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
36720 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
36721 SSE flags if possible.
36723 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36726 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
36727 processing for last bytes.
36729 2011-12-22 Joseph Myers <joseph@codesourcery.com>
36731 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
36732 (syscall-list-default-options, syscall-list-default-condition)
36733 (syscall-list-includes): Define.
36734 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
36735 list of ABIs and options and #if conditions for each ABI. Do not
36736 handle common syscalls between ABIs specially.
36737 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
36739 (syscall-list-variants, syscall-list-32bit-options)
36740 (syscall-list-32bit-condition, syscall-list-64bit-options)
36741 (syscall-list-64bit-condition): Define.
36742 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
36743 (syscall-list-variants, syscall-list-32bit-options)
36744 (syscall-list-32bit-condition, syscall-list-64bit-options)
36745 (syscall-list-64bit-condition): Define.
36746 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
36748 (syscall-list-variants, syscall-list-32bit-options)
36749 (syscall-list-32bit-condition, syscall-list-64bit-options)
36750 (syscall-list-64bit-condition): Define.
36751 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
36753 (syscall-list-variants, syscall-list-32bit-options)
36754 (syscall-list-32bit-condition, syscall-list-64bit-options)
36755 (syscall-list-64bit-condition): Define.
36757 2011-12-22 Ulrich Drepper <drepper@gmail.com>
36759 * locale/iso-639.def: Add brx entry.
36762 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
36763 Proposed by Mariusz_Cukr <marcukr@op.pl>.
36765 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
36766 __feraiseexcept_renamed.
36768 2011-12-21 Ulrich Drepper <drepper@gmail.com>
36771 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
36772 EPOLLET with unsigned values.
36773 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36774 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
36776 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
36777 to large cancellation.
36778 * math/s_cacoshf.c: Likewise.
36779 * math/s_cacoshl.c: Likewise.
36781 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
36785 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
36786 * math/s_cacoshf.c: Likewise.
36787 * math/s_cacoshl.c: Likewise.
36789 2011-12-21 Ulrich Drepper <drepper@gmail.com>
36792 * iconv/gconv.h: Define __GCONV_SWAP.
36793 * iconvdata/unicode.c: The swap bit must be stored in __flags.
36794 * iconvdata/utf-16.c: Likewise.
36795 * iconvdata/utf-32.c: Likewise.
36797 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
36800 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
36801 numerator after shifting it by one limb.
36803 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
36805 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
36806 under [__USE_EXTERN_INLINES].
36808 2011-12-17 Ulrich Drepper <drepper@gmail.com>
36811 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
36813 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36815 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
36816 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
36818 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
36819 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
36820 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
36821 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
36822 for strncasecmp/strncasecmp_l compilation.
36823 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
36824 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
36826 2011-12-08 Marek Polacek <mpolacek@redhat.com>
36829 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
36832 2011-12-17 Ulrich Drepper <drepper@gmail.com>
36835 * time/tzfile.c (__tzfile_read): Check values from file header.
36837 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
36839 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
36840 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
36841 * powerpc/powerpc32/dl-start.S: Likewise.
36842 * powerpc/powerpc32/elf/start.S: Likewise.
36843 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
36844 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
36845 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
36846 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
36847 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
36848 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
36849 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
36850 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
36851 * powerpc/powerpc32/fpu/s_round.S: Likewise.
36852 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
36853 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
36854 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
36855 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
36856 * powerpc/powerpc32/memset.S: Likewise.
36857 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
36858 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
36859 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
36860 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
36861 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
36862 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
36863 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
36864 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
36865 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
36866 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
36867 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
36868 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
36869 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
36871 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36873 * math/libm-test.inc: Added more nearbyint tests.
36874 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
36875 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
36876 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
36877 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
36879 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
36881 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
36884 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36886 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
36887 Add wcscpy-ssse3 wcscpy-c.
36888 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
36889 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
36890 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
36891 * sysdeps/x86_64/wcschr.S: New file.
36892 * sysdeps/x86_64/wcsrchr.S: New file.
36893 * string/test-strcmp.c: Remove checking of wcscmp function for
36895 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
36896 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
36897 wcsrchr-sse2 wcsrchr-c.
36898 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
36899 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
36900 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
36901 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
36902 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
36903 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
36904 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
36905 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
36906 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
36907 * wcsmbc/wcschr.c (WCSCHR): New macro.
36909 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36911 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
36912 * wcsmbs/test-wcsrchr.c: New file.
36913 * string/test-strrchr.c: Add wcsrchr support.
36915 * wcsmbs/test-wcscpy.c: New file.
36916 * string/test-strcpy.c: Add wcscpy support.
36919 2011-12-10 Ulrich Drepper <drepper@gmail.com>
36921 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
36924 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
36927 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
36929 2011-12-04 Ulrich Drepper <drepper@gmail.com>
36931 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
36932 Minor optimizations.
36934 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
36935 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
36936 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
36938 2011-12-03 Ulrich Drepper <drepper@gmail.com>
36940 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
36941 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
36942 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
36943 for gcc to avoid warnings.
36944 * inet/Makefile (tests): Add tst-checks.
36945 * inet/tst-checks.c: New file.
36947 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
36950 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
36953 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
36954 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
36956 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
36958 2011-12-02 Ulrich Drepper <drepper@gmail.com>
36960 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
36963 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
36965 2011-11-29 Joseph Myers <joseph@codesourcery.com>
36967 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
36968 conditional on GCC version.
36969 (__arch_compare_and_exchange_val_8_acq)
36970 (__arch_compare_and_exchange_val_16_acq)
36971 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
36972 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
36973 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
36975 2011-12-02 Joseph Myers <joseph@codesourcery.com>
36977 * sysdeps/sh/backtrace.c: New file.
36979 2011-12-02 Andreas Schwab <schwab@redhat.com>
36981 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
36984 2011-12-01 Andreas Schwab <schwab@redhat.com>
36986 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
36987 falling back to utime.
36989 2011-11-30 Andreas Schwab <schwab@redhat.com>
36991 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
36992 expectations for float.
36994 2011-11-29 Andreas Schwab <schwab@redhat.com>
36996 * locale/weight.h (findidx): Add parameter len.
36997 * locale/weightwc.h (findidx): Likewise.
36998 * posix/fnmatch_loop.c (FCT): Adjust caller.
36999 * posix/regcomp.c (build_equiv_class): Likewise.
37000 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
37001 * posix/regexec.c (check_node_accept_bytes): Likewise.
37002 * string/strcoll_l.c (STRCOLL): Likewise.
37003 * string/strxfrm_l.c (STRXFRM): Likewise.
37005 2011-11-17 Ulrich Drepper <drepper@gmail.com>
37007 * Makefile.in: Remove CVSOPT handling.
37008 * configure.in: Remove use of AC_REVISION.
37009 * iconvdata/Makefile (distribute): No need to filter out CVS.
37010 * scripts/list-sources.sh: Remove CVS, subversion and monotone
37013 2011-11-16 Andreas Schwab <schwab@redhat.com>
37015 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
37016 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
37017 [USE_AS_STRNCASECMP_L]: Likewise.
37018 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
37019 NO_TLS_DIRECT_SEG_REFS.
37020 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
37021 Fix argument offsets for non-PIC.
37022 [USE_AS_STRNCASECMP_L]: Likewise.
37023 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
37024 NO_TLS_DIRECT_SEG_REFS.
37026 2011-11-15 Ulrich Drepper <drepper@gmail.com>
37028 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
37030 * locale/loadlocale.c (_nl_load_locale): Likewise.
37032 2011-11-15 Andreas Schwab <schwab@redhat.com>
37034 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
37035 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
37036 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
37037 (SYSCALL_GETTIME): Set errno on error.
37039 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
37040 count references to noai6ai_cached.
37042 2011-11-15 Ulrich Drepper <drepper@gmail.com>
37044 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
37046 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
37047 FD_CLOEXEC for /proc/self/maps.
37049 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
37050 FD_CLOEXEC for /proc/meminfo.
37052 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
37055 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
37056 FD_CLOEXEC for given file.
37058 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
37060 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
37061 FD_CLOEXEC for /etc/hosts.
37062 (_gethtent): Likewise.
37064 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
37066 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
37067 cancellation and set FD_CLOEXEC for /etc/netgroup.
37069 * nss/nss_files/files-key.c (search): Don't allow cancellation when
37070 reading /etc/publickey.
37072 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
37073 allow cancellation when reading /etc/group.
37075 * nss/nss_files/files-alias.c (internal_setent): Don't allow
37077 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
37079 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
37080 when using data file.
37082 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
37084 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
37085 (write_nis_obj): Use "c" and "e" in fopen.
37087 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
37089 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
37091 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
37093 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
37095 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
37098 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
37100 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
37102 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
37104 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
37105 file parsing and set FD_CLOEXEC.
37107 2011-11-14 Ulrich Drepper <drepper@gmail.com>
37109 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
37111 2011-11-14 Andreas Schwab <schwab@redhat.com>
37113 * malloc/arena.c (arena_get2): Don't call reused_arena when
37114 _int_new_arena failed.
37116 2011-11-14 Ulrich Drepper <drepper@gmail.com>
37118 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
37119 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
37120 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
37121 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37122 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
37123 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
37124 to compile strcasecmp and strncasecmp.
37125 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
37126 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
37128 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
37130 2011-11-13 Ulrich Drepper <drepper@gmail.com>
37132 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
37133 locale-defines.sym to gen-as-const-headers.
37134 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
37135 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
37136 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
37137 to compile strcasecmp and strncasecmp.
37138 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
37139 strcasecmp_l and strncasecmp_l.
37140 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
37141 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
37142 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
37143 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
37144 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
37145 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
37146 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
37147 * sysdeps/i386/i686/multiarch/strncase.S: New file.
37148 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
37149 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
37150 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
37152 2011-11-12 Ulrich Drepper <drepper@gmail.com>
37154 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
37155 result of SYSDEP_GETTIME_CPU to retval.
37156 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
37157 parameter list to macro. Remove trailing semicolon. Adjust users.
37159 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
37162 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
37164 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
37166 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
37167 from unused variable.
37169 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
37171 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
37174 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
37177 * sunrpc/rpc_prot.c (rejected): Fix case value.
37179 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
37180 unsigned long long int to avoid warnings in shift.
37182 * posix/regex_internal.c (re_string_reconstruct): Actually use result
37184 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
37187 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
37188 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
37189 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
37191 * nis/nis_table.c (nis_list): Use variable of correct type for
37192 result of __follow_path call.
37194 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37196 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
37197 of math functions ceil, trunc, floor, round, and sqrt, when
37198 avaliable on the platform.
37199 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
37201 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
37202 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
37203 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
37205 2011-10-30 Marek Polacek <mpolacek@redhat.com>
37207 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
37208 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
37210 2011-11-11 Roland McGrath <roland@hack.frob.com>
37212 * include/unistd.h: Fix __readlink return type.
37213 Reported by Chris Metcalf <cmetcalf@tilera.com>.
37215 2011-11-11 Ulrich Drepper <drepper@gmail.com>
37217 * stdlib/ucontext.h: Undo last change for makecontext.
37219 2011-11-11 Andreas Schwab <schwab@redhat.com>
37221 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
37223 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
37224 * setjmp/setjmp.h: Mark functions as non-leaf.
37225 * setjmp/bits/setjmp2.h: Likewise.
37226 * stdlib/ucontext.h: Likewise.
37228 2011-11-10 Andreas Schwab <schwab@redhat.com>
37230 * malloc/arena.c (_int_new_arena): Don't increment narenas.
37231 (reused_arena): Don't check arena limit.
37232 (arena_get2): Atomically check arena limit.
37234 2011-11-08 Ulrich Drepper <drepper@gmail.com>
37236 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
37237 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
37239 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
37242 2011-11-07 Andreas Schwab <schwab@redhat.com>
37244 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
37245 handler when locking.
37247 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
37248 Fix size of allocated buffer.
37250 2011-11-04 Andreas Schwab <schwab@redhat.com>
37253 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
37254 declarations for long double functions.
37255 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
37257 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
37259 2011-11-03 Andreas Schwab <schwab@redhat.com>
37261 * nscd/nscd.c (main): Don't start AVC thread until credentials are
37264 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
37267 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
37269 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
37271 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
37273 * include/alloca.h (stackinfo_alloca_round): Define.
37274 (extend_alloca): Use it.
37275 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
37276 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
37279 * scripts/check-local-headers.sh: Ignore libaudit.h.
37281 * nscd/Makefile (extra-objs): Make recursively expanded.
37283 2011-11-01 Ulrich Drepper <drepper@gmail.com>
37285 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
37286 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
37288 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
37289 * posix/tst-rfc3484-2.c: Likewise.
37290 * posix/tst-rfc3484-3.c: Likewise.
37292 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
37294 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
37296 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
37297 process_vm_writev from libc using GLIBC_2.15 version.
37299 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
37301 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
37303 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
37306 2011-10-31 Ulrich Drepper <drepper@gmail.com>
37309 * nss/getent.c (initgroups_keys): Show error message in case no group
37312 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
37313 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
37314 __bump_nl_timestamp.
37315 * nscd/connections (nscd_init): When host database is served open
37316 netlink socket and request notification about configuration changes.
37317 (main_loop_poll): Track netlink file descriptor and bump timestamp
37318 in case data becomes available.
37319 (main_loop_epoll): Likewise.
37320 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
37321 (database_pers_head): Add extra_data fileds.
37322 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
37323 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
37324 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
37326 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
37327 in6ai data, call __free_in6ai.
37328 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
37329 Add -DHAVE_NETLINK.
37330 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
37331 interface information. Reuse previous data if netlink timestamp
37333 (__bump_nl_timestamp): New function.
37334 (__free_in6ai): New function.
37336 2011-10-30 Ulrich Drepper <drepper@gmail.com>
37338 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
37339 close_not_cancel_no_status here.
37340 (__check_pf): Reorganize code a bit to not call close twice if OOM.
37342 2011-10-29 Ulrich Drepper <drepper@gmail.com>
37345 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
37348 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
37349 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
37350 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
37352 2011-07-03 Andreas Jaeger <aj@suse.de>
37355 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
37356 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
37357 * math/libm-test.inc (sin_test): Add test case.
37359 2011-10-29 Ulrich Drepper <drepper@gmail.com>
37362 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
37363 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
37365 * elf/chroot_canon.c (chroot_canon): Cleanups.
37367 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
37370 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
37371 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
37373 * string/test-strchr.c: Make usable for strchrnul testing.
37374 * string/test-strchrnul.c: New file.
37375 * string/Makefile (strop-tests): Add strchrnul.
37377 * po/it.po: Update from translation team.
37378 * po/es.po: Likewise.
37380 2011-10-28 Ulrich Drepper <drepper@gmail.com>
37382 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
37383 the three constants needed as parameters. Drop the others.
37384 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
37385 __m128i_strloadu_tolower.
37386 Create and initialize variable zero and use it in all the places
37387 where _mm_setzero_si128 was used.
37389 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
37390 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
37391 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
37392 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
37394 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
37395 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
37396 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
37397 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
37398 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
37399 __mpranred, __mptan.
37400 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
37401 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
37402 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
37403 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
37404 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
37405 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
37406 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
37407 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
37408 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
37410 2011-10-28 Andreas Schwab <schwab@redhat.com>
37412 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
37413 redefine if SHARED.
37414 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
37416 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
37417 wide char related routines to wcsmbs subdir.
37419 2011-10-27 Andreas Schwab <schwab@redhat.com>
37422 * misc/sys/cdefs.h (__THROWNL): Define.
37423 * posix/unistd.h: Use __THREADNL instead of __THREAD
37424 for memory synchronization functions.
37426 2011-10-26 Roland McGrath <roland@hack.frob.com>
37429 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
37431 * manual/stdio.texi (Obstack Streams): Node removed.
37433 2011-10-26 Andreas Schwab <schwab@redhat.com>
37435 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
37436 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37437 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37439 * math/math_private.h (math_force_eval): Allow non-addressable
37441 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
37443 2011-10-25 Ulrich Drepper <drepper@gmail.com>
37445 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
37446 file is not needed.
37448 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
37449 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
37450 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37451 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37452 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37453 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37454 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
37455 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
37457 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
37458 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
37459 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
37460 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
37461 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
37462 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
37463 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
37464 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
37465 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
37466 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
37467 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
37468 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
37469 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
37470 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
37471 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
37472 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
37473 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
37474 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
37475 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
37477 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
37478 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
37480 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
37481 place. Use VEX encoding when compiling for AVX.
37483 2011-10-25 Andreas Schwab <schwab@redhat.com>
37485 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
37486 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
37488 * string/test-strchr.c (do_test): Don't generate NUL bytes.
37490 2011-10-25 Ulrich Drepper <drepper@gmail.com>
37492 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
37493 useless if() expression.
37494 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
37495 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
37496 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
37497 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37498 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
37499 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37500 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37501 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37502 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
37503 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37504 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
37505 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37506 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
37507 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37508 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
37509 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37510 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
37511 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
37512 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
37514 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
37516 2011-10-25 Andreas Schwab <schwab@redhat.com>
37518 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
37520 * elf/dl-fini.c (_dl_sort_fini): Likewise.
37522 2011-10-25 Ulrich Drepper <drepper@gmail.com>
37524 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
37525 .text section. Avoid duplicate constants.
37526 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
37527 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37528 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
37529 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37530 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37531 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37532 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37533 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37534 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
37535 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
37536 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
37537 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
37538 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
37539 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
37540 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
37541 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
37542 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
37543 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
37544 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
37545 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37546 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
37547 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
37548 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
37549 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
37550 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
37551 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
37552 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
37553 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
37554 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
37555 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
37556 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
37557 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
37558 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
37559 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
37560 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
37561 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
37562 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
37563 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
37564 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
37565 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
37566 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
37567 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
37568 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
37569 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
37570 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
37572 2011-10-24 Ulrich Drepper <drepper@gmail.com>
37574 * sysdeps/x86_64/dla.h: Move to ...
37575 * sysdeps/x86_64/fpu/dla.h: ...here.
37576 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
37577 situations. Use __builtin_fma only for gcc 4.6 and up.
37579 * config.make.in: Add have-mfma4 entry.
37580 * configure.in: Substitute libc_cv_cc_fma4.
37581 * math/Makefile (dbl-only-routines): Add sincostab.
37582 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
37583 Use __sincostab not sincos.
37584 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
37586 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37587 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37588 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37589 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
37591 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
37592 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
37593 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
37594 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
37596 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
37597 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
37599 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
37600 define aliases when function name is a macro.
37601 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
37602 sysdeps/ieee754/dbl-64/sincos.tbl.
37603 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
37604 fma4-enabled routines.
37605 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
37606 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
37607 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
37608 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
37609 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
37610 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
37611 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
37612 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
37613 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
37614 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
37615 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
37616 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
37617 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
37618 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
37619 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
37620 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
37621 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
37622 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
37623 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
37624 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
37625 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
37626 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
37627 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
37628 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
37629 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
37630 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
37631 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
37632 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
37633 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
37634 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
37636 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
37638 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37639 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37640 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37641 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37642 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37643 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37644 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37645 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37647 2011-10-24 Andreas Schwab <schwab@redhat.com>
37649 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
37651 2011-10-23 Ulrich Drepper <drepper@gmail.com>
37653 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
37655 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
37657 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
37659 * string/strnlen.c: Don't define STRNLEN, reverse logic.
37660 Remove unused variable magic_bits.
37661 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
37663 * string/strnlen.c: Define and use STRNLEN macro.
37664 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
37665 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
37666 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
37667 * wcsmbs/wcslen.c: Define and use WCSLEN.
37668 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
37669 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
37670 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
37671 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
37672 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
37673 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
37674 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
37676 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37678 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37679 strnlen-sse2-no-bsf.
37680 Rename strlen-no-bsf to strlen-sse2-no-bsf.
37681 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
37682 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
37683 Add strnlen support.
37684 (USE_AS_STRNLEN): New macro.
37685 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
37686 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
37687 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
37688 * sysdeps/x86_64/wcslen.S: New file.
37690 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
37692 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
37693 XMM-moves are used for copying on small sizes.
37695 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37697 * wcsmbs/Makefile (strop-tests): Add wcschr.
37698 * wcsmbs/test-wcschr.c: New file.
37699 * string/test-strchr.c: Update.
37700 Add wcschr support.
37703 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37705 * wcsmbs/Makefile (strop-tests): Add wcslen.
37706 * wcsmbs/test-wcslen.c: New file.
37707 * string/test-strlen.c: Update.
37708 Add wcslen support.
37711 2011-10-23 Ulrich Drepper <drepper@gmail.com>
37713 * po/it.po: Update from translation team.
37715 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37717 * sysdeps/x86_64/wcscmp.S: Update.
37718 Fix wrong comparison semantics.
37719 wcscmp shall use signed comparison not unsigned.
37720 Don't use substraction to avoid overflow bug.
37721 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
37722 * wcsmbc/wcscmp.c: Likewise.
37723 * string/test-strcmp.c: Likewise.
37724 Add new tests to check cases with negative values.
37726 2011-10-23 Ulrich Drepper <drepper@gmail.com>
37728 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
37729 * sysdeps/x86_64/dla.h: ...here. New file.
37730 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
37731 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37732 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37733 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37734 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37735 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37736 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37737 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37738 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37740 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
37742 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
37743 __ynl_finite aliases.
37745 2011-10-22 Ulrich Drepper <drepper@gmail.com>
37747 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37749 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
37751 [DLA_FMA] (EMULV): Use DLA_FMA.
37752 [DLA_FMA] (MUL12): Use EMULV.
37753 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
37754 that are not needed.
37755 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37756 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37757 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37758 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37759 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37760 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37761 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37763 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
37765 * math/s_nan.c: Undef __nan.
37766 * math/s_nanf.c: Undef __nanf.
37767 * math/s_nanl.c: Undef __nanl.
37768 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
37771 2011-10-22 Ulrich Drepper <drepper@gmail.com>
37773 * math/s_catan.c: Add branch predictions.
37774 * math/s_catanf.c: Likewise.
37775 * math/s_catanh.c: Likewise.
37776 * math/s_catanhf.c: Likewise.
37777 * math/s_catanhl.c: Likewise.
37778 * math/s_catanl.c: Likewise.
37779 * math/s_cexp.c: Likewise.
37780 * math/s_cexpf.c: Likewise.
37781 * math/s_cexpl.c: Likewise.
37782 * math/s_clog.c: Likewise.
37783 * math/s_clog10.c: Likewise.
37784 * math/s_clog10f.c: Likewise.
37785 * math/s_clog10l.c: Likewise.
37786 * math/s_clogf.c: Likewise.
37787 * math/s_clogl.c: Likewise.
37788 * math/s_csqrt.c: Likewise.
37789 * math/s_csqrtf.c: Likewise.
37790 * math/s_csqrtl.c: Likewise.
37791 * math/s_ctanf.c: Likewise.
37792 * math/s_ctanh.c: Likewise.
37793 * math/s_ctanhf.c: Likewise.
37794 * math/s_ctanhl.c: Likewise.
37795 * math/s_ctanl.c: Likewise.
37797 * math/math_private.h: Define __nan, __nanf, __nanl.
37798 * math/s_cacosh.c: Include <math_private.h>.
37799 * math/s_cacoshl.c: Likewise.
37800 * math/s_casinh.c: Likewise.
37801 * math/s_casinhf.c: Likewise.
37802 * math/s_casinhl.c: Likewise.
37803 * math/s_ccos.c: Rely entire on ccosh.
37804 * math/s_ccosf.c: Rely entire on ccoshf.
37805 * math/s_ccosl.c: Rely entirely on ccoshl.
37806 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
37807 Remove tests for FE_INVALID.
37808 * math/s_ccoshf.c: Likewise.
37809 * math/s_ccoshl.c: Likewise.
37810 * math/s_csin.c: Likewise.
37811 * math/s_csinf.c: Likewise.
37812 * math/s_csinh.c Likewise.
37813 * math/s_csinhf.c: Likewise.
37814 * math/s_csinhl.c: Likewise.
37815 * math/s_csinl.c: Likewise.
37816 * math/s_ctan.c: Likewise.
37817 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
37818 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
37819 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
37821 2011-10-21 Ulrich Drepper <drepper@gmail.com>
37823 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
37824 compilation problems.
37826 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
37829 2011-10-20 Ulrich Drepper <drepper@gmail.com>
37831 * sysdeps/i386/configure.in: Test for -mfma4 option.
37832 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
37833 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
37834 COMMON_CPUID_INDEX_80000001.
37835 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
37836 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
37837 use it if FMA3 is not supported.
37838 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
37840 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
37841 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
37843 2011-10-20 Andreas Schwab <schwab@redhat.com>
37846 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
37847 it would create a cycle with a link time dependency.
37849 2011-10-19 Ulrich Drepper <drepper@gmail.com>
37851 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
37853 * string/Makefile (strop-tests): Add rawmemchr.
37854 * string/test-rawmemchr.c: New file.
37856 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
37857 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
37858 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
37859 when compiling str{,n}casecmp and when AVX is available. Hook up
37860 new optimized code in initializers.
37862 2011-10-19 Andreas Schwab <schwab@redhat.com>
37864 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
37865 __feraiseexcept instead of feraiseexcept.
37867 2011-10-18 Ulrich Drepper <drepper@gmail.com>
37869 * math/math_private.h: Define defaults for libc_fetestexcept and
37871 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
37872 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
37873 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
37874 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
37875 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
37876 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
37877 libc_fetestexcept and libc_feupdateenv.
37879 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
37880 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
37881 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
37882 * sysdeps/x86_64/fpu/math_private.h: Define special version of
37883 libc_feholdexcept_setround.
37885 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
37886 Add s_nearbyint-c and s_nearbyintf-c.
37887 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
37888 nearbyintf inlines.
37889 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
37890 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
37891 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
37892 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
37894 * math/math_private.h: Define defaults for libc_fegetround,
37895 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
37896 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
37897 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
37898 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
37899 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
37900 standard functions.
37901 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
37902 Remove comments and hacks for old compiler versions.
37903 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
37904 libc_fegetround, libc_fesetround, libc_feholdexcept, and
37905 libc_feholdexceptl.
37907 2011-10-18 Andreas Schwab <schwab@redhat.com>
37909 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
37910 (__feraiseexcept_renamed): Add __NTH.
37911 (feraiseexcept): Add __NTH. Rename local variables to fix
37912 namespace violations.
37914 2011-10-17 Ulrich Drepper <drepper@gmail.com>
37916 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
37918 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
37920 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
37921 recently added interfaces.
37922 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
37924 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
37925 about macro parameter expansion.
37927 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
37928 __NO_MATH_INLINES is defined. Cleanups.
37930 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
37931 and __floorf is target has SSE4.1.
37932 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
37933 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
37934 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
37935 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
37937 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
37939 (floorf): Likewise.
37941 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
37943 2011-10-17 Andreas Schwab <schwab@redhat.com>
37945 * misc/sys/cdefs.h: Fix last change.
37947 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
37950 2011-10-16 Ulrich Drepper <drepper@gmail.com>
37952 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
37954 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
37955 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37956 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
37957 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37958 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37959 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
37960 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37961 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37962 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
37963 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
37964 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
37965 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
37966 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
37967 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
37968 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
37969 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
37970 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
37971 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
37972 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
37973 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
37974 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
37975 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
37977 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
37978 ceil, ceilf, floor, floorf.
37980 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
37981 Perform IRELATIVE relocations last.
37983 * elf/do-rel.h: Add another parameter nrelative, replacing the
37984 local variable with the same name. Change name of the function
37985 to end in Rel or Rela (uppercase).
37986 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
37987 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
37988 elf_dynamic_do_##reloc function.
37990 2011-10-15 Ulrich Drepper <drepper@gmail.com>
37992 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
37993 is sufficient, at least on modern CPUs.
37995 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
37997 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
37998 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
38000 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
38002 * math/bits/math-finite.h: Add entries for exp.
38003 * math/e_expl.c: Add __*_finite alias.
38004 * sysdeps/i386/fpu/e_exp.S: Likewise.
38005 * sysdeps/i386/fpu/e_expf.S: Likewise.
38006 * sysdeps/i386/fpu/e_expl.c: Likewise.
38007 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38008 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
38009 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
38010 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
38011 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
38012 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
38013 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
38015 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
38016 is sufficient, at least on modern CPUs.
38018 * ctype/ctype-info.c (__ctype_init): Define.
38019 * include/ctype.h (__ctype_init): Declare.
38020 (__ctype_b_loc): The variable is always initialized.
38021 (__ctype_toupper_loc): Likewise.
38022 (__ctype_tolower_loc): Likewise.
38023 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
38024 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
38026 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
38028 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
38030 * configure.in: Also look in $cxxmachine/include for C++ system
38033 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38035 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
38036 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
38037 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
38038 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
38039 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
38040 (USE_AS_WMEMCMP): New macro.
38042 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
38043 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
38044 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
38045 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
38046 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38047 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
38048 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
38049 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
38050 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
38051 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
38052 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
38053 (USE_AS_WMEMCMP): New macro.
38054 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
38055 * sysdeps/string/test-memcmp.c: Update.
38056 Fix simple_wmemcmp.
38058 * wcsmbs/wmemcmp.c: Update.
38059 (WMEMCMP): New macro.
38062 2011-10-12 Andreas Jaeger <aj@suse.de>
38065 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
38067 2011-10-15 Ulrich Drepper <drepper@gmail.com>
38069 * libio/iofwide.c (do_length): Avoid warning.
38071 * ctype/ctype.h (__isctype_f): Add missing __THROW.
38073 2011-10-14 Ulrich Drepper <drepper@gmail.com>
38075 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
38077 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
38078 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
38079 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
38080 * sysdeps/i386/i686/fpu/e_log.S: New file.
38081 * sysdeps/i386/i686/fpu/e_logf.S: New file.
38082 * sysdeps/i386/i686/fpu/e_logl.S: New file.
38084 * ctype/ctype.h: Add support for inlined isXXX functions when
38085 compiling C++ code.
38087 2011-10-14 Andreas Schwab <schwab@redhat.com>
38089 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38091 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
38093 2011-10-13 Roland McGrath <roland@hack.frob.com>
38096 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
38098 2011-10-13 Andreas Schwab <schwab@redhat.com>
38100 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
38101 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
38104 * sysdeps/x86_64/memrchr.S: Check for zero size.
38106 * string/stratcliff.c: Add memrchr tests.
38108 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38110 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38111 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
38112 rawmemchr-sse2 rawmemchr-sse2-bsf.
38113 * sysdeps/i386/i686/multiarch/memchr.S: New file.
38114 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
38115 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
38116 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
38117 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
38118 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
38119 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
38120 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
38121 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
38122 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
38123 * string/memrchr.c (MEMRCHR): New macro.
38125 2011-10-12 Ulrich Drepper <drepper@gmail.com>
38127 Add integration with gcc's -ffinite-math-only and optimize wrapper
38129 * Versions.def: Define GLIBC_2.15 version for libm.
38130 * math/Makefile (headers): Add bits/math-finite.h.
38131 * math/bits/math-finite.h: New file.
38132 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
38133 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
38134 * math/e_acoshl.c: Add __*_finite alias.
38135 * math/e_acosl.c: Likewise.
38136 * math/e_asinl.c: Likewise.
38137 * math/e_atan2l.c: Likewise.
38138 * math/e_atanhl.c: Likewise.
38139 * math/e_coshl.c: Likewise.
38140 * math/e_exp10.c: Likewise.
38141 * math/e_exp10f.c: Likewise.
38142 * math/e_exp10l.c: Likewise.
38143 * math/e_exp2l.c: Likewise.
38144 * math/e_fmodl.c: Likewise.
38145 * math/e_gammal_r.c: Likewise.
38146 * math/e_hypotl.c: Likewise.
38147 * math/e_j0l.c: Likewise.
38148 * math/e_j1l.c: Likewise.
38149 * math/e_jnl.c: Likewise.
38150 * math/e_lgammal_r.c: Likewise.
38151 * math/e_log10l.c: Likewise.
38152 * math/e_log2l.c: Likewise.
38153 * math/e_logl.c: Likewise.
38154 * math/e_powl.c: Likewise.
38155 * math/e_sinhl.c: Likewise.
38156 * math/e_sqrtl.c: Likewise.
38157 * math/e_scalb.c: Completely rewritten and optimized.
38158 * math/e_scalbf.c: Likewise.
38159 * math/e_scalbl.c: Likewise.
38160 * math/w_acos.c: Likewise.
38161 * math/w_acosf.c: Likewise.
38162 * math/w_acosl.c: Likewise.
38163 * math/w_acosh.c: Likewise.
38164 * math/w_acoshf.c: Likewise.
38165 * math/w_acoshl.c: Likewise.
38166 * math/w_asin.c: Likewise.
38167 * math/w_asinf.c: Likewise.
38168 * math/w_asinl.c: Likewise.
38169 * math/w_atan2.c: Likewise.
38170 * math/w_atan2f.c: Likewise.
38171 * math/w_atan2l.c: Likewise.
38172 * math/w_atanh.c: Likewise.
38173 * math/w_atanhf.c: Likewise.
38174 * math/w_atanhl.c: Likewise.
38175 * math/w_exp10.c: Likewise.
38176 * math/w_exp10f.c: Likewise.
38177 * math/w_exp10l.c: Likewise.
38178 * math/w_fmod.c: Likewise.
38179 * math/w_fmodf.c: Likewise.
38180 * math/w_fmodl.c: Likewise.
38181 * math/w_j0.c: Likewise.
38182 * math/w_j0f.c: Likewise.
38183 * math/w_j0l.c: Likewise.
38184 * math/w_j1.c: Likewise.
38185 * math/w_j1f.c: Likewise.
38186 * math/w_j1l.c: Likewise.
38187 * math/w_jn.c: Likewise.
38188 * math/w_jnf.c: Likewise.
38189 * math/w_log.c: Likewise.
38190 * math/w_logf.c: Likewise.
38191 * math/w_logl.c: Likewise.
38192 * math/w_log10.c: Likewise.
38193 * math/w_log10f.c: Likewise.
38194 * math/w_log10l.c: Likewise.
38195 * math/w_log2.c: Likewise.
38196 * math/w_log2f.c: Likewise.
38197 * math/w_log2l.c: Likewise.
38198 * math/w_pow.c: Likewise.
38199 * math/w_powf.c: Likewise.
38200 * math/w_powl.c: Likewise.
38201 * math/w_remainder.c: Likewise.
38202 * math/w_remainderf.c: Likewise.
38203 * math/w_remainderl.c: Likewise.
38204 * math/w_scalb.c: Likewise.
38205 * math/w_scalbf.c: Likewise.
38206 * math/w_scalbl.c: Likewise.
38207 * math/w_sqrt.c: Likewise.
38208 * math/w_sqrtf.c: Likewise.
38209 * math/w_sqrtl.c: Likewise.
38210 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
38211 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
38213 * math/math_private.h: Declare __kernel_standard_f.
38214 * math/w_cosh.c: Remove cruft and optimize a bit.
38215 * math/w_coshf.c: Likewise.
38216 * math/w_coshl.c: Likewise.
38217 * math/w_exp2.c: Likewise.
38218 * math/w_exp2f.c: Likewise.
38219 * math/w_exp2l.c: Likewise.
38220 * math/w_hypot.c: Likewise.
38221 * math/w_hypotf.c: Likewise.
38222 * math/w_hypotl.c: Likewise.
38223 * math/w_lgamma.c: Likewise.
38224 * math/w_lgamma_r.c: Likewise.
38225 * math/w_lgammaf.c: Likewise.
38226 * math/w_lgammaf_r.c: Likewise.
38227 * math/w_lgammal.c: Likewise.
38228 * math/w_lgammal_r.c: Likewise.
38229 * math/w_sinh.c: Likewise.
38230 * math/w_sinhf.c: Likewise.
38231 * math/w_sinhl.c: Likewise.
38232 * math/w_tgamma.c: Likewise.
38233 * math/w_tgammaf.c: Likewise.
38234 * math/w_tgammal.c: Likewise.
38235 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38236 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38237 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
38238 Minor optimizations. Pretty printing. Remove cruft.
38239 * sysdeps/i386/fpu/e_acosf.S: Likewise.
38240 * sysdeps/i386/fpu/e_acosh.S: Likewise.
38241 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
38242 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
38243 * sysdeps/i386/fpu/e_acosl.c: Likewise.
38244 * sysdeps/i386/fpu/e_asin.S: Likewise.
38245 * sysdeps/i386/fpu/e_asinf.S: Likewise.
38246 * sysdeps/i386/fpu/e_atan2.S: Likewise.
38247 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
38248 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
38249 * sysdeps/i386/fpu/e_atanh.S: Likewise.
38250 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
38251 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
38252 * sysdeps/i386/fpu/e_exp10.S: Likewise.
38253 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
38254 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
38255 * sysdeps/i386/fpu/e_exp2.S: Likewise.
38256 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
38257 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
38258 * sysdeps/i386/fpu/e_fmod.S: Likewise.
38259 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
38260 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
38261 * sysdeps/i386/fpu/e_hypot.S: Likewise.
38262 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
38263 * sysdeps/i386/fpu/e_log.S: Likewise.
38264 * sysdeps/i386/fpu/e_log10.S: Likewise.
38265 * sysdeps/i386/fpu/e_log10f.S: Likewise.
38266 * sysdeps/i386/fpu/e_log10l.S: Likewise.
38267 * sysdeps/i386/fpu/e_log2.S: Likewise.
38268 * sysdeps/i386/fpu/e_log2f.S: Likewise.
38269 * sysdeps/i386/fpu/e_log2l.S: Likewise.
38270 * sysdeps/i386/fpu/e_logf.S: Likewise.
38271 * sysdeps/i386/fpu/e_logl.S: Likewise.
38272 * sysdeps/i386/fpu/e_pow.S: Likewise.
38273 * sysdeps/i386/fpu/e_powf.S: Likewise.
38274 * sysdeps/i386/fpu/e_powl.S: Likewise.
38275 * sysdeps/i386/fpu/e_remainder.S: Likewise.
38276 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
38277 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
38278 * sysdeps/i386/fpu/e_scalb.S: Likewise.
38279 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
38280 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
38281 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
38282 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
38283 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
38284 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
38285 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38286 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38287 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
38288 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
38289 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
38290 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
38291 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
38292 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38293 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
38294 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
38295 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
38296 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38297 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
38298 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
38299 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38300 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38301 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
38302 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38303 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38304 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
38305 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
38306 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
38307 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
38308 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
38309 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
38310 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
38311 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
38312 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
38313 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
38314 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
38315 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
38316 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
38317 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
38318 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
38319 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
38320 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
38321 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
38322 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
38323 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
38324 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
38325 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
38326 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
38327 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
38328 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
38329 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
38330 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
38331 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
38332 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
38333 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
38334 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
38335 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
38336 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
38337 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
38338 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
38339 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
38340 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
38341 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
38342 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
38343 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
38344 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
38345 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
38346 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
38347 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
38348 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
38349 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
38350 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
38351 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
38352 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
38353 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
38354 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
38355 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
38356 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
38357 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
38358 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
38359 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
38360 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
38361 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
38362 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
38363 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
38364 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
38365 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
38366 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
38367 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
38368 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
38369 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
38370 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
38371 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
38372 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
38373 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
38374 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
38375 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
38376 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
38377 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
38378 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
38379 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
38380 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
38381 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
38382 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
38383 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
38384 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
38385 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
38386 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
38387 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
38388 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
38389 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
38390 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
38391 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38392 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
38393 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
38394 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
38395 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
38396 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
38397 (__isnanf): Likewise.
38398 (__isinf_ns): Likewise.
38399 (__isinf_nsf): Likewise.
38400 (__finite): Likewise.
38401 (__finitef): Likewise.
38402 (__ieee754_sqrt): Define as macro.
38403 (__ieee754_sqrtf): Define as macro.
38404 (__ieee754_sqrtl): Define as macro.
38405 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
38407 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
38408 __FINITE_MATH_ONLY__ consistent.
38409 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
38411 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
38413 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
38416 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
38418 2011-10-09 Ulrich Drepper <drepper@gmail.com>
38420 * po/ja.po: Update from translation team.
38422 2011-10-08 Roland McGrath <roland@hack.frob.com>
38424 * locale/programs/locarchive.c (prepare_address_space): New function.
38425 (create_archive, enlarge_archive, open_archive): Use it.
38427 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
38428 inside [SHARED], where it is used.
38430 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
38432 * nss/getent.c (netgroup_keys): Remove unused variable.
38433 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
38435 2011-10-08 Ulrich Drepper <drepper@gmail.com>
38437 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
38438 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
38439 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
38440 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
38441 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
38442 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
38443 * math/Makefile (libm-calls): Add s_isinf_ns.
38444 * math/divtc3.c: Use __isinf_nsl instead of isinf.
38445 * math/multc3.c: Likewise.
38446 * math/s_casin.c: Likewise.
38447 * math/s_casinf.c: Likewise.
38448 * math/s_casinl.c: Likewise.
38449 * math/s_ccos.c: Likewise.
38450 * math/s_ccosf.c: Likewise.
38451 * math/s_ccosl.c: Likewise.
38452 * math/s_ctan.c: Likewise.
38453 * math/s_ctanf.c: Likewise.
38454 * math/s_ctanh.c: Likewise.
38455 * math/s_ctanhf.c: Likewise.
38456 * math/s_ctanhl.c: Likewise.
38457 * math/s_ctanl.c: Likewise.
38458 * math/w_fmod.c: Likewise.
38459 * math/w_fmodf.c: Likewise.
38460 * math/w_fmodl.c: Likewise.
38461 * math/w_remainder.c: Likewise.
38462 * math/w_remainderf.c: Likewise.
38463 * math/w_remainderl.c: Likewise.
38464 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
38465 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
38466 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
38467 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
38468 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
38469 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
38470 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
38471 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
38473 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
38475 * stdio-common/printf_fphex.c: Likewise.
38476 * stdio-common/printf_size.c: Likewise.
38478 * math/e_exp10.c: Include math_private.h using <...> not "...".
38479 * math/e_exp10f.c: Likewise.
38480 * math/e_exp10l.c: Likewise.
38481 * math/e_exp2l.c: Likewise.
38482 * math/e_j0l.c: Likewise.
38483 * math/e_j1l.c: Likewise.
38484 * math/e_jnl.c: Likewise.
38485 * math/e_lgammal_r.c: Likewise.
38486 * math/e_rem_pio2l.c: Likewise.
38487 * math/e_scalb.c: Likewise.
38488 * math/e_scalbf.c: Likewise.
38489 * math/e_scalbl.c: Likewise.
38490 * math/k_cosl.c: Likewise.
38491 * math/k_sinl.c: Likewise.
38492 * math/k_tanl.c: Likewise.
38493 * math/s_cacoshf.c: Likewise.
38494 * math/s_catan.c: Likewise.
38495 * math/s_catanf.c: Likewise.
38496 * math/s_catanh.c: Likewise.
38497 * math/s_catanhf.c: Likewise.
38498 * math/s_catanhl.c: Likewise.
38499 * math/s_catanl.c: Likewise.
38500 * math/s_ccosh.c: Likewise.
38501 * math/s_ccoshf.c: Likewise.
38502 * math/s_ccoshl.c: Likewise.
38503 * math/s_cexp.c: Likewise.
38504 * math/s_cexpf.c: Likewise.
38505 * math/s_cexpl.c: Likewise.
38506 * math/s_clog.c: Likewise.
38507 * math/s_clog10.c: Likewise.
38508 * math/s_clog10f.c: Likewise.
38509 * math/s_clog10l.c: Likewise.
38510 * math/s_clogf.c: Likewise.
38511 * math/s_clogl.c: Likewise.
38512 * math/s_csin.c: Likewise.
38513 * math/s_csinf.c: Likewise.
38514 * math/s_csinh.c: Likewise.
38515 * math/s_csinhf.c: Likewise.
38516 * math/s_csinhl.c: Likewise.
38517 * math/s_csinl.c: Likewise.
38518 * math/s_csqrt.c: Likewise.
38519 * math/s_csqrtf.c: Likewise.
38520 * math/s_csqrtl.c: Likewise.
38521 * math/s_ctan.c: Likewise.
38522 * math/s_ctanf.c: Likewise.
38523 * math/s_ctanh.c: Likewise.
38524 * math/s_ctanhf.c: Likewise.
38525 * math/s_ctanhl.c: Likewise.
38526 * math/s_ctanl.c: Likewise.
38527 * math/s_ldexp.c: Likewise.
38528 * math/s_ldexpf.c: Likewise.
38529 * math/s_ldexpl.c: Likewise.
38530 * math/s_significand.c: Likewise.
38531 * math/s_significandf.c: Likewise.
38532 * math/s_significandl.c: Likewise.
38533 * math/w_acos.c: Likewise.
38534 * math/w_acosf.c: Likewise.
38535 * math/w_acosh.c: Likewise.
38536 * math/w_acoshf.c: Likewise.
38537 * math/w_acoshl.c: Likewise.
38538 * math/w_acosl.c: Likewise.
38539 * math/w_asin.c: Likewise.
38540 * math/w_asinf.c: Likewise.
38541 * math/w_asinl.c: Likewise.
38542 * math/w_atan2.c: Likewise.
38543 * math/w_atan2f.c: Likewise.
38544 * math/w_atan2l.c: Likewise.
38545 * math/w_atanh.c: Likewise.
38546 * math/w_atanhf.c: Likewise.
38547 * math/w_atanhl.c: Likewise.
38548 * math/w_cosh.c: Likewise.
38549 * math/w_coshf.c: Likewise.
38550 * math/w_coshl.c: Likewise.
38551 * math/w_dremf.c: Likewise.
38552 * math/w_exp10.c: Likewise.
38553 * math/w_exp10f.c: Likewise.
38554 * math/w_exp10l.c: Likewise.
38555 * math/w_exp2.c: Likewise.
38556 * math/w_exp2f.c: Likewise.
38557 * math/w_fmod.c: Likewise.
38558 * math/w_fmodf.c: Likewise.
38559 * math/w_fmodl.c: Likewise.
38560 * math/w_hypot.c: Likewise.
38561 * math/w_hypotf.c: Likewise.
38562 * math/w_hypotl.c: Likewise.
38563 * math/w_j0.c: Likewise.
38564 * math/w_j0f.c: Likewise.
38565 * math/w_j0l.c: Likewise.
38566 * math/w_j1.c: Likewise.
38567 * math/w_j1f.c: Likewise.
38568 * math/w_j1l.c: Likewise.
38569 * math/w_jn.c: Likewise.
38570 * math/w_jnf.c: Likewise.
38571 * math/w_jnl.c: Likewise.
38572 * math/w_lgamma.c: Likewise.
38573 * math/w_lgamma_r.c: Likewise.
38574 * math/w_lgammaf.c: Likewise.
38575 * math/w_lgammaf_r.c: Likewise.
38576 * math/w_lgammal.c: Likewise.
38577 * math/w_lgammal_r.c: Likewise.
38578 * math/w_log.c: Likewise.
38579 * math/w_log10.c: Likewise.
38580 * math/w_log10f.c: Likewise.
38581 * math/w_log10l.c: Likewise.
38582 * math/w_log2.c: Likewise.
38583 * math/w_log2f.c: Likewise.
38584 * math/w_log2l.c: Likewise.
38585 * math/w_logf.c: Likewise.
38586 * math/w_logl.c: Likewise.
38587 * math/w_pow.c: Likewise.
38588 * math/w_powf.c: Likewise.
38589 * math/w_powl.c: Likewise.
38590 * math/w_remainder.c: Likewise.
38591 * math/w_remainderf.c: Likewise.
38592 * math/w_remainderl.c: Likewise.
38593 * math/w_scalb.c: Likewise.
38594 * math/w_scalbf.c: Likewise.
38595 * math/w_scalbl.c: Likewise.
38596 * math/w_sinh.c: Likewise.
38597 * math/w_sinhf.c: Likewise.
38598 * math/w_sinhl.c: Likewise.
38599 * math/w_sqrt.c: Likewise.
38600 * math/w_sqrtf.c: Likewise.
38601 * math/w_sqrtl.c: Likewise.
38602 * math/w_tgamma.c: Likewise.
38603 * math/w_tgammaf.c: Likewise.
38604 * math/w_tgammal.c: Likewise.
38606 * po/ja.po: Update from translation team.
38608 2011-09-29 Andreas Jaeger <aj@suse.de>
38611 * sunrpc/netname.c (netname2host): Fix logic.
38615 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
38617 * math/w_remainder.c (__remainder): Likewise.
38618 * math/w_remainderf.c (__remainderf): Likewise.
38619 * math/libm-test.inc (remainder_test): Add test cases.
38621 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38623 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
38626 2011-10-07 Ulrich Drepper <drepper@gmail.com>
38628 * string/test-memcmp.c: Avoid unncessary #defines.
38629 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
38631 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38633 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
38634 Use new sse2 version for core i3 - i7 as it's faster
38635 than sse42 version.
38636 (bit_Prefer_PMINUB_for_stringop): New.
38637 * sysdeps/x86_64/rawmemchr.S: Update.
38638 Replace with faster SSE2 version.
38639 * sysdeps/x86_64/memrchr.S: New file.
38640 * sysdeps/x86_64/memchr.S: Update.
38641 Replace with faster SSE2 version.
38643 2011-09-12 Marek Polacek <mpolacek@redhat.com>
38645 * elf/dl-load.c (lose): Add cast to avoid warning.
38647 2011-10-07 Ulrich Drepper <drepper@gmail.com>
38649 * po/ca.po: Update from translation team.
38651 * inet/getnetgrent_r.c: Hook up nscd.
38652 * nscd/Makefile (routines): Add nscd_netgroup.
38653 (nscd-modules): Add netgroupcache.
38654 (CFLAGS-netgroupcache.c): Define.
38655 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
38656 (cache_search): Add const to second parameter.
38657 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
38659 (dbs): Add netgrdb entry.
38660 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
38661 (verify_persistent_db): Handle netgrdb.
38662 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
38663 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
38665 (netgroup_response_header): Define.
38666 (innetgroup_response_header): Define.
38667 (datahead): Add netgroup_response_header and innetgroup_response_header
38669 * nscd/nscd.conf: Add entries for netgroup cache.
38670 * nscd/nscd.h (dbtype): Add netgrdb.
38671 (_PATH_NSCD_NETGROUP_DB): Define.
38672 (netgroup_iov_disabled): Declare.
38673 (xmalloc, xcalloc, xrealloc): Move declarations here.
38674 (cache_search): Adjust prototype.
38675 Add netgroup-related prototypes.
38676 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
38677 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
38678 (__nscd_innetgr): Declare.
38679 * nscd/selinux.c (perms): Use access_vector_t as element type and
38680 add netgroup-related initializers.
38681 * nscd/netgroupcache.c: New file.
38682 * nscd/nscd_netgroup.c: New file.
38683 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
38684 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
38685 For four parameters use innetgr.
38686 * nss/nss_files/files-init.c: Add definition and callback for netgr.
38687 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
38688 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
38689 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
38691 * nscd/connections.c (register_traced_file): Don't register file
38692 for disabled databases.
38694 2011-10-06 Ulrich Drepper <drepper@gmail.com>
38696 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
38698 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
38699 from tree and freeing node.
38701 2011-09-25 Jiri Olsa <jolsa@redhat.com>
38703 * nss/nsswitch.c (__nss_database_lookup): Handle
38704 nss_parse_service_list out of memory case.
38706 2011-09-15 Jiri Olsa <jolsa@redhat.com>
38708 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
38709 out of memory case.
38711 2011-10-04 Andreas Schwab <schwab@redhat.com>
38713 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
38714 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
38716 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
38717 elf_machine_rela, elf_machine_lazy_rel.
38718 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
38719 (ELF_DYNAMIC_DO_REL): Likewise.
38720 (ELF_DYNAMIC_DO_RELA): Likewise.
38721 (ELF_DYNAMIC_RELOCATE): Likewise.
38722 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
38723 to ELF_DYNAMIC_DO_REL.
38724 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
38725 (dl_main): In trace mode always set __RTLD_NOIFUNC.
38726 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
38728 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
38729 skip_ifunc, don't call ifunc function if non-zero.
38730 (elf_machine_rela): Likewise.
38731 (elf_machine_lazy_rel): Likewise.
38732 (elf_machine_lazy_rela): Likewise.
38733 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
38734 (elf_machine_lazy_rel): Likewise.
38735 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
38737 (elf_machine_lazy_rel): Likewise.
38738 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38740 (elf_machine_lazy_rel): Likewise.
38741 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
38742 (elf_machine_lazy_rel): Likewise.
38743 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
38744 (elf_machine_lazy_rel): Likewise.
38745 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
38746 (elf_machine_lazy_rel): Likewise.
38747 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
38748 (elf_machine_lazy_rel): Likewise.
38749 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
38750 (elf_machine_lazy_rel): Likewise.
38751 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
38752 (elf_machine_lazy_rel): Likewise.
38754 2011-09-28 Ulrich Drepper <drepper@gmail.com>
38756 * nss/nss_files/files-init.c (_nss_files_init): Use static
38757 initialization for all the *_traced_file variables.
38759 2011-09-28 Andreas Schwab <schwab@redhat.com>
38761 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38763 2011-09-27 Roland McGrath <roland@hack.frob.com>
38766 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
38768 2011-09-27 Andreas Schwab <schwab@redhat.com>
38770 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
38771 Reread the line before reparsing it.
38773 2011-09-26 Andreas Schwab <schwab@redhat.com>
38775 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
38777 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
38778 Maxim Kuvyrkov <maxim@codesourcery.com>
38779 Joseph Myers <joseph@codesourcery.com>
38781 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
38782 if needed for __stack_chk_guard.
38784 2011-09-19 Roland McGrath <roland@hack.frob.com>
38786 * sysdeps/posix/spawni.c (script_execute): Always define it.
38787 It will be optimized away if unused.
38788 (maybe_script_execute): New function.
38789 (__spawni): Call it.
38791 * Makerules: Don't include tls.make.
38792 (config-tls): Always set to thread.
38793 * tls.make.c: File removed.
38795 2011-09-19 Mike Frysinger <vapier@gentoo.org>
38797 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
38798 * config.make.in (CPPFLAGS-config): New substituted variable.
38800 2011-09-15 Ulrich Drepper <drepper@gmail.com>
38802 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
38805 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
38806 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
38808 2011-09-15 Roland McGrath <roland@hack.frob.com>
38810 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
38811 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
38812 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
38813 (CALL_FAIL): Likewise.
38814 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
38815 (CALL_FAIL): Macro removed.
38816 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
38818 2011-09-15 Ulrich Drepper <drepper@gmail.com>
38820 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
38821 for __FINITE_MATH_ONLY__ == 1.
38823 2011-09-15 Andreas Schwab <schwab@redhat.com>
38825 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
38826 __ieee754_sqrt instead of sqrt.
38827 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
38828 __ieee754_sqrtf instead of sqrtf.
38829 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
38830 __floorf instead of floorf.
38831 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
38832 __floorf, __truncf instead of floorf, truncf.
38834 2011-09-14 Ulrich Drepper <drepper@gmail.com>
38836 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
38838 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
38839 __extern_always_inline.
38840 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
38843 2011-09-14 Andreas Schwab <schwab@redhat.com>
38845 * elf/rtld.c (dl_main): Also relocate in dependency order when
38846 doing symbol dependency testing.
38848 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
38850 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38851 Always define `refsym'.
38853 2011-09-13 Andreas Schwab <schwab@redhat.com>
38855 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
38856 (__FD_ELT): Renamed from __FDELT.
38857 * misc/bits/select2.h (__FD_ELT): Likewise.
38858 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
38859 __FD_MASK instead of __FDELT, __FDMASK.
38860 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
38862 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
38865 * elf/Makefile (gen-ldd): Fix pattern.
38867 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
38868 (init_tls): Likewise.
38870 2011-09-12 Ulrich Drepper <drepper@gmail.com>
38872 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
38874 2011-09-12 Andreas Schwab <schwab@redhat.com>
38876 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
38877 `struct cmsghdr *' instead of `void *'.
38878 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
38881 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
38883 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
38885 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
38886 ldd_rewrite_script.
38888 2011-09-11 Ulrich Drepper <drepper@gmail.com>
38890 * configure.in: Remove --with-tls option.
38891 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
38892 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
38893 out in case it is missing.
38894 * sysdeps/ia64/elf/configure.in: Likewise.
38895 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
38896 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
38897 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
38898 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
38899 * sysdeps/sh/elf/configure.in: Likewise.
38900 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
38901 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
38902 * sysdeps/x86_64/elf/configure.in: Likewise.
38903 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
38904 * sysdeps/mach/hurd/tls.h: Likewise.
38907 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
38910 * configure.in: Fix use of AC_INIT.
38912 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
38914 2011-09-10 Ulrich Drepper <drepper@gmail.com>
38916 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
38918 * malloc/hooks.c: Likewise.
38921 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
38922 variables statically.
38923 (narenas): Initialize.
38924 (list_lock): Initialize.
38925 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
38926 initializtion of main_arena and list_lock. Small cleanups.
38927 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
38928 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
38929 Add initializers to main_arena and mp_.
38930 (malloc_state): Remove pagesize member. Change all users to use
38933 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
38934 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
38935 is always initialized.
38937 * malloc/malloc.c: Removed unused configurations and dead code.
38938 * malloc/arena.c: Likewise.
38939 * malloc/hooks.c: Likewise.
38940 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
38942 * include/tls.h: Removed. USE___THREAD must always be defined.
38943 * bits/libc-tsd.h: Don't handle !USE___THREAD.
38944 * elf/dl-libc.c: Likewise.
38945 * elf/dl-tsd.c: Likewise.
38946 * include/errno.h: Likewise.
38947 * include/netdb.h: Likewise.
38948 * include/resolv.h: Likewise.
38949 * inet/herrno-loc.c: Likewise.
38950 * inet/herrno.c: Likewise.
38951 * malloc/arena.c: Likewise.
38952 * malloc/hooks.c: Likewise.
38953 * malloc/malloc.c: Likewise.
38954 * resolv/res-state.c: Likewise.
38955 * resolv/res_libc.c: Likewise.
38956 * sysdeps/i386/dl-machine.h: Likewise.
38957 * sysdeps/ia64/dl-machine.h: Likewise.
38958 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
38959 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
38960 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
38961 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
38962 * sysdeps/sh/dl-machine.h: Likewise.
38963 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
38964 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
38965 * sysdeps/unix/i386/sysdep.S: Likewise.
38966 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
38967 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
38968 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
38969 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
38970 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
38971 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
38972 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
38973 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
38974 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38975 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
38976 * sysdeps/unix/x86_64/sysdep.S: Likewise.
38977 * sysdeps/x86_64/dl-machine.h: Likewise.
38978 * tls.make.c: Likewise.
38980 * configure.in: Remove --with-__thread option. Make tests for
38981 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
38982 tls_model attribute fail if no support is available. Remove
38984 * Makeconfig: Adjust for dropped configure option. All features are
38986 * Makerules: Likewise.
38987 * Versions.def: Likewise.
38988 * argp/argp-fmtstream.c: Likewise.
38989 * argp/argp-fmtstream.h: Likewise.
38990 * argp/argp-help.c: Likewise.
38991 * assert/assert.c: Likewise.
38992 * config.h.in: Likewise.
38993 * config.make.in: Likewise.
38994 * configure: Likewise.
38995 * configure.in: Likewise.
38996 * csu/Versions: Likewise.
38997 * csu/init.c: Likewise.
38998 * elf/tst-audit2.c: Likewise.
38999 * elf/tst-tls10.c: Likewise.
39000 * elf/tst-tls10.h: Likewise.
39001 * elf/tst-tls11.c: Likewise.
39002 * elf/tst-tls12.c: Likewise.
39003 * elf/tst-tls14.c: Likewise.
39004 * elf/tst-tlsmod11.c: Likewise.
39005 * elf/tst-tlsmod12.c: Likewise.
39006 * elf/tst-tlsmod13.c: Likewise.
39007 * elf/tst-tlsmod13a.c: Likewise.
39008 * elf/tst-tlsmod14a.c: Likewise.
39009 * elf/tst-tlsmod15b.c: Likewise.
39010 * elf/tst-tlsmod16a.c: Likewise.
39011 * elf/tst-tlsmod16b.c: Likewise.
39012 * elf/tst-tlsmod7.c: Likewise.
39013 * elf/tst-tlsmod8.c: Likewise.
39014 * elf/tst-tlsmod9.c: Likewise.
39015 * gmon/gmon.c: Likewise.
39016 * grp/fgetgrent_r.c: Likewise.
39017 * grp/putgrent.c: Likewise.
39018 * hurd/fopenport.c: Likewise.
39019 * include/libc-symbols.h: Likewise.
39020 * include/tls.h: Likewise.
39021 * intl/gettextP.h: Likewise.
39022 * intl/loadinfo.h: Likewise.
39023 * locale/global-locale.c: Likewise.
39024 * locale/localeinfo.h: Likewise.
39025 * mach/devstream.c: Likewise.
39026 * malloc/arena.c: Likewise.
39027 * malloc/set-freeres.c: Likewise.
39028 * misc/err.c: Likewise.
39029 * misc/getttyent.c: Likewise.
39030 * misc/mntent_r.c: Likewise.
39031 * posix/getopt.c: Likewise.
39032 * posix/wordexp.c: Likewise.
39033 * pwd/fgetpwent_r.c: Likewise.
39034 * resolv/Versions: Likewise.
39035 * resolv/res_hconf.c: Likewise.
39036 * shadow/fgetspent_r.c: Likewise.
39037 * shadow/putspent.c: Likewise.
39038 * stdio-common/printf_fphex.c: Likewise.
39039 * stdio-common/tmpfile.c: Likewise.
39040 * stdlib/abort.c: Likewise.
39041 * stdlib/fmtmsg.c: Likewise.
39042 * sunrpc/auth_unix.c: Likewise.
39043 * sunrpc/clnt_perr.c: Likewise.
39044 * sunrpc/clnt_tcp.c: Likewise.
39045 * sunrpc/clnt_udp.c: Likewise.
39046 * sunrpc/clnt_unix.c: Likewise.
39047 * sunrpc/openchild.c: Likewise.
39048 * sunrpc/svc_simple.c: Likewise.
39049 * sunrpc/svc_tcp.c: Likewise.
39050 * sunrpc/svc_udp.c: Likewise.
39051 * sunrpc/svc_unix.c: Likewise.
39052 * sunrpc/xdr.c: Likewise.
39053 * sunrpc/xdr_array.c: Likewise.
39054 * sunrpc/xdr_rec.c: Likewise.
39055 * sunrpc/xdr_ref.c: Likewise.
39056 * sunrpc/xdr_stdio.c: Likewise.
39058 2011-09-09 Ulrich Drepper <drepper@gmail.com>
39060 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39062 2011-07-03 Andreas Jaeger <aj@suse.de>
39064 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
39065 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
39066 regenerate with gen-libm-tests.pl.
39068 2010-05-12 Petr Baudis <pasky@suse.cz>
39071 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
39072 around j0() zero points by switching to j1().
39073 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
39074 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
39075 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
39076 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
39078 2011-09-09 Ulrich Drepper <drepper@gmail.com>
39080 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
39082 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
39084 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
39085 Patch in part by Pavel Roskin <proski@gnu.org>.
39088 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
39090 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
39091 Free memory block if necessary.
39094 * libio/genops.c (INTDEF): For string streams the _lock pointer can
39095 be NULL. Don't lock in this case.
39097 2011-09-09 Roland McGrath <roland@hack.frob.com>
39099 * elf/elf.h (ELFOSABI_GNU): New macro.
39100 (ELFOSABI_LINUX): Define to that.
39102 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
39104 * string/strncat.c (strncat): Undef the symbol in case it has been
39105 defined in bits/string.h.
39107 2011-09-09 Ulrich Drepper <drepper@gmail.com>
39109 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
39111 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
39114 2011-08-17 Andreas Jaeger <aj@suse.de>
39116 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
39118 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
39119 Ian Lance Taylor <iant@google.com>
39121 * math/libm-test.inc (lround_test): New testcase.
39122 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
39124 2011-09-08 Ulrich Drepper <drepper@gmail.com>
39126 * Makefile: Remove support for automatic cvs check-ins.
39127 * Makerules: Likewise.
39128 * config.make.in: Likewise.
39129 * configure.in: Likewise.
39130 * intl/Makefile: Likewise.
39131 * locale/Makefile: Likewise.
39132 * po/Makefile: Likewise.
39133 * posix/Makefile: Likewise.
39134 * sysdeps/gnu/Makefile: Likewise.
39135 * sysdeps/mach/hurd/Makefile: Likewise.
39136 * sysdeps/sparc/sparc32/Makefile: Likewise.
39139 * posix/Makefile (bug-regex32-ENV): Define.
39140 Patch by John Stanley <jpsinthemix@verizon.net>.
39142 * misc/Makefile (headers): Add bits/select2.h.
39143 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
39144 * misc/bits/select2.h: New file.
39145 * include/bits/select2.h: New file.
39146 * debug/Makefile (routines): Add fdelt_chk.
39147 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
39148 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
39150 * debug/fdelt_chk.c: New file.
39152 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
39153 * wcsmbs/test-wmemcmp.c: Likewise.
39154 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
39155 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
39157 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39159 * string/Makefile (strop-tests): Add memcmp.
39160 * string/test-wmemcmp.c: New file.
39161 * string/test-memcmp.c: Add wmemcmp support.
39163 2011-09-08 Roland McGrath <roland@hack.frob.com>
39166 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
39169 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
39170 garbage value in a __mach_port_mod_refs call in the cases of the
39171 task-self and thread-self ports.
39173 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
39175 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
39177 2011-09-08 Andreas Schwab <schwab@redhat.com>
39179 * elf/dl-load.c (lose): Check for non-null L.
39181 2011-09-07 Ulrich Drepper <drepper@gmail.com>
39183 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
39185 * elf/dl-libc.c (dlerror_run): Pass back error code from
39189 * elf/dl-load.c (lose): Free l_origin if it is valid.
39191 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
39193 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
39194 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
39195 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
39196 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
39197 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
39198 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
39200 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39202 * sysdeps/powerpc/fpu/e_hypot.c: New file.
39203 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
39204 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
39205 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
39206 * sysdeps/powerpc/fpu/k_cosf.c: New file.
39207 * sysdeps/powerpc/fpu/k_sinf.c: New file.
39208 * sysdeps/powerpc/fpu/s_cosf.c: New file.
39209 * sysdeps/powerpc/fpu/s_sinf.c: New file.
39210 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
39211 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
39213 2011-08-15 Alan Modra <amodra@gmail.com>
39216 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
39217 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
39218 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
39219 ppc_mcount to static-only-routines.
39220 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
39222 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
39223 __mcount_internal with usual JUMPTARGET. Remove useless nop.
39225 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
39227 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
39228 for finite and infinity parameters.
39230 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
39232 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
39233 and add nop instructions for throughput optimization.
39234 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
39236 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
39238 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
39239 aligned copy for power7 with vector-scalar instructions.
39240 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
39242 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
39244 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
39247 2011-09-07 Andreas Schwab <schwab@redhat.com>
39250 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
39253 2011-09-07 Ulrich Drepper <drepper@gmail.com>
39255 * sysdeps/unix/sysv/linux/x86_64/init-first.c
39256 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
39257 syscall wrapper around clock_gettime in __vdso_clock_gettime.
39258 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
39261 2011-09-06 Ulrich Drepper <drepper@gmail.com>
39263 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
39264 Forgot to demangle the pointer.
39266 * sysdeps/i386/sysdep.h: Define atom_text_section.
39267 * sysdeps/x86_64/sysdep.h: Likewise.
39268 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
39269 section with atom_text_section.
39270 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
39271 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
39272 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
39273 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
39274 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
39276 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
39277 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
39278 already be defined. Change to take two parameters and don't assign
39279 result to variable. Adjust all users.
39280 Define INTERNAL_GETTIME if not already defined.
39281 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
39283 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
39284 HAVE_CLOCK_GETTIME_VSYSCALL.
39285 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
39287 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
39288 gettimeofday vsyscall, just use time.
39290 2011-09-06 Andreas Schwab <schwab@redhat.com>
39292 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
39295 2011-09-06 Ulrich Drepper <drepper@gmail.com>
39297 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
39299 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
39301 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
39302 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
39303 syscall if possible.
39305 2011-09-05 Ulrich Drepper <drepper@gmail.com>
39307 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
39308 e_ident. Don't pass to find_mapsXX.
39309 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
39311 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39313 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39314 strchr-sse2-no-bsf strrchr-sse2-no-bsf
39315 * sysdeps/x86_64/multiarch/strchr.S: Update.
39316 Check bit_slow_BSF bit.
39317 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
39318 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
39319 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
39321 2011-09-05 Ulrich Drepper <drepper@gmail.com>
39324 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
39326 (tryshell): Define.
39327 (__spawni): Change last parameter to be flag. Test
39328 SPAWN_XFLAGS_USE_PATH flag to use path or not.
39329 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
39330 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
39331 * posix/spawni.c: Likewise.
39332 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
39333 * posix/spawnp.c: Likewise. Change normal version to use
39334 SPAWN_XFLAGS_USE_PATH.
39335 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
39336 SPAWN_XFLAGS_TRY_SHELL.
39339 * posix/glob.h: Remove gcc 1.x support.
39342 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
39344 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39346 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39347 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
39349 * sysdeps/i386/i686/multiarch/strchr.S: New file.
39350 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
39351 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
39352 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
39353 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
39354 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
39356 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39358 * sysdeps/x86_64/wcscmp.S: New file.
39360 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
39361 wcscmp-c wcscmp-sse2
39362 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
39363 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
39364 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
39365 * wcsmbs/wcscmp.c: Allow renaming.
39367 2011-09-05 David S. Miller <davem@davemloft.net>
39369 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
39370 stack slot, rather than the struct return pointer slot.
39371 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
39372 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
39373 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
39374 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
39376 2011-09-05 Ulrich Drepper <drepper@gmail.com>
39378 * po/ja.po: Update from translation team.
39381 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
39382 kernel in 64-bit binaries.
39384 2011-09-01 David S. Miller <davem@davemloft.net>
39386 * elf/elf.h (HWCAP_SPARC_*): Move to..
39387 * sysdeps/sparc/sysdep.h: this new file and add new values.
39388 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
39389 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
39390 _DL_HWCAP_COUNT to 24.
39391 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
39393 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
39394 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
39395 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
39396 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
39397 instead of magic constants.
39398 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39400 2011-08-31 David S. Miller <davem@davemloft.net>
39402 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
39403 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
39404 Reimplement to do errno handling inline.
39405 (SYSCALL_ERROR_HANDLER): New macro.
39406 (__SYSCALL_STRING): Do not do errno handling in asm.
39407 (__CLONE_SYSCALL_STRING): Delete.
39408 (__INTERNAL_SYSCALL_STRING): Delete.
39409 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
39410 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
39411 (PSEUDO): Reimplement to do errno handling inline.
39412 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
39413 (SYSCALL_ERROR_HANDLER): New macro.
39414 (__SYSCALL_STRING): Do not do errno handling in asm.
39415 (__CLONE_SYSCALL_STRING): Delete.
39416 (__INTERNAL_SYSCALL_STRING): Delete.
39417 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
39418 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
39420 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
39421 (inline_syscall*): Add 'err' argument.
39422 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
39423 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
39424 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
39425 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
39427 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
39428 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
39430 2011-08-30 Andreas Schwab <schwab@redhat.com>
39432 * elf/rtld.c (dl_main): Relocate objects in dependency order.
39434 2011-08-29 Jiri Olsa <jolsa@redhat.com>
39436 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
39439 2011-08-24 David S. Miller <davem@davemloft.net>
39441 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
39443 2011-08-24 Andreas Schwab <schwab@redhat.com>
39445 * elf/Makefile: Add rules to build and run unload8 test.
39446 * elf/unload8.c: New file.
39447 * elf/unload8mod1.c: New file.
39448 * elf/unload8mod1x.c: New file.
39449 * elf/unload8mod2.c: New file.
39450 * elf/unload8mod3.c: New file.
39452 * elf/dl-close.c (_dl_close_worker): Reset private search list if
39455 2011-08-23 David S. Miller <davem@davemloft.net>
39457 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
39458 subtract stack bias.
39459 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
39460 %sp not %fp in calculations.
39461 (_JMPBUF_UNWINDS_ADJ): Likewise.
39463 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
39464 (aio_suspend): Call it to force an exception region around the
39465 AIO_MISC_WAIT() invocation.
39467 2011-08-23 Andreas Schwab <schwab@redhat.com>
39469 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
39472 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
39474 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
39476 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
39477 and <dl-machine.h>.
39478 (Elf64_FuncDesc): Remove.
39480 2011-08-22 David S. Miller <davem@davemloft.net>
39482 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
39483 sigaltstack check, add missing cfi directives.
39484 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
39485 missing cfi directives, and sigaltstack handling.
39487 2011-08-16 Andreas Schwab <schwab@redhat.com>
39490 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
39491 object is seen twice.
39492 * elf/dl-fini.c (_dl_sort_fini): Likewise.
39494 * elf/Makefile (distribute): Add tst-initorder2.c.
39495 (tests): Add tst-initorder2.
39496 (modules-names): Add tst-initorder2a tst-initorder2b
39497 tst-initorder2c tst-initorder2d. Add rules to build them.
39498 ($(objpfx)tst-initorder2.out): New rule.
39499 * elf/tst-initorder2.c: New file.
39500 * elf/tst-initorder2.exp: New file.
39502 2011-08-22 Andreas Schwab <schwab@redhat.com>
39504 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
39506 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
39507 dependencies back to end of function.
39509 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
39510 $(elfobjdir)/ld.so.
39512 2011-08-21 Ulrich Drepper <drepper@gmail.com>
39514 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
39515 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
39516 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
39517 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
39518 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
39519 of __vdso_gettimeofday.
39520 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
39521 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
39523 (_libc_vdso_platform_setup): Remove initialization of
39524 __vdso_gettimeofday and __vdso_time.
39526 2011-08-20 Ulrich Drepper <drepper@gmail.com>
39528 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
39529 and fgetc_unlocked.
39530 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
39533 * elf/dl-open.c (add_to_global): Report additions to the global scope
39534 for LD_DEBUG=scopes.
39535 (dl_open_worker): Also print scope of newly loaded dependencies.
39536 (_dl_show_scope): Indicate if there is no scope.
39539 * stdio-common/Makefile (tests): Add bug24.
39540 * stdio-common/bug24.c: New file.
39542 2011-08-19 Andreas Jaeger <aj@suse.de>
39545 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
39546 non-existant file when using close-on-exec mode.
39548 2011-08-20 Ulrich Drepper <drepper@gmail.com>
39550 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
39551 the very first instruction.
39553 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
39554 the CFI state in the end.
39555 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
39556 inclusion of dl-trampoline.h.
39557 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
39559 2011-08-19 Andreas Schwab <schwab@redhat.com>
39561 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
39562 expectations for long double.
39564 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
39565 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
39567 2011-08-14 David S. Miller <davem@davemloft.net>
39569 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
39570 artificual limit depends upon the system page size.
39572 2011-08-17 Ulrich Drepper <drepper@gmail.com>
39574 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
39575 * resolv/Makefile: Define CFLAGS-libresolv.
39577 2011-08-17 Andreas Schwab <schwab@redhat.com>
39579 * nss/makedb.c (compute_tables): Make variables used in nested
39582 2011-08-17 Ulrich Drepper <drepper@gmail.com>
39584 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
39585 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
39586 if buffer was too small.
39588 * elf/pldd.c (main): Attach to all threads in the process.
39589 Rewrite /proc handling to use *at functions.
39591 2011-08-16 Ulrich Drepper <drepper@gmail.com>
39593 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
39594 specifies first scope to show.
39595 (dl_open_worker): Update callers. Move printing scope of new
39596 object to before the relocation.
39597 * elf/rtld.c (dl_main): Update _dl_show_scope call.
39598 * sysdeps/generic/ldsodefs.h: Update declaration.
39600 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
39601 string for the scope number.
39603 2011-08-14 Ulrich Drepper <drepper@gmail.com>
39605 * nscd/servicescache.c (cache_addserv): Make sure written is always
39608 2011-08-14 Roland McGrath <roland@hack.frob.com>
39610 * sysdeps/i386/i486/bits/atomic.h
39611 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
39612 statement expression, so as to suppress "set but not used" warning.
39613 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
39615 * string/strncat.c (STRNCAT): Use prototype definition.
39617 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
39618 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
39620 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
39621 (localedef-modules): Add localedef.
39622 (locale-modules): Add locale.
39624 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
39625 * elf/rtld.c (dl_main): Invert order of assignment in last change,
39626 to avoid a warning.
39628 2011-08-14 David S. Miller <davem@davemloft.net>
39630 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
39631 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
39633 2011-08-13 Ulrich Drepper <drepper@gmail.com>
39635 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
39636 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
39637 * elf/rtld.c (dl_main): Set l_name of vDSO.
39638 Call _dl_show_scope when DL_DEBUG_SCOPES.
39639 (process_dl_debug): Recognize scopes flag and also set it for all.
39640 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
39641 Declare _dl_show_scope.
39643 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
39644 (do_dlopen): Pass caller_dlopen to dl_open.
39645 (__libc_dlopen_mode): Initialize caller_dlopen.
39647 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
39648 of libc. Make tolower call locale-independent. Optimize a bit by
39649 using isdigit instead of isalnum.
39650 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
39652 2011-08-12 Ulrich Drepper <drepper@gmail.com>
39654 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
39655 was a dependency or dynamically loaded.
39657 2011-08-11 Ulrich Drepper <drepper@gmail.com>
39659 * intl/l10nflist.c: Allow architecture-specific pop function.
39660 * sysdeps/x86_64/l10nflist.c: New file.
39662 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
39665 2011-08-10 Andreas Schwab <schwab@redhat.com>
39667 * include/dirent.h: Add libc_hidden_proto for scandirat and
39668 scandirat64. Don't declare __scandirat64.
39669 * dirent/scandirat.c: Add libc_hidden_def.
39670 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
39671 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
39673 2011-08-10 David S. Miller <davem@davemloft.net>
39675 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
39677 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
39678 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
39679 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
39681 2011-08-09 Ulrich Drepper <drepper@gmail.com>
39683 * Versions.def [libc]: Add GLIBC_2.15.
39684 * dirent/Makefile (routines): Add scandirat and scandirat64.
39685 * dirent/Versions [libc]: Export scandirat and scandirat64 for
39687 * dirent/dirent.h: Declare scandirat and scandirat64.
39688 * dirent/scandirat.c: New file.
39689 * dirent/scandirat64.c: New file.
39690 * sysdeps/wordsize-64/scandirat.c: New file.
39691 * sysdeps/wordsize-64/scandirat64.c: New file.
39692 * dirent/opendir.c: Define opendirat.
39693 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
39695 * dirent/scandir64.c: Adjust for scandir.c change.
39696 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
39697 __scandirat64, and __scandir_cancel_handler.
39698 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
39699 additional parameter and use openat instead of open (outside of ld.so).
39700 Add new __opendir as wrapper around __opendirat.
39701 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
39702 here without requiring old scandirat implementation.
39704 2011-08-08 Ulrich Drepper <drepper@gmail.com>
39706 * dirent/scandir.c (cancel_handler): Renamed to
39707 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
39708 defined. Adjust users.
39709 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
39710 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
39712 2011-08-04 Ulrich Drepper <drepper@gmail.com>
39714 * string/test-string.h (IMPL): Use __STRING to expand name and then
39717 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
39720 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39722 * string/Makefile: Update.
39723 (strop-tests): Append strncat.
39724 * string/test-wcscmp.c: New file.
39725 New comprehensive test for wcscmp.
39726 * string/test-strcmp.c: Update.
39727 (WIDE): New define.
39729 2011-07-22 Andreas Schwab <schwab@redhat.com>
39731 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
39734 2011-07-26 Andreas Schwab <schwab@redhat.com>
39736 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
39737 encoding to ACE if AI_IDN.
39739 2011-08-01 Jakub Jelinek <jakub@redhat.com>
39741 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
39742 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
39744 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39746 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
39747 Fix overflow bug in strncat.
39748 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
39750 * string/test-strncat.c: Update.
39751 Add new tests for checking overflow bugs.
39753 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39755 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39756 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
39757 * sysdeps/i386/i686/multiarch/strcat.S: New file.
39758 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
39759 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
39760 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
39761 * sysdeps/i386/i686/multiarch/strncat.S: New file.
39762 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
39763 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
39765 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
39766 (USE_AS_STRCAT): Define.
39767 Add strcat and strncat support.
39768 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
39770 2011-07-25 Andreas Schwab <schwab@redhat.com>
39772 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
39773 __n bigger than INT_MAX+1.
39774 (__strncmp_g): Likewise.
39776 2011-07-23 Ulrich Drepper <drepper@gmail.com>
39778 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
39779 * libio/stido.h: Likewise.
39781 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
39783 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
39786 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
39787 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
39788 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
39789 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
39790 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
39793 * scripts/test-installation.pl: Don't expect libnss_test1 to be
39796 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
39798 (_dl_x86_64_save_sse): Likewise.
39800 2011-07-22 Ulrich Drepper <drepper@gmail.com>
39802 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
39804 (_dl_x86_64_save_sse): Likewise.
39806 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
39808 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
39810 2011-07-21 Andreas Schwab <schwab@redhat.com>
39812 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
39814 (_dl_x86_64_save_sse): Use correct AVX check.
39816 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39818 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
39819 bug in strncpy/strncat.
39820 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
39822 2011-07-21 Ulrich Drepper <drepper@gmail.com>
39824 * string/tester.c (test_strcat): Add tests for different alignments
39825 of source and destination.
39826 (test_strncat): Likewise.
39828 2011-07-20 Ulrich Drepper <drepper@gmail.com>
39831 * posix/glob.c (glob): Check passed in values before using them in
39832 expressions to avoid some overflows.
39833 (glob_in_dir): Likewise.
39836 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
39837 check for AVX enablement so that we don't crash with old kernels and
39839 * elf/tst-audit4.c: Add same checks here.
39840 * elf/tst-audit6.c: Likewise.
39842 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
39844 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
39846 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
39848 2011-07-20 Ulrich Drepper <drepper@gmail.com>
39850 * po/cs.po: Update from translation team.
39851 * po/bg.po: Likewise.
39853 2011-07-12 Marek Polacek <mpolacek@redhat.com>
39855 * misc/sys/cdefs.h: Add support for const attribute.
39856 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
39857 to gnu_dev_{major,minor,makedev} functions.
39859 2011-07-20 Marek Polacek <mpolacek@redhat.com>
39861 * intl/dcigettext.c (get_output_charset): Add missing bracket.
39863 2011-07-20 Andreas Schwab <schwab@redhat.com>
39865 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
39868 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39870 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
39871 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
39872 register in order to avoid conflicts with the soft frame pointer
39873 being held in r11 when necessary.
39874 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
39875 (INTERNAL_VSYSCALL_NCS): Likewise.
39877 2011-07-14 Marek Polacek <mpolacek@redhat.com>
39879 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
39880 * elf/dl-fini.c (_dl_fini): Adjust caller.
39881 * elf/dl-close.c (_dl_close_worker): Likewise.
39882 * sysdeps/generic/ldsodefs.h: Adjust declaration.
39884 2011-07-15 Marek Polacek <mpolacek@redhat.com>
39886 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
39887 "aux_cache->nlibs < 0".
39889 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
39890 in the reload-count case.
39892 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39894 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39895 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
39896 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
39897 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
39898 * sysdeps/x86_64/multiarch/strcat.S: New file.
39899 * sysdeps/x86_64/multiarch/strncat.S: New file.
39900 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
39901 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
39902 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
39903 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
39904 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
39905 (USE_AS_STRCAT): Define.
39906 Add strcat and strncat support.
39907 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
39908 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
39909 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
39910 * string/strncat.c: Update.
39911 (USE_AS_STRNCAT): Define.
39912 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39913 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
39915 * sysdeps/x86_64/multiarch/init-arch.h
39916 (bit_Prefer_PMINUB_for_stringop): New.
39917 (index_Prefer_PMINUB_for_stringop): Likewise.
39918 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
39919 bit_Prefer_PMINUB_for_stringop.
39921 2011-07-19 Ulrich Drepper <drepper@gmail.com>
39923 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
39925 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
39926 of casting of buffer.
39927 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
39928 buffer32 and buffer64.
39929 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
39930 writes instead of casting of buffer.
39931 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
39933 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
39936 2011-07-19 Andreas Schwab <schwab@redhat.com>
39938 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
39940 2011-07-19 Ulrich Drepper <drepper@gmail.com>
39942 * nscd/nscd.c (termination_handler): Don't do anything for a database
39943 if it has not yet been initialized.
39945 2011-07-18 Ulrich Drepper <drepper@gmail.com>
39947 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
39949 2011-07-15 Marek Polacek <mpolacek@redhat.com>
39951 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
39953 2011-07-18 Ulrich Drepper <drepper@gmail.com>
39955 * po/nl.po: Update from translation team.
39956 * po/sv.po: Likewise.
39958 2011-07-16 Roland McGrath <roland@hack.frob.com>
39960 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
39961 now disallowed by GCC.
39963 * configure.in (use-default-link): Default to yes if a test -shared
39964 link meets our qualifications.
39965 * configure: Regenerated.
39967 * config.make.in (output-format): New variable.
39968 * configure.in: Check for ld --print-output-format support.
39969 * configure: Regenerated.
39970 * Makerules ($(common-objpfx)format.lds)
39971 [$(output-format) != unknown]: Just use $(output-format),
39972 instead of the linker-script munging.
39974 2011-07-14 Roland McGrath <roland@hack.frob.com>
39976 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
39977 of $(common-objpfx)shlib.lds.
39978 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
39980 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
39981 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
39983 * configure.in (-z relro check): Adjust test code to add a large
39984 writable data section after it.
39985 * configure: Regenerated.
39987 2011-07-11 Roland McGrath <roland@hack.frob.com>
39989 * configure.in (-z relro check): Fix test code to make the variable
39991 * configure: Regenerated.
39993 2011-07-11 Ulrich Drepper <drepper@gmail.com>
39995 * nscd/nscd.h (struct traced_file): Define.
39996 (struct database_dyn): Remove inotify_descr, reset_res, and filename
39997 elements. Add traced_files.
39998 (inotify_fd): Declare.
39999 (register_traced_file): Declare.
40000 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
40001 (inotify_fd): Export.
40002 (resolv_conf_descr): Remove.
40003 (nscd_init): Move inotify descriptor creation to main.
40004 Don't register files for notification here.
40005 (register_traced_file): New function.
40006 (invalidate_cache): Don't use reset_res to determine whether to call
40007 res_init, go through the list of registered files.
40008 (main_loop_poll): The inotify descriptors are now stored in the
40009 structures for the traced files.
40010 (main_loop_epoll): Likewise
40011 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
40012 to __nss_disable_nscd.
40013 * nscd/cache.c (prune_cache): There is no single inotify descriptor
40014 for a database anymore. Check the records for all the registered
40016 * nss/Makefile (libnss_files-routines): Add files-init.
40017 (libnss_db-routines): Add db-init.
40018 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
40019 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
40020 * nss/nss_db/db-init.c: New file.
40021 * nss/nss_files/files-init.c: New file.
40022 * nss/nsswitch.c (nss_load_library): New function. Broken out of
40023 __nss_lookup_function.
40024 (__nss_lookup_function): Call nss_load_library.
40025 (nss_load_all_libraries): New function.
40026 (__nss_disable_nscd): Take parameter with callback function for files
40027 to register. Set is_nscd. Load all the DSOs for the NSS modules
40028 used for the cached services.
40029 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
40030 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
40031 options for features to all the files in nscd.
40033 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
40035 2011-07-10 Roland McGrath <roland@hack.frob.com>
40037 * csu/elf-init.c (__libc_csu_init): Comment typo.
40039 2011-07-09 Ulrich Drepper <drepper@gmail.com>
40041 * po/pl.po: Update from translation team.
40042 * po/ja.po: Likewise.
40043 * po/ru.po: Likewise.
40044 * po/ko.po: Likewise.
40045 * po/fr.po: Likewise.
40047 2011-07-09 Roland McGrath <roland@hack.frob.com>
40049 * configure.in (.ctors/.dtors header and trailer check):
40050 Use an empirical test on a built program.
40051 * configure: Regenerated.
40053 * configure.in (-z relro check): Use an empirical test on a built DSO.
40054 Detect, but do not require, on ia64.
40055 * configure: Regenerated.
40057 * configure.in (READELF): Find it with AC_CHECK_TOOL.
40058 Update tests that use readelf to use $READELF instead.
40059 * configure: Regenerated.
40061 2011-07-08 Ulrich Drepper <drepper@gmail.com>
40063 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
40064 if the result is not used.
40066 2011-07-05 Andreas Jaeger <aj@suse.de>
40069 * stdlib/tst-strtod.c: Add testcase.
40071 2011-07-07 Ulrich Drepper <drepper@gmail.com>
40073 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
40074 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
40075 The latter has a higher limit. Take additional parameter to pass to
40077 (__pathconf): Pass file to __statfs_link_max.
40078 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
40080 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
40084 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
40085 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
40087 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
40088 (__statfs_filesize_max): Likewise.
40089 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
40091 2011-07-05 Andreas Jaeger <aj@suse.de>
40093 * resolv/res_comp.c (dn_skipname): Remove unused variable.
40095 2011-07-06 Marek Polacek <mpolacek@redhat.com>
40097 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
40099 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
40102 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
40104 * Makefile (strop-tests): Add strncat.
40105 * string/test-strncat.c: New file.
40107 2011-06-30 Marek Polacek <mpolacek@redhat.com>
40109 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
40111 2011-06-21 Andreas Jaeger <aj@suse.de>
40113 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
40114 Copy rule from iconvdata/Makefile.
40116 2011-07-06 Ulrich Drepper <drepper@gmail.com>
40119 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
40120 but no long options are defined, just return 'W'.
40122 2011-06-22 Marek Polacek <mpolacek@redhat.com>
40125 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
40127 2011-07-06 Ulrich Drepper <drepper@gmail.com>
40129 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
40131 (innetgr): Likewise.
40133 2011-07-05 Roland McGrath <roland@hack.frob.com>
40135 * config.make.in (install_root): Default to $(DESTDIR).
40137 2011-07-05 Ulrich Drepper <drepper@gmail.com>
40139 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
40141 2011-07-02 Roland McGrath <roland@hack.frob.com>
40143 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
40145 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
40146 containing directory rather than embedding absolute directory names.
40148 * scripts/check-local-headers.sh: Rewritten using awk.
40149 Match by word, not by line. Print error messages for matches.
40150 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
40152 * Makerules [shlib-lds-flags empty]:
40153 ($(common-objpfx)libc_pic.opts): New target.
40154 ($(common-objpfx)libc_pic.os.clean): New target.
40155 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
40157 * config.make.in (OBJCOPY): New variable.
40158 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
40159 * configure: Regenerated.
40161 * config.make.in (use-default-link): New variable.
40162 * configure.in (use_default_link): Grok --with-default-link to set it.
40163 * configure: Regenerated.
40164 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
40165 (shlib-lds, shlib-lds-flags): Define to empty.
40167 * Makerules (shlib-lds): New variable.
40168 (shlib-lds-flags): New variable.
40169 (build-shlib, build-moduile, build-module-asneeded): Use it.
40170 ($(common-objpfx)libc.so): Use $(shlib-lds).
40171 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
40172 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
40174 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
40175 DT_FLAGS/DT_FLAGS_1 with zero flags.
40177 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
40178 linker script munging.
40180 2011-07-02 Ulrich Drepper <drepper@gmail.com>
40182 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
40184 * crypt/sha512.c (sha512_process_block): Perform total addition using
40185 128-bit if possible.
40186 (__sha512_finish_ctx): Likewise.
40187 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
40189 * crypt/sha256.c (SWAP64): Define.
40190 (sha256_process_block): Perform total addition using 64-bit if
40192 (__sha256_finish_ctx): Likewise.
40194 2011-07-01 Ulrich Drepper <drepper@gmail.com>
40196 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
40197 * nscd/initgrcache.c (addinitgroupsX): Likewise.
40198 * nscd/hstcache.c (cache_addhst): Likewise.
40199 * nscd/grpcache.c (cache_addgr): Likewise.
40200 * nscd/aicache.c (addhstaiX): Likewise
40201 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
40203 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
40205 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
40206 * nscd/initgrcache.c (addinitgroupsX): Likewise.
40207 * nscd/hstcache.c (cache_addhst): Likewise.
40208 * nscd/grpcache.c (cache_addgr): Likewise.
40209 * nscd/aicache.c (addhstaiX): Likewise
40211 2011-07-01 Andreas Schwab <schwab@redhat.com>
40213 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
40214 domain only when needed.
40216 2011-06-30 Andreas Schwab <schwab@redhat.com>
40218 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
40219 is always restored.
40221 2011-06-29 Ulrich Drepper <drepper@gmail.com>
40223 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
40224 are re-adding the entry.
40225 * nscd/servicescache.c (cache_addserv): Likewise.
40227 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
40229 * sysdeps/generic/dl-irel.h: fix protection against multiple
40231 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
40233 2011-06-28 Ulrich Drepper <drepper@gmail.com>
40236 * malloc/memusage.sh: Fix quoting in message.
40237 * debug/xtrace.sh: Likewise.
40239 * configure.in: Remove support for --experimental-malloc option, make
40241 * config.make.in: Likewise.
40242 * malloc/Makefile: Likewise.
40244 2011-06-27 Andreas Schwab <schwab@redhat.com>
40246 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
40247 two-byte characters.
40249 2011-06-27 Roland McGrath <roland@hack.frob.com>
40251 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
40252 AC_CACHE_CHECK invocation.
40253 * configure: Regenerated.
40255 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
40257 2011-06-27 Ulrich Drepper <drepper@gmail.com>
40260 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
40261 bit from old_res_options.
40263 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
40265 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
40266 value type for setfct.
40268 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
40270 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
40271 __gettimeofday instead of gettimeofday.
40273 2011-06-26 Ulrich Drepper <drepper@gmail.com>
40275 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
40277 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
40279 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
40281 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
40284 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
40286 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40287 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
40288 strcpy-sse2-unaligned strncpy-sse2-unaligned
40289 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
40290 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
40291 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
40292 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
40293 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
40294 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
40295 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
40296 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
40297 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
40298 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
40299 (STRCPY): Support SSE2 and SSSE3 versions.
40301 2011-06-24 Ulrich Drepper <drepper@gmail.com>
40304 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
40305 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
40306 kernels which artificially limit size of requests.
40308 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
40310 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40311 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
40312 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
40313 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
40314 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
40315 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
40316 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
40317 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
40318 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
40319 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
40320 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
40321 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
40322 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
40323 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
40324 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
40325 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40326 Enable unaligned load optimization for Intel Core i3, i5 and i7
40328 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
40330 (index_Fast_Unaligned_Load): Define.
40331 (HAS_FAST_UNALIGNED_LOAD): Define.
40333 2011-06-23 Marek Polacek <mpolacek@redhat.com>
40335 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
40337 2011-06-22 Ulrich Drepper <drepper@gmail.com>
40340 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
40341 until it is clear that the information is realy needed.
40342 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
40344 2011-06-22 Andreas Schwab <schwab@redhat.com>
40346 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
40348 2011-06-22 Ulrich Drepper <drepper@gmail.com>
40350 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
40351 /sys/devices/system/cpu/online if it is usable.
40353 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
40354 reading the information from the /proc filesystem to once a second.
40356 2011-06-21 Andreas Jaeger <aj@suse.de>
40358 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
40359 NULL after inclusion of kernel headers.
40361 2011-06-21 Ulrich Drepper <drepper@gmail.com>
40363 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
40364 calls to internal_setent.
40367 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
40368 addresses using gethostbyname4_r ignore IPv4 addresses.
40370 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
40371 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
40373 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
40375 2011-06-20 David S. Miller <davem@davemloft.net>
40377 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
40379 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
40381 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
40382 (elf_irel): Use it.
40383 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
40384 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
40385 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
40386 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
40387 * sysdeps/x86_64/dl-irel.h: Likewise.
40389 * elf/dl-runtime.c: Use elf_ifunc_invoke.
40390 * elf/dl-sym.c: Likewise.
40392 2011-06-15 Ulrich Drepper <drepper@gmail.com>
40394 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
40395 need to dereference resplen2.
40397 2011-06-14 Andreas Schwab <schwab@redhat.com>
40399 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
40401 2011-06-15 Ulrich Drepper <drepper@gmail.com>
40403 * Makeconfig: Define vardbdir and inst_vardbdir.
40404 * nss/Makefile: Add rules to install db-Makefile.
40406 * nss/nss_db/db-XXX.c: Cleanup.
40408 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
40409 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
40411 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
40412 * nss/makedb.c: Implement -g option to specify that value strings
40413 are generated and should not be added to table iterated over for
40415 * nss/nss_db/db-initgroups.c: New file.
40417 * nss/getent.c: Add support for initgroups lookups through getgrouplist
40420 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
40421 (internal_getgrouplist): Adjust to name change.
40422 Update use_initgroups_entry if this is not the first call.
40423 * nss/databases.def: Add initgroups entry.
40425 * nss/makedb.c (compute_tables): Check result of multiple hash table
40426 sizes to minimize maximum chain length.
40428 2011-06-14 Ulrich Drepper <drepper@gmail.com>
40430 * Versions.def: Add entry for libnss_db.
40431 * shlib-versions: Likewise.
40432 * nss/Makefile: Add rules to build libnss_db.
40433 * nss/Versions: Add libnss_db information. Organize libnss_files
40435 * nss/db-Makefile: Add gshadow support. Change rules for the new
40436 makedb progra. Some minor improvements to generate smaller files.
40437 * nss/nss_db/nss_db.h: Move NSS database header data structures to
40439 * nss/makedb.c: ...here.
40440 Improve database format to be smaller and require less memory at
40442 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
40444 * nss/nss_db/db-netgrp.c: Likewise.
40445 * nss/nss_db/db-open.c: Likewise.
40446 * nss/nss_files/flies-XXX.x: Adjust comments.
40447 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
40448 * nss/nss_files/files-grp.c: Likewise.
40449 * nss/nss_files/files-hosts.c: Likewise.
40450 * nss/nss_files/files-network.c: Likewise.
40451 * nss/nss_files/files-proto.c: Likewise.
40452 * nss/nss_files/files-pwd.c: Likewise.
40453 * nss/nss_files/files-rpc.c: Likewise.
40454 * nss/nss_files/files-service.c: Likewise.
40455 * nss/nss_files/files-sgrp.c: Likewise.
40456 * nss/nss_files/files-spwd.c: Likewise.
40457 * nss/nss_db/db-alias.c: Removed.
40458 * nss/nss_db/dummy-db.h: Removed.
40460 2011-06-02 Ulrich Drepper <drepper@gmail.com>
40462 * nss/makedb.c: Rewritten to not use database library.
40463 * nss/Makefile: Update to build new makedb program.
40465 2011-06-14 Andreas Jaeger <aj@suse.de>
40467 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
40468 memset declaration.
40470 2011-06-10 Andreas Schwab <schwab@redhat.com>
40472 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
40475 2011-06-10 Roland McGrath <roland@hack.frob.com>
40477 * Makerules (shlib.lds): Fail if the linker script comes out empty.
40478 * elf/Makefile ($(objpfx)ld.so): Likewise.
40480 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
40481 Don't list ld.so twice in dependencies.
40483 * posix/bug-regex31.c: Include <stdlib.h>.
40485 * nscd/hstcache.c (cache_addhst): Remove unused variable.
40487 * nis/nss_compat/compat-spwd.c
40488 (getspent_next_nss_netgr): Remove unused variable.
40489 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
40491 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
40492 nonmembers" output to use the right array.
40494 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
40496 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
40498 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
40499 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
40500 * catgets/gencat.c (read_input_file): Likewise.
40501 * locale/programs/locarchive.c (enlarge_archive): Likewise.
40503 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
40504 variable definition inside #if's controlling its use.
40506 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
40508 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
40510 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
40512 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
40515 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
40517 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
40518 * configure: Regenerated.
40520 * Makerules: Revert last change.
40521 * elf/Makefile: Likewise.
40523 2011-06-09 Roland McGrath <roland@hack.frob.com>
40525 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
40526 * elf/Makefile ($(objpfx)librtld.os): Likewise.
40527 (reloc-link): Likewise.
40529 2011-06-09 Ulrich Drepper <drepper@gmail.com>
40531 * elf/Makefile: Add rules to build pldd.
40532 * elf/pldd.c: New file.
40533 * elf/pldd-xx.c: New file.
40535 2011-06-07 Ulrich Drepper <drepper@gmail.com>
40537 * version.h: Update for 2.15 development version.
40539 2011-06-07 David S. Miller <davem@davemloft.net>
40541 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
40543 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
40544 elf_machine_lazy_rel): Likewise.
40545 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
40546 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
40547 elf_machine_lazy_rel): Likewise.
40548 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
40549 dl_hwcap via passed in argument.
40550 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
40553 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40555 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
40557 2011-06-06 Roland McGrath <roland@hack.frob.com>
40560 * manual/fdl-1.1.texi: New file, verbatim from:
40561 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
40562 * manual/lgpl-2.1.texi: New file, verbatim from:
40563 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
40564 * manual/Makefile (licenses): New variable, list those new file names.
40566 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
40568 * manual/fdl.texi: File removed.
40569 * manual/lesser.texi: File removed.
40570 * manual/libc.texinfo (Copying, Documentation License):
40571 Use new @include file names, put @appendix directive before @include.
40573 2011-06-04 Jakub Jelinek <jakub@redhat.com>
40576 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
40577 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
40578 (mq_open): Add __NTH.
40580 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
40582 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40583 Assume Intel Core i3/i5/i7 processor if AVX is available.
40585 2011-05-31 Ulrich Drepper <drepper@gmail.com>
40587 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
40590 2011-05-31 Andreas Schwab <schwab@redhat.com>
40592 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
40593 memory. Use alloca_account. Fix memory leak when retrying.
40595 2011-05-31 Ulrich Drepper <drepper@gmail.com>
40597 * version.h (RELEASE): Bump for 2.14 release.
40598 * include/features.h (__GLIBC_MINOR__): Bump to 14.
40600 * config.make.in (RANLIB): Remove entry.
40602 2011-05-30 Ulrich Drepper <drepper@gmail.com>
40604 * po/Makefile (po-sed-cmd): Add ksh to extensions.
40605 (libc.pot): Work around missing support for .ksh extension in xgettext.
40608 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
40609 if both request failed.
40610 (send_dg): In case of server errors clear resplen or *resplen2.
40613 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
40614 when there are multiple maps.
40615 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
40616 (_dl_fini): Remove test here.
40618 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
40620 2011-05-29 Ulrich Drepper <drepper@gmail.com>
40623 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
40624 bit from old_res_options.
40625 (gaih_inet): Likewise.
40628 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
40631 * resolv/res_init.c (res_setoptions): Make the code more compact.
40634 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
40638 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
40640 * malloc/malloc.h: Mark malloc hook variables as deprecated.
40643 * malloc/malloc.h: Declare malloc hook variables as volatile.
40645 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
40649 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
40650 raise in the comment.
40651 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
40652 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
40653 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
40655 2011-05-28 Ulrich Drepper <drepper@gmail.com>
40658 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
40659 grow the buffers more if it already has to be sufficient.
40660 (build_wcs_upper_buffer): Likewise.
40661 * posix/regexec.c (check_matching): Likewise.
40662 (clean_state_log_if_needed): Likewise.
40663 (extend_buffers): Don't enlarge buffers beyond size of the input
40665 Patches mostly by Emil Wojak <emil@wojak.eu>.
40666 * posix/bug-regex32.c: New file.
40667 * posix/Makefile (tests): Add bug-regex32.
40669 * locale/findlocale.c (_nl_find_locale): Return right away if
40670 _nl_explode_name failed.
40671 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
40673 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
40675 * debug/xtrace.sh: Unify messages.
40676 * malloc/memusage.sh: Likewise.
40679 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
40680 time symbol from vDSO. Substitute with vsyscall if not available.
40681 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
40684 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
40685 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
40686 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
40687 Add sendmmsg and internal_sendmmsg.
40688 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
40689 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
40690 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
40692 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
40693 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
40694 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
40696 2011-05-27 Ulrich Drepper <drepper@gmail.com>
40699 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
40700 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
40702 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
40706 * iconvdata/Makefile (tests): Add bug-iconv9.
40707 * iconvdata/bug-iconv9.c: New file.
40709 2011-05-27 Andreas Schwab <schwab@redhat.com>
40712 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
40714 2011-05-25 Jakub Jelinek <jakub@redhat.com>
40716 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
40717 (struct user_regs_struct): Change intcs field back to cs.
40719 2011-05-25 Ulrich Drepper <drepper@gmail.com>
40721 * po/ja.po: Update from translation team.
40723 2011-05-23 Ulrich Drepper <drepper@gmail.com>
40726 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
40727 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
40729 2011-05-20 Andreas Schwab <schwab@redhat.com>
40731 * stdlib/longlong.h: Update from GCC.
40733 2011-05-23 Andreas Schwab <schwab@redhat.com>
40735 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
40737 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
40738 Add parameter name.
40739 (__sysconf): Pass it down.
40741 2011-05-22 Ulrich Drepper <drepper@gmail.com>
40744 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
40746 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
40747 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
40748 add in in __libc_use_alloca calls. Adjust callers.
40749 (glob): Use malloc in some situations.
40751 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
40752 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
40755 2011-05-21 Ulrich Drepper <drepper@gmail.com>
40757 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
40758 and CLOCK_BOOTTIME_ALARM.
40761 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
40764 * string/_strerror.c (__strerror_r): Print negative errors as signed
40768 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
40769 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
40770 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
40772 * configure.in: Fix typo in redirection and correct removal of test
40773 files in two cases.
40776 * locale/setlocale.c (new_composite_name): Fix test to check for
40777 identical name of all categories.
40780 * libio/filedoalloc.c (local_isatty): New function.
40781 (_IO_file_doallocate): Use local_isatty.
40782 * stdio-common/perror.c (perror): In case a new stream is used
40783 forward the stream error.
40784 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
40787 2011-05-20 Ulrich Drepper <drepper@gmail.com>
40790 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
40792 * include/alloca.h (extend_alloca_account): Define.
40795 * posix/regex.h: Fix comments with documentation of user-accessible
40796 fields after compilation and describe correct free'ing of pattern
40797 after re_compile_pattern.
40798 Patch by Reuben Thomas <rrt@sc3d.org>.
40800 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
40802 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
40803 and -mno-altivec to prevent the compiler from using Altivec and/or
40804 VSX instructions when the corresponding registers are not available.
40806 2011-05-19 Andreas Schwab <schwab@redhat.com>
40808 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
40810 2011-05-19 Ulrich Drepper <drepper@gmail.com>
40812 * libio/freopen.c (freopen): Use __dup2, not dup2.
40813 * libio/freopen64.c (freopen64): Likewise.
40815 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
40818 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
40819 * math/Makefile (tests): Add test-powl.
40820 (CFLAGS-test-powl.c): Define.
40821 * math/test-powl.c: New file.
40823 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
40825 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
40827 2011-05-17 Ulrich Drepper <drepper@gmail.com>
40830 * iconvdata/gb18030.c: Update to GB18020-2005.
40832 2011-05-16 Ulrich Drepper <drepper@gmail.com>
40834 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
40835 RE_SYNTAX_POSIX_AWK): Update to match recent development.
40836 Patch by Aharon Robbins <arnold@skeeve.com>.
40839 * stdlib/putenv.c (putenv): Don't always create copy of the variable
40843 * misc/pselect.c (__pselect): Handle timeout value errors hidden
40844 through underflows.
40847 * misc/error.c (error_at_line): Ensure file_name and old_file_name
40848 point to strings before performing equality test for error_one_per_line
40852 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
40855 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
40856 (struct user_fpregs_struct): Avoid __uint*_t types.
40859 * malloc/mtrace.c (tr_where): Add additional parameter to point to
40860 symbol info. Use it instead of calling _dl_addr locally.
40861 (lock_and_info): New function.
40862 (tr_freehook): Call lock_and_info and pass symbol info as additional
40863 parameter to tr_where.
40864 (tr_mallochook): Likewise.
40865 (tr_reallochook): Likewise.
40866 (tr_memalignhook): Likewise.
40868 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
40869 used and couldn't be at all thread-safe.
40871 2011-05-15 Ulrich Drepper <drepper@gmail.com>
40873 * libio/freopen.c (freopen): Don't close old file descriptor
40874 before the new one is opened. Instead dup the new file descriptor
40875 to the old one after the new stream is created.
40876 * libio/freopen64.c (freopen64): Likewise.
40877 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
40878 * libio/fileops.c (_IO_new_file_close_it): Handle new
40879 _IO_FLAGS2_NOCLOSE flag.
40880 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
40881 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
40882 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
40883 _IO_FLAGS2_NOCLOSE flag.
40884 * include/unistd.h: Add hidden_proto for dup3.
40885 Define __have_dup3.
40886 * io/dup3.c: Define hidden symbol.
40887 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
40890 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
40891 when an incomplete long option is used.
40892 * posix/tst-getopt_long1.c: New file.
40893 * posix/Makefile (tests): Add tst-getopt_long1.
40896 * scripts/config.guess: Update from autoconf-2.68.
40897 * scripts/config.sub: Likewise.
40900 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
40902 (has_cpuclock): ...this. New function.
40903 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
40904 macro here based on has_cpuclock code.
40907 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40908 First byte (not low byte) is now always NUL.
40909 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
40911 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40912 Use non-cancelable interfaces.
40915 * locale/iso-639.def: Add entry for Sorani.
40918 * include/stdlib.h: Move include protection to the right place.
40919 Define abort_msg_s. Declare __abort_msg with it.
40920 * stdlib/abort.c (__abort_msg): Adjust type.
40921 * assert/assert.c (__assert_fail_base): New function. Majority
40922 of code from __assert_fail. Allocate memory for __abort_msg with
40924 (__assert_fail): Now call __assert_fail_base.
40925 * assert/assert-perr.c: Remove bulk of implementation. Use
40926 __assert_fail_base.
40927 * include/assert.hL Declare __assert_fail_base.
40928 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
40930 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
40932 2011-05-14 Ulrich Drepper <drepper@gmail.com>
40936 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
40937 until all modules are registered in the DTV.
40938 * elf/Makefile: Add rules to build and run tst-tls19.
40939 * elf/tst-tls19.c: New file.
40940 * elf/tst-tls19mod1.c: New file.
40941 * elf/tst-tls19mod2.c: New file.
40942 * elf/tst-tls19mod3.c: New file.
40943 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
40946 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
40950 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
40951 two-byte sequence errors.
40952 * iconvdata/Makefile (tests): Add bug-iconv8.
40953 * iconvdata/bug-iconv8.c: New file.
40956 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
40959 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
40962 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
40963 (dummy_getcfa): New function.
40964 (init): Get _Unwind_GetCFA address, use dummy if not found.
40965 (backtrace_helper): In recursion check, also check whether CFA changes.
40966 (__backtrace): Completely initialize arg.
40968 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
40969 storing incomplete byte sequence in state object. Avoid testing for
40970 guaranteed too small input if we know there is enough data available.
40972 2011-05-11 Andreas Schwab <schwab@redhat.com>
40974 * Makeconfig (+link-pie): Indent.
40975 * Rules (binaries-pie): Define if $(have-fpie) and
40977 (binaries-shared): Also filter out $(binaries-pie).
40978 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
40979 * nscd/Makefile (others-pie): Add nscd.
40980 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
40981 ($(objpfx)nscd): Remove command override.
40982 * login/Makefile (others-pie): Add pt_chown.
40983 ($(objpfx)pt_chown): Remove command override.
40984 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
40985 remove command overrides.
40987 2011-05-13 Ulrich Drepper <drepper@gmail.com>
40989 * libio/tst_putwc.c: Fix error messages.
40992 * libio/fileops.c (_IO_new_file_close_it): Always flush when
40993 currently writing and seek to current position when not.
40994 * libio/Makefile (tests): Add bug-fclose1.
40995 * libio/bug-fclose1.c: New file.
40997 2011-05-12 Ulrich Drepper <drepper@gmail.com>
41000 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
41001 don't set DF_1_NODELETE here.
41002 (do_lookup_x): When entering new entry test for copy relocation
41003 and if necessary set DF_1_NODELETE flag.
41004 * elf/tst-unique4.cc: New file.
41005 * elf/tst-unique4.h: New file.
41006 * elf/tst-unique4lib.cc: New file.
41007 * elf/Makefile: Add rules to build and run tst-unique4.
41008 Patch by Piotr Bury <pbury@goahead.com>.
41010 2011-05-11 Ulrich Drepper <drepper@gmail.com>
41013 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
41016 * misc/mntent_r.c (addmntent): Flush the stream after the output
41019 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
41020 (is_trusted_path_normalize): Skip initial colon. Append slash
41021 to empty buffer. Duplicate is_trusted_path code but allow
41022 constructed patch to be prefix.
41023 (is_dst): Allow $ORIGIN followed by /.
41024 (_dl_dst_substitute): Correct clearing of check_for_trusted.
41025 Correct testing of result of is_trusted_path_normalize
41026 (decompose_rpath): Fix warning.
41028 2011-05-10 Ulrich Drepper <drepper@gmail.com>
41031 * grp/initgroups.c (internal_getgrouplist): When we found the service
41032 list through the initgroups entry in nsswitch.conf do not always
41033 continue on a successful lookup. Don't always use the
41034 __nss_group_database value if it is set.
41035 * nss/nsswitch.conf (initgroups): Change action for successful db
41036 lookup to continue for compatibility.
41038 2011-05-09 Ulrich Drepper <drepper@gmail.com>
41041 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
41043 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
41045 * iconvdata/tst-tables.sh: Likewise.
41046 * iconvdata/cp770.c: New file.
41047 * iconvdata/cp771.c: New file.
41048 * iconvdata/cp772.c: New file.
41049 * iconvdata/cp773.c: New file.
41050 * iconvdata/cp774.c: New file.
41051 * iconvdata/testdata/CP770: New file.
41052 * iconvdata/testdata/CP770..UTF8: New file.
41053 * iconvdata/testdata/CP771: New file.
41054 * iconvdata/testdata/CP771..UTF8: New file.
41055 * iconvdata/testdata/CP772: New file.
41056 * iconvdata/testdata/CP772..UTF8: New file.
41057 * iconvdata/testdata/CP773: New file.
41058 * iconvdata/testdata/CP773..UTF8: New file.
41059 * iconvdata/testdata/CP774: New file.
41060 * iconvdata/testdata/CP774..UTF8: New file.
41062 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
41064 * iconvdata/gen-8bit-gap.sh: Likewise.
41065 * iconvdata/gen-8bit.sh: Likewise.
41067 * locale/iso-639.def: Add ary entry.
41070 * locale/C-translit.h.in: Add U20A1 transliteration.
41073 * locale/iso-639.def: Add wae entry.
41074 Patch by Kevin Bortis <bortis@translate-wae.ch>.
41077 * locale/programs/localedef.c (construct_output_path): Use ssize_t
41081 * locale/C-translit.h.in: Add entry for U20B9.
41082 Patch by pravin.d.s@gmail.com.
41084 2011-05-08 Ulrich Drepper <drepper@gmail.com>
41087 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
41088 ENAMETOOLONG use generic getcwd.
41089 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
41090 in rtld. Use *stat64.
41091 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
41092 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
41093 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
41094 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
41095 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
41096 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
41097 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
41098 __fstatat64 macros.
41099 * include/dirent.h: Add libc_hidden_proto for rewinddir.
41100 * dirent/rewinddir.c: Add libc_hidden_def.
41101 * sysdeps/mach/hurd/rewinddir.c: Likewise.
41102 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
41104 * include/dirent.h (__alloc_dir): Add flags parameter.
41105 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
41106 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
41108 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
41109 from fdopendir if O_CLOEXEC is already set.
41111 2011-03-15 Alan Modra <amodra@gmail.com>
41113 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
41114 l_tls_firstbyte_offset non-zero. Save padding offset in
41115 l_tls_firstbyte_offset for later use.
41116 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
41117 freeing static tls block.
41119 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
41121 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
41122 where #ifdef was intended. The intent is to prevent ARG_MAX from
41123 being defined by the kernel headers.
41125 2011-05-07 Ulrich Drepper <drepper@gmail.com>
41128 * resolv/resolv.h: Define RES_NOTLDQUERY.
41129 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
41130 no-tld-query and set RES_NOTLDQUERY.
41131 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
41132 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
41133 modern BIND to search name as TLD unless forbidden.
41135 2011-05-07 Petr Baudis <pasky@suse.cz>
41136 Ulrich Drepper <drepper@gmail.com>
41139 * elf/dl-load.c (fillin_rpath): Move trusted path check...
41140 (is_trusted_path): ...to here.
41141 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
41142 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
41143 using is_trusted_path_normalize() in setuid scripts.
41145 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
41147 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
41148 __BEGIN/__END_DECLS.
41150 2011-05-06 Ulrich Drepper <drepper@gmail.com>
41152 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
41153 NSS_STATUS_NOTFOUND if no record was found.
41155 2011-05-05 Andreas Schwab <schwab@redhat.com>
41157 * sunrpc/Makefile (headers): Add rpc/netdb.h.
41158 (headers-not-in-tirpc): Remove rpc/netdb.h
41159 * resolv/netdb.h: Revert last change.
41161 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
41163 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
41164 circular dependency between libgcc.a and libc.a.
41166 2011-05-05 Andreas Schwab <schwab@redhat.com>
41168 * resolv/netdb.h: Don't include <rpc/netdb.h>.
41169 * nis/Makefile: Don't install rpcsvc/*.
41170 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
41171 instead of <rpc/types.h>.
41172 (MAXHOSTNAMELEN): Define.
41174 2011-05-03 Andreas Schwab <schwab@redhat.com>
41176 * elf/ldconfig.c (add_dir): Don't crash on empty path.
41178 2011-04-28 Maciej Babinski <mbabinski@google.com>
41181 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
41182 gethostbyname4_r when IPv6 results are possible.
41184 2011-05-02 Ulrich Drepper <drepper@gmail.com>
41187 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
41188 _PC_PIPE_BUF handling.
41190 2011-04-30 Bruno Haible <bruno@clisp.org>
41193 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
41194 * resolv/netdb.h (getnameinfo): Change type of flags parameter
41196 * inet/getnameinfo.c (getnameinfo): Likewise.
41198 2011-04-29 Ulrich Drepper <drepper@gmail.com>
41200 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
41201 to groups setting in database lookup.
41202 * nss/nsswitch.conf: Add initgroups entry.
41204 2011-04-22 Ulrich Drepper <drepper@gmail.com>
41207 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
41209 Patch by Eric Blake <eblake@redhat.com>.
41211 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
41213 * sunrpc/Makefile (need-export-routines): Add svc_run.
41214 (routines): Remove svc_run.
41215 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
41216 * sunrpc/clnt_perr.c (clnt_perrno): Export.
41217 * sunrpc/svc_run.c (svc_run): Likewise.
41218 * sunrpc/svc_udp.c (svcudp_create): Likewise.
41220 2011-04-21 Ulrich Drepper <drepper@gmail.com>
41222 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
41223 problem in reallocation in last patch.
41225 2011-04-20 Ulrich Drepper <drepper@gmail.com>
41227 * sunrpc/Makefile: Move inclusion of Rules.
41229 2011-04-19 Ulrich Drepper <drepper@gmail.com>
41231 * nss/nss_files/files-initgroups.c: New file.
41232 * nss/Makefile (libnss_files-routines): Add files-initgroups.
41233 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
41234 _nss_files_initgroups_dyn.
41236 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
41238 * elf/elf.h (R_ARM_IRELATIVE): Define.
41240 2011-04-19 Ulrich Drepper <drepper@gmail.com>
41242 * po/ru.po: Update from translation team.
41244 2011-04-17 Ulrich Drepper <drepper@gmail.com>
41246 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
41249 2011-02-06 Mike Frysinger <vapier@gentoo.org>
41252 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
41253 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
41254 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
41255 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
41256 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
41258 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
41260 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
41262 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
41263 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
41264 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
41266 2011-04-17 Ulrich Drepper <drepper@gmail.com>
41269 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
41271 * stdlib/bug-getcontext.c: New file.
41272 * stdlib/Makefile: Add rules to build and run bug-getcontext.
41274 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41276 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
41277 instructions into .machine "z9-109".
41278 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
41279 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
41281 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41283 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
41284 between environment variables and auxiliary vector.
41286 2011-04-16 Ulrich Drepper <drepper@gmail.com>
41288 * Makefile: Add rules to build linkobj/libc.so.
41289 * include/libc-symbols.h: Define libc_hidden_nolink.
41290 * include/rpc/auth.h: Mark functions which are to be hidden.
41291 * include/rpc/auth_des.h: Likewise.
41292 * include/rpc/auth_unix.h: Likewise.
41293 * include/rpc/clnt.h: Likewise.
41294 * include/rpc/des_crypt.h: Likewise.
41295 * include/rpc/key_prot.h: Likewise.
41296 * include/rpc/pmap_clnt.h: Likewise.
41297 * include/rpc/pmap_prot.h: Likewise.
41298 * include/rpc/pmap_rmt.h: Likewise.
41299 * include/rpc/rpc_msg.h: Likewise.
41300 * include/rpc/svc.h: Likewise.
41301 * include/rpc/svc_auth.h: Likewise.
41302 * include/rpc/xdr.h: Likewise.
41303 * nis/Makefile: Link all DSOs against linkobj/libc.so.
41304 * nss/Makefile: Likewise.
41305 * sunrpc/Makefile: Don't install headers. Build library with normal
41306 entry points. Don't build rpcinfo. Link RPC tests appropriately.
41307 * sunrpc/auth_des.c: Hide exported symbols by default, export some
41308 for the compat linking library. Remove use of INTDEF/INTUSE.
41309 * sunrpc/auth_none.c: Likewise.
41310 * sunrpc/auth_unix.c: Likewise.
41311 * sunrpc/authdes_prot.c: Likewise.
41312 * sunrpc/authuxprot.c: Likewise.
41313 * sunrpc/clnt_gen.c: Likewise.
41314 * sunrpc/clnt_perr.c: Likewise.
41315 * sunrpc/clnt_raw.c: Likewise.
41316 * sunrpc/clnt_simp.c: Likewise.
41317 * sunrpc/clnt_tcp.c: Likewise.
41318 * sunrpc/clnt_udp.c: Likewise.
41319 * sunrpc/clnt_unix.c: Likewise.
41320 * sunrpc/des_crypt.c: Likewise.
41321 * sunrpc/des_soft.c: Likewise.
41322 * sunrpc/get_myaddr.c: Likewise.
41323 * sunrpc/key_call.c: Likewise.
41324 * sunrpc/key_prot.c: Likewise.
41325 * sunrpc/netname.c: Likewise.
41326 * sunrpc/pm_getmaps.c: Likewise.
41327 * sunrpc/pm_getport.c: Likewise.
41328 * sunrpc/pmap_clnt.c: Likewise.
41329 * sunrpc/pmap_prot.c: Likewise.
41330 * sunrpc/pmap_prot2.c: Likewise.
41331 * sunrpc/pmap_rmt.c: Likewise.
41332 * sunrpc/publickey.c: Likewise.
41333 * sunrpc/rpc_cmsg.c: Likewise.
41334 * sunrpc/rpc_common.c: Likewise.
41335 * sunrpc/rpc_dtable.c: Likewise.
41336 * sunrpc/rpc_prot.c: Likewise.
41337 * sunrpc/rpc_thread.c: Likewise.
41338 * sunrpc/rtime.c: Likewise.
41339 * sunrpc/svc.c: Likewise.
41340 * sunrpc/svc_auth.c: Likewise.
41341 * sunrpc/svc_authux.c: Likewise.
41342 * sunrpc/svc_raw.c: Likewise.
41343 * sunrpc/svc_run.c: Likewise.
41344 * sunrpc/svc_simple.c: Likewise.
41345 * sunrpc/svc_tcp.c: Likewise.
41346 * sunrpc/svc_udp.c: Likewise.
41347 * sunrpc/svc_unix.c: Likewise.
41348 * sunrpc/svcauth_des.c: Likewise.
41349 * sunrpc/xcrypt.c: Likewise.
41350 * sunrpc/xdr.c: Likewise.
41351 * sunrpc/xdr_array.c: Likewise.
41352 * sunrpc/xdr_float.c: Likewise.
41353 * sunrpc/xdr_intXX_t.c: Likewise.
41354 * sunrpc/xdr_mem.c: Likewise.
41355 * sunrpc/xdr_rec.c: Likewise.
41356 * sunrpc/xdr_ref.c: Likewise.
41357 * sunrpc/xdr_sizeof.c: Likewise.
41358 * sunrpc/xdr_stdio.c: Likewise.
41360 2011-04-10 Ulrich Drepper <drepper@gmail.com>
41363 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
41364 * sysdeps/ia64/dl-tls.h: Likewise.
41365 * sysdeps/powerpc/dl-tls.h: Likewise.
41366 * sysdeps/s390/dl-tls.h: Likewise.
41367 * sysdeps/sh/dl-tls.h: Likewise.
41368 * sysdeps/sparc/dl-tls.h: Likewise.
41369 * sysdeps/x86_64/dl-tls.h: Likewise.
41370 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
41372 2011-03-14 Andreas Schwab <schwab@redhat.com>
41374 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
41375 rpath element also skip the following colon.
41376 (expand_dynamic_string_token): Add is_path parameter and pass
41377 down to DL_DST_REQUIRED and _dl_dst_substitute.
41378 (decompose_rpath): Call expand_dynamic_string_token with
41379 non-zero is_path. Ignore empty rpaths.
41380 (_dl_map_object_from_fd): Call expand_dynamic_string_token
41383 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
41385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
41388 2011-04-09 Ulrich Drepper <drepper@gmail.com>
41391 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
41392 Patch by Filipe David Manana <fdmanana@apache.org>.
41394 2011-04-07 Andreas Schwab <schwab@redhat.com>
41396 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
41397 Maintain aligned stack.
41398 (CHECK_RSP): Remove unused macro.
41400 2011-04-03 Ulrich Drepper <drepper@gmail.com>
41402 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
41403 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
41405 2011-04-02 Ulrich Drepper <drepper@gmail.com>
41407 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
41409 * include/features.h: Mention __USE_XOPEN2K8 in comment.
41411 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
41414 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
41415 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
41416 * sysdeps/x86_64/memmove.c: New file.
41417 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
41418 (memcpy): Renamed to ...
41419 (__new_memcpy): This.
41420 (memcpy): Provide GLIBC_2_14 memcpy.
41421 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
41422 (memcpy): Provide GLIBC_2_2_5 memcpy.
41424 2011-04-01 Ulrich Drepper <drepper@gmail.com>
41427 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
41429 2011-03-30 Andreas Schwab <schwab@redhat.com>
41431 * misc/syncfs.c: New file.
41432 * misc/Makefile (routines): Add syncfs.
41433 * posix/unistd.h: Declare syncfs.
41434 * sysdeps/unix/syscalls.list: Add syncfs.
41436 2011-04-01 Andreas Schwab <schwab@redhat.com>
41438 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
41440 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
41441 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41442 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41443 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41444 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41445 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
41446 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41448 2011-04-01 Ulrich Drepper <drepper@gmail.com>
41450 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
41451 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41452 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
41453 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41454 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41455 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41456 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41458 * io/Makefile: Compile fallocate.c, fallocate64.c, and
41459 sync_file_range.c with -fexceptions.
41460 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
41461 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
41462 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
41463 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
41464 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
41465 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
41466 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
41467 sync_file_range as cancellation point
41468 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
41469 now a wrapper around __call_sync_file_range with cancellation handling.
41470 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
41471 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
41472 function name to __call_sync_file_range.
41473 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
41474 Add call_sync_file_range.
41476 2011-04-01 Andreas Schwab <schwab@redhat.com>
41478 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41481 2011-04-01 Ulrich Drepper <drepper@gmail.com>
41483 * iconv/iconv.h: Fix typo in comment.
41484 * io/fcntl.h: Likewise.
41485 * libio/stdio.h: Likewise.
41486 * posix/spawn.h: Likewise.
41487 * posix/unistd.h: Likewise.
41488 * stdlib/stdlib.h: Likewise.
41489 * time/time.h: Likewise.
41490 * wcsmbs/wchar.h: Likewise.
41492 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
41493 open_by_handle): Add.
41494 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
41495 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
41496 Augment a few comments.
41497 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41498 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41499 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41500 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41501 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41502 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
41505 * io/fcntl.h (AT_EMPTY_PATH): Define.
41507 2011-03-30 Ulrich Drepper <drepper@gmail.com>
41509 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
41510 * sysdeps/unix/sysv/linux/bits/time.h: New file.
41511 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
41513 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
41514 * Versions.def: Add GLIBC_2.14.
41515 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
41518 2011-03-22 Ulrich Drepper <drepper@gmail.com>
41520 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
41522 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
41524 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
41527 * string/test-strncmp.c (do_page_test): New function.
41528 (check2): Likewise.
41529 (test_main): Call check2.
41530 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
41532 2011-03-20 Ulrich Drepper <drepper@gmail.com>
41535 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
41536 Handle cache information in CPU leaf 4.
41537 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
41539 2011-03-18 Ulrich Drepper <drepper@gmail.com>
41542 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
41543 character representation.
41544 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
41546 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
41548 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
41549 END(__isnan) to END(__isnanf) to match function entry point/label
41550 EALIGN(__isnanf,...).
41552 2011-03-10 Jakub Jelinek <jakub@redhat.com>
41554 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
41556 2011-03-10 Ulrich Drepper <drepper@gmail.com>
41559 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
41560 copy from the symbol referenced in the relocation to initialize the
41562 Patch by Piotr Bury <pbury@goahead.com>.
41563 * elf/Makefile: Add rules to build and tst-unique3.
41564 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
41565 * elf/tst-unique3.cc: New file.
41566 * elf/tst-unique3.h: New file.
41567 * elf/tst-unique3lib.cc: New file.
41568 * elf/tst-unique3lib2.cc: New file.
41570 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
41572 2011-03-10 Mike Frysinger <vapier@gentoo.org>
41574 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
41575 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
41578 2011-03-06 Ulrich Drepper <drepper@gmail.com>
41580 * elf/dl-load.c (_dl_map_object): If we are looking for the first
41581 to-be-loaded object along a path to loader is ld.so.
41583 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
41584 Ulrich Drepper <drepper@gmail.com>
41586 * sysdeps/x86_64/memset.S: After aligning destination, code
41587 branches to different locations depending on the value of
41588 misalignment, when multiarch is enabled. Fix this.
41590 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
41592 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
41593 Set _x86_64_preferred_memory_instruction for AMD processsors.
41594 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41595 Set bit_Prefer_SSE_for_memop for AMD processors.
41597 2011-03-04 Ulrich Drepper <drepper@gmail.com>
41599 * libio/fmemopen.c (fmemopen): Optimize a bit.
41601 2011-03-03 Andreas Schwab <schwab@redhat.com>
41603 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
41605 2011-03-03 Roland McGrath <roland@redhat.com>
41607 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
41609 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
41611 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
41612 __bzero_ultra1 instead of __memset_ultra1.
41614 2011-02-23 Andreas Schwab <schwab@redhat.com>
41615 Ulrich Drepper <drepper@gmail.com>
41618 * include/link.h (struct link_map): Add l_orig_initfini.
41619 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
41620 returning unsuccessfully.
41621 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
41622 close of a file loaded at startup, restore the original l_initfini
41624 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
41625 list, store the pointer.
41626 * elf/Makefile ($(objpfx)noload-mem): New rule.
41627 (noload-ENV): Define.
41628 (tests): Add $(objpfx)noload-mem.
41629 * elf/noload.c: Include <memcheck.h>.
41630 (main): Call mtrace. Close all opened handles.
41632 2011-02-17 Andreas Schwab <schwab@redhat.com>
41635 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
41636 dependencies are missing.
41638 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
41640 Fix __if_freereq crash: Unlike the generic version which uses free,
41642 * sysdeps/mach/hurd/ifreq.h: New file.
41644 2011-01-27 Petr Baudis <pasky@suse.cz>
41645 Ulrich Drepper <drepper@gmail.com>
41648 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
41649 to extend_alloca().
41650 * stdio-common/bug23.c: New file.
41651 * stdio-common/Makefile (tests): Add bug23.
41653 2010-09-28 Andreas Schwab <schwab@redhat.com>
41654 Ulrich Drepper <drepper@gmail.com>
41657 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
41658 before performing relro protection. At old place add assertion
41659 to make sure nothing changed.
41661 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
41662 Glauber de Oliveira Costa <glommer@gmail.com>
41664 * elf/elf.h: Add new ARM TLS relocs.
41666 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
41668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
41669 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
41671 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
41673 * sysdeps/wordsize-64/tst-writev.c: New file.
41675 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
41677 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
41678 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
41679 insns in _dl_start to prevent a TOC reference before relocs are
41682 2011-02-15 Ulrich Drepper <drepper@gmail.com>
41685 * Makeconfig: Remove RANLIB definition.
41686 * Makerules: Don't use RANLIB.
41687 * aclocal.m4: Remove ranlib test.
41688 * configure.in: No need to check for ranlib.
41689 * elf/rtld-Rules: Don't use RANLIB.
41691 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
41693 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
41695 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
41696 inclusion protection macro.
41698 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
41699 SIGRTMIN and SIGRTMAX and print information in that case only when
41700 SIGRTMIN is defined.
41702 2011-02-11 Jakub Jelinek <jakub@redhat.com>
41704 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
41705 arginfo fn returning -1.
41707 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
41708 and thousands string is zero terminated.
41710 2011-02-03 Andreas Schwab <schwab@redhat.com>
41712 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
41713 sysdeps/unix/sysv/linux/bits/socket.h.
41715 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
41717 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
41718 (__CPU_COUNT): Remove old macros.
41719 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
41720 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
41721 (__CPU_ALLOC, __CPU_FREE): Add macros.
41722 (__sched_cpualloc, __sched_cpufree): Add declarations.
41724 2011-02-05 Ulrich Drepper <drepper@gmail.com>
41726 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
41727 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
41728 * nscd/aicache.c (addhstaiX): Return timeout of added value.
41729 (readdhstai): Return value of addhstaiX call.
41730 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
41731 (addgrbyX): Return value returned by cache_addgr.
41732 (readdgrbyname): Return value returned by addgrbyX.
41733 (readdgrbygid): Likewise.
41734 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
41735 (addpwbyX): Return value returned by cache_addpw.
41736 (readdpwbyname): Return value returned by addhstbyX.
41737 (readdpwbyuid): Likewise.
41738 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
41739 (addservbyX): Return value returned by cache_addserv.
41740 (readdservbyname): Return value returned by addservbyX:
41741 (readdservbyport): Likewise.
41742 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
41743 (addhstbyX): Return value returned by cache_addhst.
41744 (readdhstbyname): Return value returned by addhstbyX.
41745 (readdhstbyaddr): Likewise.
41746 (readdhstbynamev6): Likewise.
41747 (readdhstbyaddrv6): Likewise.
41748 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
41749 (readdinitgroups): Return value returned by addinitgroupsX.
41750 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
41751 (prune_cache): Keep track of timeout value of re-added entries.
41752 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
41753 * nscd/nscd.h: Adjust prototypes of readd* functions.
41755 2011-02-04 Roland McGrath <roland@redhat.com>
41757 * nis/nis_server.c (nis_servstate): Use the right name for 0.
41758 (nis_stats): Likewise.
41759 * nis/nis_modify.c (nis_modify): Likewise.
41760 * nis/nis_remove.c (nis_remove): Likewise.
41761 * nis/nis_add.c (nis_add): Likewise.
41763 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
41765 * posix/fnmatch_loop.c: Add some consts.
41767 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
41769 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
41772 * config.make.in (config-cflags-novzeroupper): Define.
41773 * configure.in: Substitute libc_cv_cc_novzeroupper.
41774 * elf/Makefile (AVX-CFLAGS): Define.
41775 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
41776 (CFLAGS-tst-auditmod4a.c): Likewise.
41777 (CFLAGS-tst-auditmod4b.c): Likewise.
41778 (CFLAGS-tst-auditmod6b.c): Likewise.
41779 (CFLAGS-tst-auditmod6c.c): Likewise.
41780 (CFLAGS-tst-auditmod7b.c): Likewise.
41781 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
41783 2011-02-02 Ulrich Drepper <drepper@gmail.com>
41785 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
41786 function to the callback.
41787 Patch partly by Jiri Olsa <jolsa@redhat.com>.
41789 2011-02-02 Andreas Schwab <schwab@redhat.com>
41791 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
41794 2011-01-19 Ulrich Drepper <drepper@gmail.com>
41797 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
41799 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
41801 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
41804 * elf/Makefile: Add rules to build and run new test.
41805 * elf/tst-initorder.c: New file.
41806 * elf/tst-initorder.exp: New file.
41807 * elf/tst-initordera1.c: New file.
41808 * elf/tst-initordera2.c: New file.
41809 * elf/tst-initordera3.c: New file.
41810 * elf/tst-initordera4.c: New file.
41811 * elf/tst-initorderb1.c: New file.
41812 * elf/tst-initorderb2.c: New file.
41813 * elf/tst-order-a1.c: New file.
41814 * elf/tst-order-a2.c: New file.
41815 * elf/tst-order-a3.c: New file.
41816 * elf/tst-order-a4.c: New file.
41817 * elf/tst-order-b1.c: New file.
41818 * elf/tst-order-b2.c: New file.
41819 * elf/tst-order-main.c: New file.
41820 New test case by George Gensure <werkt0@gmail.com>.
41822 2010-10-01 Andreas Schwab <schwab@redhat.com>
41824 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
41825 decoding ACE if AI_CANONIDN.
41827 2011-01-18 Ulrich Drepper <drepper@gmail.com>
41829 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
41831 2011-01-17 Ulrich Drepper <drepper@gmail.com>
41833 * version.h (RELEASE): Bump for 2.13 release.
41834 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
41836 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
41838 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
41840 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
41841 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
41842 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
41843 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
41844 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
41845 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
41847 * posix/getconf.c: Update copyright year.
41848 * catgets/gencat.c: Likewise.
41849 * csu/version.c: Likewise.
41850 * debug/catchsegv.sh: Likewise.
41851 * debug/xtrace.sh: Likewise.
41852 * elf/ldconfig.c: Likewise.
41853 * elf/ldd.bash.in: Likewise.
41854 * elf/sprof.c (print_version): Likewise.
41855 * iconv/iconv_prog.c: Likewise.
41856 * iconv/iconvconfig.c: Likewise.
41857 * locale/programs/locale.c: Likewise.
41858 * locale/programs/localedef.c: Likewise.
41859 * malloc/memusage.sh: Likewise.
41860 * malloc/mtrace.pl: Likewise.
41861 * nscd/nscd.c (print_version): Likewise.
41862 * nss/getent.c: Likewise.
41864 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
41865 PF_CAIF, and PF_ALG.
41866 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41868 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
41870 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
41871 (modules-names): Use them.
41872 (ifunc-test-modules, ifunc-pie-tests): Define.
41873 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
41874 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
41875 (test-extras): Likewise.
41876 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
41877 $(compile-command.c).
41878 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
41879 (all-built-dso): Define.
41880 (check-textrel.out, check-execstack.out): Depend on it.
41882 * configure.in: Don't override --enable-multi-arch.
41884 2011-01-15 Ulrich Drepper <drepper@gmail.com>
41887 * nscd/hstcache.c (tryagain): Define.
41888 (cache_addhst): Return tryagain not notfound for temporary errors.
41889 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
41892 2011-01-14 Ulrich Drepper <drepper@gmail.com>
41895 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
41896 to make the syscall.
41897 * sysdeps/unix/sysv/linux/setgroups.c: New file.
41900 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
41901 and fall back to matching as normal character if the string ends before
41902 the matching ']' is found. This is what POSIX requires.
41903 * posix/testfnm.c: Adjust test result.
41904 * posix/globtest.sh: Adjust test result. Add new test.
41905 * posix/tst-fnmatch.input: Likewise.
41906 * posix/tst-fnmatch2.c: Add new test.
41908 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
41910 * elf/Makefile (check-execstack): Revert last change. Depend on
41912 (check-execstack.h): New target.
41913 (generated): Add check-execstack.h.
41914 * elf/check-execstack.c: Include "check-execstack.h".
41915 (main): Revert last change.
41916 (handle_file): Return zero if GNU_STACK is absent and
41917 DEFAULT_STACK_PERMS doesn't include PF_X.
41919 2011-01-13 Ulrich Drepper <drepper@gmail.com>
41921 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
41922 in child fails because the descriptor is already closed.
41923 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
41924 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
41925 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
41928 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
41932 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
41933 temporary buffer used to handle multi lookups locally.
41934 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
41936 2011-01-12 Ulrich Drepper <drepper@gmail.com>
41938 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
41941 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
41943 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
41944 alignment for SSE2.
41946 2011-01-12 Ulrich Drepper <drepper@gmail.com>
41949 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
41950 characters. When rounding increased number of integer digits recompute
41952 * stdio-common/tst-grouping.c: New file.
41953 * stdio-common/Makefile: Add rules to build and run tst-grouping.
41955 2011-01-09 Ulrich Drepper <drepper@gmail.com>
41957 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
41958 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
41960 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
41962 * bits/select.h: Likewise.
41964 2011-01-08 Ulrich Drepper <drepper@gmail.com>
41966 * po/ja.po: Update from translation team.
41968 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
41971 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
41972 implementation just like for lxstat, fxstatat, et al.
41974 2010-12-27 Jim Meyering <meyering@redhat.com>
41977 * posix/regexec.c (build_trtable): Return failure indication upon
41978 calloc failure. Otherwise, re_search_internal could infloop on OOM.
41980 2010-12-25 Ulrich Drepper <drepper@gmail.com>
41983 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
41984 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
41985 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
41986 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
41989 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
41992 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
41993 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
41995 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
41997 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
41998 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
41999 script has SORT_BY_INIT_PRIORITY.
42000 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
42001 NO_CTORS_DTORS_SECTIONS is defined.
42002 * elf/soinit.c: Likewise.
42003 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
42004 NO_CTORS_DTORS_SECTIONS is defined.
42005 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
42006 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
42007 * sysdeps/sh/init-first.c: Likewise.
42008 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
42010 2010-12-24 Ulrich Drepper <drepper@gmail.com>
42012 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
42013 always use the slow path.
42015 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
42017 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
42018 similar rule which adds the sysdep directories to the header search in
42019 order to pick up the correct platform stackinfo.h.
42020 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
42021 perform test if it is, otherwise return successfully without testing.
42022 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
42023 DEFAULT_STACK_PERMS define in stackinfo.h.
42024 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
42025 defined in stackinfo.h.
42026 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
42027 DEFAULT_STACK_PERMS defined in stackinfo.h.
42028 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
42029 * sysdeps/ia64/stackinfo.h: Likewise.
42030 * sysdeps/s390/stackinfo.h: Likewise.
42031 * sysdeps/sh/stackinfo.h: Likewise.
42032 * sysdeps/sparc/stackinfo.h: Likewise.
42033 * sysdeps/x86_64/stackinfo.h: Likewise.
42034 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
42035 PF_X for powerpc64. Retain PF_X for powerpc32.
42037 2010-12-19 Ulrich Drepper <drepper@gmail.com>
42039 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
42041 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
42042 GETDENTS_64BIT_ALIGNED.
42044 2010-12-14 Ulrich Drepper <dreper@gmail.com>
42046 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
42048 2010-12-10 Andreas Schwab <schwab@redhat.com>
42050 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
42053 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
42054 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
42056 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
42057 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
42059 2010-12-09 Ulrich Drepper <drepper@gmail.com>
42062 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
42065 2010-12-09 Jakub Jelinek <jakub@redhat.com>
42067 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
42069 2010-12-03 Ulrich Drepper <drepper@gmail.com>
42071 * po/it.po: Update from translation team.
42073 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
42075 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
42078 2010-11-30 Ulrich Drepper <drepper@gmail.com>
42080 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
42082 2010-11-24 Andreas Schwab <schwab@redhat.com>
42084 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
42086 (gaih_getanswer_slice): Likewise.
42088 2010-10-20 Jakub Jelinek <jakub@redhat.com>
42090 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
42092 2010-05-31 Petr Baudis <pasky@suse.cz>
42095 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
42096 silently even in the chroot mode.
42098 2010-11-22 Ulrich Drepper <drepper@gmail.com>
42100 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
42101 last patch a bit. Pretty printing
42103 2010-05-31 Petr Baudis <pasky@suse.cz>
42106 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
42107 initialization of skip_initgroups_dyn.
42109 2010-11-19 Ulrich Drepper <drepper@gmail.com>
42111 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
42112 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
42114 2010-11-16 Ulrich Drepper <drepper@gmail.com>
42116 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
42118 2010-11-11 Andreas Schwab <schwab@redhat.com>
42120 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
42121 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
42122 (tst-fnmatch-ENV): Set MALLOC_TRACE.
42123 ($(objpfx)tst-fnmatch-mem): New rule.
42124 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
42125 * posix/tst-fnmatch.c (main): Call mtrace.
42127 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
42129 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42130 Support Intel processor model 6 and model 0x2c.
42132 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
42134 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
42137 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
42140 * string/test-strncasecmp.c (check_result): New function.
42141 (do_one_test): Use it.
42142 (check1): New function.
42143 (test_main): Use it.
42144 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
42145 Support strcasecmp and strncasecmp.
42147 2010-11-08 Ulrich Drepper <drepper@gmail.com>
42150 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
42151 * sysdeps/x86_64/bits/byteswap.h: Likewise.
42153 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
42155 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
42157 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42159 * sysdeps/x86_64/multiarch/bzero.S: New file.
42160 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
42161 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
42162 * sysdeps/x86_64/multiarch/memset.S: New file.
42163 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
42164 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42165 Set bit_Prefer_SSE_for_memop for Intel processors.
42166 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
42168 (index_Prefer_SSE_for_memop): Define.
42169 (HAS_PREFER_SSE_FOR_MEMOP): Define.
42171 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
42173 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
42174 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
42176 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
42179 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
42180 (__x86_64_raw_data_cache_size_half): Likewise.
42181 (__x86_64_raw_shared_cache_size): Likewise.
42182 (__x86_64_raw_shared_cache_size_half): Likewise.
42184 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
42185 (__x86_64_raw_data_cache_size_half): Likewise.
42186 (__x86_64_raw_shared_cache_size): Likewise.
42187 (__x86_64_raw_shared_cache_size_half): Likewise.
42188 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
42189 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
42190 and __x86_64_raw_shared_cache_size_half. Round
42191 __x86_64_data_cache_size_half, __x86_64_data_cache_size
42192 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
42193 to multiple of 256 bytes.
42195 2010-11-03 Ulrich Drepper <drepper@gmail.com>
42198 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
42199 of inacessible symlinks. Verify result of symlink before returning it.
42200 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
42201 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
42203 2010-10-28 Erich Ritz <erichritz@gmail.com>
42205 * math/math.h (isinf): Fix typo in comment.
42207 2010-11-01 Ulrich Drepper <drepper@gmail.com>
42209 * po/da.po: Update from translation team.
42211 2010-10-26 Ulrich Drepper <drepper@gmail.com>
42213 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
42214 is added to the list.
42216 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42217 Ulrich Drepper <drepper@gmail.com>
42219 * elf/dl-object.c (_dl_new_object): Don't append the new object to
42220 the global list here. Move code to...
42221 (_dl_add_to_namespace_list): ...here. New function.
42222 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
42223 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
42224 * elf/dl-load.c (lose): Don't remove the element from the list.
42225 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
42226 (_dl_map_object): Likewise.
42228 2010-10-25 Ulrich Drepper <drepper@gmail.com>
42231 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
42232 into all bytes of SSE register.
42233 Patch by Richard Li <richardpku@gmail.com>.
42235 2010-10-24 Ulrich Drepper <drepper@gmail.com>
42238 * malloc/malloc.c (_int_free): Fill correct number of bytes when
42241 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
42243 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
42244 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
42245 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
42246 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
42247 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
42249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
42251 2010-10-22 Andreas Schwab <schwab@redhat.com>
42253 * include/dlfcn.h (__RTLD_SECURE): Define.
42254 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
42255 mode & __RTLD_SECURE instead.
42256 (open_path): Rename preloaded parameter to secure.
42257 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
42258 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
42259 * elf/dl-deps.c (openaux): Likewise.
42260 * elf/rtld.c (struct map_args): Remove is_preloaded.
42261 (map_doit): Don't use it.
42262 (dl_main): Likewise.
42263 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
42264 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
42266 2010-09-09 Andreas Schwab <schwab@redhat.com>
42268 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
42269 (sysd-rules-targets): Remove duplicates.
42270 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
42271 rtld-%.$o dependency.
42273 2010-10-18 Andreas Schwab <schwab@redhat.com>
42275 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
42276 _dl_map_object do it.
42278 2010-10-19 Ulrich Drepper <drepper@gmail.com>
42280 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
42281 fast fma builtins, define the macros in the C99 standard.
42282 (FP_FAST_FMAF): Likewise.
42283 (FP_FAST_FMAL): Likewise.
42284 * sysdeps/x86_64/bits/mathdef.h: Likewise.
42286 * bits/mathdef.h: Update copyright year.
42287 * sysdeps/powerpc/bits/mathdef.h: Likewise.
42289 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
42291 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
42292 builtins, define the macros in the C99 standard.
42293 (FP_FAST_FMAF): Likewise.
42294 (FP_FAST_FMAL): Likewise.
42295 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
42297 (FP_FAST_FMAF): Likewise.
42299 2010-10-15 Jakub Jelinek <jakub@redhat.com>
42302 * math/libm-test.inc (fma_test): Some new testcases.
42303 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
42304 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
42305 y and infinite z. Do multiplication by C already in long double.
42306 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
42307 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
42308 y and infinite z. Do bitwise or of inexact bit into u.d.
42309 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
42310 * sysdeps/i386/fpu/s_fmaf.S: Removed.
42311 * sysdeps/i386/fpu/s_fma.S: Removed.
42312 * sysdeps/i386/fpu/s_fmal.S: Removed.
42314 2010-10-16 Jakub Jelinek <jakub@redhat.com>
42317 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
42318 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
42319 computation is not scheduled after fetestexcept. Fix value
42320 of minimum denormal long double.
42322 2010-10-14 Jakub Jelinek <jakub@redhat.com>
42325 * math/libm-test.inc (fma_test): Add some more tests.
42326 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
42329 2010-10-15 Andreas Schwab <schwab@redhat.com>
42331 * scripts/data/localplt-s390-linux-gnu.data: New file.
42332 * scripts/data/localplt-s390x-linux-gnu.data: New file.
42334 2010-10-13 Jakub Jelinek <jakub@redhat.com>
42337 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
42338 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
42340 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
42342 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
42343 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
42344 if one of x and y is very large and the other is subnormal.
42345 * sysdeps/s390/fpu/s_fmaf.c: New file.
42346 * sysdeps/s390/fpu/s_fma.c: New file.
42347 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
42348 * sysdeps/powerpc/fpu/s_fma.S: New file.
42349 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
42350 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
42351 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
42353 2010-10-12 Jakub Jelinek <jakub@redhat.com>
42356 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
42358 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
42359 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
42360 * sysdeps/i386/i686/multiarch/s_fma.c: Include
42361 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
42362 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
42363 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
42364 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
42366 2010-10-12 Ulrich Drepper <drepper@redhat.com>
42369 * posix/regcomp.c (parse_branch): One more memory leak plugged.
42370 * posix/bug-regex31.input: Add test case.
42372 2010-10-11 Ulrich Drepper <drepper@gmail.com>
42374 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
42375 * posix/bug-regex31.input: New file.
42378 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
42379 (parse_sub_exp): Fix last change, use postorder.
42381 * posix/bug-regex31.c: New file.
42382 * posix/Makefile: Add rules to build and run bug-regex31.
42384 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
42387 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
42390 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
42391 to have entries in sys_siglist.
42394 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
42397 2010-10-07 Jakub Jelinek <jakub@redhat.com>
42400 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
42401 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
42402 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
42403 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
42404 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
42405 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
42406 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
42407 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
42408 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
42409 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
42410 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
42411 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
42412 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
42413 * math/ftestexcept.c (fetestexcept): Likewise.
42414 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
42415 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
42416 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
42417 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
42418 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
42419 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
42420 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
42422 2010-10-11 Ulrich Drepper <drepper@gmail.com>
42425 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
42428 2010-10-06 Ulrich Drepper <drepper@gmail.com>
42430 * string/bug-strstr1.c: New file.
42431 * string/Makefile: Add rules to build and run bug-strstr1.
42433 2010-10-05 Eric Blake <eblake@redhat.com>
42436 * string/str-two-way.h (two_way_long_needle): Always clear memory
42437 when skipping input due to the shift table.
42439 2010-10-03 Ulrich Drepper <drepper@gmail.com>
42442 * malloc/mcheck.c: Handle large requests.
42445 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
42446 for strncmp and strncasecmp.
42447 * string/stratcliff.c: Add tests for strcmp and strncmp.
42448 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
42450 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
42452 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
42455 2010-09-30 Andreas Jaeger <aj@suse.de>
42457 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
42458 (CGROUP_SUPER_MAGIC): Define.
42459 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42460 Handle btrfs and cgroup file systems.
42461 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
42464 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
42466 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
42467 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
42469 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42472 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
42473 trying to locate the ELF header.
42475 2010-09-27 Andreas Schwab <schwab@redhat.com>
42478 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
42479 Mask out sign-bit copies when constructing f_fsid.
42481 2010-09-24 Petr Baudis <pasky@suse.cz>
42483 * debug/stack_chk_fail_local.c: Add missing licence exception.
42484 * debug/warning-nop.c: Likewise.
42486 2010-09-15 Joseph Myers <joseph@codesourcery.com>
42488 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
42489 implementing getdents64 using getdents syscall, set d_type if
42490 __ASSUME_GETDENTS32_D_TYPE.
42492 2010-09-16 Andreas Schwab <schwab@redhat.com>
42494 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
42495 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
42497 2010-09-21 Ulrich Drepper <drepper@redhat.com>
42500 * posix/unistd.h: Undo change of feature selection for ftruncate from
42503 2010-09-20 Ulrich Drepper <drepper@redhat.com>
42505 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
42508 2010-09-20 Andreas Schwab <schwab@redhat.com>
42510 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
42512 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
42514 2010-09-14 Andreas Schwab <schwab@redhat.com>
42516 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
42517 variables after CHECK_SP call.
42518 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
42520 2010-09-13 Andreas Schwab <schwab@redhat.com>
42521 Ulrich Drepper <drepper@redhat.com>
42523 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
42524 re-relocationg ld.so.
42525 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
42526 _dl_init_paths call.
42527 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
42530 2010-09-14 Ulrich Drepper <drepper@redhat.com>
42532 * resolv/res_init.c (__res_vinit): Count the default server we added.
42534 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
42535 Ulrich Drepper <drepper@redhat.com>
42538 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
42539 (____longjmp_chk): Use %ebx for saving value across system call.
42542 2010-09-06 Andreas Schwab <schwab@redhat.com>
42544 * manual/Makefile: Don't mix pattern rules with normal rules.
42546 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
42548 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
42550 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
42551 * libio/iofopncook.c (_IO_cookie_init): Likewise.
42552 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
42553 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
42554 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42557 2010-09-04 Ulrich Drepper <drepper@redhat.com>
42560 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
42561 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
42563 2010-09-02 Ulrich Drepper <drepper@redhat.com>
42565 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
42566 * sysdeps/x86_64/addmul_1.S: Likewise.
42567 * sysdeps/x86_64/lshift.S: Likewise.
42568 * sysdeps/x86_64/mul_1.S: Likewise.
42569 * sysdeps/x86_64/rshift.S: Likewise.
42570 * sysdeps/x86_64/sub_n.S: Likewise.
42571 * sysdeps/x86_64/submul_1.S: Likewise.
42573 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
42575 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
42576 Define __sched_param instead of SCHED_* and sched_param when
42577 <bits/sched.h> is included with __need_schedparam defined.
42578 * bits/sched.h [__need_schedparam]
42579 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
42580 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
42581 (__defined_schedparam): Define to 1.
42582 (__sched_param): New structure, identical to sched_param.
42583 (__need_schedparam): Undefine.
42585 2010-08-31 Mike Frysinger <vapier@gentoo.org>
42587 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
42588 (epoll_create1): Declare.
42590 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
42592 2010-08-31 Andreas Schwab <schwab@redhat.com>
42595 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
42596 shifting retval into place.
42598 2010-09-01 Ulrich Drepper <drepper@redhat.com>
42600 * nis/rpcsvc/nis.h: Update copyright notice.
42601 * nis/rpcsvc/nis.x: Likewise.
42602 * nis/rpcsvc/nis_callback.h: Likewise.
42603 * nis/rpcsvc/nis_callback.x: Likewise.
42604 * nis/rpcsvc/nis_object.x: Likewise.
42605 * nis/rpcsvc/nis_tags.h: Likewise.
42606 * nis/rpcsvc/yp.h: Likewise.
42607 * nis/rpcsvc/yp.x: Likewise.
42608 * nis/rpcsvc/ypupd.h: Likewise.
42609 * nis/yp_xdr.c: Likewise.
42610 * nis/ypupdate_xdr.c: Likewise.
42612 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
42613 mainly the body of pmap_getport. Add parameters to specify timeouts.
42614 (pmap_getport): Use __libc_rpc_getport.
42615 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
42616 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
42617 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
42619 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
42621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
42624 2010-08-27 Roland McGrath <roland@redhat.com>
42626 * sysdeps/i386/i686/multiarch/Makefile
42627 (CFLAGS-varshift.c): New variable.
42629 2010-08-27 Ulrich Drepper <drepper@redhat.com>
42631 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
42632 * sysdeps/i386/i686/multiarch/varshift.c: New file.
42634 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
42636 * sysdeps/x86_64/strlen.S: Minimal code improvement.
42638 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
42640 * sysdeps/x86_64/strlen.S: Unroll the loop.
42641 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42642 strlen-sse2 strlen-sse2-bsf.
42643 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
42644 __strlen_no_bsf if bit_Slow_BSF is set.
42645 (__strlen_sse42): Removed.
42646 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
42647 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
42649 2010-08-25 Roland McGrath <roland@redhat.com>
42651 * sysdeps/x86_64/multiarch/varshift.S: File removed.
42652 * sysdeps/x86_64/multiarch/varshift.c: New file.
42653 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
42654 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
42655 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
42656 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
42658 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
42660 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42661 strlen-sse2 strlen-sse2-bsf.
42662 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
42663 __strlen_sse2_bsf if bit_Slow_BSF is unset.
42664 (__strlen_sse2): Removed.
42665 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
42666 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
42667 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
42668 bit_Slow_BSF for Atom.
42669 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
42670 (index_Slow_BSF): Define.
42671 (HAS_SLOW_BSF): Define.
42673 2010-08-25 Ulrich Drepper <drepper@redhat.com>
42676 * resolv/res_init.c (__res_vinit): When no server address at all
42677 is given default to loopback.
42679 2010-08-24 Roland McGrath <roland@redhat.com>
42681 * configure.in: Remove config-name.h generation.
42682 * configure: Regenerated.
42683 * config-name.in: File removed.
42684 * scripts/config-uname.sh: New file.
42685 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
42686 ($(objdir)config-name.h): New target.
42688 * sunrpc/rpc_parse.h: Avoid nested comment.
42690 2010-08-24 Richard Henderson <rth@redhat.com>
42691 Ulrich Drepper <drepper@redhat.com>
42692 H.J. Lu <hongjiu.lu@intel.com>
42694 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
42695 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
42696 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
42697 Replace _mm_srli_si128 with __m128i_shift_right. Replace
42698 _mm_alignr_epi8 with _mm_loadu_si128.
42699 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
42700 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
42701 (__m128i_shift_right): Removed.
42702 * sysdeps/i386/i686/multiarch/varshift.h: New file.
42703 * sysdeps/i386/i686/multiarch/varshift.S: New file.
42704 * sysdeps/x86_64/multiarch/varshift.h: New file.
42705 * sysdeps/x86_64/multiarch/varshift.S: New file.
42707 2010-08-21 Mike Frysinger <vapier@gentoo.org>
42709 * configure.in: Move assembler checks to before sysdep dir checking.
42711 2010-08-20 Petr Baudis <pasky@suse.cz>
42713 * LICENSES: Sync the sunrpc license.
42715 2010-08-19 Ulrich Drepper <drepper@redhat.com>
42717 * sunrpc/auth_des.c: Update copyright notice once again.
42718 * sunrpc/auth_none.c: Likewise.
42719 * sunrpc/auth_unix.c: Likewise.
42720 * sunrpc/authdes_prot.c: Likewise.
42721 * sunrpc/authuxprot.c: Likewise.
42722 * sunrpc/bindrsvprt.c: Likewise.
42723 * sunrpc/clnt_gen.c: Likewise.
42724 * sunrpc/clnt_perr.c: Likewise.
42725 * sunrpc/clnt_raw.c: Likewise.
42726 * sunrpc/clnt_simp.c: Likewise.
42727 * sunrpc/clnt_tcp.c: Likewise.
42728 * sunrpc/clnt_udp.c: Likewise.
42729 * sunrpc/clnt_unix.c: Likewise.
42730 * sunrpc/des_crypt.c: Likewise.
42731 * sunrpc/des_soft.c: Likewise.
42732 * sunrpc/get_myaddr.c: Likewise.
42733 * sunrpc/getrpcport.c: Likewise.
42734 * sunrpc/key_call.c: Likewise.
42735 * sunrpc/key_prot.c: Likewise.
42736 * sunrpc/openchild.c: Likewise.
42737 * sunrpc/pm_getmaps.c: Likewise.
42738 * sunrpc/pm_getport.c: Likewise.
42739 * sunrpc/pmap_clnt.c: Likewise.
42740 * sunrpc/pmap_prot.c: Likewise.
42741 * sunrpc/pmap_prot2.c: Likewise.
42742 * sunrpc/pmap_rmt.c: Likewise.
42743 * sunrpc/rpc/auth.h: Likewise.
42744 * sunrpc/rpc/auth_unix.h: Likewise.
42745 * sunrpc/rpc/clnt.h: Likewise.
42746 * sunrpc/rpc/des_crypt.h: Likewise.
42747 * sunrpc/rpc/key_prot.h: Likewise.
42748 * sunrpc/rpc/netdb.h: Likewise.
42749 * sunrpc/rpc/pmap_clnt.h: Likewise.
42750 * sunrpc/rpc/pmap_prot.h: Likewise.
42751 * sunrpc/rpc/pmap_rmt.h: Likewise.
42752 * sunrpc/rpc/rpc.h: Likewise.
42753 * sunrpc/rpc/rpc_des.h: Likewise.
42754 * sunrpc/rpc/rpc_msg.h: Likewise.
42755 * sunrpc/rpc/svc.h: Likewise.
42756 * sunrpc/rpc/svc_auth.h: Likewise.
42757 * sunrpc/rpc/types.h: Likewise.
42758 * sunrpc/rpc/xdr.h: Likewise.
42759 * sunrpc/rpc_clntout.c: Likewise.
42760 * sunrpc/rpc_cmsg.c: Likewise.
42761 * sunrpc/rpc_common.c: Likewise.
42762 * sunrpc/rpc_cout.c: Likewise.
42763 * sunrpc/rpc_dtable.c: Likewise.
42764 * sunrpc/rpc_hout.c: Likewise.
42765 * sunrpc/rpc_main.c: Likewise.
42766 * sunrpc/rpc_parse.c: Likewise.
42767 * sunrpc/rpc_parse.h: Likewise.
42768 * sunrpc/rpc_prot.c: Likewise.
42769 * sunrpc/rpc_sample.c: Likewise.
42770 * sunrpc/rpc_scan.c: Likewise.
42771 * sunrpc/rpc_scan.h: Likewise.
42772 * sunrpc/rpc_svcout.c: Likewise.
42773 * sunrpc/rpc_tblout.c: Likewise.
42774 * sunrpc/rpc_util.c: Likewise.
42775 * sunrpc/rpc_util.h: Likewise.
42776 * sunrpc/rpcinfo.c: Likewise.
42777 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
42778 * sunrpc/rpcsvc/key_prot.x: Likewise.
42779 * sunrpc/rpcsvc/klm_prot.x: Likewise.
42780 * sunrpc/rpcsvc/mount.x: Likewise.
42781 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
42782 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
42783 * sunrpc/rpcsvc/rex.x: Likewise.
42784 * sunrpc/rpcsvc/rstat.x: Likewise.
42785 * sunrpc/rpcsvc/rusers.x: Likewise.
42786 * sunrpc/rpcsvc/sm_inter.x: Likewise.
42787 * sunrpc/rpcsvc/spray.x: Likewise.
42788 * sunrpc/rpcsvc/yppasswd.x: Likewise.
42789 * sunrpc/rtime.c: Likewise.
42790 * sunrpc/svc.c: Likewise.
42791 * sunrpc/svc_auth.c: Likewise.
42792 * sunrpc/svc_authux.c: Likewise.
42793 * sunrpc/svc_raw.c: Likewise.
42794 * sunrpc/svc_run.c: Likewise.
42795 * sunrpc/svc_simple.c: Likewise.
42796 * sunrpc/svc_tcp.c: Likewise.
42797 * sunrpc/svc_udp.c: Likewise.
42798 * sunrpc/svc_unix.c: Likewise.
42799 * sunrpc/svcauth_des.c: Likewise.
42800 * sunrpc/xcrypt.c: Likewise.
42801 * sunrpc/xdr.c: Likewise.
42802 * sunrpc/xdr_array.c: Likewise.
42803 * sunrpc/xdr_float.c: Likewise.
42804 * sunrpc/xdr_mem.c: Likewise.
42805 * sunrpc/xdr_rec.c: Likewise.
42806 * sunrpc/xdr_ref.c: Likewise.
42807 * sunrpc/xdr_sizeof.c: Likewise.
42808 * sunrpc/xdr_stdio.c: Likewise.
42810 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
42813 2010-08-19 Andreas Schwab <schwab@redhat.com>
42815 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
42817 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
42819 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
42820 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
42821 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
42822 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
42823 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
42824 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
42825 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
42826 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
42827 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
42828 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
42829 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
42830 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
42831 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
42832 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
42834 2010-07-26 Anton Blanchard <anton@samba.org>
42836 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
42837 * malloc/arena.c (heap_trim): Likewise.
42839 2010-08-16 Ulrich Drepper <drepper@redhat.com>
42841 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
42843 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
42844 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
42846 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
42848 * sysdeps/i386/elf/Makefile: New file.
42850 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
42852 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
42853 from fanotify_init.
42854 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
42855 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
42857 2010-08-15 Ulrich Drepper <drepper@redhat.com>
42859 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
42861 * sysdeps/multiarch/strcmp.S: Likewise.
42863 2010-08-14 Ulrich Drepper <drepper@redhat.com>
42865 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
42866 strncase_l-nonascii.
42867 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
42868 Add strncase_l-ssse3.
42869 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
42870 * sysdeps/x86_64/strcmp.S: Likewise.
42871 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
42872 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
42873 * sysdeps/x86_64/strncase.S: New file.
42874 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
42875 * sysdeps/x86_64/strncase_l.S: New file.
42876 * string/Makefile (strop-tests): Add strncasecmp.
42877 * string/test-strncasecmp.c: New file.
42879 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
42882 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
42883 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
42885 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
42887 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
42889 2010-08-12 Ulrich Drepper <drepper@redhat.com>
42891 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
42892 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
42893 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
42895 2010-05-01 Alan Modra <amodra@gmail.com>
42897 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
42898 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
42899 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
42900 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
42901 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
42902 tidying. Don't tail-call __sigjmp_save for static lib.
42903 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
42905 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
42906 (CALL_MCOUNT): Add eh info, and nop after bl.
42907 (TAIL_CALL_SYSCALL_ERROR): New macro.
42908 (PSEUDO_RET): Use it.
42909 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
42910 Correct save location of integer regs and cr.
42911 (_dl_profile_resolve): Correct cr save location. Delete nops
42912 after bl when SHARED. Reduce cfi size a little by better
42913 placement of cfi directives.
42914 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
42915 make a stack frame. Instead use parm save area as a temp.
42916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
42917 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
42918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
42919 Don't make a stack frame for parent, use parm save area.
42920 Increase child stack frame to 112 bytes. Don't save unused reg,
42921 and adjust reg usage. Set up cfi on error recovery and
42922 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
42923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
42924 (__makecontext): Add dummy nop after jump to exit.
42925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
42926 Use correct parm save area and cr save, reduce stack frame.
42927 Correct cfi for possible PSEUDO_RET frame setup.
42928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
42929 Branch to local label emitted by PSEUDO_RET rather than
42932 2010-08-12 Andreas Schwab <schwab@redhat.com>
42935 * locale/programs/locale.c (print_assignment): New function.
42936 (show_locale_vars): Use it.
42938 2010-08-11 Ulrich Drepper <drepper@redhat.com>
42940 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
42942 (struct statfs64): Likewise.
42943 (_STATFS_F_FLAGS): Define.
42944 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
42945 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42946 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
42947 (ST_VALID): Define locally.
42948 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
42949 __statvfs_getflags, use the provided value.
42950 * sysdeps/unix/sysv/linux/kernel-features.h: Define
42951 __ASSUME_STATFS_F_FLAGS.
42953 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
42955 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
42956 Add sys/fanotify.h.
42957 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
42958 fanotify_mask for GLIBC_2.13.
42959 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
42960 fanotify_init and fanotify_mark.
42961 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
42962 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
42964 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
42966 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
42967 prlimit64 for GLIBC_2.13.
42968 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
42970 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
42972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
42973 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
42974 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
42975 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
42976 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
42978 * sysdeps/unix/sysv/linux/prlimit.c: New file.
42981 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
42982 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
42984 * nss/Makefile: Add rules to build and run tst-nss-test1.
42985 * shlib-versions: Add entry for libnss_test1.
42986 * nss/nss_test1.c: New file.
42987 * nss/tst-nss-test1.c: New file.
42989 * nss/nsswitch.c (__nss_database_custom): Define new variable.
42990 (__nss_configure_lookup): Set appropriate entry in
42991 __nss_configure_lookup to true.
42992 * nss/nsswitch.h: Define enum with indeces of databases in
42993 databases and __nss_database_custom arrays. Declare
42994 __nss_database_custom.
42995 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
42996 to avoid using nscd when custom rules are installed.
42997 * nss/getXXbyYY_r.c: Likewise.
42998 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
43000 * nss/nss_files/files-parse.c: Whitespace fixes.
43002 2010-08-09 Ulrich Drepper <drepper@redhat.com>
43005 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
43006 * posix/fnmatch_loop.c: Likewise.
43008 2010-07-17 Andi Kleen <ak@linux.intel.com>
43010 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
43011 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
43012 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
43013 * Versions.def [GLIBC_2.13]: Add.
43015 2010-08-06 Ulrich Drepper <drepper@redhat.com>
43017 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
43018 Also fail if tpwd after pwuid call is NULL.
43020 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
43022 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
43023 when converting to ms.
43025 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
43027 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
43028 EOPNOTSUPP errors with ENOTTY.
43029 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
43030 EOPNOTSUPP errors with ENOTTY.
43032 2010-07-31 Ulrich Drepper <drepper@redhat.com>
43034 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
43035 Add strcasecmp_l-ssse3.
43036 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
43038 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
43039 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
43040 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
43042 2010-07-30 Ulrich Drepper <drepper@redhat.com>
43044 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
43046 * string/Makefile (strop-tests): Add strcasecmp.
43047 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
43048 strcasecmp_l-nonascii.
43049 (gen-as-const-headers): Add locale-defines.sym.
43050 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
43051 * sysdeps/x86_64/strcasecmp.S: New file.
43052 * sysdeps/x86_64/strcasecmp_l.S: New file.
43053 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
43054 * sysdeps/x86_64/locale-defines.sym: New file.
43055 * string/test-strcasecmp.c: New file.
43057 * string/test-strcasestr.c: Test both ends of the range of characters.
43058 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
43060 2010-07-29 Roland McGrath <roland@redhat.com>
43063 * manual/locale.texi (Yes-or-No Questions): Fix example code.
43065 2010-07-27 Ulrich Drepper <drepper@redhat.com>
43067 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
43070 2010-07-27 Andreas Schwab <schwab@redhat.com>
43072 * manual/memory.texi (Malloc Tunable Parameters): Document
43075 2010-07-26 Roland McGrath <roland@redhat.com>
43078 * configure.in (-fgnu89-inline check): Set and substitute
43079 gnu89_inline, not libc_cv_gnu89_inline.
43080 * configure: Regenerated.
43081 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
43083 2010-07-26 Ulrich Drepper <drepper@redhat.com>
43085 * string/test-strnlen.c: New file.
43086 * string/Makefile (strop-tests): Add strnlen.
43087 * string/tester.c (test_strnlen): Add a few more test cases.
43088 * string/tst-strlen.c: Better error reporting.
43090 * sysdeps/x86_64/strnlen.S: New file.
43092 2010-07-24 Ulrich Drepper <drepper@redhat.com>
43094 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
43095 lower-latency instructions.
43097 2010-07-23 Ulrich Drepper <drepper@redhat.com>
43099 * string/test-strcasestr.c: New file.
43100 * string/test-strstr.c: New file.
43101 * string/Makefile (strop-tests): Add strstr and strcasestr.
43102 * string/str-two-way.h: Don't undefine MAX.
43103 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
43105 2010-07-21 Andreas Schwab <schwab@redhat.com>
43107 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43108 strcasestr-nonascii.
43109 (CFLAGS-strcasestr-nonascii.c): Define.
43110 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
43111 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
43112 Remove unused attribute.
43114 2010-07-20 Roland McGrath <roland@redhat.com>
43116 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
43117 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
43118 ld.so.cache was broken. With it, there is no way to disable dsocaps
43119 like LD_HWCAP_MASK can disable hwcaps.
43121 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
43123 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
43125 2010-07-16 Ulrich Drepper <drepper@redhat.com>
43127 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
43128 call in strcasestr.
43129 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
43130 __strcasestr_sse42_nonascii.
43131 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
43132 strcasestr-nonascii.c.
43133 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
43135 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
43137 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
43138 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
43139 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
43140 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
43142 2010-07-09 Ulrich Drepper <drepper@redhat.com>
43144 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
43147 2010-07-06 Andreas Schwab <schwab@redhat.com>
43150 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
43153 2010-07-06 Ulrich Drepper <drepper@redhat.com>
43155 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
43156 _PC_PIPE_BUF using F_GETPIPE_SZ.
43158 2010-07-05 Roland McGrath <roland@redhat.com>
43160 * manual/arith.texi (Rounding Functions): Fix rint description
43161 implicit in round description.
43163 2010-07-02 Ulrich Drepper <drepper@redhat.com>
43165 * elf/Makefile: Fix linking for a few tests to make recent linker
43168 2010-06-30 Andreas Schwab <schwab@redhat.com>
43170 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
43171 $(common-objpfx)libc_nonshared.a.
43173 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
43175 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
43176 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
43177 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
43178 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
43179 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
43180 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
43181 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
43182 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
43183 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
43184 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
43185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
43186 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
43187 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
43188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
43189 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
43190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
43191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
43192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
43193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
43194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
43195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
43196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
43197 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
43198 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
43199 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
43200 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
43201 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
43202 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
43203 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
43204 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
43205 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
43206 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
43207 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
43208 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
43209 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
43210 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
43211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
43212 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
43213 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
43214 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
43215 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
43216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
43217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
43218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
43219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
43220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
43221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
43222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
43224 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
43226 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
43227 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
43228 * string/memmove.c (memmove): Renamed to ...
43229 (MEMMOVE): ...this. Default to memmove.
43230 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
43231 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
43233 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43234 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
43235 mempcpy-ssse3-back memmove-ssse3-back.
43236 * sysdeps/x86_64/multiarch/bcopy.S: New file .
43237 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
43238 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
43239 * sysdeps/x86_64/multiarch/memcpy.S: New file.
43240 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
43241 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
43242 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
43243 * sysdeps/x86_64/multiarch/memmove.c: New file.
43244 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
43245 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
43246 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
43247 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
43248 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
43249 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
43251 (index_Fast_Copy_Backward): Define.
43252 (HAS_ARCH_FEATURE): Define.
43253 (HAS_FAST_REP_STRING): Define.
43254 (HAS_FAST_COPY_BACKWARD): Define.
43256 2010-06-21 Andreas Schwab <schwab@redhat.com>
43258 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
43259 Restore proper fallback handling.
43261 2010-06-19 Ulrich Drepper <drepper@redhat.com>
43264 * posix/group_member.c (__group_member): Correct checking loop.
43266 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
43267 OOM in getpwuid_r correctly. Return error number when the caller
43268 should return, otherwise -1.
43269 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
43270 call returning > 0 value.
43271 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
43273 2010-06-07 Andreas Schwab <schwab@redhat.com>
43275 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
43276 libc_nonshared.a from targets in modules-names.
43278 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
43280 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
43283 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
43285 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
43286 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
43287 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
43288 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
43290 2010-06-02 Andreas Schwab <schwab@redhat.com>
43292 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
43294 2010-06-14 Ulrich Drepper <drepper@redhat.com>
43296 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
43298 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
43299 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43300 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43301 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43302 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43303 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
43305 2010-06-14 Roland McGrath <roland@redhat.com>
43307 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
43309 2010-06-07 Jakub Jelinek <jakub@redhat.com>
43311 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
43312 __REDIRECT followed by __THROW.
43313 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
43314 * posix/getopt.h (getopt): Likewise.
43316 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
43318 * hurd/lookup-at.c (__file_name_lookup_at): Accept
43319 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
43320 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
43322 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
43323 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
43325 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
43327 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
43329 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
43332 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43333 Properly check family and model.
43335 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
43337 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
43339 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
43341 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
43343 2010-05-21 Ulrich Drepper <drepper@redhat.com>
43345 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
43348 2010-05-19 Andreas Schwab <schwab@redhat.com>
43350 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
43353 2010-05-21 Andreas Schwab <schwab@redhat.com>
43355 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
43356 and internal_recvmmsg.
43357 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
43358 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
43359 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
43360 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
43362 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
43363 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
43364 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
43366 2010-05-20 Andreas Schwab <schwab@redhat.com>
43368 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
43370 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
43372 POWER7 optimizations.
43373 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
43374 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
43376 2010-05-19 Ulrich Drepper <drepper@redhat.com>
43378 * version.h: Update for 2.13 development version.
43380 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
43382 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
43383 exceptions. Return 0.
43385 2010-05-07 Roland McGrath <roland@redhat.com>
43387 * elf/ldconfig.c (main): Add a const.
43389 2010-05-06 Ulrich Drepper <drepper@redhat.com>
43391 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
43392 (args_options): Add no-idn option.
43393 (ahosts_keys_int): Add idn_flags to ai_flags.
43394 (parse_option): Handle 'i' option to clear idn_flags.
43396 * malloc/malloc.c (_int_free): Possible race in the most recently
43397 added check. Only act on the data if no current modification
43400 See ChangeLog.17 for earlier changes.