1 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
4 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
5 when compiling wprintf.
6 * stdio-common/tstdiomisc.c (t3): New function.
9 2014-05-01 Steve Ellcey <sellcey@mips.com>
11 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
12 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
13 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
14 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
16 2014-05-01 Steve Ellcey <sellcey@mips.com>
18 * stdlib/longlong.h: Updated from GCC.
20 2014-05-01 Will Newton <will.newton@linaro.org>
21 Bernard Ogden <bernie.ogden@linaro.org>
23 * NEWS: Update fixed bug list.
26 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
28 2014-04-30 David S. Miller <davem@davemloft.net>
30 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
31 (libc_feholdexcept_setround_sparc_ctx): New function.
32 (libc_fesetenv_sparc_ctx): Likewise.
33 (libc_feupdateenv_sparc_ctx): Likewise.
34 (libc_feholdsetround_sparc_ctx): Likewise.
35 (libc_feholdexcept_setround_ctx): Define.
36 (libc_feholdexcept_setroundf_ctx): Likewise.
37 (libc_feholdexcept_setroundl_ctx): Likewise.
38 (libc_fesetenv_ctx): Likewise.
39 (libc_fesetenvf_ctx): Likewise.
40 (libc_fesetenvl_ctx): Likewise.
41 (libc_feupdateenv_ctx): Likewise.
42 (libc_feupdateenvf_ctx): Likewise.
43 (libc_feupdateenvl_ctx): Likewise.
44 (libc_feresetround_ctx): Likewise.
45 (libc_feresetroundf_ctx): Likewise.
46 (libc_feresetroundl_ctx): Likewise.
47 (libc_feholdsetround_ctx): Likewise.
48 (libc_feholdsetroundf_ctx): Likewise.
49 (libc_feholdsetroundl_ctx): Likewise.
51 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
52 with __USE_GNU instead of XOPEN cpp guards.
54 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
57 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
58 with XOPEN cpp guards.
60 2014-04-30 Julian Brown <julian@codesourcery.com>
63 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
66 2014-04-30 Joseph Myers <joseph@codesourcery.com>
69 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
71 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
72 * sysdeps/unix/sysv/linux/configure: Regenerated.
73 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
74 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
75 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
76 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
77 * README: Update reference to required Linux kernel version.
78 * manual/install.texi (Linux): Update reference to required Linux
79 kernel headers version.
80 * INSTALL: Regenerated.
82 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
84 [POSIX] (limits.h): Likewise.
85 [POSIX] (math.h): Likewise.
86 [POSIX] (sys/wait.h): Likewise.
87 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
89 [POSIX] (stddef.h): Do not allow header inclusion.
91 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
93 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
95 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
97 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
98 Return immediately after lll_futex_wake.
100 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
103 * nscd/nscd-client.h (datahead_init_common): Initialize entire
105 (datahead_init_pos): Call datahead_init_common early.
106 (datahead_init_neg): Likewise.
108 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
109 datahead_init_neg): New functions.
110 * nscd/aicache.c (addhstaiX): Use them.
111 * nscd/grpcache.c (cache_addgr): Likewise.
112 * nscd/hstcache.c (cache_addhst): Likewise.
113 * nscd/initgrcache.c (addinitgroupsX): Likewise.
114 * nscd/netgroupcache.c (do_notfound): Likewise.
115 (addgetnetgrentX): Likewise.
116 (addinnetgrX): Likewise.
117 * nscd/pwdcache.c (cache_addpw): Likewise.
118 * nscd/servicescache.c (cache_addserv): Likewise.
120 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
121 Atsushi Onoe <atsushi@onoe.org>
126 * resolv/res_query.c (__libc_res_nsearch): Return if at least
127 one response is valid.
128 * resolv/res_send.c (send_dg): Check for validity of other
129 response if the current response is a referral.
131 2014-04-29 Steve Ellcey <sellcey@mips.com>
133 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
135 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
138 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
139 Always divide by positive zero when computing -Inf result.
140 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
141 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
143 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
145 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
146 FPSCR if value do not change.
147 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
148 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
149 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
150 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
151 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
152 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
155 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
157 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
158 * sysdeps/unix/sysv/linux/hppa: Move directory from
159 ports/systeps/unix/sysv/linux/hppa.
160 * README: Update listing for hppa-*-linux-gnu.
162 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
165 * manual/stdio.texi (Hook functions): Fix types of stream hook
168 * socket/sys/socket.h: Fix typo in comment.
170 2014-04-28 Wilco <wdijkstr@arm.com>
172 * sysdeps/arm/fenv_private.h: New file.
173 * sysdeps/arm/math_private.h: New file.
174 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
176 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
178 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
180 (La_x86_64_retval): Likewise.
182 2014-04-24 Ian Bolton <ian.bolton@arm.com>
184 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
185 fpsr if value didn't change.
186 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
187 to fpcr if value didn't change.
188 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
189 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
190 fpsr or fpcr if value didn't change.
191 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
192 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
193 fpcr if value didn't change.
194 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
195 to fpsr if value didn't change.
197 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
199 * nptl/tst-sem3.c: Use test-skeleton.c
200 (main): Rename to do_test. Use return instead of
202 * nptl/tst-sem4.c: Use test-skeleton.c
203 (main): Rename to do_test.
205 2014-04-22 David S. Miller <davem@davemloft.net>
207 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
208 (struct sigaction): New struct member __glibc_reserved0, change
209 type of sa_flags to int.
211 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
213 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
214 (COUNT_LEADING_ZEROS_0): Define for AArch64.
216 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
218 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
219 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
221 2014-04-22 Will Newton <will.newton@linaro.org>
222 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
224 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
225 (__longjmp): Add longjmp and longjmp_target SystemTap
227 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
228 (__sigsetjmp): Add setjmp SystemTap probe.
230 2014-04-17 Carlos O'Donell <carlos@redhat.com>
232 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
235 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
237 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
239 * sysdeps/powerpc/fpu/fenv_private.h
240 (libc_feholdexcept_setroundl_ctx): Define to
241 libc_feholdexcept_setround_ppc_ctx.
242 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
243 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
244 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
245 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
247 2014-04-17 Ian Bolton <ian.bolton@arm.com>
249 * sysdeps/aarch64/math-tests.h: New file.
251 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
253 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
255 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
256 Check and set bit_AVX2_Usable.
257 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
259 (bit_AVX2): Likewise.
260 (index_AVX2_Usable): Likewise.
261 (CPUID_AVX2): Likewise.
262 (HAS_AVX2): Likewise.
264 2014-04-17 Will Newton <will.newton@linaro.org>
266 * manual/setjmp.texi (System V contexts): Add note that
267 calling setcontext on a context created by a call to a
268 signal handler is undefined. Update text to note that
269 setcontext from a signal handler is possible but not
273 * stdlib/tst-setcontext.c: Include signal.h.
274 (main): Check that the signal stack before and
275 after swapcontext is the same.
277 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
278 Re-implement to restore registers in user code and avoid
279 rt_sigreturn system call.
281 2014-04-17 Wilco <wdijkstr@arm.com>
283 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
284 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
285 * math/test-fenv.c: Skip exception trap tests on targets which only
286 support non-stop mode.
288 2014-04-17 Ian Bolton <ian.bolton@arm.com>
289 Wilco Dijkstra <wilco.dijkstra@arm.com>
291 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
292 (libc_feholdsetround_aarch64_ctx)
293 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
294 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
295 (libc_feresetround_ctx, libc_feresetroundf_ctx)
296 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
297 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
298 (libc_feresetround_noexl_ctx): Define.
300 2014-04-16 Richard Henderson <rth@redhat.com>
302 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
304 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
307 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
308 const from the non-libc, non-ldso copy.
310 * sysdeps/alpha/libm-test-ulps: Regenerate.
312 2014-04-16 Ian Bolton <ian.bolton@arm.com>
313 Wilco Dijkstra <wilco.dijkstra@arm.com>
315 * sysdeps/aarch64/fpu/math_private.h: New file.
317 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
319 * sysdeps/aarch64/libm-test-ulps: Regenerate.
321 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
323 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
324 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
325 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
326 Intel MPX bound registers before _dl_profile_fixup.
327 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
328 registers after _dl_profile_fixup. Save and restore bound
329 registers bnd0/bnd1 when calling _dl_call_pltexit.
330 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
331 (LR_BND_OFFSET): Likewise.
332 (LRV_BND0_OFFSET): Likewise.
333 (LRV_BND1_OFFSET): Likewise.
335 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
337 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
339 * sysdeps/mach/hurd/i386/tls.h: ... here.
340 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
341 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
344 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
346 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
348 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
350 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
352 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
355 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
356 * sysdeps/s390/configure: Regenerate.
359 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
360 Set round-to-nearest internally to reduce error accumulation.
362 2014-04-16 Alan Modra <amodra@gmail.com>
366 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
367 * math/libm-test.inc (frexp_test_data): Add tests.
368 * NEWS: Update fixed bug list.
370 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
372 * benchtests/Makefile: Depend on libraries in build directory.
373 (bench-math): Separate out math tests.
374 (bench-pthread): Separate out pthread tests.
375 (bench): Include math and pthread tests.
377 2014-04-14 Carlos O'Donell <carlos@redhat.com>
380 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
381 _dl_debug_initialize.
383 * configure.ac: Remove SELinux header check.
384 * configure: Regenerate.
385 * nscd/selinux.c (perms): Array of const char* to permission names.
386 (nscd_request_avc_has_perm): Call security_deny_unknown to find
387 default policy. Call string_to_security_class and string_to_av_perm to
388 translate strings. Enforce default policy and call avs_has_perm with
389 results of translated strings.
391 2014-04-13 David S. Miller <davem@davemloft.net>
393 * sysdeps/sparc/fpu/libm-test-ulps: Update.
395 2014-04-12 Allan McRae <allan@archlinux.org>
398 * manual/string.texi (Collation Functions): Fix qsort argument
400 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
402 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
404 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
405 Make the test a no-op if there are no exceptions defined.
407 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
409 * elf/Makefile (tests): make tst-dlopen-aout conditional on
410 enable-hardcoded-path-in-tests
412 2014-04-11 Will Newton <will.newton@linaro.org>
414 * benchtests/Makefile (extra-objs): Add json-lib.o.
415 (bench-func): Tidy up JSON output.
416 * benchtests/bench-skeleton.c: Include json-lib.h.
417 (main): Use JSON library functions to do output of
419 * benchtests/bench-timing-type.c (main): Output the
420 timing type simply, leaving formatting to the user.
421 * benchtests/json-lib.c: New file.
422 * benchtests/json-lib.h: Likewise.
424 2014-04-11 Torvald Riegel <triegel@redhat.com>
427 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
428 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
429 memory barriers. Add comments.
430 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
431 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
432 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
433 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
434 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
435 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
437 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
439 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
440 * sysdeps/s390/s390-64/configure.ac: ... this ...
441 * sysdeps/s390/configure.ac: ... to here.
442 * sysdeps/s390/s390-32/configure: Delete file.
443 * sysdeps/s390/s390-64/configure: Delete file.
444 * sysdeps/s390/configure: Regenerate.
446 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
448 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
450 2014-04-11 Will Newton <will.newton@linaro.org>
452 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
453 to zero if it is not defined elsewhere. (mtrim): Test
454 the value of MALLOC_DEBUG with #if rather than #ifdef.
456 2014-04-10 Torvald Riegel <triegel@redhat.com>
458 * benchtests/pthread_once-inputs: New file.
459 * benchtests/pthread_once-source.c: New file.
460 * benchtests/README: Update documentation.
462 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
463 H.J. Lu <hongjiu.lu@intel.com>
465 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
466 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
467 * sysdeps/x86_64/configure: Regenerated.
468 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
470 (REGISTER_SAVE_RAX): Likewise.
471 (REGISTER_SAVE_RCX): Likewise.
472 (REGISTER_SAVE_RDX): Likewise.
473 (REGISTER_SAVE_RSI): Likewise.
474 (REGISTER_SAVE_RDI): Likewise.
475 (REGISTER_SAVE_R8): Likewise.
476 (REGISTER_SAVE_R9): Likewise.
477 (REGISTER_SAVE_BND0): Likewise.
478 (REGISTER_SAVE_BND1): Likewise.
479 (REGISTER_SAVE_BND2): Likewise.
480 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
481 bound registers when calling _dl_fixup.
483 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
485 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
486 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
488 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
489 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
490 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
491 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
492 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
493 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
494 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
496 2014-04-09 Peter Brett <peter@peter-b.co.uk>
499 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
500 pathconf(_PC_NAME_MAX).
502 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
504 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
506 (__PTHREAD_SPINS): Move definition to ...
507 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
508 (__PTHREAD_SPINS): ... here.
509 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
510 (__PTHREAD_SPIN): Likewise.
511 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
512 (__PTHREAD_SPIN): Likewise.
513 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
514 (__PTHREAD_SPIN): Likewise.
515 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
516 (__PTHREAD_SPIN): Likewise.
517 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
518 (__PTHREAD_SPIN): Likewise.
519 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
520 (__PTHREAD_SPIN): Likewise.
521 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
522 (__PTHREAD_SPIN): Likewise.
523 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
524 (__PTHREAD_SPIN): Likewise.
525 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
526 (__PTHREAD_SPIN): Likewise.
527 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
528 (__PTHREAD_SPIN): Likewise.
529 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
530 (__PTHREAD_SPIN): Likewise.
531 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
532 (__PTHREAD_SPIN): Likewise.
534 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
535 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
536 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
537 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
539 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
540 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
541 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
542 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
544 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
545 strlen symbol for non multi-arch builds.
546 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
547 missing hidden_def and weak_alias.
549 2014-04-08 Carlos O'Donell <carlos@redhat.com>
551 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
553 2014-04-07 Will Newton <will.newton@linaro.org>
555 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
556 and contents. [!_LIBC] Remove #ifndef and contents.
557 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
558 * string/memccpy.c (__memccpy): Use ANSI prototype.
559 * string/memfrob.c (memfrob): Likewise.
560 * string/strcoll.c (STRCOLL): Likewise.
561 * string/strlen.c (strlen): Likewise.
562 * string/strtok.c (STRTOK): Likewise.
563 * string/strcat.c: Remove unused #include of memcopy.h.
564 (strcat): Use ANSI prototype.
565 * string/strchr.c: Remove unused #include of memcopy.h.
566 (strchr): Use ANSI prototype.
567 * string/strcmp.c: Remove unused #include of memcopy.h.
568 (strcmp): Use ANSI prototype.
569 * string/strcpy.c: Remove unused #include of memcopy.h.
570 (strcpy): Use ANSI prototype.
572 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
574 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
575 * config.make.in (config-extra-cppflags): Set it from
577 * configure.ac (libc_extra_cflags): Make it accumulate over
579 (libc_extra_cppflags): New flag.
580 * configure. Regenerate.
581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
582 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
583 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
587 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
588 result for FE_DOWNWARD rounding mode.
589 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
591 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
593 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
595 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
596 in function argument name.
598 2014-04-03 David Svoboda <svoboda@cert.org>
601 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
604 2014-04-03 Roland McGrath <roland@hack.frob.com>
606 * elf/dl-unmap-segments.h: New file.
607 * sysdeps/generic/ldsodefs.h
608 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
609 * elf/dl-close.c: Include <dl-unmap-segments.h>.
610 * elf/dl-fptr.c: Likewise.
611 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
612 * sysdeps/aarch64/tlsdesc.c: Likewise.
613 * sysdeps/arm/tlsdesc.c: Likewise.
614 * sysdeps/i386/tlsdesc.c: Likewise.
615 * sysdeps/tile/dl-runtime.c: Likewise.
616 * sysdeps/x86_64/tlsdesc.c: Likewise.
617 * elf/dl-load.h: New file.
618 * elf/dl-load.c: Include it.
619 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
620 Macros moved to dl-load.h.
621 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
622 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
623 Use _dl_unmap_segments in place of __munmap.
624 Break out segment-mapping loop into ...
625 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
627 2014-04-03 Will Newton <will.newton@linaro.org>
629 * elf/dl-lookup.c (do_lookup_x): Remove comment
630 referring to nested function and move variable
631 declarations down to before first use.
633 2014-04-02 Joseph Myers <joseph@codesourcery.com>
637 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
639 * math/s_catanf.c (__catanf): Likewise.
640 * math/s_catanh.c (__catanh): Likewise.
641 * math/s_catanhf.c (__catanhf): Likewise.
642 * math/s_catanhl.c (__catanhl): Likewise.
643 * math/s_catanl.c (__catanl): Likewise.
644 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
645 by positive zero when computing -Inf result.
646 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
647 (catanh_test): Likewise.
648 * sysdeps/i386/fpu/libm-test-ulps: Update.
649 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
652 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
653 instead of using underflowing value in computing result.
654 * math/s_clog10.c (__clog10): Likewise.
655 * math/s_clog10f.c (__clog10f): Likewise.
656 * math/s_clog10l.c (__clog10l): Likewise.
657 * math/s_clogf.c (__clogf): Likewise.
658 * math/s_clogl.c (__clogl): Likewise.
659 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
660 (clog10_test): Likewise.
661 * sysdeps/i386/fpu/libm-test-ulps: Update.
662 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
664 2014-04-02 Alan Modra <amodra@gmail.com>
667 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
668 output when value is near a power of two. Use int64_t for lx and
669 remove casts. Use decimal rather than hex exponent constants.
670 Don't use long double multiplication when double will suffice.
671 * math/libm-test.inc (nextafter_test_data): Add tests.
672 * NEWS: Add 16739 and 16786 to bug list.
674 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
676 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
678 2014-04-01 Will Newton <will.newton@linaro.org>
680 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
681 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
683 2014-04-01 Florian Weimer <fweimer@redhat.com>
686 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
687 * nptl/tst-setuid2.c: New file.
688 * nptl/Makefile (xtests): Add tst-setuid2.
690 2014-04-01 Alan Modra <amodra@gmail.com>
693 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
695 2014-03-31 Joseph Myers <joseph@codesourcery.com>
699 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
700 set errno as appropriate.
701 * math/w_scalbf.c (__scalbf): Likewise.
702 * math/w_scalbl.c (__scalbl): Likewise.
703 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
704 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
705 * math/libm-test.inc (scalb_test_data): Add errno expectations.
709 * math/w_atan2.c: Include <errno.h>.
710 (__atan2): Set errno for result underflowing to zero.
711 * math/w_atan2f.c: Include <errno.h>.
712 (__atan2f): Set errno for result underflowing to zero.
713 * math/w_atan2l.c: Include <errno.h>.
714 (__atan2l): Set errno for result underflowing to zero.
715 * math/auto-libm-test-in: Don't allow missing errno for some atan2
717 * math/auto-libm-test-out: Regenerated.
719 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
721 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
722 Encode instruction correctly in little endian.
723 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
725 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
727 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
729 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
732 2014-03-31 Joseph Myers <joseph@codesourcery.com>
735 * sysdeps/unix/sysv/linux/kernel-features.h
736 [__sparc__ && !__arch64__ && !__sparc_v9__]
737 (__ASSUME_SET_ROBUST_LIST): Do not define.
738 [__sparc__ && !__arch64__ && !__sparc_v9__]
739 (__ASSUME_FUTEX_LOCK_PI): Likewise.
740 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
742 * sysdeps/unix/sysv/linux/arm/kernel-features.h
743 (__ASSUME_FUTEX_LOCK_PI): Undefine.
744 (__ASSUME_REQUEUE_PI): Likewise.
745 (__ASSUME_SET_ROBUST_LIST): Likewise.
746 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
747 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
749 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
750 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
752 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
754 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
756 * sysdeps/unix/sysv/linux/mips/kernel-features.h
757 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
759 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
760 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
764 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
765 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
766 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
768 2014-03-31 Will Newton <will.newton@linaro.org>
770 * benchtests/Makefile (bench): Add ffs and ffsll to list
772 * benchtests/ffs-inputs: New file.
773 * benchtests/ffsll-inputs: Likewise.
775 2014-03-29 Joseph Myers <joseph@codesourcery.com>
778 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
779 too large before casting to int.
780 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
781 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
782 * math/libm-test.inc (scalb_test_data): Add more tests.
784 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
786 * benchtests/Makefile (DETAILED_OPT): New make option.
787 (bench-func): Run benchmark program with -d if DETAILED_OPT is
789 * benchtests/bench-skeleton.c: Include stdbool.h.
790 (main): Store and print timings per input.
791 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
792 member to each argument value.
793 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
794 (_print_arg_data): Initialize per-input timing to 0.
796 * benchtests/Makefile (timing-type): New binary.
797 (bench-clean): Also remove bench-timing-type.
798 (bench): New target for timing-type.
799 (bench-func): Print output in JSON format.
800 * benchtests/bench-skeleton.c (main): Print output in JSON
802 * benchtests/bench-timing-type.c: New file.
803 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
804 (TIMING_PRINT_STATS): Remove.
805 * benchtests/scripts/bench.py (_print_arg_data): Store variant
808 * benchtests/bench-modf.c: Remove.
809 * benchtests/modf-inputs: New inputs file.
811 2014-03-28 Joseph Myers <joseph@codesourcery.com>
814 * math/s_clog10.c (M_PI_LOG10E): New macro.
815 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
816 imaginary parts are 0.
817 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
818 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
819 imaginary parts are 0.
820 * math/s_clog10l.c (M_PI_LOG10El): New macro.
821 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
822 imaginary parts are 0.
823 * math/libm-test.inc (clog10_test_data): Update expected results
824 for when real and imaginary parts are 0.
826 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
828 * elf/dl-load.c: Finish conversion of __builtin_expect into
831 2014-03-27 Joseph Myers <joseph@codesourcery.com>
834 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
835 1+x for argument with exponent below -67.
836 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
838 * math/auto-libm-test-in: Add more tests of exp.
839 * math/auto-libm-test-out: Regenerated.
841 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
844 * inet/getnetgrent_r.c (get_nonempty_val): New function.
845 (nscd_getnetgrent): Use it.
848 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
851 2014-03-27 Andi Kleen <ak@linux.intel.com>
853 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
854 (lll_robust_lock, lll_cond_lock, lll_timedlock)
855 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
856 (lll_robust_unlock): Remove out of line section. Use cfi
858 (LLL_STUB_UNWIND_INFO*): Remove.
859 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
860 (lll_robust_lock, lll_cond_lock, lll_timedlock)
861 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
862 (lll_robust_unlock): Remove out of line section. Use cfi
864 (LLL_STUB_UNWIND_INFO*): Remove.
866 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
869 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
872 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
874 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
876 2014-03-26 Joseph Myers <joseph@codesourcery.com>
879 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
881 * math/test-fenv-preserve.c: New file.
882 * math/Makefile (tests): Add test-fenv-preserve.
884 2014-03-26 Will Newton <will.newton@linaro.org>
886 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
888 2014-03-25 Roland McGrath <roland@hack.frob.com>
890 * scripts/versionlist.awk: Partition the version sets and emit all
891 GLIBC_* (sorted) before all others (sorted).
893 2014-03-25 Joseph Myers <joseph@codesourcery.com>
895 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
898 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
900 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
903 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
906 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
908 2014-03-25 Andreas Schwab <schwab@suse.de>
910 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
911 label to be used after in6ailist is initialized.
913 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
915 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
916 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
918 2014-03-25 Joseph Myers <joseph@codesourcery.com>
922 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
924 (fp_formats): Update initializers.
925 (init_fp_formats): Initialize new field.
926 (output_for_one_input_case): Allow underflow for results up to
928 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
929 * math/auto-libm-test-in: Don't mark some underflows from asin and
931 * math/auto-libm-test-out: Regenerated.
932 * sysdeps/i386/fpu/libm-test-ulps: Update.
933 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
935 2014-03-25 Andreas Schwab <schwab@suse.de>
937 * libio/Makefile (tst-ftell-partial-wide-ENV)
938 (tst-ftell-active-handler-ENV): Define.
940 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
942 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
944 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
946 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
948 2014-03-24 Joseph Myers <joseph@codesourcery.com>
950 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
951 * sysdeps/x86_64/fpu/multiarch/e_exp.c
952 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
954 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
957 * elf/dl-load.c (open_verify): Add mode parameter.
958 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
959 (open_path): Change from boolean 'secure' to complete flag 'mode'
960 (_dl_map_object): Adjust.
961 * elf/Makefile (tests): Add tst-dlopen-aout.
962 * elf/tst-dlopen-aout.c: New test.
964 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
967 * sysdeps/unix/sysv/linux/s390/bits/stat.h
968 (struct stat): Rename member pad0 to __glibc_reserved0.
971 * sysdeps/s390/s390-32/bits/wordsize.h
972 (__WORDSIZE32_SIZE_ULONG): New define.
973 * sysdeps/s390/s390-64/bits/wordsize.h
974 (__WORDSIZE32_SIZE_ULONG): Likewise.
975 * sysdeps/generic/stdint.h (SIZE_MAX):
976 Define as UL if __WORDSIZE32_SIZE_ULONG.
979 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
980 (__glibc_reserved0): New variable.
981 (sa_flags): Change type to int.
983 * posix/Makefile (before-compile): Use += before-compile instead
986 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
987 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
989 2014-03-20 Andreas Schwab <schwab@suse.de>
992 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
993 non-matching result from nscd.
995 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
997 * scripts/bench.py: Moved to ...
998 * benchtests/scripts/bench.py: ... here.
999 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
1001 2014-03-24 Andreas Schwab <schwab@suse.de>
1004 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
1005 alloca_account and account alloca use for struct in6ailist.
1007 2014-03-24 Joseph Myers <joseph@codesourcery.com>
1010 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
1011 rounding mode to recompute results that overflow to infinity or
1013 * math/auto-libm-test-in: Don't mark tests as expected to fail for
1015 * math/auto-libm-test-out: Regenerated.
1016 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
1017 (ccosh_test): Likewise.
1018 (csin_test_data): Use plus_oflow.
1019 (csin_test): Use ALL_RM_TEST.
1020 (csinh_test_data): Use plus_oflow.
1021 (csinh_test): Use ALL_RM_TEST.
1022 * sysdeps/i386/fpu/libm-test-ulps: Update.
1023 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1025 2014-03-21 Joseph Myers <joseph@codesourcery.com>
1027 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
1028 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
1029 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
1032 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
1034 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
1035 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
1036 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
1037 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
1039 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
1040 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
1042 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
1043 * sysdeps/i386/fpu/libm-test-ulps: Update.
1044 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1046 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1048 * scripts/bench.pl: Remove file.
1049 * scripts/bench.py: New benchmark script.
1050 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
1051 * benchtests/README: Mention python dependency.
1052 * scripts/pylintrc: New file.
1053 * scripts/pylint: New file.
1055 * bits/mathdef.h: Use #ifdef instead of #if.
1056 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
1057 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
1058 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
1059 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
1060 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
1061 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
1063 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1064 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1066 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
1067 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
1068 and strpbrk-ppc64 objects.
1069 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1070 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
1071 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
1072 multiarch strpbrk for POWER7.
1073 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
1074 multiarch strpbrk for PPC64.
1075 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
1077 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
1080 2014-03-20 Joseph Myers <joseph@codesourcery.com>
1082 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
1083 (atan_test): Likewise.
1084 (atanh_test_data): Use NO_TEST_INLINE for two tests.
1085 (atanh_test): Use ALL_RM_TEST.
1086 (atan2_test_data): Likewise.
1087 (cabs_test): Likewise.
1088 (cacosh_test): Likewise.
1089 (carg_test): Likewise.
1090 (casin_test): Likewise.
1091 (casinh_test): Likewise.
1092 (cbrt_test): Likewise.
1093 (csqrt_test): Likewise.
1094 (erf_test): Likewise.
1095 (erfc_test): Likewise.
1096 (pow10_test): Likewise.
1097 (exp2_test): Likewise.
1098 (hypot_test): Likewise.
1099 (j0_test): Likewise.
1100 (j1_test): Likewise.
1101 (lgamma_test): Likewise.
1102 (gamma_test): Likewise.
1103 (sincos_test): Likewise.
1104 (tanh_test): Likewise.
1105 (y0_test): Likewise.
1106 (y1_test): Likewise.
1107 * sysdeps/i386/fpu/libm-test-ulps: Update.
1108 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1110 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1112 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
1113 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
1114 and strcspn-ppc64 objects.
1115 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1116 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
1117 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
1118 multiarch strcspn for POWER7.
1119 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
1120 multiarch strcspn for PPC64.
1121 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
1123 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
1126 2014-03-20 Joseph Myers <joseph@codesourcery.com>
1128 * math/gen-libm-test.pl (generate_testfile): Expect only function
1129 name as argument to AUTO_TESTS_* and pass results for all rounding
1130 modes to parse_args.
1131 (parse_auto_input): Separate inputs of automatic tests from
1132 outputs before storing in %auto_tests.
1133 * math/libm-test.inc (acos_test_data): Update call to
1135 (acos_test): Use ALL_RM_TEST.
1136 (acos_tonearest_test_data): Remove.
1137 (acos_test_tonearest): Likewise.
1138 (acos_towardzero_test_data): Likewise.
1139 (acos_test_towardzero): Likewise.
1140 (acos_downward_test_data): Likewise.
1141 (acos_test_downward): Likewise.
1142 (acos_upward_test_data): Likewise.
1143 (acos_test_upward): Likewise.
1144 (acosh_test_data): Update call to AUTO_TESTS_f_f.
1145 (asin_test_data): Likewise.
1146 (asin_test): Use ALL_RM_TEST.
1147 (asin_tonearest_test_data): Remove.
1148 (asin_test_tonearest): Likewise.
1149 (asin_towardzero_test_data): Likewise.
1150 (asin_test_towardzero): Likewise.
1151 (asin_downward_test_data): Likewise.
1152 (asin_test_downward): Likewise.
1153 (asin_upward_test_data): Likewise.
1154 (asin_test_upward): Likewise.
1155 (asinh_test_data): Update call to AUTO_TESTS_f_f.
1156 (atan_test_data): Likewise.
1157 (atanh_test_data): Likewise.
1158 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
1159 (cabs_test_data): Update call to AUTO_TESTS_c_f.
1160 (carg_test_data): Likewise.
1161 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
1162 (ccos_test_data): Update call to AUTO_TESTS_c_c.
1163 (ccosh_test_data): Likewise.
1164 (cexp_test_data): Likewise.
1165 (clog_test_data): Likewise.
1166 (clog10_test_data): Likewise.
1167 (cos_test_data): Update call to AUTO_TESTS_f_f.
1168 (cos_test): Use ALL_RM_TEST.
1169 (cos_tonearest_test_data): Remove.
1170 (cos_test_tonearest): Likewise.
1171 (cos_towardzero_test_data): Likewise.
1172 (cos_test_towardzero): Likewise.
1173 (cos_downward_test_data): Likewise.
1174 (cos_test_downward): Likewise.
1175 (cos_upward_test_data): Likewise.
1176 (cos_test_upward): Likewise.
1177 (cosh_test_data): Update call to AUTO_TESTS_f_f.
1178 (cosh_test): Use ALL_RM_TEST.
1179 (cosh_tonearest_test_data): Remove.
1180 (cosh_test_tonearest): Likewise.
1181 (cosh_towardzero_test_data): Likewise.
1182 (cosh_test_towardzero): Likewise.
1183 (cosh_downward_test_data): Likewise.
1184 (cosh_test_downward): Likewise.
1185 (cosh_upward_test_data): Likewise.
1186 (cosh_test_upward): Likewise.
1187 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
1188 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
1189 (ctan_test_data): Likewise.
1190 (ctan_test): Use ALL_RM_TEST.
1191 (ctan_tonearest_test_data): Remove.
1192 (ctan_test_tonearest): Likewise.
1193 (ctan_towardzero_test_data): Likewise.
1194 (ctan_test_towardzero): Likewise.
1195 (ctan_downward_test_data): Likewise.
1196 (ctan_test_downward): Likewise.
1197 (ctan_upward_test_data): Likewise.
1198 (ctan_test_upward): Likewise.
1199 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
1200 (ctanh_test): Use ALL_RM_TEST.
1201 (ctanh_tonearest_test_data): Remove.
1202 (ctanh_test_tonearest): Likewise.
1203 (ctanh_towardzero_test_data): Likewise.
1204 (ctanh_test_towardzero): Likewise.
1205 (ctanh_downward_test_data): Likewise.
1206 (ctanh_test_downward): Likewise.
1207 (ctanh_upward_test_data): Likewise.
1208 (ctanh_test_upward): Likewise.
1209 (erf_test_data): Update call to AUTO_TESTS_f_f.
1210 (erfc_test_data): Likewise.
1211 (exp_test_data): Likewise.
1212 (exp_test): Use ALL_RM_TEST.
1213 (exp_tonearest_test_data): Remove.
1214 (exp_test_tonearest): Likewise.
1215 (exp_towardzero_test_data): Likewise.
1216 (exp_test_towardzero): Likewise.
1217 (exp_downward_test_data): Likewise.
1218 (exp_test_downward): Likewise.
1219 (exp_upward_test_data): Likewise.
1220 (exp_test_upward): Likewise.
1221 (exp10_test_data): Update call to AUTO_TESTS_f_f.
1222 (exp10_test): Use ALL_RM_TEST.
1223 (exp10_tonearest_test_data): Remove.
1224 (exp10_test_tonearest): Likewise.
1225 (exp10_towardzero_test_data): Likewise.
1226 (exp10_test_towardzero): Likewise.
1227 (exp10_downward_test_data): Likewise.
1228 (exp10_test_downward): Likewise.
1229 (exp10_upward_test_data): Likewise.
1230 (exp10_test_upward): Likewise.
1231 (exp2_test_data): Update call to AUTO_TESTS_f_f.
1232 (expm1_test_data): Likewise.
1233 (expm1_test): Use ALL_RM_TEST.
1234 (expm1_tonearest_test_data): Remove.
1235 (expm1_test_tonearest): Likewise.
1236 (expm1_towardzero_test_data): Likewise.
1237 (expm1_test_towardzero): Likewise.
1238 (expm1_downward_test_data): Likewise.
1239 (expm1_test_downward): Likewise.
1240 (expm1_upward_test_data): Likewise.
1241 (expm1_test_upward): Likewise.
1242 (fma_test_data): Update call to AUTO_TESTS_fff_f.
1243 (fma_test): Use ALL_RM_TEST.
1244 (fma_towardzero_test_data): Remove.
1245 (fma_test_towardzero): Likewise.
1246 (fma_downward_test_data): Likewise.
1247 (fma_test_downward): Likewise.
1248 (fma_upward_test_data): Likewise.
1249 (fma_test_upward): Likewise.
1250 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
1251 (j0_test_data): Update call to AUTO_TESTS_f_f.
1252 (j1_test_data): Likewise.
1253 (jn_test_data): Update call to AUTO_TESTS_if_f.
1254 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
1255 (log_test_data): Update call to AUTO_TESTS_f_f.
1256 (log10_test_data): Likewise.
1257 (log1p_test_data): Likewise.
1258 (log2_test_data): Likewise.
1259 (pow_test_data): Update call to AUTO_TESTS_ff_f.
1260 (pow_tonearest_test_data): Likewise.
1261 (sin_test_data): Update call to AUTO_TESTS_f_f.
1262 (sin_test): Use ALL_RM_TEST.
1263 (sin_tonearest_test_data): Remove.
1264 (sin_test_tonearest): Likewise.
1265 (sin_towardzero_test_data): Likewise.
1266 (sin_test_towardzero): Likewise.
1267 (sin_downward_test_data): Likewise.
1268 (sin_test_downward): Likewise.
1269 (sin_upward_test_data): Likewise.
1270 (sin_test_upward): Likewise.
1271 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
1272 (sinh_test_data): Update call to AUTO_TESTS_f_f.
1273 (sinh_test): Use ALL_RM_TEST.
1274 (sinh_tonearest_test_data): Remove.
1275 (sinh_test_tonearest): Likewise.
1276 (sinh_towardzero_test_data): Likewise.
1277 (sinh_test_towardzero): Likewise.
1278 (sinh_downward_test_data): Likewise.
1279 (sinh_test_downward): Likewise.
1280 (sinh_upward_test_data): Likewise.
1281 (sinh_test_upward): Likewise.
1282 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
1283 (sqrt_test): Use ALL_RM_TEST.
1284 (sqrt_tonearest_test_data): Remove.
1285 (sqrt_test_tonearest): Likewise.
1286 (sqrt_towardzero_test_data): Likewise.
1287 (sqrt_test_towardzero): Likewise.
1288 (sqrt_downward_test_data): Likewise.
1289 (sqrt_test_downward): Likewise.
1290 (sqrt_upward_test_data): Likewise.
1291 (sqrt_test_upward): Likewise.
1292 (tan_test_data): Update call to AUTO_TESTS_f_f.
1293 (tan_test): Use ALL_RM_TEST.
1294 (tan_tonearest_test_data): Remove.
1295 (tan_test_tonearest): Likewise.
1296 (tan_towardzero_test_data): Likewise.
1297 (tan_test_towardzero): Likewise.
1298 (tan_downward_test_data): Likewise.
1299 (tan_test_downward): Likewise.
1300 (tan_upward_test_data): Likewise.
1301 (tan_test_upward): Likewise.
1302 (tanh_test_data): Update call to AUTO_TESTS_f_f.
1303 (tgamma_test_data): Likewise.
1304 (y0_test_data): Likewise.
1305 (y1_test_data): Likewise.
1306 (yn_test_data): Update call to AUTO_TESTS_if_f.
1307 (main): Do not call removed functions.
1309 2014-03-19 Joseph Myers <joseph@codesourcery.com>
1311 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
1312 (ldexp_test_data): Remove.
1313 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
1315 (scalb_test): Use ALL_RM_TEST.
1317 2014-03-19 Andreas Schwab <schwab@suse.de>
1319 * nscd/nscd.service: Also invalidate netgroup cache on reload.
1321 2014-03-19 Joseph Myers <joseph@codesourcery.com>
1324 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1325 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
1326 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
1327 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1328 (__ASSUME_PREADV): Undefine.
1329 (__ASSUME_PWRITEV): Likewise.
1331 2014-03-18 Roland McGrath <roland@hack.frob.com>
1333 * bits/mman-linux.h: Add comment about non-Linux use.
1334 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
1335 bits/mman-linux.h resting place.
1337 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
1338 * bits/mman-linux.h: ... here.
1340 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1342 * conform/conformtest.pl: Add standard definition when calling C
1343 preprocessor on data files.
1344 (checknamespace): Remove unused variable.
1346 2014-03-18 Joseph Myers <joseph@codesourcery.com>
1348 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
1349 minus_oflow, plus_uflow and minus_uflow in expected results.
1350 * math/libm-test.inc (scalbn_test_data): Add more tests of
1351 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
1353 (scalbn_test): Use ALL_RM_TEST.
1354 (scalbln_test_data): Add more tests of negative arguments. Use
1355 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
1356 (scalbln_test): Use ALL_RM_TEST.
1358 2014-03-18 Roland McGrath <roland@hack.frob.com>
1360 * scripts/abilist.awk: Ignore symbols marked with .hidden.
1362 2014-03-18 Will Newton <will.newton@linaro.org>
1364 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
1367 2014-03-18 Joseph Myers <joseph@codesourcery.com>
1369 * Makerules [!subdir] (check-abi): Exit with error status if a
1372 2014-03-17 Joseph Myers <joseph@codesourcery.com>
1374 * math/libm-test.inc (nearbyint_test_data): Include all tests used
1375 for rint. Include results for all rounding modes.
1376 (nearbyint_test): Use ALL_RM_TEST.
1377 (rint_test_data): Include all tests used for nearbyint.
1379 2014-03-17 Will Newton <will.newton@linaro.org>
1381 * nptl/sysdeps/pthread/pthread.h: Revert previous
1384 * sysdeps/generic/ldsodefs.h: Revert previous
1387 * libio/genops.c: Revert previous change.
1388 * libio/libioP.h: Likewise.
1389 * stdio-common/vfprintf.c: Likewise.
1391 * sysdeps/generic/math_private.h: Revert previous
1394 * sysdeps/generic/math_private.h: Check whether
1395 HAVE_RM_CTX is defined with #ifdef rather
1398 * argp/argp-fmtstream.h: Check whether
1399 __STRICT_ANSI__ is defined with #ifdef rather
1401 * argp/argp.h: Likewise.
1403 * libio/genops.c: Check whether
1404 _IO_JUMPS_OFFSET is defined with #ifdef rather
1406 * libio/libioP.h: Likewise.
1407 * stdio-common/vfprintf.c: Likewise.
1409 * sysdeps/generic/ldsodefs.h: Check whether
1410 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
1413 * nptl/sysdeps/pthread/pthread.h: Check
1414 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
1417 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
1419 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
1421 * libio/tst-ftell-active-handler.c (do_append_test): Add a
1425 * libio/fileops.c (_IO_file_open): Seek to end of file but
1426 don't cache the offset.
1427 (get_file_offset): Remove function.
1428 (do_ftell): Use cached offset when available.
1429 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
1430 don't cache the offset.
1431 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
1433 (do_one_test): Call it.
1434 (do_ftell_test): Fix up expected old offset for a+ mode.
1435 * libio/wfileops.c (do_ftell_wide): Used cached offset when
1438 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
1439 up test status with function return status.
1440 (do_write_test): Likewise.
1441 (do_append_test): Likewise.
1443 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
1444 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
1447 2014-03-17 Joseph Myers <joseph@codesourcery.com>
1449 * math/gen-libm-test.pl (parse_args): Handle results specified for
1450 each rounding mode separately.
1451 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
1452 tests and results from lrint_tonearest_test_data,
1453 lrint_towardzero_test_data, lrint_downward_test_data and
1454 lrint_upward_test_data.
1455 (lrint_test): Use ALL_RM_TEST.
1456 (lrint_tonearest_test_data): Remove.
1457 (lrint_test_tonearest): Likewise.
1458 (lrint_towardzero_test_data): Likewise.
1459 (lrint_test_towardzero): Likewise.
1460 (lrint_downward_test_data): Likewise.
1461 (lrint_test_downward): Likewise.
1462 (lrint_upward_test_data): Likewise.
1463 (lrint_test_upward): Likewise.
1464 (llrint_test_data): Merge in per-rounding-mode tests and results
1465 from llrint_tonearest_test_data, llrint_towardzero_test_data,
1466 llrint_downward_test_data and llrint_upward_test_data.
1467 (llrint_test): Use ALL_RM_TEST.
1468 (llrint_tonearest_test_data): Remove.
1469 (llrint_test_tonearest): Likewise.
1470 (llrint_towardzero_test_data): Likewise.
1471 (llrint_test_towardzero): Likewise.
1472 (llrint_downward_test_data): Likewise.
1473 (llrint_test_downward): Likewise.
1474 (llrint_upward_test_data): Likewise.
1475 (llrint_test_upward): Likewise.
1476 (rint_test_data): Merge in per-rounding-mode tests and results
1477 from rint_tonearest_test_data, rint_towardzero_test_data,
1478 rint_downward_test_data and rint_upward_test_data. Add
1479 per-rounding-mode results for tests not in those arrays.
1480 (rint_test): Use ALL_RM_TEST.
1481 (rint_tonearest_test_data): Remove.
1482 (rint_test_tonearest): Likewise.
1483 (rint_towardzero_test_data): Likewise.
1484 (rint_test_towardzero): Likewise.
1485 (rint_downward_test_data): Likewise.
1486 (rint_test_downward): Likewise.
1487 (rint_upward_test_data): Likewise.
1488 (rint_test_upward): Likewise.
1489 (main): Don't call removed functions.
1491 2014-03-14 Roland McGrath <roland@hack.frob.com>
1493 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
1494 "Compiled on ..." crapola. It is anti-useful.
1496 2014-03-14 Joseph Myers <joseph@codesourcery.com>
1498 * scripts/evaluate-test.sh: Handle fourth argument to determine
1499 whether test run should stop on failure.
1500 * Makeconfig (stop-on-test-failure): New variable.
1501 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
1502 $(stop-on-test-failure).
1503 * Makefile (tests): Give a summary of results from testing and
1504 exit with failure status if they include an ERROR or FAIL.
1506 * manual/install.texi (Configuring and compiling): Mention
1507 stop-on-test-failure=y.
1508 * INSTALL: Regenerated.
1510 2014-03-14 Roland McGrath <roland@hack.frob.com>
1512 * scripts/versionlist.awk: New file.
1513 * Makerules [$(build-shared) = yes]
1514 (postclean-generated): Add Versions.def, not Versions.def.v and
1516 ($(common-objpfx)Versions.def.v.i): Target removed.
1517 ($(common-objpfx)Versions.def): New target.
1518 ($(common-objpfx)Versions.all): Depend on that rather that
1519 $(common-objpfx)Versions.def.v.
1520 * Versions.def: File removed.
1522 * Makeconfig (+gccwarn): Add -Wundef.
1523 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
1524 a dl-sysdep.h breaking its contract.
1525 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
1526 * include/stackinfo.h: New file.
1527 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
1528 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
1529 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
1530 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
1531 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
1532 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
1533 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1534 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1535 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1536 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1537 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1538 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
1539 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1540 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1541 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1543 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1546 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
1548 * math/libm-test.inc (round_test_data): Add more tests.
1551 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
1553 * math/libm-test.inc (nearbyint_test_data): Add more tests.
1556 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
1558 * math/libm-test.inc (ceil_test_data): Add more tests.
1560 * math/libm-test.inc (trunc_test_data): Add more tests related to
1563 2014-03-14 Roland McGrath <roland@hack.frob.com>
1565 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
1566 with #if rather than #ifdef.
1567 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
1569 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
1571 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
1572 first. Disable AVX-512 GCC support if assembler doesn't support
1574 * sysdeps/x86_64/configure: Regenerated.
1576 2014-03-13 Carlos O'Donell <carlos@redhat.com>
1578 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
1579 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
1580 (__old_pthread_attr_setstack): Likewise.
1581 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
1582 [!_STACK_GROWS_DOWN]: Likewise.
1584 2014-03-13 Mike Frysinger <vapier@gentoo.org>
1586 * config.make.in (have-bash2): Delete.
1587 * configure.ac (libc_cv_have_bash2): Delete.
1588 * configure: Regenerate.
1589 * elf/Makefile (common-ldd-rewrite): Rename to ...
1590 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
1591 (sh-ldd-rewrite): Delete.
1592 (bash-ldd-rewrite): Delete.
1593 (have-bash2): Delete checks.
1594 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
1597 * config.make.in (have-ksh): Delete.
1599 * configure.ac (libc_cv_have_ksh): Delete.
1600 * configure: Regenerate.
1602 * elf/Makefile: Delete $(have-ksh) check.
1603 ($(objpfx)sotruss): Change KSH to BASH.
1604 * elf/sotruss.ksh: Rename to ...
1605 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
1606 function style to match POSIX. Drop ksh vim mode setting.
1608 * manual/time.texi (Specifying the Time Zone with TZ): Change
1609 Tuesday to Thursday.
1611 * debug/tst-longjmp_chk2.c: Update header comment.
1612 (stackoverflow_handler): Add comment. Call assert on pass value.
1614 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
1616 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
1617 (HAVE_AVX512_ASM_SUPPORT): Likewise.
1618 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
1619 (La_x86_64_vector): Add zmm.
1620 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
1621 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
1622 ($(objpfx)tst-audit10): New target.
1623 ($(objpfx)tst-audit10.out): Likewise.
1624 (tst-audit10-ENV): New.
1625 (AVX512-CFLAGS): Likewise.
1626 (CFLAGS-tst-audit10.c): Likewise.
1627 (CFLAGS-tst-auditmod10a.c): Likewise.
1628 (CFLAGS-tst-auditmod10b.c): Likewise.
1629 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
1630 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
1631 * sysdeps/x86_64/configure: Regenerated.
1632 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
1633 AVX-512 zmm register support.
1634 (_dl_x86_64_save_sse): Likewise.
1635 (_dl_x86_64_restore_sse): Likewise.
1636 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
1637 size vector registers.
1638 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
1639 (ZMM_SIZE): Likewise.
1640 * sysdeps/x86_64/tst-audit10.c: New file.
1641 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
1642 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
1644 2014-03-13 Roland McGrath <roland@hack.frob.com>
1646 * configure.ac (HAVE_EHDR_START): New check.
1647 * configure: Regenerated.
1648 * config.h.in (HAVE_EHDR_START): New #undef.
1649 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
1650 assuming the lowest-addressed segment maps the start of the file.
1652 2014-03-13 Joseph Myers <joseph@codesourcery.com>
1654 * INSTALL: Regenerated.
1656 2014-03-13 Will Newton <will.newton@linaro.org>
1658 * manual/setjmp.texi (System V contexts): Improve
1659 clarity and grammar of documentation.
1661 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
1664 * elf/Makefile (tests): Add tst-pie2.
1665 (tests-pie): Add tst-pie2.
1666 * elf/tst-pie2.c: New file.
1667 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
1669 * elf/rtld.c (map_doit): Load executable as lt_executable.
1670 (dl_main): Likewise.
1672 2014-03-12 Joseph Myers <joseph@codesourcery.com>
1675 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1676 (__ASSUME_PSELECT): Undefine.
1678 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1681 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
1682 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
1684 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
1685 selector for static builds.
1687 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1690 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
1693 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1695 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
1696 IFUNC selector for static builds.
1698 2014-03-11 Joseph Myers <joseph@codesourcery.com>
1700 * sysdeps/mips/math_private.h [__mips_hard_float]
1701 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
1702 libc_feresetround_mips_ctx.
1703 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
1704 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
1705 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
1708 * math/s_nextafter.c (__nextafter): Do not return value from
1709 overflowing computation.
1710 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
1711 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
1712 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
1714 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
1716 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
1717 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
1719 2014-03-11 Roland McGrath <roland@hack.frob.com>
1721 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
1722 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
1723 Move sfi_sp use from the load-multiple (that no longer sets sp) to
1724 the new mov targetting sp.
1726 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1729 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
1730 Define it for static builds as well.
1731 (NO_BZERO_IMPL): Likewise.
1733 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1735 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
1736 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
1737 multiarch strspn for PPC64.
1738 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
1739 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
1740 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1741 (__libc_ifunc_impl_list): Likewise.
1742 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
1743 multiarch optimizations
1744 * string/strspn.c (strspn): Using macro to redefine symbol name.
1746 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1747 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1749 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
1750 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
1751 multiarch strncat for PPC64.
1752 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
1753 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
1754 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1755 (__libc_ifunc_impl_list): Likewise.
1756 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
1757 multiarch optimizations
1759 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1762 * nscd/nscd.service: Make service type forking.
1764 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1766 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
1767 sign in non default rounding modes.
1768 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
1770 2014-03-08 Joseph Myers <joseph@codesourcery.com>
1772 * math/libm-test.inc (ALL_RM_TEST): New macro.
1773 (ceil_test): Use ALL_RM_TEST.
1774 (cimag_test): Likewise.
1775 (conj_test): Likewise.
1776 (copysign_test): Likewise.
1777 (cproj_test): Likewise.
1778 (creal_test): Likewise.
1779 (fabs_test): Likewise.
1780 (floor_test): Likewise.
1781 (fmax_test): Likewise.
1782 (fmin_test): Likewise.
1783 (fmod_test): Likewise.
1784 (fpclassify_test): Likewise.
1785 (frexp_test): Likewise.
1786 (ilogb_test): Likewise.
1787 (isfinite_test): Likewise.
1788 (finite_test): Likewise.
1789 (isgreater_test): Likewise.
1790 (isgreaterequal_test): Likewise.
1791 (isinf_test): Likewise.
1792 (isless_test): Likewise.
1793 (islessequal_test): Likewise.
1794 (islessgreater_test): Likewise.
1795 (isnan_test): Likewise.
1796 (isnormal_test): Likewise.
1797 (issignaling_test): Likewise.
1798 (isunordered_test): Likewise.
1799 (logb_test): Likewise.
1800 (logb_downward_test_data): Remove.
1801 (logb_test_downward): Likewise.
1802 (lround_test): Use ALL_RM_TEST.
1803 (llround_test): Likewise.
1804 (modf_test): Likewise.
1805 (nexttoward_test): Likewise.
1806 (remainder_test): Likewise.
1807 (drem_test): Likewise.
1808 (remainder_tonearest_test_data): Likewise.
1809 (remainder_test_tonearest): Likewise.
1810 (drem_test_tonearest): Likewise.
1811 (remainder_towardzero_test_data): Likewise.
1812 (remainder_test_towardzero): Likewise.
1813 (drem_test_towardzero): Likewise.
1814 (remainder_downward_test_data): Likewise.
1815 (remainder_test_downward): Likewise.
1816 (drem_test_downward): Likewise.
1817 (remainder_upward_test_data): Likewise.
1818 (remainder_test_upward): Likewise.
1819 (drem_test_upward): Likewise.
1820 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
1821 (round_test): Use ALL_RM_TEST.
1822 (signbit_test): Likewise.
1823 (trunc_test): Likewise.
1824 (significand_test): Likewise.
1825 (main): Don't call removed functions.
1827 2014-03-07 Joseph Myers <joseph@codesourcery.com>
1830 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
1832 (ILL_ILLOPN): Likewise.
1833 (ILL_ILLADR): Likewise.
1834 (ILL_ILLTRP): Likewise.
1835 (ILL_PRVOPC): Likewise.
1836 (ILL_PRVREG): Likewise.
1837 (ILL_COPROC): Likewise.
1838 (ILL_BADSTK): Likewise.
1839 (FPE_INTDIV): Likewise.
1840 (FPE_INTOVF): Likewise.
1841 (FPE_FLTDIV): Likewise.
1842 (FPE_FLTOVF): Likewise.
1843 (FPE_FLTUND): Likewise.
1844 (FPE_FLTRES): Likewise.
1845 (FPE_FLTINV): Likewise.
1846 (FPE_FLTSUB): Likewise.
1847 (SEGV_MAPERR): Likewise.
1848 (SEGV_ACCERR): Likewise.
1849 (BUS_ADRALN): Likewise.
1850 (BUS_ADRERR): Likewise.
1851 (BUS_OBJERR): Likewise.
1852 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1853 (TRAP_TRACE): Likewise.
1854 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1856 (CLD_KILLED): Likewise.
1857 (CLD_DUMPED): Likewise.
1858 (CLD_TRAPPED): Likewise.
1859 (CLD_STOPPED): Likewise.
1860 (CLD_CONTINUED): Likewise.
1861 (POLL_IN): Likewise.
1862 (POLL_OUT): Likewise.
1863 (POLL_MSG): Likewise.
1864 (POLL_ERR): Likewise.
1865 (POLL_PRI): Likewise.
1866 (POLL_HUP): Likewise.
1867 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
1869 (ILL_ILLOPN): Likewise.
1870 (ILL_ILLADR): Likewise.
1871 (ILL_ILLTRP): Likewise.
1872 (ILL_PRVOPC): Likewise.
1873 (ILL_PRVREG): Likewise.
1874 (ILL_COPROC): Likewise.
1875 (ILL_BADSTK): Likewise.
1876 (FPE_INTDIV): Likewise.
1877 (FPE_INTOVF): Likewise.
1878 (FPE_FLTDIV): Likewise.
1879 (FPE_FLTOVF): Likewise.
1880 (FPE_FLTUND): Likewise.
1881 (FPE_FLTRES): Likewise.
1882 (FPE_FLTINV): Likewise.
1883 (FPE_FLTSUB): Likewise.
1884 (SEGV_MAPERR): Likewise.
1885 (SEGV_ACCERR): Likewise.
1886 (BUS_ADRALN): Likewise.
1887 (BUS_ADRERR): Likewise.
1888 (BUS_OBJERR): Likewise.
1889 (BUS_MCEERR_AR): Likewise.
1890 (BUS_MCEERR_AO): Likewise.
1891 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1892 (TRAP_TRACE): Likewise.
1893 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1895 (CLD_KILLED): Likewise.
1896 (CLD_DUMPED): Likewise.
1897 (CLD_TRAPPED): Likewise.
1898 (CLD_STOPPED): Likewise.
1899 (CLD_CONTINUED): Likewise.
1900 (POLL_IN): Likewise.
1901 (POLL_OUT): Likewise.
1902 (POLL_MSG): Likewise.
1903 (POLL_ERR): Likewise.
1904 (POLL_PRI): Likewise.
1905 (POLL_HUP): Likewise.
1906 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
1907 (ILL_ILLOPN): Likewise.
1908 (ILL_ILLADR): Likewise.
1909 (ILL_ILLTRP): Likewise.
1910 (ILL_PRVOPC): Likewise.
1911 (ILL_PRVREG): Likewise.
1912 (ILL_COPROC): Likewise.
1913 (ILL_BADSTK): Likewise.
1914 (FPE_INTDIV): Likewise.
1915 (FPE_INTOVF): Likewise.
1916 (FPE_FLTDIV): Likewise.
1917 (FPE_FLTOVF): Likewise.
1918 (FPE_FLTUND): Likewise.
1919 (FPE_FLTRES): Likewise.
1920 (FPE_FLTINV): Likewise.
1921 (FPE_FLTSUB): Likewise.
1922 (SEGV_MAPERR): Likewise.
1923 (SEGV_ACCERR): Likewise.
1924 (BUS_ADRALN): Likewise.
1925 (BUS_ADRERR): Likewise.
1926 (BUS_OBJERR): Likewise.
1927 (BUS_MCEERR_AR): Likewise.
1928 (BUS_MCEERR_AO): Likewise.
1929 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1930 (TRAP_TRACE): Likewise.
1931 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1933 (CLD_KILLED): Likewise.
1934 (CLD_DUMPED): Likewise.
1935 (CLD_TRAPPED): Likewise.
1936 (CLD_STOPPED): Likewise.
1937 (CLD_CONTINUED): Likewise.
1938 (POLL_IN): Likewise.
1939 (POLL_OUT): Likewise.
1940 (POLL_MSG): Likewise.
1941 (POLL_ERR): Likewise.
1942 (POLL_PRI): Likewise.
1943 (POLL_HUP): Likewise.
1944 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
1946 (ILL_ILLOPN): Likewise.
1947 (ILL_ILLADR): Likewise.
1948 (ILL_ILLTRP): Likewise.
1949 (ILL_PRVOPC): Likewise.
1950 (ILL_PRVREG): Likewise.
1951 (ILL_COPROC): Likewise.
1952 (ILL_BADSTK): Likewise.
1953 (ILL_BADIADDR): Likewise.
1954 (ILL_BREAK): Likewise.
1955 (FPE_INTDIV): Likewise.
1956 (FPE_INTOVF): Likewise.
1957 (FPE_FLTDIV): Likewise.
1958 (FPE_FLTOVF): Likewise.
1959 (FPE_FLTUND): Likewise.
1960 (FPE_FLTRES): Likewise.
1961 (FPE_FLTINV): Likewise.
1962 (FPE_FLTSUB): Likewise.
1963 (FPE_DECOVF): Likewise.
1964 (FPE_DECDIV): Likewise.
1965 (FPE_DECERR): Likewise.
1966 (FPE_INVASC): Likewise.
1967 (FPE_INVDEC): Likewise.
1968 (SEGV_MAPERR): Likewise.
1969 (SEGV_ACCERR): Likewise.
1970 (SEGV_PSTKOVF): Likewise.
1971 (BUS_ADRALN): Likewise.
1972 (BUS_ADRERR): Likewise.
1973 (BUS_OBJERR): Likewise.
1974 (BUS_MCEERR_AR): Likewise.
1975 (BUS_MCEERR_AO): Likewise.
1976 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1977 (TRAP_TRACE): Likewise.
1978 (TRAP_BRANCH): Likewise.
1979 (TRAP_HWBKPT): Likewise.
1980 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1982 (CLD_KILLED): Likewise.
1983 (CLD_DUMPED): Likewise.
1984 (CLD_TRAPPED): Likewise.
1985 (CLD_STOPPED): Likewise.
1986 (CLD_CONTINUED): Likewise.
1987 (POLL_IN): Likewise.
1988 (POLL_OUT): Likewise.
1989 (POLL_MSG): Likewise.
1990 (POLL_ERR): Likewise.
1991 (POLL_PRI): Likewise.
1992 (POLL_HUP): Likewise.
1993 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
1994 (ILL_ILLOPN): Likewise.
1995 (ILL_ILLADR): Likewise.
1996 (ILL_ILLTRP): Likewise.
1997 (ILL_PRVOPC): Likewise.
1998 (ILL_PRVREG): Likewise.
1999 (ILL_COPROC): Likewise.
2000 (ILL_BADSTK): Likewise.
2001 (FPE_INTDIV): Likewise.
2002 (FPE_INTOVF): Likewise.
2003 (FPE_FLTDIV): Likewise.
2004 (FPE_FLTOVF): Likewise.
2005 (FPE_FLTUND): Likewise.
2006 (FPE_FLTRES): Likewise.
2007 (FPE_FLTINV): Likewise.
2008 (FPE_FLTSUB): Likewise.
2009 (SEGV_MAPERR): Likewise.
2010 (SEGV_ACCERR): Likewise.
2011 (BUS_ADRALN): Likewise.
2012 (BUS_ADRERR): Likewise.
2013 (BUS_OBJERR): Likewise.
2014 (BUS_MCEERR_AR): Likewise.
2015 (BUS_MCEERR_AO): Likewise.
2016 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2017 (TRAP_TRACE): Likewise.
2018 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2020 (CLD_KILLED): Likewise.
2021 (CLD_DUMPED): Likewise.
2022 (CLD_TRAPPED): Likewise.
2023 (CLD_STOPPED): Likewise.
2024 (CLD_CONTINUED): Likewise.
2025 (POLL_IN): Likewise.
2026 (POLL_OUT): Likewise.
2027 (POLL_MSG): Likewise.
2028 (POLL_ERR): Likewise.
2029 (POLL_PRI): Likewise.
2030 (POLL_HUP): Likewise.
2031 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
2032 (ILL_ILLOPN): Likewise.
2033 (ILL_ILLADR): Likewise.
2034 (ILL_ILLTRP): Likewise.
2035 (ILL_PRVOPC): Likewise.
2036 (ILL_PRVREG): Likewise.
2037 (ILL_COPROC): Likewise.
2038 (ILL_BADSTK): Likewise.
2039 (FPE_INTDIV): Likewise.
2040 (FPE_INTOVF): Likewise.
2041 (FPE_FLTDIV): Likewise.
2042 (FPE_FLTOVF): Likewise.
2043 (FPE_FLTUND): Likewise.
2044 (FPE_FLTRES): Likewise.
2045 (FPE_FLTINV): Likewise.
2046 (FPE_FLTSUB): Likewise.
2047 (SEGV_MAPERR): Likewise.
2048 (SEGV_ACCERR): Likewise.
2049 (BUS_ADRALN): Likewise.
2050 (BUS_ADRERR): Likewise.
2051 (BUS_OBJERR): Likewise.
2052 (BUS_MCEERR_AR): Likewise.
2053 (BUS_MCEERR_AO): Likewise.
2054 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2055 (TRAP_TRACE): Likewise.
2056 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2058 (CLD_KILLED): Likewise.
2059 (CLD_DUMPED): Likewise.
2060 (CLD_TRAPPED): Likewise.
2061 (CLD_STOPPED): Likewise.
2062 (CLD_CONTINUED): Likewise.
2063 (POLL_IN): Likewise.
2064 (POLL_OUT): Likewise.
2065 (POLL_MSG): Likewise.
2066 (POLL_ERR): Likewise.
2067 (POLL_PRI): Likewise.
2068 (POLL_HUP): Likewise.
2069 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
2070 (ILL_ILLOPN): Likewise.
2071 (ILL_ILLADR): Likewise.
2072 (ILL_ILLTRP): Likewise.
2073 (ILL_PRVOPC): Likewise.
2074 (ILL_PRVREG): Likewise.
2075 (ILL_COPROC): Likewise.
2076 (ILL_BADSTK): Likewise.
2077 (FPE_INTDIV): Likewise.
2078 (FPE_INTOVF): Likewise.
2079 (FPE_FLTDIV): Likewise.
2080 (FPE_FLTOVF): Likewise.
2081 (FPE_FLTUND): Likewise.
2082 (FPE_FLTRES): Likewise.
2083 (FPE_FLTINV): Likewise.
2084 (FPE_FLTSUB): Likewise.
2085 (SEGV_MAPERR): Likewise.
2086 (SEGV_ACCERR): Likewise.
2087 (BUS_ADRALN): Likewise.
2088 (BUS_ADRERR): Likewise.
2089 (BUS_OBJERR): Likewise.
2090 (BUS_MCEERR_AR): Likewise.
2091 (BUS_MCEERR_AO): Likewise.
2092 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2093 (TRAP_TRACE): Likewise.
2094 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2096 (CLD_KILLED): Likewise.
2097 (CLD_DUMPED): Likewise.
2098 (CLD_TRAPPED): Likewise.
2099 (CLD_STOPPED): Likewise.
2100 (CLD_CONTINUED): Likewise.
2101 (POLL_IN): Likewise.
2102 (POLL_OUT): Likewise.
2103 (POLL_MSG): Likewise.
2104 (POLL_ERR): Likewise.
2105 (POLL_PRI): Likewise.
2106 (POLL_HUP): Likewise.
2107 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
2108 (ILL_ILLOPN): Likewise.
2109 (ILL_ILLADR): Likewise.
2110 (ILL_ILLTRP): Likewise.
2111 (ILL_PRVOPC): Likewise.
2112 (ILL_PRVREG): Likewise.
2113 (ILL_COPROC): Likewise.
2114 (ILL_BADSTK): Likewise.
2115 (ILL_DBLFLT): Likewise.
2116 (ILL_HARDWALL): Likewise.
2117 (FPE_INTDIV): Likewise.
2118 (FPE_INTOVF): Likewise.
2119 (FPE_FLTDIV): Likewise.
2120 (FPE_FLTOVF): Likewise.
2121 (FPE_FLTUND): Likewise.
2122 (FPE_FLTRES): Likewise.
2123 (FPE_FLTINV): Likewise.
2124 (FPE_FLTSUB): Likewise.
2125 (SEGV_MAPERR): Likewise.
2126 (SEGV_ACCERR): Likewise.
2127 (BUS_ADRALN): Likewise.
2128 (BUS_ADRERR): Likewise.
2129 (BUS_OBJERR): Likewise.
2130 (BUS_MCEERR_AR): Likewise.
2131 (BUS_MCEERR_AO): Likewise.
2132 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2133 (TRAP_TRACE): Likewise.
2134 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2136 (CLD_KILLED): Likewise.
2137 (CLD_DUMPED): Likewise.
2138 (CLD_TRAPPED): Likewise.
2139 (CLD_STOPPED): Likewise.
2140 (CLD_CONTINUED): Likewise.
2141 (POLL_IN): Likewise.
2142 (POLL_OUT): Likewise.
2143 (POLL_MSG): Likewise.
2144 (POLL_ERR): Likewise.
2145 (POLL_PRI): Likewise.
2146 (POLL_HUP): Likewise.
2147 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
2148 (ILL_ILLOPN): Likewise.
2149 (ILL_ILLADR): Likewise.
2150 (ILL_ILLTRP): Likewise.
2151 (ILL_PRVOPC): Likewise.
2152 (ILL_PRVREG): Likewise.
2153 (ILL_COPROC): Likewise.
2154 (ILL_BADSTK): Likewise.
2155 (FPE_INTDIV): Likewise.
2156 (FPE_INTOVF): Likewise.
2157 (FPE_FLTDIV): Likewise.
2158 (FPE_FLTOVF): Likewise.
2159 (FPE_FLTUND): Likewise.
2160 (FPE_FLTRES): Likewise.
2161 (FPE_FLTINV): Likewise.
2162 (FPE_FLTSUB): Likewise.
2163 (SEGV_MAPERR): Likewise.
2164 (SEGV_ACCERR): Likewise.
2165 (BUS_ADRALN): Likewise.
2166 (BUS_ADRERR): Likewise.
2167 (BUS_OBJERR): Likewise.
2168 (BUS_MCEERR_AR): Likewise.
2169 (BUS_MCEERR_AO): Likewise.
2170 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2171 (TRAP_TRACE): Likewise.
2172 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2174 (CLD_KILLED): Likewise.
2175 (CLD_DUMPED): Likewise.
2176 (CLD_TRAPPED): Likewise.
2177 (CLD_STOPPED): Likewise.
2178 (CLD_CONTINUED): Likewise.
2179 (POLL_IN): Likewise.
2180 (POLL_OUT): Likewise.
2181 (POLL_MSG): Likewise.
2182 (POLL_ERR): Likewise.
2183 (POLL_PRI): Likewise.
2184 (POLL_HUP): Likewise.
2185 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
2186 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
2189 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
2190 before #include of <time.h>.
2191 [!__USE_XOPEN2K] (__need_timespec): Likewise.
2192 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
2193 (test-xfail-UNIX98/sched.h/conform): Likewise.
2195 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
2197 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
2198 error absence of trapping exception support.
2199 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
2201 2014-03-07 Joseph Myers <joseph@codesourcery.com>
2203 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
2204 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
2205 * timezone/Makefile (testdata): Move definition above include of
2207 (test-zones): New variable.
2208 (tests-special): Add zone files.
2209 (build-testdata): Use $(evaluate-test).
2211 * elf/Makefile (tests-special): Rename tests to end with .out.
2212 ($(objpfx)noload-mem): Likewise.
2213 ($(objpfx)tst-leaks1-mem): Likewise.
2214 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
2215 * iconv/Makefile (xtests-special): Change test-iconvconfig to
2216 $(objpfx)test-iconvconfig.out.
2217 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
2218 set -e inside subshell and redirect output to file.
2219 * iconvdata/Makefile (generated): Rename tests to end with .out.
2221 (tests-special): Rename tests to end with .out.
2222 ($(objpfx)mtrace-tst-loading): Likewise.
2223 * intl/Makefile (generated): Likewise.
2224 (tests-special): Likewise.
2225 ($(objpfx)mtrace-tst-gettext): Likewise.
2226 * misc/Makefile (generated): Likewise.
2227 (tests-special): Likewise.
2228 ($(objpfx)tst-error1-mem): Likewise.
2229 * nptl/Makefile (tests-special): Likewise.
2230 ($(objpfx)tst-stack3-mem): Likewise.
2231 (generated): Likewise.
2232 * posix/Makefile (generated): Likewise.
2233 (tests-special): Likewise.
2234 (xtests-special): Likewise.
2235 ($(objpfx)tst-fnmatch-mem): Likewise.
2236 ($(objpfx)bug-regex2-mem): Likewise.
2237 ($(objpfx)bug-regex14-mem): Likewise.
2238 ($(objpfx)bug-regex21-mem): Likewise.
2239 ($(objpfx)bug-regex31-mem): Likewise.
2240 ($(objpfx)tst-vfork3-mem): Likewise.
2241 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
2242 ($(objpfx)tst-pcre-mem): Likewise.
2243 ($(objpfx)tst-boost-mem): Likewise.
2244 ($(objpfx)bug-ga2-mem): Likewise.
2245 ($(objpfx)bug-glob2-mem): Likewise.
2246 * resolv/Makefile (generate): Likewise.
2247 (tests-special): Likewise.
2248 (xtests-special): Likewise.
2249 (generated): Likewise.
2250 ($(objpfx)mtrace-tst-leaks): Likewise.
2251 ($(objpfx)mtrace-tst-leaks2): Likewise.
2253 * scripts/merge-test-results.sh: New file.
2254 * Makefile (tests-special-notdir): New variable.
2255 (tests): Run merge-test-results.sh.
2257 * Rules (tests-special-notdir): New variable.
2258 (xtests-special-notdir): Likewise.
2259 (tests): Run merge-test-results.sh
2262 * Makeconfig (test-xfail-name): New variable.
2263 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
2264 compute variable name for expected failures.
2265 * conform/Makefile (conformtest-headers-data): New variable.
2266 (conformtest-standards): Likewise.
2267 (conformtest-headers-ISO): Likewise.
2268 (conformtest-headers-ISO99): Likewise.
2269 (conformtest-headers-ISO11): Likewise.
2270 (conformtest-headers-POSIX): Likewise.
2271 (conformtest-headers-XPG3): Likewise.
2272 (conformtest-headers-XPG4): Likewise.
2273 (conformtest-headers-UNIX98): Likewise.
2274 (conformtest-headers-XOPEN2K): Likewise.
2275 (conformtest-headers-POSIX2008): Likewise.
2276 (conformtest-headers-XOPEN2K8): Likewise.
2277 (conformtest-header-list-base): Likewise.
2278 (conformtest-header-list-tests): Likewise.
2279 (conformtest-header-base): Likewise.
2280 (conformtest-header-tests): Likewise.
2281 (tests-special): Add $(conformtest-header-list-tests). If
2282 [$(fast-check) && !$(cross-compiling)], add
2283 $(conformtest-header-tests) instead of
2284 $(objpfx)run-conformtest.out.
2285 (generated): Add $(conformtest-header-list-base). If
2286 [$(fast-check) && !$(cross-compiling)], add
2287 $(conformtest-header-base). Remove previous setting.
2288 ($(conformtest-header-list-tests)): New target.
2289 (test-xfail-run-conformtest): Remove variable.
2290 ($(objpfx)run-conformtest.out): Remove target.
2291 (test-xfail-ISO11/complex.h/conform): New variable.
2292 (test-xfail-ISO11/stdalign.h/conform): Likewise.
2293 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
2294 (test-xfail-XPG3/varargs.h/conform): Likewise.
2295 (test-xfail-XPG4/varargs.h/conform): Likewise.
2296 (test-xfail-UNIX98/varargs.h/conform): Likewise.
2297 (test-xfail-XPG4/ndbm.h/conform): Likewise.
2298 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
2299 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
2300 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
2301 (test-xfail-XPG3/fcntl.h/conform): Likewise.
2302 (test-xfail-XPG3/ftw.h/conform): Likewise.
2303 (test-xfail-XPG3/grp.h/conform): Likewise.
2304 (test-xfail-XPG3/langinfo.h/conform): Likewise.
2305 (test-xfail-XPG3/limits.h/conform): Likewise.
2306 (test-xfail-XPG3/pwd.h/conform): Likewise.
2307 (test-xfail-XPG3/search.h/conform): Likewise.
2308 (test-xfail-XPG3/signal.h/conform): Likewise.
2309 (test-xfail-XPG3/stdio.h/conform): Likewise.
2310 (test-xfail-XPG3/stdlib.h/conform): Likewise.
2311 (test-xfail-XPG3/string.h/conform): Likewise.
2312 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
2313 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
2314 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
2315 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
2316 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
2317 (test-xfail-XPG3/sys/types.h/conform): Likewise.
2318 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
2319 (test-xfail-XPG3/termios.h/conform): Likewise.
2320 (test-xfail-XPG3/time.h/conform): Likewise.
2321 (test-xfail-XPG3/unistd.h/conform): Likewise.
2322 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
2323 (test-xfail-XPG4/fcntl.h/conform): Likewise.
2324 (test-xfail-XPG4/langinfo.h/conform): Likewise.
2325 (test-xfail-XPG4/netdb.h/conform): Likewise.
2326 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
2327 (test-xfail-XPG4/signal.h/conform): Likewise.
2328 (test-xfail-XPG4/stdio.h/conform): Likewise.
2329 (test-xfail-XPG4/stdlib.h/conform): Likewise.
2330 (test-xfail-XPG4/stropts.h/conform): Likewise.
2331 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
2332 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
2333 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
2334 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
2335 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
2336 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
2337 (test-xfail-XPG4/sys/time.h/conform): Likewise.
2338 (test-xfail-XPG4/sys/types.h/conform): Likewise.
2339 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
2340 (test-xfail-XPG4/termios.h/conform): Likewise.
2341 (test-xfail-XPG4/ucontext.h/conform): Likewise.
2342 (test-xfail-XPG4/unistd.h/conform): Likewise.
2343 (test-xfail-XPG4/utmpx.h/conform): Likewise.
2344 (test-xfail-POSIX/sched.h/conform): Likewise.
2345 (test-xfail-POSIX/signal.h/conform): Likewise.
2346 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
2347 (test-xfail-POSIX/tar.h/conform): Likewise.
2348 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
2349 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
2350 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
2351 (test-xfail-UNIX98/netdb.h/conform): Likewise.
2352 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
2353 (test-xfail-UNIX98/sched.h/conform): Likewise.
2354 (test-xfail-UNIX98/signal.h/conform): Likewise.
2355 (test-xfail-UNIX98/stdio.h/conform): Likewise.
2356 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
2357 (test-xfail-UNIX98/stropts.h/conform): Likewise.
2358 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
2359 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
2360 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
2361 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
2362 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
2363 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
2364 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
2365 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
2366 (test-xfail-UNIX98/unistd.h/conform): Likewise.
2367 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
2368 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
2369 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
2370 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
2371 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
2372 (test-xfail-XOPEN2K/math.h/conform): Likewise.
2373 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
2374 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
2375 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
2376 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
2377 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
2378 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
2379 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
2380 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
2381 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
2382 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
2383 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
2384 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
2385 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
2386 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
2387 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
2388 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
2389 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
2390 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
2391 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
2392 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
2393 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
2394 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
2395 (test-xfail-POSIX2008/signal.h/conform): Likewise.
2396 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
2397 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
2398 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
2399 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
2400 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
2401 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
2402 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
2403 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
2404 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
2405 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
2406 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
2407 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
2408 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
2409 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
2410 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
2411 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
2412 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
2413 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
2414 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
2415 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
2416 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
2417 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
2418 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
2419 (conformtest-cc-flags): Likewise.
2420 ($(conformtest-header-tests): New target.
2421 * conform/check-header-lists.sh: New file.
2422 * conform/run-conformtest.sh: Remove.
2424 * conform/conformtest.pl: Allow ' and \ in values given for
2426 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
2428 [POSIX] (sys/types.h): Likewise.
2429 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
2431 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
2433 * conform/data/signal.h-data (SIGIO): Remove expectation.
2434 [XPG3] (SIGBUS): Do not expect.
2435 [POSIX || XPG3] (SIGPOLL): Likewise.
2436 [POSIX || XPG3] (SIGPROF): Likewise.
2437 [POSIX || XPG3] (SIGSYS): Likewise.
2438 [XPG3] (SIGTRAP): Likewise.
2439 [POSIX || XPG3] (SIGURG): Likewise.
2440 [POSIX || XPG3] (SIGVTALRM): Likewise.
2441 [POSIX || XPG3] (SIGXCPU): Likewise.
2442 [POSIX || XPG3] (SIGXFSZ): Likewise.
2443 [POSIX] (SA_SIGINFO): Expect.
2444 [XPG3] (siginfo_t): Do not expect type or contents.
2445 [POSIX] (si_pid): Do not expect element.
2446 [POSIX] (si_uid): Likewise.
2447 [POSIX] (si_addr): Likewise.
2448 [POSIX] (si_status): Likewise.
2449 [POSIX] (si_band): Likewise.
2450 [XPG4] (si_value): Likewise.
2451 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
2452 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
2453 [POSIX || XPG3] (ILL_ILLADR): Likewise.
2454 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
2455 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
2456 [POSIX || XPG3] (ILL_PRVREG): Likewise.
2457 [POSIX || XPG3] (ILL_COPROC): Likewise.
2458 [POSIX || XPG3] (ILL_BADSTK): Likewise.
2459 [POSIX || XPG3] (FPE_INTDIV): Likewise.
2460 [POSIX || XPG3] (FPE_INTOVF): Likewise.
2461 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
2462 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
2463 [POSIX || XPG3] (FPE_FLTUND): Likewise.
2464 [POSIX || XPG3] (FPE_FLTRES): Likewise.
2465 [POSIX || XPG3] (FPE_FLTINV): Likewise.
2466 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
2467 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
2468 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
2469 [POSIX || XPG3] (BUS_ADRALN): Likewise.
2470 [POSIX || XPG3] (BUS_ADRERR): Likewise.
2471 [POSIX || XPG3] (BUS_OBJERR): Likewise.
2472 [POSIX || XPG3] (CLD_EXITED): Likewise.
2473 [POSIX || XPG3] (CLD_KILLED): Likewise.
2474 [POSIX || XPG3] (CLD_DUMPED): Likewise.
2475 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
2476 [POSIX || XPG3] (CLD_STOPPED): Likewise.
2477 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
2478 [POSIX || XPG3] (POLL_IN): Likewise.
2479 [POSIX || XPG3] (POLL_OUT): Likewise.
2480 [POSIX || XPG3] (POLL_MSG): Likewise.
2481 [POSIX || XPG3] (POLL_ERR): Likewise.
2482 [POSIX || XPG3] (POLL_PRI): Likewise.
2483 [POSIX || XPG3] (POLL_HUP): Likewise.
2484 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
2485 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
2486 (SIG*): Do not allow.
2487 [XPG3] (si_*): Likewise.
2488 [XPG3] (SI_*): Likewise.
2489 [XPG3 || XPG4] (sigev_*): Likewise.
2490 [XPG3 || XPG4] (SIGEV_*): Likewise.
2491 [XPG3 || XPG4] (sival_*): Likewise.
2492 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
2493 [POSIX || XPG3] (BUS_*): Likewise.
2494 [POSIX || XPG3] (CLD_*): Likewise.
2495 [POSIX || XPG3] (FPE_*): Likewise.
2496 [POSIX || XPG3] (ILL_*): Likewise.
2497 [POSIX || XPG3] (POLL_*): Likewise.
2498 [POSIX || XPG3] (SEGV_*): Likewise.
2499 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
2500 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
2501 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
2502 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
2503 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
2504 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
2505 Specify type and value.
2506 (TVERSLEN): Likewise.
2507 (REGTYPE): Likewise.
2508 (AREGTYPE): Likewise.
2509 (LNKTYPE): Likewise.
2510 (SYMTYPE): Likewise.
2511 (CHRTYPE): Likewise.
2512 (BLKTYPE): Likewise.
2513 (DIRTYPE): Likewise.
2514 (FIFOTYPE): Likewise.
2515 (CONTTYPE): Likewise.
2520 (TUWRITE): Likewise.
2523 (TGWRITE): Likewise.
2526 (TOWRITE): Likewise.
2528 [POSIX] (TSVTX): Expect constant.
2530 2014-03-06 Joseph Myers <joseph@codesourcery.com>
2532 * Makefile (tests): Change dependencies to ....
2533 (tests-special): ... additions to this variable.
2534 (tests): Depend on $(tests-special).
2535 * Makerules (check-abi-list): New variable.
2536 (check-abi): Depend on $(check-abi-list).
2537 [$(subdir) = elf] (tests-special): Add
2538 $(objpfx)check-abi-libc.out.
2539 [$(build-shared) = yes && subdir] (tests-special): Add
2541 [$(build-shared) = yes && subdir] (tests): Do not depend on
2543 * Rules (tests): Depend on $(tests-special).
2544 (xtests): Depend on $(xtests-special).
2545 * catgets/Makefile (tests): Change dependencies to ....
2546 (tests-special): ... additions to this variable.
2547 * conform/Makefile (tests): Change dependencies to ....
2548 (tests-special): ... additions to this variable.
2549 * elf/Makefile (tests): Change dependencies to ....
2550 (tests-special): ... additions to this variable.
2551 * grp/Makefile (tests): Change dependencies to ....
2552 (tests-special): ... additions to this variable.
2553 * iconv/Makefile (xtests): Change dependencies to ....
2554 (xtests-special): ... additions to this variable.
2555 * iconvdata/Makefile (tests): Change dependencies to ....
2556 (tests-special): ... additions to this variable.
2557 * intl/Makefile (tests): Change dependencies to ....
2558 (tests-special): ... additions to this variable. Also add
2559 $(objpfx)tst-gettext.out.
2560 * io/Makefile (tests): Change dependencies to ....
2561 (tests-special): ... additions to this variable.
2562 * libio/Makefile (tests): Change dependencies to ....
2563 (tests-special): ... additions to this variable.
2564 * malloc/Makefile (tests): Change dependencies to ....
2565 (tests-special): ... additions to this variable.
2566 * misc/Makefile (tests): Change dependencies to ....
2567 (tests-special): ... additions to this variable.
2568 * nptl/Makefile (tests): Change dependencies to ....
2569 (tests-special): ... additions to this variable.
2570 * nptl_db/Makefile (tests): Change dependencies to ....
2571 (tests-special): ... additions to this variable.
2572 * posix/Makefile (tests): Change dependencies to ....
2573 (tests-special): ... additions to this variable.
2574 (xtests): Change dependencies to ....
2575 (xtests-special): ... additions to this variable.
2576 * resolv/Makefile (tests): Change dependencies to ....
2577 (tests-special): ... additions to this variable.
2578 (xtests): Change dependencies to ....
2579 (xtests-special): ... additions to this variable.
2580 * stdio-common/Makefile (tests): Change dependencies to ....
2581 (tests-special): ... additions to this variable.
2582 (do-tst-unbputc): Remove target.
2583 (do-tst-printf): Likewise.
2584 * stdlib/Makefile (tests): Change dependencies to ....
2585 (tests-special): ... additions to this variable.
2586 * string/Makefile (tests): Change dependencies to ....
2587 (tests-special): ... additions to this variable.
2588 * sysdeps/x86/Makefile (tests): Change dependencies to ....
2589 (tests-special): ... additions to this variable.
2591 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
2593 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
2595 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
2596 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
2598 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
2599 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
2600 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
2601 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
2602 * conform/data/libgen.h-data [XPG3]: Likewise.
2603 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
2604 * conform/data/ndbm.h-data [XPG3]: Likewise.
2605 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
2606 * conform/data/netdb.h-data [XPG3]: Likewise.
2607 * conform/data/netinet/in.h-data [XPG3]: Likewise.
2608 * conform/data/poll.h-data [XPG3]: Likewise.
2609 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
2610 * conform/data/strings.h-data [XPG3]: Likewise.
2611 * conform/data/stropts.h-data [XPG3]: Likewise.
2612 * conform/data/sys/mman.h-data [XPG3]: Likewise.
2613 * conform/data/sys/resource.h-data [XPG3]: Likewise.
2614 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
2616 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
2617 * conform/data/sys/time.h-data [XPG3]: Likewise.
2618 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
2619 * conform/data/sys/uio.h-data [XPG3]: Likewise.
2620 * conform/data/sys/un.h-data [XPG3]: Likewise.
2621 * conform/data/syslog.h-data [XPG3]: Likewise.
2622 * conform/data/ucontext.h-data [XPG3]: Likewise.
2623 * conform/data/utmpx.h-data [XPG3]: Likewise.
2624 * conform/data/varargs.h-data [UNIX98]: Enable file.
2626 * manual/Makefile (INSTALL_INFO): Remove variable setting.
2628 * math/libm-test.inc (struct test_f_f_data): Move expected results
2629 into structure for each rounding mode.
2630 (struct test_ff_f_data): Likewise.
2631 (struct test_ff_f_data_nexttoward): Likewise.
2632 (struct test_fi_f_data): Likewise.
2633 (struct test_fl_f_data): Likewise.
2634 (struct test_if_f_data): Likewise.
2635 (struct test_fff_f_data): Likewise.
2636 (struct test_c_f_data): Likewise.
2637 (struct test_f_f1_data): Likewise.
2638 (struct test_fF_f1_data): Likewise.
2639 (struct test_ffI_f1_data): Likewise.
2640 (struct test_c_c_data): Likewise.
2641 (struct test_cc_c_data): Likewise.
2642 (struct test_f_i_data): Likewise.
2643 (struct test_ff_i_data): Likewise.
2644 (struct test_f_l_data): Likewise.
2645 (struct test_f_L_data): Likewise.
2646 (struct test_fFF_11_data): Likewise.
2648 (RM_FE_DOWNWARD): Likewise.
2649 (RM_FE_TONEAREST): Likewise.
2650 (RM_FE_TOWARDZERO): Likewise.
2651 (RM_FE_UPWARD): Likewise.
2652 (RUN_TEST_LOOP_f_f): Update references to expected results.
2653 (RUN_TEST_LOOP_2_f): Likewise.
2654 (RUN_TEST_LOOP_fff_f): Likewise.
2655 (RUN_TEST_LOOP_c_f): Likewise.
2656 (RUN_TEST_LOOP_f_f1): Likewise.
2657 (RUN_TEST_LOOP_fF_f1): Likewise.
2658 (RUN_TEST_LOOP_fI_f1): Likewise.
2659 (RUN_TEST_LOOP_ffI_f1): Likewise.
2660 (RUN_TEST_LOOP_c_c): Likewise.
2661 (RUN_TEST_LOOP_cc_c): Likewise.
2662 (RUN_TEST_LOOP_f_i): Likewise.
2663 (RUN_TEST_LOOP_f_i_tg): Likewise.
2664 (RUN_TEST_LOOP_ff_i_tg): Likewise.
2665 (RUN_TEST_LOOP_f_b): Likewise.
2666 (RUN_TEST_LOOP_f_b_tg): Likewise.
2667 (RUN_TEST_LOOP_f_l): Likewise.
2668 (RUN_TEST_LOOP_f_L): Likewise.
2669 (RUN_TEST_LOOP_fFF_11): Likewise.
2670 * math/gen-libm-test.pl (parse_args): Output four copies of
2671 expected results for each test.
2673 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2674 (__ASSUME_UTIMES): Remove.
2675 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2676 (__ASSUME_UTIMES): Likewise.
2678 * math/gen-auto-libm-tests.c: Update comment on output format.
2679 (output_for_one_input_case): Generate before-rounding and
2680 after-rounding information as conditions on output flags not
2681 floating-point format.
2682 * math/auto-libm-test-out: Regenerated.
2683 * math/gen-libm-test.pl (cond_value): New function.
2684 (or_cond_value): Use cond_value.
2685 (generate_testfile): Handle conditional exceptions.
2687 2014-03-05 Joseph Myers <joseph@codesourcery.com>
2689 * math/libm-test.inc (max_valid_error): New variable.
2690 (init_max_error): Take new argument specifying whether function
2691 results are exactly determined. Set max_valid_error and bound
2692 other variables for errors based on this argument.
2693 (set_max_error): Do not record results above max_valid_error.
2694 (check_float_internal): Only accept errors of up to 0.5ulps if
2695 also at most max_valid_error.
2696 (START): Take new argument EXACT and pass it to init_max_error.
2697 (acos_test): Update call to START.
2698 (acos_test_tonearest): Likewise.
2699 (acos_test_towardzero): Likewise.
2700 (acos_test_downward): Likewise.
2701 (acos_test_upward): Likewise.
2702 (acosh_test): Likewise.
2703 (asin_test): Likewise.
2704 (asin_test_tonearest): Likewise.
2705 (asin_test_towardzero): Likewise.
2706 (asin_test_downward): Likewise.
2707 (asin_test_upward): Likewise.
2708 (asinh_test): Likewise.
2709 (atan_test): Likewise.
2710 (atanh_test): Likewise.
2711 (atan2_test): Likewise.
2712 (cabs_test): Likewise.
2713 (cacos_test): Likewise.
2714 (cacosh_test): Likewise.
2715 (carg_test): Likewise.
2716 (casin_test): Likewise.
2717 (casinh_test): Likewise.
2718 (catan_test): Likewise.
2719 (catanh_test): Likewise.
2720 (cbrt_test): Likewise.
2721 (ccos_test): Likewise.
2722 (ccosh_test): Likewise.
2723 (ceil_test): Likewise.
2724 (cexp_test): Likewise.
2725 (cimag_test): Likewise.
2726 (clog_test): Likewise.
2727 (clog10_test): Likewise.
2728 (conj_test): Likewise.
2729 (copysign_test): Likewise.
2730 (cos_test): Likewise.
2731 (cos_test_tonearest): Likewise.
2732 (cos_test_towardzero): Likewise.
2733 (cos_test_downward): Likewise.
2734 (cos_test_upward): Likewise.
2735 (cosh_test): Likewise.
2736 (cosh_test_tonearest): Likewise.
2737 (cosh_test_towardzero): Likewise.
2738 (cosh_test_downward): Likewise.
2739 (cosh_test_upward): Likewise.
2740 (cpow_test): Likewise.
2741 (cproj_test): Likewise.
2742 (creal_test): Likewise.
2743 (csin_test): Likewise.
2744 (csinh_test): Likewise.
2745 (csqrt_test): Likewise.
2746 (ctan_test): Likewise.
2747 (ctan_test_tonearest): Likewise.
2748 (ctan_test_towardzero): Likewise.
2749 (ctan_test_downward): Likewise.
2750 (ctan_test_upward): Likewise.
2751 (ctanh_test): Likewise.
2752 (ctanh_test_tonearest): Likewise.
2753 (ctanh_test_towardzero): Likewise.
2754 (ctanh_test_downward): Likewise.
2755 (ctanh_test_upward): Likewise.
2756 (erf_test): Likewise.
2757 (erfc_test): Likewise.
2758 (exp_test): Likewise.
2759 (exp_test_tonearest): Likewise.
2760 (exp_test_towardzero): Likewise.
2761 (exp_test_downward): Likewise.
2762 (exp_test_upward): Likewise.
2763 (exp10_test): Likewise.
2764 (exp10_test_tonearest): Likewise.
2765 (exp10_test_towardzero): Likewise.
2766 (exp10_test_downward): Likewise.
2767 (exp10_test_upward): Likewise.
2768 (pow10_test): Likewise.
2769 (exp2_test): Likewise.
2770 (expm1_test): Likewise.
2771 (expm1_test_tonearest): Likewise.
2772 (expm1_test_towardzero): Likewise.
2773 (expm1_test_downward): Likewise.
2774 (expm1_test_upward): Likewise.
2775 (fabs_test): Likewise.
2776 (fdim_test): Likewise.
2777 (floor_test): Likewise.
2778 (fma_test): Likewise.
2779 (fma_test_towardzero): Likewise.
2780 (fma_test_downward): Likewise.
2781 (fma_test_upward): Likewise.
2782 (fmax_test): Likewise.
2783 (fmin_test): Likewise.
2784 (fmod_test): Likewise.
2785 (fpclassify_test): Likewise.
2786 (frexp_test): Likewise.
2787 (hypot_test): Likewise.
2788 (ilogb_test): Likewise.
2789 (isfinite_test): Likewise.
2790 (finite_test): Likewise.
2791 (isgreater_test): Likewise.
2792 (isgreaterequal_test): Likewise.
2793 (isinf_test): Likewise.
2794 (isless_test): Likewise.
2795 (islessequal_test): Likewise.
2796 (islessgreater_test): Likewise.
2797 (isnan_test): Likewise.
2798 (isnormal_test): Likewise.
2799 (issignaling_test): Likewise.
2800 (isunordered_test): Likewise.
2801 (j0_test): Likewise.
2802 (j1_test): Likewise.
2803 (jn_test): Likewise.
2804 (ldexp_test): Likewise.
2805 (lgamma_test): Likewise.
2806 (gamma_test): Likewise.
2807 (lrint_test): Likewise.
2808 (lrint_test_tonearest): Likewise.
2809 (lrint_test_towardzero): Likewise.
2810 (lrint_test_downward): Likewise.
2811 (lrint_test_upward): Likewise.
2812 (llrint_test): Likewise.
2813 (llrint_test_tonearest): Likewise.
2814 (llrint_test_towardzero): Likewise.
2815 (llrint_test_downward): Likewise.
2816 (llrint_test_upward): Likewise.
2817 (log_test): Likewise.
2818 (log10_test): Likewise.
2819 (log1p_test): Likewise.
2820 (log2_test): Likewise.
2821 (logb_test): Likewise.
2822 (logb_test_downward): Likewise.
2823 (lround_test): Likewise.
2824 (llround_test): Likewise.
2825 (modf_test): Likewise.
2826 (nearbyint_test): Likewise.
2827 (nextafter_test): Likewise.
2828 (nexttoward_test): Likewise.
2829 (pow_test): Likewise.
2830 (pow_test_tonearest): Likewise.
2831 (pow_test_towardzero): Likewise.
2832 (pow_test_downward): Likewise.
2833 (pow_test_upward): Likewise.
2834 (remainder_test): Likewise.
2835 (drem_test): Likewise.
2836 (remainder_test_tonearest): Likewise.
2837 (drem_test_tonearest): Likewise.
2838 (remainder_test_towardzero): Likewise.
2839 (drem_test_towardzero): Likewise.
2840 (remainder_test_downward): Likewise.
2841 (drem_test_downward): Likewise.
2842 (remainder_test_upward): Likewise.
2843 (drem_test_upward): Likewise.
2844 (remquo_test): Likewise.
2845 (rint_test): Likewise.
2846 (rint_test_tonearest): Likewise.
2847 (rint_test_towardzero): Likewise.
2848 (rint_test_downward): Likewise.
2849 (rint_test_upward): Likewise.
2850 (round_test): Likewise.
2851 (scalb_test): Likewise.
2852 (scalbn_test): Likewise.
2853 (scalbln_test): Likewise.
2854 (signbit_test): Likewise.
2855 (sin_test): Likewise.
2856 (sin_test_tonearest): Likewise.
2857 (sin_test_towardzero): Likewise.
2858 (sin_test_downward): Likewise.
2859 (sin_test_upward): Likewise.
2860 (sincos_test): Likewise.
2861 (sinh_test): Likewise.
2862 (sinh_test_tonearest): Likewise.
2863 (sinh_test_towardzero): Likewise.
2864 (sinh_test_downward): Likewise.
2865 (sinh_test_upward): Likewise.
2866 (sqrt_test): Likewise.
2867 (sqrt_test_tonearest): Likewise.
2868 (sqrt_test_towardzero): Likewise.
2869 (sqrt_test_downward): Likewise.
2870 (sqrt_test_upward): Likewise.
2871 (tan_test): Likewise.
2872 (tan_test_tonearest): Likewise.
2873 (tan_test_towardzero): Likewise.
2874 (tan_test_downward): Likewise.
2875 (tan_test_upward): Likewise.
2876 (tanh_test): Likewise.
2877 (tgamma_test): Likewise.
2878 (trunc_test): Likewise.
2879 (y0_test): Likewise.
2880 (y1_test): Likewise.
2881 (yn_test): Likewise.
2882 (significand_test): Likewise.
2884 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
2885 individual tests in comment.
2886 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
2887 (prev_max_error): New variable.
2888 (prev_real_max_error): Likewise.
2889 (prev_imag_max_error): Likewise.
2890 (compare_ulp_data): Don't refer to test names in comment.
2891 (find_test_ulps): Remove function.
2892 (find_function_ulps): Likewise.
2893 (find_complex_function_ulps): Likewise.
2894 (init_max_error): Take function name as argument. Look up ulps
2896 (print_ulps): Remove function.
2897 (print_max_error): Use prev_max_error instead of calling
2899 (print_complex_max_error): Use prev_real_max_error and
2900 prev_imag_max_error instead of calling find_complex_function_ulps.
2901 (check_float_internal): Take max_ulp parameter instead of calling
2902 find_test_ulps. Don't call print_ulps.
2903 (check_float): Update call to check_float_internal.
2904 (check_complex): Update calls to check_float_internal.
2905 (START): Pass argument to init_max_error.
2906 * math/gen-libm-test.pl (%results): Don't include "kind"
2908 (parse_ulps): Don't handle ulps of individual tests.
2909 (print_ulps_file): Likewise.
2910 (output_ulps): Likewise.
2911 * math/README.libm-test: Update.
2912 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
2914 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
2915 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
2916 * sysdeps/arm/libm-test-ulps: Likewise.
2917 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
2918 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
2919 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
2920 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
2921 * sysdeps/microblaze/libm-test-ulps: Likewise.
2922 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
2923 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2924 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2925 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
2926 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2927 * sysdeps/sh/libm-test-ulps: Likewise.
2928 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2929 * sysdeps/tile/libm-test-ulps: Likewise.
2930 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2932 2014-03-04 Joseph Myers <joseph@codesourcery.com>
2934 * math/libm-test.inc (print_complex_max_error): Check separately
2935 whether real and imaginary errors are within allowed range and
2936 pass 0 to print_complex_function_ulps instead of value within
2939 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2941 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
2943 (get_handles_fopen): Likewise.
2944 (do_write_test): Likewise.
2946 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
2948 * libio/fileops.c (do_ftell): Use cached offset when
2950 * libio/iofwide.c (do_ftell_wide): Likewise.
2951 * libio/iofdopen.c (_IO_new_fdopen): Don't use
2953 * libio/wfileops.c (_IO_fwide): Don't cache offset.
2956 * libio/libioP.h (get_file_offset): New function.
2957 * libio/fileops.c (get_file_offset): Likewise.
2958 (do_ftell): Likewise.
2959 (_IO_new_file_seekoff): Split out ftell logic.
2960 * libio/wfileops.c (do_ftell_wide): Likewise.
2961 (_IO_wfile_seekoff): Split out ftell logic.
2962 * libio/tst-ftell-active-handler.c: New test case.
2963 * libio/Makefile (tests): Add it.
2965 2014-03-03 Roland McGrath <roland@hack.frob.com>
2967 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
2968 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
2970 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
2973 * nscd/connections.c (nscd_init): Call do_exit.
2974 (start_threads): Call do_exit and notify_parent.
2975 (begin_drop_privileges): Call do_exit.
2976 (finish_drop_privileges): Likewise.
2977 * nscd/selinux.c (preserve_capabilities): Likewise.
2978 (install_real_capabilities): Likewise.
2979 (nscd_selinux_enabled): Likewise.
2980 (avc_create_thread): Likewise.
2981 (avc_alloc_lock): Likewise.
2982 (nscd_avc_init): Likewise.
2983 * nscd/nscd.c (parent_fd): New static variable.
2984 (main): Create a pipe between parent and child processes.
2985 Skip closing parent_fd.
2986 (monitor_child): New function.
2987 (do_exit): Likewise.
2988 (notify_parent): Likewise.
2989 * nscd/nscd.h (notify_parent): Likewise.
2990 (do_exit): Likewise.
2992 2014-03-03 Carlos O'Donell <carlos@redhat.com>
2994 * malloc/malloc.c (__libc_calloc): Revert last change.
2996 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2998 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3000 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3002 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
3003 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
3005 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3006 (__libc_ifunc_impl_list): Likewise.
3007 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
3008 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
3009 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
3010 * string/strrchr.c: Define STRRCHR.
3012 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
3014 * benchtest/bench-strtok.c (simple_strtok): Delete.
3015 (strtok_string): Use as benchmark.
3016 * string/strtok (STRTOK): New macro.
3018 2014-02-28 Carlos O'Donell <carlos@redhat.com>
3020 * manual/threads.texi: Add header and standard comments to all
3023 * elf/dl-lookup.c (check_match): New function.
3024 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
3025 (do_lookup_x): Remove nested function check_match. Use non-nested
3026 function check_match.
3028 2014-02-28 Roland McGrath <roland@hack.frob.com>
3030 * csu/Makefile (generated, before-compile): Use += rather than =.
3031 * catgets/Makefile (generated, generated-dirs): Likewise.
3032 * debug/Makefile (generated): Likewise.
3033 * dlfcn/Makefile (generated): Likewise.
3034 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
3035 * iconvdata/Makefile (before-compile, generated): Likewise.
3036 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
3037 * libio/Makefile (generated): Likewise.
3038 * malloc/Makefile (generated): Likewise.
3039 * manual/Makefile (generated, generated-dirs): Likewise.
3040 * misc/Makefile (generated): Likewise.
3041 * posix/Makefile (generated): Likewise.
3042 * resolv/Makefile (generated): Likewise.
3043 * sunrpc/Makefile (generated, generated-dirs): Likewise.
3044 * timezone/Makefile (generated, generated-dirs): Likewise.
3046 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
3048 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3050 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
3051 power8 implementation.
3052 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
3053 file: POWER8 llround ifunc implementation.
3054 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
3055 (__lllround): Add POWER8 implementation.
3056 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
3057 POWER8 llround implementation.
3059 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
3060 power8 implementation.
3061 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
3062 file: POWER8 llrint ifunc implementation.
3063 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
3064 Add POWER8 implementation.
3065 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
3066 POWER8 llrint implementation.
3068 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
3069 power8 implementation.
3070 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
3071 file: POWER8 finite ifunc implementation.
3072 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
3073 Add POWER8 implementation.
3074 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
3076 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
3077 POWER8 finite implementation.
3078 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
3080 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
3081 power8 implementation.
3082 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
3083 file: POWER8 isinf ifunc implementation.
3084 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
3085 POWER8 implementation.
3086 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
3088 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
3089 isinf implementation.
3090 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
3092 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
3093 (INIT_ARCH): Add hwcap2 initialization.
3094 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
3095 power8 implementation.
3096 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
3097 file: POWER8 isnan ifunc implementation.
3098 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
3099 POWER8 implementation.
3100 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
3102 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
3103 isnan implementation.
3104 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
3106 2014-02-27 Joey Ye <joey.ye@arm.com>
3108 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
3109 (_FP_NANFRAC_Q): Set to zero.
3111 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3114 * math/auto-libm-test-in: New test inputs.
3115 * math/auto-libm-test-out: Regenerate.
3116 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
3119 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
3121 2014-02-27 Joseph Myers <joseph@codesourcery.com>
3123 * scripts/evaluate-test.sh: Take new argument indicating whether
3124 failure is expected.
3125 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
3126 indicating whether failure is expected.
3127 * conform/Makefile (test-xfail-run-conformtest): New variable.
3128 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
3130 * posix/Makefile (test-xfail-annexc): New variable.
3131 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
3133 2014-02-26 Joseph Myers <joseph@codesourcery.com>
3135 * argp/Makefile: Include Makeconfig immediately after defining
3137 * assert/Makefile: Likewise.
3138 * benchtests/Makefile: Likewise.
3139 * catgets/Makefile: Likewise.
3140 * conform/Makefile: Likewise.
3141 * crypt/Makefile: Likewise.
3142 * csu/Makefile: Likewise.
3143 (all): Remove target.
3144 * ctype/Makefile: Include Makeconfig immediately after defining
3146 * debug/Makefile: Likewise.
3147 * dirent/Makefile: Likewise.
3148 * dlfcn/Makefile: Likewise.
3149 * gmon/Makefile: Likewise.
3150 * gnulib/Makefile: Likewise.
3151 * grp/Makefile: Likewise.
3152 * gshadow/Makefile: Likewise.
3153 * hesiod/Makefile: Likewise.
3154 * hurd/Makefile: Likewise.
3155 (all): Remove target.
3156 * iconvdata/Makefile: Include Makeconfig immediately after
3158 * inet/Makefile: Likewise.
3159 * intl/Makefile: Likewise.
3160 * io/Makefile: Likewise.
3161 * libio/Makefile: Likewise.
3162 (all): Remove target.
3163 * locale/Makefile: Include Makeconfig immediately after defining
3165 * login/Makefile: Likewise.
3166 * mach/Makefile: Likewise.
3167 (all): Remove target.
3168 * malloc/Makefile: Include Makeconfig immediately after defining
3170 (all): Remove target.
3171 * manual/Makefile: Include Makeconfig immediately after defining
3173 * math/Makefile: Likewise.
3174 * misc/Makefile: Likewise.
3175 * nis/Makefile: Likewise.
3176 * nss/Makefile: Likewise.
3177 * po/Makefile: Likewise.
3178 (all): Remove target.
3179 * posix/Makefile: Include Makeconfig immediately after defining
3181 * pwd/Makefile: Likewise.
3182 * resolv/Makefile: Likewise.
3183 * resource/Makefile: Likewise.
3184 * rt/Makefile: Likewise.
3185 * setjmp/Makefile: Likewise.
3186 * shadow/Makefile: Likewise.
3187 * signal/Makefile: Likewise.
3188 * socket/Makefile: Likewise.
3189 * soft-fp/Makefile: Likewise.
3190 * stdio-common/Makefile: Likewise.
3191 * stdlib/Makefile: Likewise.
3192 * streams/Makefile: Likewise.
3193 * string/Makefile: Likewise.
3194 * sunrpc/Makefile: Likewise.
3195 (all): Remove target.
3196 * sysvipc/Makefile: Include Makeconfig immediately after defining
3198 * termios/Makefile: Likewise.
3199 * time/Makefile: Likewise.
3200 * timezone/Makefile: Likewise.
3201 (all): Remove target.
3202 * wcsmbs/Makefile: Include Makeconfig immediately after defining
3204 * wctype/Makefile: Likewise.
3206 2014-02-26 Steve Ellcey <sellcey@mips.com>
3208 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
3209 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
3210 (libc_feholdexcept_setround_mips): Ditto.
3211 (libc_feholdsetround): New.
3212 (libc_feholdsetroundf): New.
3213 (libc_feholdsetroundl): New.
3214 (libc_feupdateenv_test_mips): New.
3215 (libc_feupdateenv_test): New.
3216 (libc_feupdateenv_testf): New.
3217 (libc_feupdateenv_testl): New.
3218 (libc_feresetround): New.
3219 (libc_feresetroundf): New.
3220 (libc_feresetroundl): New.
3221 (libc_fetestexcept_mips): New.
3222 (libc_fetestexcept): New.
3223 (libc_fetestexceptf): New.
3224 (libc_fetestexceptl): New.
3226 (libc_feholdexcept_setround_mips_ctx): New.
3227 (libc_feholdexcept_setround_ctx): New.
3228 (libc_feholdexcept_setroundf_ctx): New.
3229 (libc_feholdexcept_setroundl_ctx): New.
3230 (libc_fesetenv_mips_ctx): New.
3231 (libc_fesetenv_ctx): New.
3232 (libc_fesetenv_ctxf): New.
3233 (libc_fesetenv_ctxl): New.
3234 (libc_feupdateenv_mips_ctx): New.
3235 (libc_feupdateenv_ctx): New.
3236 (libc_feupdateenvf_ctx): New.
3237 (libc_feupdateenvl_ctx): New.
3238 (libc_feholdsetround_mips_ctx): New.
3239 (libc_feholdsetround_ctx): New.
3240 (libc_feholdsetroundf_ctx): New.
3241 (libc_feholdsetroundl_ctx): New.
3242 (libc_feresetround_mips_ctx): New.
3243 (libc_feresetround_ctx): New.
3244 (libc_feresetroundf_ctx): New.
3245 (libc_feresetroundl_ctx): New.
3247 2014-02-26 Carlos O'Donell <carlos@redhat.com>
3249 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
3251 * manual/ipc.texi: New file.
3252 * manual/Makefile (chapters): Add ipc.
3253 * manual/job.texi: Add "Inter-Process Communication" to next.
3254 * manual/process.texi: Add "Inter-Process Communication" to prev.
3256 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3258 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3260 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
3262 * malloc/malloc.c (__libc_calloc): Simplify implementation.
3264 * manual/arith.texi: Fix spaces after sentences.
3265 * manual/charset.texi: Likewise.
3266 * manual/errno.texi: Likewise.
3267 * manual/install.texi: Likewise.
3268 * manual/llio.texi: Likewise.
3269 * manual/locale.texi: Likewise.
3270 * manual/maint.texi: Likewise.
3271 * manual/math.texi: Likewise.
3272 * manual/memory.texi: Likewise.
3273 * manual/message.texi: Likewise.
3274 * manual/probes.texi: Likewise.
3275 * manual/resource.texi: Likewise.
3276 * manual/signal.texi: Likewise.
3277 * manual/socket.texi: Likewise.
3278 * manual/stdio.texi: Likewise.
3279 * manual/string.texi: Likewise.
3280 * manual/time.texi: Likewise.
3281 * manual/users.texi: Likewise.
3283 2014-02-25 Carlos O'Donell <carlos@redhat.com>
3286 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
3287 _DEFAULT_SOURCE is defined.
3289 2014-02-25 Ulrich Drepper <drepper@gmail.com>
3290 Carlos O'Donell <carlos@redhat.com>
3293 * elf/dl-tls.c (_dl_count_modids): New function.
3294 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
3295 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
3296 audit library and increment generation counter.
3297 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
3298 * elf/tst-audit9.c: New file.
3299 * elf/tst-auditmod9a.c: New file.
3300 * elf/tst-auditmod9b.c: New file.
3301 * elf/Makefile: Add rules to build and run tst-audit9.
3303 2014-02-25 Florian Weimer <fweimer@redhat.com>
3306 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
3308 2014-02-25 Will Newton <will.newton@linaro.org>
3310 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
3311 (__longjmp): Restore sp and lr before restoring callee
3312 saved registers. Add longjmp and longjmp_target
3313 SystemTap probe point.
3314 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
3315 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
3316 Define to zero to match jmpbuf layout.
3317 * sysdeps/arm/setjmp.S: Include stap-probe.h.
3318 (__sigsetjmp): Save sp and lr before saving callee
3319 saved registers. Add setjmp SystemTap probe point.
3321 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
3323 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3325 2014-02-24 Andreas Schwab <schwab@suse.de>
3328 * elf/pldd.c (wait_for_ptrace_stop): New function.
3329 (main): Call it after attaching.
3331 2014-02-22 Roland McGrath <roland@hack.frob.com>
3333 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
3334 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
3335 Versions files is now verboten.
3336 * hurd/Versions (libc: GLIBC_2.0):
3337 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
3338 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
3339 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
3340 * mach/Versions: Likewise.
3342 * csu/Versions: Remove unused %include.
3343 * resolv/Versions: Likewise.
3345 2014-02-21 Joseph Myers <joseph@codesourcery.com>
3347 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
3348 ($(objpfx)check-local-headers.out): Likewise.
3349 ($(objpfx)begin-end-check.out): Likewise.
3350 * Makerules (check-abi-%.out): Likewise.
3351 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
3352 ($(objpfx)test2.cat): Likewise.
3353 ($(objpfx)de/libc.cat): Likewise.
3354 ($(objpfx)test-gencat.out): Likewise.
3355 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
3356 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
3357 ($(objpfx)noload-mem): Likewise.
3358 ($(objpfx)tst-pathopt.out): Likewise.
3359 ($(objpfx)tst-rtld-load-self.out): Likewise.
3360 ($(objpfx)tst-array1-cmp.out): Likewise.
3361 ($(objpfx)tst-array1-static-cmp.out): Likewise.
3362 ($(objpfx)tst-array2-cmp.out): Likewise.
3363 ($(objpfx)tst-array3-cmp.out): Likewise.
3364 ($(objpfx)tst-array4-cmp.out): Likewise.
3365 ($(objpfx)tst-array5-cmp.out): Likewise.
3366 ($(objpfx)tst-array5-static-cmp.out): Likewise.
3367 ($(objpfx)check-textrel.out): Likewise.
3368 ($(objpfx)check-execstack.out): Likewise.
3369 ($(objpfx)check-localplt.out): Likewise.
3370 ($(objpfx)order2-cmp.out): Likewise.
3371 ($(objpfx)tst-leaks1-mem): Likewise.
3372 ($(objpfx)tst-leaks1-static-mem): Likewise.
3373 ($(objpfx)tst-initorder-cmp.out): Likewise.
3374 ($(objpfx)tst-initorder2-cmp.out): Likewise.
3375 ($(objpfx)tst-unused-dep.out): Likewise.
3376 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
3377 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
3378 * iconv/Makefile (test-iconvconfig): Likewise.
3379 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
3380 ($(objpfx)iconv-test.out): Likewise.
3381 ($(objpfx)tst-tables.out): Likewise.
3382 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
3383 ($(objpfx)tst-gettext.out): Likewise.
3384 ($(objpfx)tst-translit.out): Likewise.
3385 ($(objpfx)tst-gettext2.out): Likewise.
3386 ($(objpfx)tst-gettext4.out): Likewise.
3387 ($(objpfx)tst-gettext6.out): Likewise.
3388 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
3389 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
3390 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
3391 ($(objpfx)tst-fopenloc-mem.out): Likewise.
3392 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
3393 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
3394 * posix/Makefile ($(objpfx)globtest.out): Likewise.
3395 ($(objpfx)wordexp-tst.out): Likewise.
3396 ($(objpfx)annexc.out): Likewise.
3397 ($(objpfx)tst-fnmatch-mem): Likewise.
3398 ($(objpfx)bug-regex2-mem): Likewise.
3399 ($(objpfx)bug-regex14-mem): Likewise.
3400 ($(objpfx)bug-regex21-mem): Likewise.
3401 ($(objpfx)bug-regex31-mem): Likewise.
3402 ($(objpfx)tst-vfork3-mem): Likewise.
3403 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
3404 ($(objpfx)tst-pcre-mem): Likewise.
3405 ($(objpfx)tst-boost-mem): Likewise.
3406 ($(objpfx)tst-getconf.out): Likewise.
3407 ($(objpfx)bug-ga2-mem): Likewise.
3408 ($(objpfx)bug-glob2-mem): Likewise.
3409 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
3410 ($(objpfx)mtrace-tst-leaks2): Likewise.
3411 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
3412 ($(objpfx)tst-printf.out): Likewise.
3413 ($(objpfx)tst-setvbuf1.out): Likewise.
3414 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
3415 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
3416 ($(objpfx)tst-fmtmsg.out): Likewise.
3417 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
3418 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
3420 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
3421 * bits/sigaction.h [__USE_MISC]: Likewise.
3422 * bits/waitstatus.h: Update #endif comments.
3423 * ctype/ctype.h: Likewise.
3424 * dirent/dirent.h: Likewise.
3425 [__USE_MISC]: Remove redundant conditionals.
3426 * grp/grp.h: Update #endif comments.
3427 [__USE_GNU]: Remove redundant conditionals.
3428 [__USE_MISC]: Likewise.
3429 * inet/netinet/in.h [__USE_GNU]: Likewise.
3430 * io/sys/stat.h [__USE_MISC]: Likewise.
3431 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
3432 * libio/bits/stdio.h: Update #endif comments.
3433 [__USE_MISC]: Remove redundant conditionals.
3434 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
3435 * libio/stdio.h: Update #endif comments.
3436 [__USE_MISC]: Remove redundant conditionals.
3437 * math/bits/math-finite.h [__USE_MISC]: Likewise.
3438 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
3439 * math/math.h: Update #else and #endif comments.
3440 [__USE_MISC]: Remove redundant conditionals.
3441 * misc/sys/uio.h: Update #endif comments.
3442 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
3443 * posix/glob.h [__USE_MISC]: Likewise.
3444 * posix/sys/types.h: Update #endif comments.
3445 [__USE_MISC]: Remove redundant conditionals.
3446 * posix/sys/wait.h: Update #endif comments.
3447 [__USE_MISC]: Remove redundant conditionals.
3448 * posix/unistd.h: Update #endif comments.
3449 [__USE_MISC]: Remove redundant conditionals.
3450 * pwd/pwd.h [__USE_GNU]: Likewise.
3451 [__USE_MISC]: Likewise.
3452 * resolv/netdb.h [__USE_GNU]: Likewise.
3453 * signal/signal.h: Update #endif comments.
3454 [__USE_MISC]: Remove redundant conditionals.
3455 * stdlib/stdlib.h: Update #else and #endif comments.
3456 [__USE_MISC]: Remove redundant conditionals.
3457 [__USE_GNU]: Likewise.
3458 * string/bits/string2.h [__USE_MISC]: Likewise.
3459 * string/string.h: Update #endif comments.
3460 [__USE_MISC]: Remove redundant conditionals.
3461 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
3463 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
3464 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
3465 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
3467 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
3469 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
3471 [__USE_MISC]: Remove redundant conditionals.
3472 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
3473 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
3474 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
3475 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
3476 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
3478 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
3479 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
3481 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
3482 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
3484 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
3486 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
3487 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
3489 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
3491 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
3492 * sysdeps/x86/bits/string.h: Update #endif comments.
3493 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
3495 * time/sys/time.h: Update #endif comments.
3496 * time/time.h: Likewise.
3497 [__USE_MISC]: Remove redundant conditionals.
3499 2014-02-21 Yury Gribov <y.gribov@samsung.com>
3502 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
3504 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
3506 * Versions.def (librt): Add GLIBC_2.17.
3508 2014-02-21 Adam Conrad <adconrad@0c3.net>
3510 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
3511 synonym for _SYS_AUXV_H to allow direct inclusion.
3512 * sysdeps/sparc/bits/hwcap.h: Likewise.
3513 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
3514 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
3515 * sysdeps/sparc/sysdep.h: Likewise.
3517 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3519 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
3521 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3523 * benchtests/bench-strrchr.c: Print length instead of position.
3525 2014-02-20 Joseph Myers <joseph@codesourcery.com>
3528 * sysdeps/unix/sysv/linux/kernel-features.h
3529 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
3530 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
3531 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
3532 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
3534 [__i386__ || __powerpc__ || __sh__ || __sparc__]
3535 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3536 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
3537 (__ASSUME_SENDMMSG): Define instead of using previous
3538 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
3539 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3540 (__ASSUME_SENDMMSG_SYSCALL): Define.
3541 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3542 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
3544 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3545 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3547 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3548 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3550 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
3551 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
3552 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
3553 [__ASSUME_SENDMMSG]: Change conditionals to
3554 [__ASSUME_SENDMMSG_SOCKETCALL].
3555 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3556 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
3558 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3559 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
3561 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
3562 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
3563 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
3564 [!__ASSUME_SENDMMSG]: Change conditional to
3565 [!__ASSUME_SENDMMSG_SOCKETCALL].
3566 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3567 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3571 * sysdeps/unix/sysv/linux/kernel-features.h
3572 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
3573 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
3574 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
3575 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
3576 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3577 [__i386__ || __sparc__]
3578 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3579 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
3580 (__ASSUME_RECVMMSG): Define instead of using previous
3581 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
3582 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3583 (__ASSUME_RECVMMSG_SYSCALL): Define.
3584 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3585 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3587 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3588 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3590 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3591 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3593 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
3594 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
3595 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
3596 [__ASSUME_RECVMMSG]: Change condition to
3597 [__ASSUME_RECVMMSG_SOCKETCALL].
3598 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3599 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3601 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3602 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3603 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3605 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
3606 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
3607 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
3608 [!__ASSUME_RECVMMSG]: Change condition to
3609 [!__ASSUME_RECVMMSG_SOCKETCALL].
3610 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3611 (__ASSUME_RECVMMSG_SYSCALL): Define.
3614 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
3615 __powerpc__ || __s390__ || __sh__ || __sparc__]
3616 (__ASSUME_SOCKETCALL): Define.
3617 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
3618 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
3619 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
3620 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
3621 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3622 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
3623 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
3624 (__ASSUME_ACCEPT4): Define instead of using previous
3625 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
3626 __powerpc__ || __sparc__ || __s390__)] condition.
3627 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3628 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
3629 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
3630 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
3631 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
3632 [!__ASSUME_ACCEPT4]: Change condition to
3633 [!__ASSUME_ACCEPT4_SOCKETCALL].
3634 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3635 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
3636 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
3637 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3638 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
3639 __ASSUME_ACCEPT4_SYSCALL.
3640 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
3641 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
3642 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3643 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
3644 __ASSUME_ACCEPT4_SYSCALL.
3645 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
3646 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
3647 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
3648 [__ASSUME_ACCEPT4]: Change condition to
3649 [__ASSUME_ACCEPT4_SOCKETCALL].
3650 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3651 (__ASSUME_SOCKETCALL): Define.
3652 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
3653 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3654 (__ASSUME_SOCKETCALL): Define.
3655 (__ASSUME_ACCEPT4): Remove.
3656 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
3658 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3659 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
3661 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3662 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
3664 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
3666 (HWCAP_ARM_LPAE): Likewise.
3667 (HWCAP_ARM_EVTSTRM): Likewise.
3668 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
3669 Add vpfd32, lpae and evtstrm.
3670 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
3673 2014-02-19 Joseph Myers <joseph@codesourcery.com>
3675 * math/auto-libm-test-in: Add tests of clog10.
3676 * math/auto-libm-test-out: Regenerated.
3677 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
3678 * sysdeps/i386/fpu/libm-test-ulps: Update.
3679 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3681 2014-02-18 Andreas Schwab <schwab@suse.de>
3684 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
3685 Store non-zero if the second buffer was newly allocated.
3686 (send_dg): Likewise.
3687 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
3688 to send_vc and send_dg.
3689 (res_nsend): Pass NULL for ansp2_malloced.
3690 * resolv/res_query.c (__libc_res_nquery): Add parameter
3691 answerp2_malloced and pass it down to __libc_res_nsend.
3692 (res_nquery): Pass additional NULL to __libc_res_nquery.
3693 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
3694 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
3695 second answer buffer if answerp2_malloced was set.
3696 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
3697 (__libc_res_nquerydomain): Add parameter
3698 answerp2_malloced and pass it down to __libc_res_nquery.
3699 (res_nquerydomain): Pass additional NULL to
3700 __libc_res_nquerydomain.
3701 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
3702 additional NULL to __libc_res_nsend and __libc_res_nquery.
3703 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
3704 additional NULL to __libc_res_nsearch.
3705 (_nss_dns_gethostbyname4_r): Revert last change. Use new
3706 parameter of __libc_res_nsearch to check for separately allocated
3708 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
3710 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
3711 additional NULL to __libc_res_nquery.
3712 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
3714 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
3715 * include/resolv.h: Update prototypes of __libc_res_nquery,
3716 __libc_res_nsearch, __libc_res_nsend.
3718 2014-02-18 Joseph Myers <joseph@codesourcery.com>
3720 * math/auto-libm-test-in: Add tests of fma.
3721 * math/auto-libm-test-out: Regenerated.
3722 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
3723 (fma_towardzero_test_data): Likewise.
3724 (fma_downward_test_data): Likewise.
3725 (fma_upward_test_data): Likewise.
3726 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
3728 (rounding_modes): Add values for new field.
3729 (func_calc_method): Add value mpfr_fff_f.
3730 (func_calc_desc): Add mpfr_fff_f union field.
3731 (test_function): Add field exact_args.
3732 (FUNC): Add macro argument EXACT_ARGS.
3733 (FUNC_mpfr_f_f): Update call to FUNC.
3734 (FUNC_mpfr_f_f): Likewise.
3735 (FUNC_mpfr_ff_f): Likewise.
3736 (FUNC_mpfr_if_f): Likewise.
3737 (FUNC_mpc_c_f): Likewise.
3738 (FUNC_mpc_c_c): Likewise.
3739 (test_functions): Add fma. Update calls to FUNC.
3740 (handle_input_arg): Add argument exact_args.
3741 (add_test): Update call to handle_input_arg.
3742 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
3743 (output_for_one_input_case): Update call to calc_generic_results.
3744 Recalculate exact zero results in each rounding mode.
3746 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
3747 non-negative before setting low bit.
3748 * math/auto-libm-test-in: Mark one asin test possibly having
3750 * math/auto-libm-test-out: Regenerated.
3751 * sysdeps/i386/fpu/libm-test-ulps: Update.
3752 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3754 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
3756 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
3757 * sysdeps/unix/sysv/linux/microblaze: Move directory from
3758 ports/sysdeps/unix/sysv/linux/microblaze.
3759 * README: Add missing listing for microblaze*-*-linux-gnu.
3761 2014-02-16 Mike Frysinger <vapier@gentoo.org>
3763 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
3764 * sysdeps/unix/sysv/linux/ia64: Move directory from
3765 ports/sysdeps/unix/sysv/linux/ia64.
3766 * README: Update listing for ia64-*-linux-gnu.
3768 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
3769 Joseph Myers <joseph@codesourcery.com>
3771 * Makeconfig (test-name): New variable.
3772 (evaluate-test): Likewise.
3773 * Makerules (do-test-clean): Remove .test-result files.
3774 (common-mostlyclean): Likewise.
3775 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
3776 * scripts/evaluate-test.sh: New file.
3778 2014-02-14 Joseph Myers <joseph@codesourcery.com>
3780 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
3781 separate $(objpfx)tst-fopenloc-cmp.out and
3782 $(objpfx)tst-fopenloc-mem.out targets.
3783 (tests): Update dependencies.
3784 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
3785 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
3786 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
3787 (tst-rxspencer-no-utf8-ARGS): New variable.
3788 (tst-rxspencer-no-utf8-ENV): Likewise.
3789 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
3790 instead of $(objpfx)tst-rxspencer-mem.
3791 ($(objpfx)tst-rxspencer-mem): Change target to
3792 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
3793 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
3794 * posix/tst-rxspencer-no-utf8.c: New file.
3796 * elf/Makefile ($(objpfx)order.out): Remove rule.
3797 [$(run-built-tests) = yes] (tests): Depend on
3798 $(objpfx)order-cmp.out.
3799 ($(objpfx)order-cmp.out): New rule.
3800 [$(run-built-tests) = yes] (tests): Depend on
3801 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
3802 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
3803 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
3804 $(objpfx)tst-array5-static-cmp.out.
3805 ($(objpfx)tst-array1.out): Remove rule.
3806 ($(objpfx)tst-array1-cmp.out): New rule.
3807 ($(objpfx)tst-array1-static.out): Remove rule.
3808 ($(objpfx)tst-array1-static-cmp.out): New rule.
3809 ($(objpfx)tst-array2.out): Remove rule.
3810 ($(objpfx)tst-array2-cmp.out): New rule.
3811 ($(objpfx)tst-array3.out): Remove rule.
3812 ($(objpfx)tst-array3-cmp.out): New rule.
3813 ($(objpfx)tst-array4.out): Remove rule.
3814 ($(objpfx)tst-array4-cmp.out): New rule.
3815 ($(objpfx)tst-array5.out): Remove rule.
3816 ($(objpfx)tst-array5-cmp.out): New rule.
3817 ($(objpfx)tst-array5-static.out): Remove rule.
3818 ($(objpfx)tst-array5-static-cmp.out): New rule.
3819 [$(run-built-tests) = yes] (tests): Depend on
3820 $(objpfx)order2-cmp.out.
3821 ($(objpfx)order2.out): Remove rule.
3822 ($(objpfx)order2-cmp.out): New rule.
3823 ($(objpfx)tst-initorder.out): Remove rule.
3824 [$(run-built-tests) = yes] (tests): Depend on
3825 $(objpfx)tst-initorder-cmp.out.
3826 ($(objpfx)tst-initorder-cmp.out): New rule.
3827 ($(objpfx)tst-initorder2.out): Remove rule.
3828 [$(run-built-tests) = yes] (tests): Depend on
3829 $(objpfx)tst-initorder2-cmp.out.
3830 ($(objpfx)tst-initorder2-cmp.out): New rule.
3831 [$(run-built-tests) = yes] (tests): Depend on
3832 $(objpfx)tst-unused-dep-cmp.out.
3833 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
3834 ($(objpfx)tst-unused-dep-cmp.out): New rule.
3835 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
3836 on $(objpfx)tst-setvbuf1-cmp.out.
3837 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
3838 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
3839 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
3840 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
3841 ($(objpfx)tst-svc.out): Remove rule.
3842 ($(objpfx)tst-svc-cmp.out): New rule.
3844 2014-02-13 Joseph Myers <joseph@codesourcery.com>
3846 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
3847 * ctype/ctype.h [__USE_MISC]: Likewise.
3848 * dirent/dirent.h [__USE_MISC]: Likewise.
3849 * grp/grp.h [__USE_MISC]: Likewise.
3850 * io/fcntl.h [__USE_MISC]: Likewise.
3851 * io/sys/stat.h [__USE_MISC]: Likewise.
3852 * libio/stdio.h [__USE_MISC]: Likewise.
3853 * posix/unistd.h [__USE_MISC]: Likewise.
3854 * pwd/pwd.h [__USE_MISC]: Likewise.
3855 * stdlib.h [__USE_MISC]: Likewise.
3856 * string/bits/string2.h [__USE_MISC]: Likewise.
3857 * string/string.h [__USE_MISC]: Likewise.
3858 * time/time.h [__USE_MISC]: Likewise.
3860 2014-02-13 Andreas Schwab <schwab@suse.de>
3863 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
3864 second answer buffer if it was separately allocated.
3866 2014-02-12 Joseph Myers <joseph@codesourcery.com>
3868 * sysdeps/mips/math-tests.h: Include <features.h>.
3869 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
3870 (ROUNDING_TESTS_long_double): Do not define.
3871 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
3872 (EXCEPTION_TESTS_long_double): Likewise.
3873 * sysdeps/mips/mips64/libm-test-ulps: Update.
3875 * include/features.h (__USE_BSD): Remove macro definitions.
3876 (__USE_SVID): Likewise.
3877 (_BSD_SOURCE): Likewise.
3878 (_SVID_SOURCE): Likewise.
3879 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
3880 from definition of _DEFAULT_SOURCE.
3881 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
3883 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
3884 * bits/mman.h [__USE_BSD]: Likewise.
3885 * bits/termios.h [__USE_BSD]: Likewise.
3886 * bits/waitstatus.h [__USE_BSD]: Likewise.
3887 * ctype/ctype.h [__USE_SVID]: Likewise.
3888 * dirent/dirent.h [__USE_BSD]: Likewise.
3889 * grp/grp.h [__USE_SVID]: Likewise.
3890 [__USE_BSD]: Likewise.
3891 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
3892 * io/fcntl.h [__USE_BSD]: Likewise.
3893 * io/ftw.h [__USE_BSD]: Likewise.
3894 * io/sys/stat.h [__USE_BSD]: Likewise.
3895 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
3896 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
3897 * libio/stdio.h [__USE_SVID]: Likewise.
3898 [__USE_BSD]: Likewise.
3899 * math/math.h [__USE_SVID]: Likewise.
3900 [__USE_BSD]: Likewise.
3901 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
3902 * misc/bits/syslog.h [__USE_BSD]: Likewise.
3903 * misc/search.h [__USE_SVID]: Likewise.
3904 * misc/sys/mman.h [__USE_BSD]: Likewise.
3905 * misc/sys/syslog.h [__USE_BSD]: Likewise.
3906 * misc/sys/uio.h [__USE_BSD]: Likewise.
3907 * posix/bits/unistd.h [__USE_BSD]: Likewise.
3908 * posix/glob.h [__USE_BSD]: Likewise.
3909 * posix/regex.h [__USE_BSD]: Likewise.
3910 * posix/sys/types.h [__USE_BSD]: Likewise.
3911 [__USE_SVID]: Likewise.
3912 * posix/sys/utsname.h [__USE_SVID]: Likewise.
3913 * posix/sys/wait.h [__USE_BSD]: Likewise.
3914 [__USE_SVID]: Likewise.
3915 * posix/unistd.h [__USE_BSD]: Likewise.
3916 [__USE_SVID]: Likewise.
3917 * pwd/pwd.h [__USE_SVID]: Likewise.
3918 * resolv/netdb.h [__USE_BSD]: Likewise.
3919 * setjmp/setjmp.h [__USE_BSD]: Likewise.
3920 * signal/signal.h [__USE_BSD]: Likewise.
3921 [__USE_SVID]: Likewise.
3922 * socket/sys/socket.h [__USE_BSD]: Likewise.
3923 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
3924 * stdlib/stdlib.h [__USE_BSD]: Likewise.
3925 [__USE_SVID]: Likewise.
3926 * string/bits/string2.h [__USE_BSD]: Likewise.
3927 [__USE_SVID]: Likewise.
3928 * string/bits/string3.h [__USE_BSD]: Likewise.
3929 * string/endian.h [__USE_BSD]: Likewise.
3930 * string/string.h [__USE_SVID]: Likewise.
3931 [__USE_BSD]: Likewise.
3932 * string/strings.h [__USE_BSD]: Likewise.
3933 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
3934 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
3935 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
3936 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
3937 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
3938 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
3940 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
3942 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
3943 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
3945 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
3946 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
3948 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
3950 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
3951 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
3952 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
3954 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
3956 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
3957 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
3958 * termios/termios.h [__USE_BSD]: Likewise.
3959 * time/sys/time.h [__USE_BSD]: Likewise.
3960 * time/time.h [__USE_BSD]: Likewise.
3961 [__USE_SVID]: Likewise.
3963 * Makefile (subdir_targets): Remove subdir_lint.out.
3965 * stdio-common/Makefile (do-tst-unbputc): Remove target.
3966 (do-tst-printf): Likewise.
3967 (tests): Depend directly on $(objpfx)tst-unbputc.out and
3968 $(objpfx)tst-printf.out.
3970 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
3972 * Makerules (check-abi-%): Change target to
3973 $(objpfx)check-abi-%.out.
3974 (check-abi target): Update dependencies.
3975 (check-abi-pattern variable): Redirect output of diff to $@.
3976 (check-abi variable): Likewise.
3977 * elf/Makefile (check-abi): Update dependencies.
3979 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
3981 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
3982 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
3984 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
3985 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
3986 value has largest subnormal exponent.
3987 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
3988 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
3989 * sysdeps/aarch64/soft-fp/sfp-machine.h
3990 (_FP_TININESS_AFTER_ROUNDING): New macro.
3991 * sysdeps/alpha/soft-fp/sfp-machine.h
3992 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3993 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3995 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
3996 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3997 * sysdeps/mips/soft-fp/sfp-machine.h
3998 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3999 * sysdeps/powerpc/soft-fp/sfp-machine.h
4000 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4001 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4003 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
4004 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4005 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
4006 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4007 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4010 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
4013 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
4016 2014-02-12 Richard Henderson <rth@redhat.com>
4018 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
4019 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
4020 * sysdeps/unix/sysv/linux/alpha: Move directory from
4021 ports/sysdeps/unix/sysv/linux/alpha.
4022 * README: Update listing for alpha-*-linux-gnu.
4024 2014-02-11 Joseph Myers <joseph@codesourcery.com>
4026 * include/features.h: Update comment documenting feature test
4028 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
4030 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
4031 (_SVID_SOURCE): Likewise.
4032 (_DEFAULT_SOURCE): Update description of default features.
4033 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
4035 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
4036 (S_ISVTX): Likewise.
4037 * manual/math.texi (Mathematical Constants): Likewise.
4038 * manual/signal.texi (Interrupted Primitives): Likewise.
4039 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
4040 * math/test-matherr.c (_SVID_SOURCE): Do not define.
4041 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
4042 Don't refer to _SVID_SOURCE in warning text.
4044 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4046 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
4048 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
4049 * sysdeps/mips/dl-lookup.c: Remove.
4050 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
4052 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
4055 * math/auto-libm-test-in: Add testcase for expl.
4056 * math/auto-libm-test-out: Regenerate.
4057 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
4058 calculation of unsafe.
4059 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
4061 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
4063 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
4064 * sysdeps/unix/sysv/linux/aarch64: Move directory from
4065 ports/sysdeps/unix/sysv/linux/aarch64.
4066 * README: Update listing for aarch64*-*-linux-gnu.
4068 2014-02-11 Will Newton <will.newton@linaro.org>
4070 * manual/probes.texi (Mathematical Function Probes): Use
4071 "triggered" instead of "hit".
4073 * manual/probes.texi (Internal Probes): Add documentation
4074 of setjmp, longjmp and longjmp_target probes.
4076 * include/stap-probe.h: Add comment about probe argument
4079 * malloc/mtrace.c (attribute_hidden): Remove unused macro
4080 definition. (tr_where, tr_freehook, tr_mallochook,
4081 tr_reallochook, tr_memalignhook): Use ANSI protoype.
4083 2014-02-11 David S. Miller <davem@davemloft.net>
4085 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
4086 processing int_tests.
4088 2014-02-10 Joseph Myers <joseph@codesourcery.com>
4090 * sysdeps/mips: Move directory from ports/sysdeps/mips.
4091 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
4092 * sysdeps/unix/sysv/linux/mips: Move directory from
4093 ports/sysdeps/unix/sysv/linux/mips.
4094 * README: Update listing for mips-*-linux-gnu and
4097 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
4099 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
4100 * sysdeps/unix/sysv/linux/m68k: Move directory from
4101 ports/sysdeps/unix/sysv/linux/m68k.
4102 * README: Update listing for m68k-*-linux-gnu.
4104 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
4106 * sysdeps/tile: Move directory from ports/sysdeps/tile.
4107 * sysdeps/unix/sysv/linux/generic: Move directory from
4108 ports/sysdeps/unix/sysv/linux/generic.
4109 * sysdeps/unix/sysv/linux/tile: Move directory from
4110 ports/sysdeps/unix/sysv/linux/tile.
4111 * README: Update listing for tile*-*-linux-gnu.
4113 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
4115 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
4117 * benchtests/bench-memmem.c (simple_memmem): Likewise.
4118 * catgets/open_catalog.c (__open_catalog): Likewise.
4119 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
4120 * debug/confstr_chk.c: Likewise.
4121 * debug/fread_chk.c (__fread_chk): Likewise.
4122 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
4123 * debug/getgroups_chk.c: Likewise.
4124 * debug/mbsnrtowcs_chk.c: Likewise.
4125 * debug/mbsrtowcs_chk.c: Likewise.
4126 * debug/mbstowcs_chk.c: Likewise.
4127 * debug/memcpy_chk.c: Likewise.
4128 * debug/memmove_chk.c: Likewise.
4129 * debug/mempcpy_chk.c: Likewise.
4130 * debug/memset_chk.c: Likewise.
4131 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
4132 * debug/strcat_chk.c (__strcat_chk): Likewise.
4133 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
4134 * debug/strncat_chk.c (__strncat_chk): Likewise.
4135 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
4136 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
4137 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
4138 * debug/wcpncpy_chk.c: Likewise.
4139 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
4140 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
4141 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
4142 * debug/wcsncpy_chk.c: Likewise.
4143 * debug/wcsnrtombs_chk.c: Likewise.
4144 * debug/wcsrtombs_chk.c: Likewise.
4145 * debug/wcstombs_chk.c: Likewise.
4146 * debug/wmemcpy_chk.c: Likewise.
4147 * debug/wmemmove_chk.c: Likewise.
4148 * debug/wmempcpy_chk.c: Likewise.
4149 * debug/wmemset_chk.c: Likewise.
4150 * dirent/scandirat.c (SCANDIRAT): Likewise.
4151 * dlfcn/dladdr1.c (dladdr1): Likewise.
4152 * dlfcn/dladdr.c (dladdr): Likewise.
4153 * dlfcn/dlclose.c (dlclose_doit): Likewise.
4154 * dlfcn/dlerror.c (__dlerror): Likewise.
4155 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
4156 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
4157 * dlfcn/dlopen.c (dlopen_doit): Likewise.
4158 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
4159 * dlfcn/dlsym.c (dlsym_doit): Likewise.
4160 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
4161 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
4162 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
4164 * elf/dl-conflict.c: Likewise.
4165 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
4166 * elf/dl-dst.h: Likewise.
4167 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
4168 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
4169 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
4170 * elf/dl-init.c (call_init, _dl_init): Likewise.
4171 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
4172 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
4173 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
4175 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
4177 * elf/dl-minimal.c (__libc_memalign): Likewise.
4178 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
4179 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
4180 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
4181 * elf/dl-sym.c (do_sym): Likewise.
4182 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
4183 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
4184 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
4185 * elf/dl-writev.h (_dl_writev): Likewise.
4186 * elf/ldconfig.c (search_dir): Likewise.
4187 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
4188 (dl_main): Likewise.
4189 * elf/setup-vdso.h (setup_vdso): Likewise.
4190 * grp/compat-initgroups.c (compat_call): Likewise.
4191 * grp/fgetgrent.c (fgetgrent): Likewise.
4192 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
4193 * grp/putgrent.c (putgrent): Likewise.
4194 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
4196 * hurd/hurdinit.c: Likewise.
4197 * iconvdata/8bit-gap.c (struct): Likewise.
4198 * iconvdata/ansi_x3.110.c : Likewise.
4199 * iconvdata/big5.c : Likewise.
4200 * iconvdata/big5hkscs.c : Likewise.
4201 * iconvdata/cp1255.c: Likewise.
4202 * iconvdata/cp1258.c : Likewise.
4203 * iconvdata/cp932.c : Likewise.
4204 * iconvdata/euc-cn.c: Likewise.
4205 * iconvdata/euc-jisx0213.c : Likewise.
4206 * iconvdata/euc-jp.c: Likewise.
4207 * iconvdata/euc-jp-ms.c : Likewise.
4208 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
4209 * iconvdata/gb18030.c : Likewise.
4210 * iconvdata/gbbig5.c (const): Likewise.
4211 * iconvdata/gbgbk.c: Likewise.
4212 * iconvdata/gbk.c : Likewise.
4213 * iconvdata/ibm1364.c : Likewise.
4214 * iconvdata/ibm930.c : Likewise.
4215 * iconvdata/ibm932.c: Likewise.
4216 * iconvdata/ibm933.c : Likewise.
4217 * iconvdata/ibm935.c : Likewise.
4218 * iconvdata/ibm937.c : Likewise.
4219 * iconvdata/ibm939.c : Likewise.
4220 * iconvdata/ibm943.c: Likewise.
4221 * iconvdata/iso_11548-1.c: Likewise.
4222 * iconvdata/iso-2022-cn.c : Likewise.
4223 * iconvdata/iso-2022-cn-ext.c : Likewise.
4224 * iconvdata/iso-2022-jp-3.c: Likewise.
4225 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
4226 * iconvdata/iso-2022-kr.c : Likewise.
4227 * iconvdata/iso646.c (gconv_end): Likewise.
4228 * iconvdata/iso_6937-2.c : Likewise.
4229 * iconvdata/iso_6937.c : Likewise.
4230 * iconvdata/iso8859-1.c: Likewise.
4231 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
4232 * iconvdata/shift_jisx0213.c : Likewise.
4233 * iconvdata/sjis.c : Likewise.
4234 * iconvdata/t.61.c : Likewise.
4235 * iconvdata/tcvn5712-1.c : Likewise.
4236 * iconvdata/tscii.c: Likewise.
4237 * iconvdata/uhc.c : Likewise.
4238 * iconvdata/unicode.c (gconv_end): Likewise.
4239 * iconvdata/utf-16.c (gconv_end): Likewise.
4240 * iconvdata/utf-32.c (gconv_end): Likewise.
4241 * iconvdata/utf-7.c (base64): Likewise.
4242 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
4243 * iconv/gconv_close.c (__gconv_close): Likewise.
4244 * iconv/gconv_open.c (__gconv_open): Likewise.
4245 * iconv/gconv_simple.c (internal_ucs4_loop_single)
4246 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
4247 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
4248 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
4249 (ucs4le_internal_loop_single): Likewise.
4250 * iconv/iconv.c (iconv): Likewise.
4251 * iconv/iconv_close.c: Likewise.
4252 * iconv/loop.c (SINGLE): Likewise.
4253 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
4254 * include/atomic.h: Likewise.
4255 * inet/inet6_option.c (option_alloc): Likewise.
4256 * intl/bindtextdom.c (set_binding_values): Likewise.
4257 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
4258 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
4259 * intl/localealias.c (read_alias_file): Likewise.
4260 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
4261 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
4262 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
4263 * libio/fmemopen.c (fmemopen): Likewise.
4264 * libio/iofgets.c (_IO_fgets): Likewise.
4265 * libio/iofgets_u.c (fgets_unlocked): Likewise.
4266 * libio/iofgetws.c (fgetws): Likewise.
4267 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
4268 * libio/iogetdelim.c (_IO_getdelim): Likewise.
4269 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
4270 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
4271 * locale/findlocale.c (_nl_find_locale): Likewise.
4272 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
4273 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
4275 * locale/setlocale.c (setlocale): Likewise.
4276 * login/programs/pt_chown.c (main): Likewise.
4277 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
4278 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
4279 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
4280 (mmap, mmap64, mremap, munmap): Likewise.
4281 * math/e_exp2l.c: Likewise.
4282 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
4283 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
4284 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
4285 * math/s_catan.c (__catan): Likewise.
4286 * math/s_catanf.c (__catanf): Likewise.
4287 * math/s_catanh.c (__catanh): Likewise.
4288 * math/s_catanhf.c (__catanhf): Likewise.
4289 * math/s_catanhl.c (__catanhl): Likewise.
4290 * math/s_catanl.c (__catanl): Likewise.
4291 * math/s_ccosh.c (__ccosh): Likewise.
4292 * math/s_ccoshf.c (__ccoshf): Likewise.
4293 * math/s_ccoshl.c (__ccoshl): Likewise.
4294 * math/s_cexp.c (__cexp): Likewise.
4295 * math/s_cexpf.c (__cexpf): Likewise.
4296 * math/s_cexpl.c (__cexpl): Likewise.
4297 * math/s_clog10.c (__clog10): Likewise.
4298 * math/s_clog10f.c (__clog10f): Likewise.
4299 * math/s_clog10l.c (__clog10l): Likewise.
4300 * math/s_clog.c (__clog): Likewise.
4301 * math/s_clogf.c (__clogf): Likewise.
4302 * math/s_clogl.c (__clogl): Likewise.
4303 * math/s_csin.c (__csin): Likewise.
4304 * math/s_csinf.c (__csinf): Likewise.
4305 * math/s_csinh.c (__csinh): Likewise.
4306 * math/s_csinhf.c (__csinhf): Likewise.
4307 * math/s_csinhl.c (__csinhl): Likewise.
4308 * math/s_csinl.c (__csinl): Likewise.
4309 * math/s_csqrt.c (__csqrt): Likewise.
4310 * math/s_csqrtf.c (__csqrtf): Likewise.
4311 * math/s_csqrtl.c (__csqrtl): Likewise.
4312 * math/s_ctan.c (__ctan): Likewise.
4313 * math/s_ctanf.c (__ctanf): Likewise.
4314 * math/s_ctanh.c (__ctanh): Likewise.
4315 * math/s_ctanhf.c (__ctanhf): Likewise.
4316 * math/s_ctanhl.c (__ctanhl): Likewise.
4317 * math/s_ctanl.c (__ctanl): Likewise.
4318 * math/w_pow.c: Likewise.
4319 * math/w_powf.c: Likewise.
4320 * math/w_powl.c: Likewise.
4321 * math/w_scalb.c (sysv_scalb): Likewise.
4322 * math/w_scalbf.c (sysv_scalbf): Likewise.
4323 * math/w_scalbl.c (sysv_scalbl): Likewise.
4324 * misc/error.c (error_tail): Likewise.
4325 * misc/pselect.c (__pselect): Likewise.
4326 * nis/nis_callback.c (__nis_create_callback): Likewise.
4327 * nis/nis_call.c (__nisfind_server): Likewise.
4328 * nis/nis_creategroup.c (nis_creategroup): Likewise.
4329 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
4330 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
4331 * nis/nis_getservlist.c (nis_getservlist): Likewise.
4332 * nis/nis_lookup.c (nis_lookup): Likewise.
4333 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
4334 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
4335 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
4336 * nis/nis_xdr.c (xdr_endpoint): Likewise.
4337 * nis/nss_compat/compat-grp.c (getgrent_next_file)
4338 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
4339 * nis/nss_compat/compat-initgroups.c (add_group)
4340 (internal_getgrent_r): Likewise.
4341 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
4342 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
4343 * nis/nss_compat/compat-spwd.c (getspent_next_file)
4344 (internal_getspnam_r): Likewise.
4345 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
4346 (_nss_nis_getaliasbyname_r): Likewise.
4347 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
4348 (_nss_nis_getntohost_r): Likewise.
4349 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
4350 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
4351 (_nss_nis_getgrgid_r): Likewise.
4352 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
4353 (internal_nis_gethostent_r, internal_gethostbyname2_r)
4354 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
4355 (_nss_nis_gethostbyname4_r): Likewise.
4356 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
4357 (initgroups_netid): Likewise.
4358 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
4359 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
4360 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
4361 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
4362 (_nss_nis_getprotobynumber_r): Likewise.
4363 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
4364 (_nss_nis_getsecretkey): Likewise.
4365 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
4366 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
4367 (_nss_nis_getpwuid_r): Likewise.
4368 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
4369 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
4370 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
4371 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
4372 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
4373 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
4374 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
4376 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
4377 (_nss_nisplus_getntohost_r): Likewise.
4378 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
4379 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
4380 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
4381 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
4383 * nis/nss_nisplus/nisplus-initgroups.c
4384 (_nss_nisplus_initgroups_dyn): Likewise.
4385 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
4386 (_nss_nisplus_getnetbyaddr_r): Likewise.
4387 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
4388 (_nss_nisplus_getprotobynumber_r): Likewise.
4389 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
4390 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
4391 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
4393 * nis/nss_nisplus/nisplus-service.c
4394 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
4395 (_nss_nisplus_getservbyport_r): Likewise.
4396 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
4397 (_nss_nisplus_getspnam_r): Likewise.
4398 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
4400 * nscd/aicache.c (addhstaiX): Likewise.
4401 * nscd/cache.c (cache_search, prune_cache): Likewise.
4402 * nscd/connections.c (register_traced_file, send_ro_fd)
4403 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
4404 (main_loop_epoll): Likewise.
4405 * nscd/grpcache.c (addgrbyX): Likewise.
4406 * nscd/hstcache.c (addhstbyX): Likewise.
4407 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4408 * nscd/mem.c (gc, mempool_alloc): Likewise.
4409 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
4410 (addinnetgrX): Likewise.
4411 * nscd/nscd-client.h (__nscd_acquire_maplock)
4412 (__nscd_drop_map_ref): Likewise.
4413 * nscd/nscd_getai.c (__nscd_getai): Likewise.
4414 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
4415 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
4417 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
4418 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
4419 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
4420 (__nscd_get_map_ref): Likewise.
4421 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
4422 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
4424 * nscd/pwdcache.c (addpwbyX): Likewise.
4425 * nscd/selinux.c (preserve_capabilities): Likewise.
4426 * nscd/servicescache.c (addservbyX): Likewise.
4427 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
4428 * posix/fnmatch.c (fnmatch): Likewise.
4429 * posix/getopt.c (_getopt_internal_r): Likewise.
4430 * posix/glob.c (glob, glob_in_dir): Likewise.
4431 * posix/wordexp.c (exec_comm_child): Likewise.
4432 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
4433 (getanswer_r, gaih_getanswer_slice): Likewise.
4434 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
4435 * resolv/res_init.c: Likewise.
4436 * resolv/res_mkquery.c (res_nmkquery): Likewise.
4437 * resolv/res_query.c (__libc_res_nquery): Likewise.
4438 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
4440 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
4441 * stdio-common/perror.c (perror): Likewise.
4442 * stdio-common/printf_fp.c (___printf_fp): Likewise.
4443 * stdio-common/tmpnam.c (tmpnam): Likewise.
4444 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
4445 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
4446 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
4448 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
4449 * stdlib/putenv.c (putenv): Likewise.
4450 * stdlib/setenv.c (__add_to_environ): Likewise.
4451 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
4452 * stdlib/strtol_l.c (INTERNAL): Likewise.
4453 * string/memmem.c (memmem): Likewise.
4454 * string/strerror.c (strerror): Likewise.
4455 * string/strnlen.c (__strnlen): Likewise.
4456 * string/test-memmem.c (simple_memmem): Likewise.
4457 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
4458 * sunrpc/pm_getport.c (__get_socket): Likewise.
4459 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
4460 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
4461 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
4462 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
4464 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
4465 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
4466 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
4467 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
4468 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
4469 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
4471 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
4473 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
4474 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
4475 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4476 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
4477 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
4478 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
4479 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
4480 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
4481 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
4482 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
4483 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
4484 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
4486 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
4488 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
4490 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
4491 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
4492 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
4493 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
4494 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
4495 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
4496 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
4497 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
4498 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
4499 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
4500 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
4501 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4502 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
4503 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
4504 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4505 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
4507 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
4509 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
4511 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
4513 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4514 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4515 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
4517 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
4518 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
4519 * sysdeps/posix/opendir.c (__opendirat): Likewise.
4520 * sysdeps/posix/sleep.c: Likewise.
4521 * sysdeps/posix/tempname.c: Likewise.
4522 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
4523 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4525 * sysdeps/powerpc/powerpc32/dl-machine.h
4526 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
4527 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
4528 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4529 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
4530 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
4532 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
4533 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
4534 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
4535 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
4536 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
4537 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
4538 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
4539 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
4540 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
4541 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
4542 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
4543 (elf_machine_lazy_rel): Likewise.
4544 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
4545 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
4546 (elf_machine_lazy_rel): Likewise.
4547 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
4548 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
4549 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
4550 * sysdeps/unix/grantpt.c (grantpt): Likewise.
4551 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
4552 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
4553 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
4554 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4556 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
4557 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
4558 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
4559 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
4560 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
4561 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
4562 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
4563 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
4564 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
4565 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
4566 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
4568 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
4569 (__posix_fallocate64_l64): Likewise.
4570 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
4571 (posix_fallocate): Likewise.
4572 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
4574 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4575 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
4576 (getifaddrs_internal): Likewise.
4577 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
4578 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
4579 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
4580 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
4581 * sysdeps/unix/sysv/linux/posix_fallocate64.c
4582 (__posix_fallocate64_l64): Likewise.
4583 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
4585 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
4586 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
4587 (__get_clockfreq): Likewise.
4588 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
4589 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
4590 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
4591 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4592 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4593 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
4594 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
4595 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
4597 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
4598 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
4599 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
4600 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
4601 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
4602 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
4603 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
4605 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
4606 (posix_fallocate): Likewise.
4607 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4608 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
4609 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
4610 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
4611 (elf_machine_rela, elf_machine_rela_relative)
4612 (elf_machine_lazy_rel): Likewise.
4613 * time/asctime.c (asctime_internal): Likewise.
4614 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
4615 * time/tzset.c (__tzset_parse_tz): Likewise.
4616 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
4617 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
4618 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
4619 * wcsmbs/wcsmbsload.h: Likewise.
4622 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
4624 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
4625 (arena_get2): Remove THREAD_STATS conditionals.
4626 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
4627 (__malloc_stats, int): Likewise.
4629 2014-02-08 Mike Frysinger <vapier@gentoo.org>
4631 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
4632 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
4634 * manual/setjmp.texi: Fix typos/grammar errors.
4636 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
4637 Only return early when n is <= 0. Delete unused return statement.
4639 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
4640 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
4641 * debug/tst-longjmp_chk3.c: New file.
4643 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
4644 (test_main): Replace code with set_fortify_handler call.
4645 * debug/test-strcpy_chk.c: Likewise.
4646 * debug/tst-chk1.c: Likewise.
4647 * debug/tst-longjmp_chk.c: Likewise.
4648 * test-skeleton.c: Include fcntl.h & paths.h
4649 (set_fortify_handler): Define.
4651 * debug/tst-longjmp_chk.c: Add header comment and include
4653 (do_test): Mark static.
4654 (TEST_FUNCTION): Define.
4656 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
4657 (IP_PMTUDISC_INTERFACE): Likewise.
4658 (IP_MULTICAST_IF): Likewise.
4659 (IP_MULTICAST_TTL): Likewise.
4660 (IP_MULTICAST_LOOP): Likewise.
4661 (IP_ADD_MEMBERSHIP): Likewise.
4662 (IP_DROP_MEMBERSHIP): Likewise.
4663 (IP_UNBLOCK_SOURCE): Likewise.
4664 (IP_BLOCK_SOURCE): Likewise.
4665 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
4666 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
4667 (IP_MSFILTER): Likewise.
4668 (MCAST_JOIN_GROUP): Likewise.
4669 (MCAST_BLOCK_SOURCE): Likewise.
4670 (MCAST_UNBLOCK_SOURCE): Likewise.
4671 (MCAST_LEAVE_GROUP): Likewise.
4672 (MCAST_JOIN_SOURCE_GROUP): Likewise.
4673 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
4674 (MCAST_MSFILTER): Likewise.
4675 (IP_MULTICAST_ALL): Likewise.
4676 (IP_UNICAST_IF): Likewise.
4678 * timezone/Makefile: Delete $(have-ksh) check.
4679 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
4680 * timezone/tzselect.ksh: Add +x mode bits.
4682 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
4683 (ANON_INODE_FS_MAGIC): Likewise.
4684 (BDEVFS_MAGIC): Likewise.
4685 (BINFMTFS_MAGIC): Likewise.
4686 (BTRFS_TEST_MAGIC): Likewise.
4687 (CRAMFS_MAGIC_WEND): Likewise.
4688 (DEBUGFS_MAGIC): Likewise.
4689 (ECRYPTFS_SUPER_MAGIC): Likewise.
4690 (EXT3_SUPER_MAGIC): Likewise.
4691 (EXT4_SUPER_MAGIC): Likewise.
4692 (FUTEXFS_SUPER_MAGIC): Likewise.
4693 (HOSTFS_SUPER_MAGIC): Likewise.
4694 (HUGETLBFS_MAGIC): Likewise.
4695 (MINIX3_SUPER_MAGIC): Likewise.
4696 (MTD_INODE_FS_MAGIC): Likewise.
4697 (NILFS_SUPER_MAGIC): Likewise.
4698 (OPENPROM_SUPER_MAGIC): Likewise.
4699 (PIPEFS_MAGIC): Likewise.
4700 (PSTOREFS_MAGIC): Likewise.
4701 (QNX6_SUPER_MAGIC): Likewise.
4702 (RAMFS_MAGIC): Likewise.
4703 (REISERFS_SUPER_MAGIC_STRING): Likewise.
4704 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
4705 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
4706 (SECURITYFS_MAGIC): Likewise.
4707 (SELINUX_MAGIC): Likewise.
4708 (SMACK_MAGIC): Likewise.
4709 (SOCKFS_MAGIC): Likewise.
4710 (SQUASHFS_MAGIC): Likewise.
4711 (STACK_END_MAGIC): Likewise.
4712 (TMPFS_MAGIC): Likewise.
4713 (USBDEVICE_SUPER_MAGIC): Likewise.
4714 (V9FS_MAGIC): Likewise.
4715 (XENFS_SUPER_MAGIC): Likewise.
4716 (CRAMFS_MAGIC): Fix typo in comment.
4717 (EXT2_SUPER_MAGIC): Update comment.
4718 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
4720 2014-02-08 Joseph Myers <joseph@codesourcery.com>
4722 * sysdeps/arm: Move directory from ports/sysdeps/arm.
4723 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
4724 * sysdeps/unix/sysv/linux/arm: Move directory from
4725 ports/sysdeps/unix/sysv/linux/arm.
4726 * README: Update listing for arm-*-linux-gnueabi.
4728 * README: Remove mention of am33.
4730 2014-02-07 Roland McGrath <roland@hack.frob.com>
4732 * bits/sigset.h (__sigemptyset): Use a statement expression rather
4733 than the comma operator, to avoid "rhs of comma has no effect"
4735 (__sigfillset, __sigandset, __sigorset): Likewise.
4736 * include/signal.h (__sigemptyset): Likewise.
4737 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
4739 2014-02-07 Allan McRae <allan@archlinux.org>
4741 * version.h (RELEASE): Set to "development".
4742 (VERSION): Set to "2.19.90"
4743 * NEWS: Add 2.20 section.
4745 2014-02-06 Carlos O'Donell <carlos@redhat.com>
4748 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
4750 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
4752 * manual/contrib.texi: Update entry for Carlos O'Donell,
4753 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
4755 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
4757 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
4759 * sysdeps/unix/sysv/linux/kernel-features.h
4760 [__LINUX_KERNEL_VERSION >= 0x020621]
4761 (__ASSUME_PROC_PID_TASK_COMM): Define.
4763 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4766 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
4767 conversion when destination buffer does not have enough space.
4768 * libio/tst-ftell-partial-wide.c: New test case.
4769 * libio/Makefile (tests): Add tst-ftell-partial-wide.
4771 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
4772 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
4773 Leonard and Allan McRae.
4775 2014-02-04 David S. Miller <davem@davemloft.net>
4777 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
4780 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4782 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
4784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
4786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
4788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
4790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
4792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
4794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
4796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
4798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
4800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
4802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
4804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
4806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
4809 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4811 * nptl/shlib-versions: Change powerpc*le start to 2.17.
4812 * shlib-versions: Likewise.
4814 2014-02-04 Roland McGrath <roland@hack.frob.com>
4815 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4817 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
4818 (abilist-pattern): New variable, set to %-le.abilist.
4820 * Makerules (abilist-pattern): New variable.
4821 (vpath): Use $(abilist-pattern) in place of %.abilist.
4822 (check-abi-% pattern rule): Likewise.
4823 (check-abi, update-abi): Likewise.
4825 2014-02-04 Eric Wong <normalperson@yhbt.net>
4827 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4829 2014-02-03 Carlos O'Donell <carlos@redhat.com>
4831 * manual/startup.texi: Add next, previous, and top entries for
4832 the `Program Arguments' and `Environment Variables' nodes.
4834 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
4836 * manual/macros.texi: Add comments before MTASC-safety macros.
4838 * manual/users.texi: Document MTASC-safety properties.
4840 * manual/threads.texi (pthread_key_create, pthread_key_delete)
4841 (pthread_getspecific, pthread_setspecific): Format with
4842 @deftypefun, and add @safety note.
4843 * manual/signal.texi: Move comments that analyze the above
4844 functions to their home place.
4846 2014-02-03 Allan McRae <allan@archlinux.org>
4848 * po/sl.po: Update Slovenian translation from translation project.
4850 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
4852 * manual/time.texi (timegm): Add missing blank after @c.
4853 Reported by Joseph Myers <joseph@codesourcery.com>.
4855 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
4857 * manual/check-safety.sh: New.
4858 * manual/Makefile ($(objpfx)stamp-summary): Run it.
4860 * manual/terminal.texi: Document MTASC-safety properties.
4862 * manual/filesys.texi: Document MTASC-safety properties.
4864 * manual/errno.texi: Document MTASC-safety properties.
4866 * manual/intro.texi: Document safety identifiers and
4869 * manual/string.texi (wcstok): Fix prototype.
4870 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
4872 * manual/time.texi: Document MTASC-safety properties.
4874 * manual/string.texi: Document MTASC-safety properties.
4876 * manual/threads.texi: Document MTASC-safety properties.
4878 * manual/stdio.texi: Document MTASC-safety properties.
4880 * manual/syslog.texi: Document MTASC-safety properties.
4882 * manual/sysinfo.texi: Document MTASC-safety properties.
4884 * manual/startup.texi: Document MTASC-safety properties.
4886 * manual/socket.texi: Document MTASC-safety properties.
4888 * manual/signal.texi: Document MTASC-safety properties.
4890 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
4892 * manual/setjmp.texi: Document MTASC-safety properties.
4894 * manual/search.texi: Document MTASC-safety properties.
4896 * manual/resource.texi: Document MTASC-safety properties.
4898 * manual/process.texi: Document MTASC-safety properties.
4900 * manual/platform.texi: Document MTASC-safety properties.
4902 * manual/pipe.texi: Document MTASC-safety properties.
4904 * manual/pattern.texi: Document MTASC-safety properties.
4906 * manual/message.texi: Document MTASC-safety properties.
4909 * manual/memory.texi: Document MTASC-safety properties.
4911 * manual/math.texi: Document MTASC-safety properties.
4913 * manual/locale.texi: Document MTASC-safety properties.
4915 * manual/llio.texi: Document MTASC-safety properties.
4917 * manual/libdl.texi: New.
4919 * manual/lang.texi: Document MTASC-safety properties.
4921 * manual/job.texi: Document MTASC-safety properties.
4923 * manual/getopt.texi: Document MTASC-safety properties.
4925 * manual/ctype.texi: Document MTASC-safety properties.
4927 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
4930 * csu/libc-tls.c (static_map): Remove variable.
4931 (__libc_setup_tls): Use main executable's link map for TLS data.
4932 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
4933 casing for LM_ID_BASE and GL(dl_nns).
4934 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
4935 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
4936 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
4937 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
4938 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
4940 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
4943 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
4945 * manual/debug.texi: Document MTASC-safety properties.
4947 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
4950 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
4951 of __x86_64__ when disabling x87 inline functions.
4953 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
4955 * manual/charset.texi: Document MTASC-safety properties.
4957 * manual/crypt.texi: Document MTASC-safety properties.
4959 * manual/conf.texi: Document MTASC-safety properties.
4961 * manual/arith.texi: Document MTASC-safety properties.
4963 * manual/argp.texi: Document MTASC-safety properties.
4965 * manual/macros.texi: Introduce macros to document multi
4966 thread, asynchronous signal and asynchronous cancellation
4968 * manual/intro.texi: Introduce the properties themselves.
4970 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4972 * sysdeps/sh/sh4/Makefile: New file.
4974 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
4976 * math/gen-libm-test.pl ($srcdir): New variable.
4977 ($auto_input): Use it.
4979 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4982 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
4983 access beyond array bounds when parsing netgroups file.
4985 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
4986 the old buffer before realloc.
4988 2014-01-27 Allan McRae <allan@archlinux.org>
4990 * po/fr.po: Update French translation from translation project.
4992 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4994 * sysdeps/sh/libm-test-ulps: Regenerate.
4996 2014-01-24 David S. Miller <davem@davemloft.net>
4998 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
5000 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5002 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
5003 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
5005 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5008 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
5009 string pointers after reallocation.
5011 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5013 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
5014 __SH4A__ instead of __SH_FPU_ANY__.
5016 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5018 * sysdeps/sh/fpu_control.h: New file.
5019 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
5020 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
5021 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
5022 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
5023 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
5024 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
5025 * sysdeps/sh/sys/ucontext.h: Remove.
5026 * sysdeps/sh/sys: Remove directory.
5028 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5030 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
5031 s390/sys/ucontext.h.
5032 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
5033 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
5035 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
5038 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
5040 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5043 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
5044 Adjust the vDSO correctly for internal calls.
5045 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
5047 2014-01-20 Allan McRae <allan@archlinux.org>
5049 * po/ca.po: Update Catalan translation from translation project.
5051 2014-01-16 Mike Frysinger <vapier@gentoo.org>
5053 * sysdeps/s390/sotruss-lib.c: New file.
5055 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5058 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
5059 (__GI___gettimeofday): Alias for a different internal symbol to avoid
5060 local calls issues by not having a PLT stub required for IFUNC calls.
5061 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
5063 2014-01-16 Joseph Myers <joseph@codesourcery.com>
5065 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
5066 * math/test-fpucw-static.c: Likewise.
5068 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5071 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
5073 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5075 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
5076 implementation for powerpc.
5078 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
5081 * sysdeps/posix/system.c (__libc_system): Do not enable
5082 asynchronous cancellation.
5084 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5087 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
5088 handling only for numbers special also in the IEEE case.
5090 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5092 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5094 2014-01-11 Allan McRae <allan@archlinux.org>
5096 * po/bg.po: Update Bulgarian translation from translation project.
5098 * po/de.po: Update German translation from translation project.
5100 2014-01-10 Roland McGrath <roland@hack.frob.com>
5102 * sysdeps/generic/gcc-compat.h: New file.
5104 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5106 * benchtests/asin-inputs: Correct slow inputs.
5107 * benchtests/acos-inputs: Likewise.
5109 2014-01-10 Allan McRae <allan@archlinux.org>
5111 * po:sv.po: Update Swedish translation from translation project.
5113 * po/vi.po: Update Vietnamese translation from translation project.
5115 * po/eo.po: Update Esperanto translation from translation project.
5117 * po/cs.po: Update Czech translation from translation project.
5119 * po/nl.po: Update Dutch translation from translation project.
5121 * po/pl.po: Update Polish translation from translation project.
5123 * po/ru.po: Update Russian translation from translation project.
5125 * po/uk.po: Update Ukrainian translation from translation project.
5127 2014-01-08 Brooks Moses <bmoses@google.com>
5129 * elf/dl-load.c: Fix comment typo.
5131 2014-01-08 Carlos O'Donell <carlos@redhat.com>
5133 * po/header.pot: Rename to...
5134 * po/pot.header: ... this.
5135 * po/Makefile: Use pot.header.
5137 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
5138 Maxim Kuvyrkov <maxim@kugelworks.com>
5141 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
5142 SRC and DEST against LEN.
5144 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5147 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
5149 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
5151 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5153 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5155 2014-01-08 Joseph Myers <joseph@codesourcery.com>
5158 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
5159 for large positive arguments.
5161 2014-01-07 Joseph Myers <joseph@codesourcery.com>
5163 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
5165 * math/auto-libm-test-in: Mark various tests with
5166 xfail-rounding:ldbl-128ibm.
5167 * math/auto-libm-test-out: Regenerated.
5170 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
5171 Increase overflow threshold.
5173 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
5176 * stdio-common/vfprintf.c: Check for integer overflow.
5178 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5180 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
5181 the first argument and return value of __tls_get_addr_internal.
5183 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5185 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
5186 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
5188 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5190 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
5191 * sysdeps/s390/rtld-global-offsets.sym: New file.
5192 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
5194 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
5195 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
5196 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
5198 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
5199 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
5201 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
5203 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
5205 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
5206 halfs of GPRs for high_gprs contexts.
5207 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
5208 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
5210 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
5212 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
5214 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
5215 for high GPRs (uc_high_gprs) and for future extensions
5217 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
5218 for future extensions (__reserved).
5219 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
5221 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
5222 SC_HIGHGPRS offset definition.
5223 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
5224 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
5226 * Versions.def: Add GLIBC_2.19 for libpthread.
5227 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
5228 siglongjmp for libpthread with GLIBC_2.19 symver.
5229 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
5230 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
5231 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
5232 * sysdeps/s390/__longjmp.c: New file.
5233 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
5234 * sysdeps/s390/longjmp.c: New file.
5235 * sysdeps/s390/setjmp.S: New file.
5236 * sysdeps/s390/sigjmp.S: New file.
5237 * sysdeps/s390/v1-longjmp.c: New file.
5238 * sysdeps/s390/v1-setjmp.h: New file.
5239 * sysdeps/s390/v1-sigjmp.c: New file.
5240 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
5241 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
5243 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
5244 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
5245 versioned symbols for ____longjmp_chk.
5246 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
5248 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
5250 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
5252 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
5254 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
5256 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
5257 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
5258 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
5259 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
5260 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
5261 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
5262 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
5263 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
5264 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
5265 * sysdeps/s390/rtld-__longjmp.c: New file.
5266 * sysdeps/s390/rtld-setjmp.S: New file.
5268 2014-01-06 Joseph Myers <joseph@codesourcery.com>
5271 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
5272 Return -__logl (x) for small positive arguments without evaluating
5275 2014-01-06 Mike Frysinger <vapier@gentoo.org>
5277 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
5279 (__ptrace_peeksiginfo_args): ... this.
5280 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
5281 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
5282 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
5284 2014-01-06 Allan McRae <allan@archlinux.org>
5286 * inet/netinet/in.h: Fix typo in comment.
5288 2014-01-05 Andreas Jaeger <aj@suse.de>
5290 * sysdeps/i386/fpu/libm-test-ulps: Update.
5292 2014-01-05 Allan McRae <allan@archlinux.org>
5294 * po/libc.pot: Regenerated.
5296 * malloc/memusagestat.c: Fix gettext call formatting.
5298 2014-01-04 Sami Kerola <kerolasa@iki.fi>
5300 * nscd/nscd.c: Improve usage() output.
5302 2014-01-04 Mike Frysinger <vapier@gentoo.org>
5304 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
5305 * sysdeps/unix/sysv/linux/configure: Regenerated.
5306 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
5307 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
5309 2014-01-03 Joseph Myers <joseph@codesourcery.com>
5312 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
5313 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
5315 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5317 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
5318 extra tokens at end of #undef directive.
5319 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
5320 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
5321 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
5323 2014-01-03 Joseph Myers <joseph@codesourcery.com>
5325 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
5327 * math/auto-libm-test-in: Mark various tests with
5328 xfail-rounding:ldbl-128ibm.
5329 * math/auto-libm-test-out: Regenerated.
5331 2014-01-02 Joseph Myers <joseph@codesourcery.com>
5334 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
5335 numbers with subnormal high part when calculating exponent.
5338 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
5342 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
5344 (__ieee754_acoshl): Use __log1pl not __log1p.
5346 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
5348 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
5349 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
5350 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
5351 (grow_heap, heap_trim, _int_new_arena, get_free_list)
5352 (reused_arena, arena_get2): Convert to GNU style.
5353 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
5354 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
5355 (memalign_check, __malloc_set_state): Likewise.
5356 * malloc/mallocbug.c (main): Likewise.
5357 * malloc/malloc.c (__malloc_assert, malloc_init_state)
5358 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
5359 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
5360 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
5361 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
5362 (__posix_memalign, malloc_info): Likewise.
5363 * malloc/malloc.h: Likewise.
5364 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
5365 (mallochook, memalignhook, reallochook, mabort): Likewise.
5366 * malloc/mcheck.h: Likewise.
5367 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
5368 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
5369 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
5370 * malloc/morecore.c (__default_morecore): Likewise.
5371 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
5372 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
5373 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
5374 (print_and_abort): Likewise.
5375 * malloc/obstack.h: Likewise.
5376 * malloc/set-freeres.c (__libc_freeres): Likewise.
5377 * malloc/tst-mallocstate.c (main): Likewise.
5378 * malloc/tst-mtrace.c (main): Likewise.
5379 * malloc/tst-realloc.c (do_test): Likewise.
5381 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5384 * nscd/netgroupcache.c (do_notfound): New function.
5385 (addgetnetgrentX): Use it.
5388 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
5389 NSS_STATUS_NOTFOUND.
5391 2014-01-01 Joseph Myers <joseph@codesourcery.com>
5393 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
5394 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5396 2014-01-01 Allan McRae <allan@archlinux.org>
5398 * scripts/update-copyrights: Update configure input file suffix.
5400 * NEWS: Update copyright year.
5401 * catgets/gencat.c: Likewise.
5402 * csu/version.c: Likewise.
5403 * debug/catchsegv.sh: Likewise.
5404 * debug/pcprofiledump.c: Likewise.
5405 * debug/xtrace.sh: Likewise.
5406 * elf/ldconfig.c: Likewise.
5407 * elf/ldd.bash.in: Likewise.
5408 * elf/pldd.c: Likewise.
5409 * elf/sotruss.ksh: Likewise.
5410 * elf/sprof.c: Likewise.
5411 * iconv/iconv_prog.c: Likewise.
5412 * iconv/iconvconfig.c: Likewise.
5413 * locale/programs/locale.c: Likewise.
5414 * locale/programs/localedef.c: Likewise.
5415 * login/programs/pt_chown.c: Likewise.
5416 * malloc/memusage.sh: Likewise.
5417 * malloc/memusagestat.c: Likewise.
5418 * malloc/mtrace.pl: Likewise.
5419 * manual/libc.texinfo: Likewise.
5420 * nscd/nscd.c: Likewise.
5421 * nss/getent.c: Likewise.
5422 * nss/makedb.c: Likewise.
5423 * posix/getconf.c: Likewise.
5424 * scripts/test-installation.pl: Likewise.
5426 * All files with FSF copyright notices: Update copyright dates
5427 using scripts/update-copyrights.
5428 * intl/plural.c: Regenerated.
5429 * locale/programs/charmap-kw.h: Likewise.
5430 * locale/programs/locfile-kw.h: Likewise.
5432 2013-12-31 Mike Frysinger <vapier@gentoo.org>
5434 * sysdeps/unix/sysv/linux/configure: Regenerated.
5435 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
5436 the linux/fanotify.h header.
5437 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
5438 HAVE_LINUX_FANOTIFY_H is defined.
5440 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
5442 * benchtests/cos-inputs: New inputs.
5443 * benchtests/sin-inputs: Likewise.
5445 * benchtests/atan-inputs: New inputs. Fix name of multiple
5446 precision fallback inputs.
5448 * benchtests/atanh-inputs: New inputs.
5449 * benchtests/tanh-inputs: Likewise.
5451 * benchtests/acosh-inputs: New inputs.
5452 * benchtests/asinh-inputs: Likewise.
5454 * benchtests/cosh-inputs: New inputs.
5455 * benchtests/sinh-inputs: Likewise.
5457 * benchtests/acos-inputs: Add more inputs.
5458 * benchtests/asin-inputs: Likewise.
5460 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
5463 * manual/arith.texi: Fix spelling.
5464 * manual/charset.texi: Likewise.
5465 * manual/errno.texi: Likewise.
5466 * manual/filesys.texi: Likewise.
5467 * manual/lang.texi: Likewise.
5468 * manual/llio.texi: Likewise.
5469 * manual/locale.texi: Likewise.
5470 * manual/message.texi: Likewise.
5471 * manual/resource.texi: Likewise.
5472 * manual/search.texi: Likewise.
5473 * manual/setjmp.texi: Likewise.
5474 * manual/stdio.texi: Likewise.
5475 * manual/string.texi: Likewise.
5476 * manual/sysinfo.texi: Likewise.
5477 * manual/time.texi: Likewise.
5479 2013-12-27 Carlos O'Donell <carlos@redhat.com>
5481 * po/sl.po: New file.
5483 2013-12-27 Mike Frysinger <vapier@gentoo.org>
5485 * .gitignore: Add core/.gdbinit/.gdb_history.
5487 2013-12-27 Allan McRae <allan@archlinux.org>
5490 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
5491 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
5493 2013-12-24 Brooks Moses <bmoses@google.com>
5495 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
5496 all compilers that claim C++98 compliance, not just GCC.
5497 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
5500 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
5502 * NEWS: Restore accidentally deleted bug-fix entries.
5504 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
5505 Ondřej Bílka <neleai@seznam.cz>
5508 * malloc/malloc.c (_int_free): Perform sanity check only if we
5511 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
5514 * manual/stdio.texi (String Input Conversions): Clarify that character
5515 classes are not supported.
5517 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5519 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5521 2013-12-22 Joseph Myers <joseph@codesourcery.com>
5524 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
5525 Calculate results for small negative arguments directly rather
5526 than using reflection formula with special underflow handling.
5528 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
5529 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
5530 sysdeps/unix/bsd/bsd4.4/syscalls.list.
5531 (fchflags): Likewise.
5533 (setlogin): Likewise.
5534 (sigaltstack): Likewise.
5537 (sigsetmask): Likewise.
5539 (waitpid): Likewise.
5540 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
5541 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
5543 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
5544 * sysdeps/unix/bsd/Makefile: ... here.
5545 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
5546 * sysdeps/unix/bsd/Versions: ... here.
5547 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
5548 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
5549 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
5550 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
5551 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
5552 * sysdeps/unix/bsd/sigblock.c: ... here.
5553 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
5554 * sysdeps/unix/bsd/sigsetmask.c: ... here.
5555 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
5556 * sysdeps/unix/bsd/sigvec.c: ... here.
5557 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
5558 * sysdeps/unix/bsd/tcdrain.c: ... here.
5559 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
5560 * sysdeps/unix/bsd/tcgetattr.c: ... here.
5561 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
5562 * sysdeps/unix/bsd/tcsetattr.c: ... here.
5563 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
5564 * sysdeps/unix/bsd/wait.c: ... here.
5565 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
5566 * sysdeps/unix/bsd/wait3.c: ... here.
5567 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
5568 * sysdeps/unix/bsd/waitpid.c: ... here.
5570 2013-12-21 Joseph Myers <joseph@codesourcery.com>
5573 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
5574 round-to-nearest for [!USE_AS_EXPM1L].
5575 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
5576 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
5577 more tests of exp and exp10. Expect some exp10 tests to miss
5578 exceptions or fail in directed rounding modes.
5579 * math/auto-libm-test-out: Regenerated.
5580 * math/libm-test.inc (exp10_tonearest_test_data): New array.
5581 (exp10_test_tonearest): New function.
5582 (exp10_towardzero_test_data): New array.
5583 (exp10_test_towardzero): New function.
5584 (exp10_downward_test_data): New array.
5585 (exp10_test_downward): New function.
5586 (exp10_upward_test_data): New array.
5587 (exp10_test_upward): New function.
5588 (main): Call the new functions.
5589 * sysdeps/i386/fpu/libm-test-ulps: Update.
5590 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5592 2013-12-20 Joseph Myers <joseph@codesourcery.com>
5594 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
5595 asinh, atan, atan2, atanh, cbrt, cos and cosh.
5596 * math/auto-libm-test-out: Regenerated.
5597 * math/libm-test.inc (acosh_test_data): Add more tests.
5598 (atanh_test_data): Likewise.
5599 (ceil_test_data): Likewise.
5600 (copysign_test_data): Likewise.
5601 * sysdeps/i386/fpu/libm-test-ulps: Update.
5602 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5604 * timezone/checktab.awk: Update from tzcode 2013i.
5605 * timezone/private.h: Likewise.
5606 * timezone/scheck.c: Likewise.
5607 * timezone/tzfile.h: Likewise.
5608 * timezone/tzselect.ksh: Likewise.
5609 * timezone/zdump.c: Likewise.
5610 * timezone/zic.c: Likewise.
5612 * math/auto-libm-test-in: Add tests of cpow.
5613 * math/auto-libm-test-out: Regenerated.
5614 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
5615 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5617 (func_calc_desc): Add mpc_cc_c union field.
5618 (test_functions): Add cpow.
5619 (special_fill_2pi): New function.
5620 (special_real_inputs): Add 2pi.
5621 (calc_generic_results): Handle mpc_cc_c.
5622 * sysdeps/i386/fpu/libm-test-ulps: Update.
5623 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5625 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
5626 csqrt, ctan and ctanh.
5627 * math/auto-libm-test-out: Regenerated.
5628 * math/libm-test.inc (TEST_COND_x86_64): New macro.
5629 (TEST_COND_x86): Likewise.
5630 (ccos_test_data): Use AUTO_TESTS_c_c.
5631 (ccosh_test_data): Likewise.
5632 (cexp_test_data): Likewise.
5633 (clog_test_data): Likewise.
5634 (csqrt_test_data): Likewise.
5635 (ctan_test_data): Likewise.
5636 (ctan_tonearest_test_data): Likewise.
5637 (ctan_towardzero_test_data): Likewise.
5638 (ctan_downward_test_data): Likewise.
5639 (ctan_upward_test_data): Likewise.
5640 (ctanh_test_data): Likewise.
5641 (ctanh_tonearest_test_data): Likewise.
5642 (ctanh_towardzero_test_data): Likewise.
5643 (ctanh_downward_test_data): Likewise.
5644 (ctanh_upward_test_data): Likewise.
5645 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5647 (func_calc_desc): Add mpc_c_c union field.
5648 (FUNC_mpc_c_c): New macro.
5649 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
5650 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
5652 (special_fill_min_subnorm_p120): New function.
5653 (special_real_inputs): Add min_subnorm_p120.
5654 (calc_generic_results): Handle mpc_c_c.
5655 * sysdeps/i386/fpu/libm-test-ulps: Update.
5656 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5658 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
5660 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
5661 (do_sin_slow): New functions.
5662 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
5663 (cslow2, csloww1, csloww2): Use the new functions.
5665 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
5666 Use M to change sign of result instead of X. Assume X is
5668 (csloww1): Likewise.
5672 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
5677 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
5679 (sloww1): Don't adjust sign of DX.
5680 (csloww1): Likewise.
5681 (sloww2): Use X directly and don't adjust sign of DX.
5682 (csloww2): Likewise.
5684 2013-12-19 Joseph Myers <joseph@codesourcery.com>
5686 * math/auto-libm-test-in: Add tests of cabs and carg.
5687 * math/auto-libm-test-out: Regenerated.
5688 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
5689 (carg_test_data): Likewise.
5690 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5692 (func_calc_desc): Add mpc_c_f union field.
5693 (test_functions): Add cabs and carg.
5694 (calc_generic_results): Handle mpc_c_f.
5696 * sysdeps/powerpc/powerpc32/libgcc-compat.S
5697 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
5698 as a macro and a compat symbol.
5699 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
5700 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
5701 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
5702 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
5703 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
5704 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
5706 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
5708 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
5710 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
5712 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
5714 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
5716 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
5717 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
5720 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5722 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5724 2013-12-19 Joseph Myers <joseph@codesourcery.com>
5726 * manual/texinfo.tex: Update to version 2013-11-26.10 with
5727 trailing whitespace removed.
5728 * scripts/config.guess: Update to version 2013-11-29.
5729 * scripts/config.sub: Update to version 2013-10-01.
5731 * math/auto-libm-test-in: Add tests of sincos.
5732 * math/auto-libm-test-out: Regenerated.
5733 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
5734 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5736 (func_calc_desc): Add mpfr_f_11 union field.
5737 (test_functions): Add sincos.
5738 (calc_generic_results): Handle mpfr_f_11.
5739 * sysdeps/i386/fpu/libm-test-ulps: Update.
5740 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5742 2013-12-19 Andreas Schwab <schwab@suse.de>
5744 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
5746 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
5747 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
5748 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
5750 2013-12-19 Joseph Myers <joseph@codesourcery.com>
5752 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
5753 * sysdeps/i386/fpu/libm-test-ulps: Update.
5754 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5757 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
5758 round-to-nearest mode when using frndint.
5759 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
5760 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
5761 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
5763 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
5765 * math/auto-libm-test-out: Regenerated.
5766 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
5767 (TEST_COND_x86): Likewise.
5768 (expm1_tonearest_test_data): New array.
5769 (expm1_test_tonearest): New function.
5770 (expm1_towardzero_test_data): New array.
5771 (expm1_test_towardzero): New function.
5772 (expm1_downward_test_data): New array.
5773 (expm1_test_downward): New function.
5774 (expm1_upward_test_data): New array.
5775 (expm1_test_upward): New function.
5776 (main): Run the new test functions.
5777 * sysdeps/i386/fpu/libm-test-ulps: Update.
5778 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5780 * include/features.h: Update comment documenting feature test
5781 macros. Mention _DEFAULT_SOURCE in comment.
5782 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
5783 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
5784 _BSD_SOURCE and _SVID_SOURCE.
5785 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
5786 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
5787 !_SVID_SOURCE]: Likewise.
5788 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5789 (__USE_POSIX_IMPLICITLY): Define.
5790 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5791 (_POSIX_SOURCE): Undefine and redefine.
5792 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5793 (_POSIX_C_SOURCE): Likewise.
5794 * manual/creature.texi (_DEFAULT_SOURCE): Document.
5795 (Feature Test Macros): Update documentation of default features.
5797 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5799 * benchtests/Makefile: Add bench-strtok.
5800 * benchtests/bench-strtok.c: New file: strtok benchtest.
5802 2013-12-19 Allan McRae <allan@archlinux.org>
5804 * manual/install.texi: Suppress menu for plain text output.
5805 * INSTALL: Regenerated.
5807 2013-12-18 Brooks Moses <bmoses@google.com>
5810 * misc/getauxval.c: Include errno.h.
5811 (__getauxval): Set errno to ENOENT if the requested type is not
5813 * misc/sys/auxv.h (getauxval): Document that it may set errno;
5814 don't declare with __attribute_const__.
5815 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
5816 * manual/startup.texi: Document that getauxval sets errno.
5818 2013-12-18 Joseph Myers <joseph@codesourcery.com>
5820 * math/auto-libm-test-in: Add tests of jn and yn.
5821 * math/auto-libm-test-out: Regenerated.
5822 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
5823 (yn_test_data): Likewise.
5824 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5826 (func_calc_desc): Add mpfr_if_f union field.
5827 (FUNC_mpfr_if_f): New macro.
5828 (test_functions): Add jn and yn.
5829 (calc_generic_results): Assert type of second input for
5830 mpfr_ff_f. Handle mpfr_if_f.
5831 (output_for_one_input_case): Disable all checking for arguments
5832 fitting floating-point types in case of an integer argument.
5833 * sysdeps/i386/fpu/libm-test-ulps: Update.
5834 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5836 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
5837 Don't expect fegetround reference in libm.so.
5839 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5841 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
5842 $(config-cflags-nofma).
5844 2013-12-18 Joseph Myers <joseph@codesourcery.com>
5846 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
5847 * math/auto-libm-test-out: Regenerated.
5850 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
5851 to determine exponent and adjust argument to have exponent of -1.
5852 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
5854 * math/auto-libm-test-out: Regenerated.
5855 * sysdeps/i386/fpu/libm-test-ulps: Update.
5856 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5858 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
5860 * manual/probes.texi: Remove cases when per-thread arenas are
5863 2013-12-18 Andreas Schwab <schwab@suse.de>
5865 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
5866 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
5867 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
5868 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
5869 * sysdeps/i386/i686/multiarch/Makefile: Update.
5870 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
5872 2013-12-17 Joseph Myers <joseph@codesourcery.com>
5874 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
5875 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
5877 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
5880 Support TZ transition times < 00:00:00.
5881 This is needed for version-3 tz-format files; it supports time
5882 stamps past 2037 for America/Godthab (the only entry in the tz
5883 database for which this change is relevant).
5884 * manual/time.texi (TZ Variable): Document transition times
5885 from -167:59:59 through -00:00:01.
5886 * time/tzset.c (tz_rule): Time of day is now signed.
5887 (__tzset_parse_tz): Parse negative time of day.
5889 Document TZ transition times >= 25:00:00.
5890 * manual/time.texi (TZ Variable): Document transition times from
5891 25:00:00 through 167:59:59. These are already supported, and this
5892 support will help with version-3 tz-format files.
5894 * manual/time.texi (TZ Variable): Modernize North America example
5895 to reflect current (i.e., 2007-and-later) daylight saving rules.
5897 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
5899 2013-12-17 Joseph Myers <joseph@codesourcery.com>
5901 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
5902 * sysdeps/unix/bsd/bits/stat.h: Likewise.
5903 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
5904 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
5905 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
5906 * sysdeps/unix/bsd/bsdstat.h: Likewise.
5907 * sysdeps/unix/bsd/clock.c: Likewise.
5908 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
5909 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
5910 * sysdeps/unix/bsd/init-posix.c: Likewise.
5911 * sysdeps/unix/bsd/poll.c: Likewise.
5912 * sysdeps/unix/bsd/ptsname.c: Likewise.
5913 * sysdeps/unix/bsd/seekdir.c: Likewise.
5914 * sysdeps/unix/bsd/setegid.c: Likewise.
5915 * sysdeps/unix/bsd/seteuid.c: Likewise.
5916 * sysdeps/unix/bsd/setgid.c: Likewise.
5917 * sysdeps/unix/bsd/setrgid.c: Likewise.
5918 * sysdeps/unix/bsd/setruid.c: Likewise.
5919 * sysdeps/unix/bsd/setsid.c: Likewise.
5920 * sysdeps/unix/bsd/setuid.c: Likewise.
5921 * sysdeps/unix/bsd/sigaction.c: Likewise.
5922 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
5923 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
5924 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
5925 * sysdeps/unix/bsd/telldir.c: Likewise.
5926 * sysdeps/unix/bsd/times.c: Likewise.
5927 * sysdeps/unix/bsd/usleep.c: Likewise.
5929 * misc/Makefile (install-lib): Remove libbsd-compat.a.
5930 ($(objpfx)libbsd-compat.a): Remove rule.
5932 * include/features.h (__FAVOR_BSD): Do not define.
5933 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
5934 features conflicting with POSIX.
5935 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
5936 (_BSD_SOURCE): Remove description of not being a subset of other
5937 feature test macros.
5938 * manual/job.texi (getpgrp): Do not document BSD version.
5939 (getpgid): Do not document by reference to BSD getpgrp.
5940 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
5941 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
5942 * signal/signal.h [__FAVOR_BSD]: Likewise.
5943 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
5944 instead of making contents conditional on [__FAVOR_BSD].
5945 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
5947 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5949 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5951 2013-12-17 Joseph Myers <joseph@codesourcery.com>
5954 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
5955 values below 2**-450, not 2**-500.
5956 * math/auto-libm-test-in: Don't allow spurious underflow from
5958 * math/auto-libm-test-out: Regenerated.
5962 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
5963 values of ha and hb and sort them after adjusting subnormal
5965 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
5967 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
5968 values of ea and eb and sort them after adjusting subnormal
5970 * math/auto-libm-test-in: Do not expect some hypot tests of
5971 subnormals to fail. Add more hypot tests.
5972 * math/auto-libm-test-out: Regenerated.
5974 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5977 * sysdeps/sh/s_fma.c: New file.
5978 * sysdeps/sh/s_fmaf.c: New file.
5979 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
5981 * sysdeps/sh/Implies: Add sh/soft-fp.
5983 2013-12-16 Roland McGrath <roland@hack.frob.com>
5985 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
5986 level of indirection to members `objname', `errstring', `malloced'.
5987 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
5988 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
5989 it as the __longjmp argument (just pass 1 instead).
5990 (_dl_catch_error): Initialize C with argument pointers and address of
5991 volatile local ERRCODE rather than copying values out of C at return.
5993 2013-12-16 Joseph Myers <joseph@codesourcery.com>
5995 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
5996 * math/auto-libm-test-out: Regenerated.
5997 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
5998 (hypot_test_data): Likewise.
5999 (pow_test_data): Likewise.
6000 (pow_tonearest_test_data): Likewise.
6001 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6003 (func_calc_desc): Add mpfr_ff_f union field.
6004 (FUNC_mpfr_ff_f): New macro.
6005 (test_functions): Add atan2, hypot and pow.
6006 (special_fill_min): New function.
6007 (special_fill_minus_min): Likewise.
6008 (special_fill_min_subnorm): Likewise.
6009 (special_fill_minus_min_subnorm): Likewise.
6010 (special_real_inputs): Add min, -min, min_subnorm and
6012 (calc_generic_results): Handle mpfr_ff_f.
6013 * sysdeps/i386/fpu/libm-test-ulps: Update.
6014 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6016 2013-12-16 Will Newton <will.newton@linaro.org>
6018 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
6019 (Aligned Memory Blocks): Add documentation for aligned_alloc
6020 and suggest it as an alternative to posix_memalign.
6021 (Hooks for Malloc): Document __memalign_hook is also called
6022 for aligned_alloc. (Summary of Malloc): Add summary for
6023 aligned alloc. Document __memalign_hook is also called
6026 2013-12-16 Will Newton <will.newton@linaro.org>
6028 * manual/memory.texi (Malloc Examples): Clarify default
6029 alignment documentation. Suggest posix_memalign rather
6030 than memalign or valloc.
6031 (Aligned Memory Blocks): Remove suggestion to use memalign
6032 or valloc. Remove obsolete comment about BSD.
6033 Document memalign errno values and mark the function obsolete.
6034 Document posix_memalign returned error codes. Mark valloc
6035 as obsolete. (Hooks for Malloc): __memalign_hook is also
6036 called for posix_memalign and valloc.
6037 (Summary of Malloc): Add posix_memalign to function summary.
6038 __memalign_hook is also called for posix_memalign and valloc.
6040 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6042 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
6046 (sloww): Use mynumber union. Expand ternary operator into
6048 (cslow): use mynumber union.
6050 2013-12-16 Allan McRae <allan@archlinux.org>
6052 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
6053 * configure: Regenerated.
6055 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
6058 * configure.ac: Added --enable-maintainer-mode. Check for
6059 autoconf when enabled.
6060 * configure: Regenerated.
6062 * nscd/nscd.service: New file.
6063 * nscd/nscd.tmpfiles: New file.
6065 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
6068 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
6069 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
6070 * sysdeps/x86_64/multiarch/strstr.c: ... here.
6071 (strstr): Add __strstr_sse2_unaligned ifunc.
6072 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
6073 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
6074 (strcasestr): Remove __strcasestr_sse42 ifunc.
6075 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
6076 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
6077 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
6079 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6081 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
6082 * sysdeps/sh/bits/fenv.h: ... here.
6083 * sysdeps/sh/sh4/fpu/bits: Remove directory.
6085 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6087 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
6089 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
6090 hypotf multiarch implementations.
6091 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
6092 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
6093 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
6094 multiarch hypot for PPC64.
6095 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
6096 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
6097 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
6098 multiarch hypotf for PPC64.
6100 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
6101 modff multiarch implementations.
6102 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
6103 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
6104 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
6105 multiarch modf for PPC64.
6106 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
6107 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
6108 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
6109 multiarch modff for PPC64.
6111 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
6112 and logl multiarch implementations.
6113 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
6114 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
6115 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
6116 multiarch logb for PPC64.
6117 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
6118 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
6119 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
6120 multiarch logb for PPC64.
6121 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
6122 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
6123 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
6124 multiarch logb for PPC64.
6126 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
6127 isinff multiarch implementation.
6128 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
6130 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
6131 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
6132 multiarch isinf for PPC64.
6133 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
6135 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
6136 multiarch isinff for PPC64.
6138 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
6139 finitef multiarch implementation.
6140 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
6142 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
6143 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
6144 multiarch finite for PPC64.
6145 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
6147 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
6148 multiarch finitef for PPC64.
6150 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
6151 lrint multiarch implementation.
6152 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
6154 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
6155 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
6156 multiarch llrint for PPC64.
6157 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
6158 multiarch lrint for PPC64.
6160 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
6161 copysignf multiarch implementation.
6162 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
6164 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
6166 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
6167 multiarch copysign for PPC64.
6168 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
6169 multiarch copysignf for PPC64.
6171 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
6172 multiarch implementation.
6173 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
6175 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
6177 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
6179 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
6181 multiarch llround for PPC64.
6182 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
6183 multiarch trunc for PPC64.
6184 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
6185 multiarch truncf for PPC64.
6187 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
6188 multiarch implementation.
6189 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
6191 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
6193 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
6195 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
6197 multiarch llround for PPC64.
6198 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
6199 multiarch round for PPC64.
6200 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
6201 multiarch roundf for PPC64.
6203 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
6204 multiarch implementation.
6205 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
6207 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
6209 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
6211 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
6213 multiarch llround for PPC64.
6214 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
6215 multiarch floor for PPC64.
6216 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
6217 multiarch floorf for PPC64.
6219 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
6220 multiarch implementation.
6221 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
6223 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
6225 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
6227 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
6229 multiarch llround for PPC64.
6230 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
6231 multiarch ceil for PPC64.
6232 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
6233 multiarch ceilf for PPC64.
6235 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
6236 multiarch implementation.
6237 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
6239 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
6241 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
6243 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
6244 multiarch llround for PPC64.
6245 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
6246 multiarch lround for PPC64.
6248 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
6249 multiarch implementation.
6250 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
6251 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
6252 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
6254 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
6255 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
6256 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
6257 multiarch isnan for PPC64.
6258 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
6259 multiarch isnanf for PPC64.
6261 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
6262 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
6263 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
6264 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
6265 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
6266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
6268 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
6269 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
6270 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6271 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6273 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
6274 multiarch implementations.
6275 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6276 (__libc_ifunc_impl_list): Likewise.
6277 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
6278 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
6279 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
6280 multiarch stpcpy for PPC64.
6282 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
6283 multiarch implementations.
6284 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6285 (__libc_ifunc_impl_list): Likewise.
6286 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
6287 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
6288 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
6289 multiarch strcpy for PPC64.
6291 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
6292 redefine function name.
6293 (_wordcopy_fwd_dest_aligned): Likewise.
6294 (_wordcopy_bwd_aligned): Likewise.
6295 (_wordcopy_bwd_dest_aligned): Likewise.
6296 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
6297 multiarch implementations.
6298 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6299 (__libc_ifunc_impl_list): Likewise.
6300 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
6301 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
6302 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
6303 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
6304 multiarch wcscpy for PPC64.
6306 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
6307 multiarch implementations.
6308 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6309 (__libc_ifunc_impl_list): Likewise.
6310 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
6311 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
6312 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
6313 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
6314 multiarch wcscpy for PPC64.
6316 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
6317 multiarch implementations.
6318 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6319 (__libc_ifunc_impl_list): Likewise.
6320 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
6321 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
6322 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
6323 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
6324 multiarch wcsrchr for PPC64.
6326 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
6327 multiarch implementations.
6328 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6329 (__libc_ifunc_impl_list): Likewise.
6330 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
6331 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
6332 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
6333 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
6334 multiarch wcschr for PPC64.
6336 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
6337 multiarch implementations.
6338 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6339 (__libc_ifunc_impl_list): Likewise.
6340 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
6341 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
6342 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
6343 multiarch strchrnul for PPC64.
6345 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
6347 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6348 (__libc_ifunc_impl_list): Likewise.
6349 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
6350 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
6351 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
6352 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
6355 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
6357 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6358 (__libc_ifunc_impl_list): Likewise.
6359 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
6360 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
6361 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
6362 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
6365 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
6366 multiarch implementations.
6367 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6368 (__libc_ifunc_impl_list): Likewise.
6369 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
6370 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
6371 strncasecmp for PPC64.
6372 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
6373 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
6374 multiarch strncasecmp_l for PPC64.
6376 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
6377 multiarch implementations.
6378 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6379 (__libc_ifunc_impl_list): Likewise.
6380 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
6381 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
6382 multiarch strcasecmp for PPC64.
6383 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
6385 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
6386 multiarch strcasecmp_l for PPC64.
6388 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
6390 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6391 (__libc_ifunc_impl_list): Likewise.
6392 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
6393 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
6394 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
6397 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
6399 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6400 (__libc_ifunc_impl_list): Likewise.
6401 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
6402 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
6403 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
6406 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
6408 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6409 (__libc_ifunc_impl_list): Likewise.
6410 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
6411 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
6412 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
6413 rawmemrchr for PPC64.
6415 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
6417 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6418 (__libc_ifunc_impl_list): Likewise.
6419 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
6420 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
6421 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
6424 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
6426 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6427 (__libc_ifunc_impl_list): Likewise.
6428 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
6429 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
6430 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
6433 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
6435 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6436 (__libc_ifunc_impl_list): Likewise.
6437 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
6438 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
6439 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
6442 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
6443 avoid cretion of __bzero symbol.
6444 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
6446 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
6448 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
6450 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
6451 multiarch implementations.
6452 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6453 (__libc_ifunc_impl_list): Likewise.
6454 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
6455 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
6456 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
6457 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
6459 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
6460 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
6461 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
6462 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
6463 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
6465 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
6467 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
6468 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
6470 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6471 (__libc_ifunc_impl_list): Likewise.
6472 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
6473 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
6474 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
6475 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
6478 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
6479 multiarch for POWER/PPC64.
6480 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
6481 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
6482 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
6483 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
6484 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
6485 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
6486 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
6487 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
6488 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
6491 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
6492 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
6493 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
6494 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
6495 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
6496 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
6497 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
6498 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
6499 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
6500 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
6501 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
6502 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
6503 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
6504 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
6505 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
6506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
6507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
6508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
6509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
6510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
6511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
6512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
6514 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6516 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
6518 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6520 * benchtests/Makefile (bench): Add exp2 and log2.
6521 (LDLIBS-bench-exp2): Add -lm.
6522 (LDLIBS-bench-log2): Likewise.
6523 * benchtests/exp2-inputs: New inputs file.
6524 * benchtests/log2-inputs: New inputs file.
6525 * benchtests/log-inputs: Add new inputs.
6526 * benchtests/tan-inputs: Likewise.
6528 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6530 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
6532 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
6533 (csloww2): ... from here.
6535 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
6536 instead of structures.
6537 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
6538 (POLYNOMIAL): Likewise.
6539 (TAYLOR_SLOW): Likewise.
6547 (bsloww1): Likewise.
6548 (bsloww2): Likewise.
6551 (csloww1): Likewise.
6552 (csloww2): Likewise.
6554 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
6556 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
6557 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
6558 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
6559 * malloc/hooks.c (realloc_check): Likewise.
6561 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
6562 * malloc/arena.c: Remove PER_THREAD conditional.
6563 [!PER_THREAD]: Remove code.
6564 (ptmalloc_unlock_all2): Likewise.
6565 (ptmalloc_init): Likewise.
6566 (_int_new_arena): Likewise.
6567 (arena_get2): Likewise.
6568 * malloc/hooks.c (__malloc_get_state): Likewise.
6569 (__malloc_set_state): Likewise.
6570 * malloc/malloc.c: Likewise.
6571 (struct malloc_state): Likewise.
6572 (struct malloc_par): Likewise.
6573 (__libc_realloc): Likewise.
6574 (__libc_mallopt): Likewise.
6576 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6578 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
6580 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
6582 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
6583 macro to a function. Check for zero perturb_byte.
6584 (_int_malloc, _int_free): Remove zero perturb_byte checks.
6586 * malloc/malloc.c: (force_reg): Remove.
6587 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
6588 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
6589 force_reg by atomic_forced_read.
6590 * malloc/arena.c (ptmalloc_init): Likewise.
6591 * malloc/hooks.c (top_check): Likewise.
6593 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6595 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6597 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
6599 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6601 2013-12-08 Joseph Myers <joseph@codesourcery.com>
6603 * math/auto-libm-test-in: Add tests of lgamma.
6604 * math/auto-libm-test-out: Regenerated.
6605 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
6606 (M_LOG_2_SQRT_PIl): Likewise.
6607 (lgamma_test_data): Use AUTO_TESTS_f_f1.
6608 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6610 (func_calc_desc): Add mpfr_f_f1 union field.
6619 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
6620 (test_functions): Add lgamma.
6621 (calc_generic_results): Handle mpfr_f_f1.
6622 * sysdeps/i386/fpu/libm-test-ulps: Update.
6623 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6625 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6627 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
6628 __mpn_add_n for PowerPC64/POWER7.
6629 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
6630 __mpn_sub_n for PowerPC64/POWER7.
6632 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
6633 __mpn_addmul_1 for PowerPC64.
6634 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
6635 __mpn_submul_1 for PowerPC64.
6636 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
6638 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
6641 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
6644 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
6646 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6648 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
6650 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
6651 add multiarch folders.
6652 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
6653 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
6654 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
6655 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
6656 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
6657 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
6658 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
6659 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
6660 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
6661 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
6662 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
6663 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
6664 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
6665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
6666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
6667 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
6668 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
6670 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
6671 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
6672 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
6674 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
6676 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
6677 multiarch __ieee754_hypot for PowerPC32.
6678 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
6680 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
6682 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
6683 multiarch __ieee754_hypotf for PowerPC32.
6685 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
6686 long_double_symbol only if __logbl is defined.
6687 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
6688 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
6689 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
6690 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
6691 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
6692 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
6693 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
6694 path for implementation.
6695 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
6696 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
6697 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
6698 logb, and logbl multiarch implementations for PowerPC32.
6699 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
6701 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
6703 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
6704 multiarch logb for PowerPC32.
6705 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
6707 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
6709 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
6710 multiarch logbf for PowerPC32.
6711 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
6712 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
6714 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
6715 multiarch logbl implementation for PowerPC32.
6717 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
6718 and modff multiarch implementations.
6719 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
6721 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
6723 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
6724 multiarch modf for PowerPC32.
6725 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
6727 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
6729 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
6730 multiarch modff for PowerPC32.
6732 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
6733 and lrintf multiarch implementations.
6734 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
6736 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
6738 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
6739 multiarch lrint for PowerPC32.
6740 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
6741 file: multiarch lrintf for PowerPC32.
6743 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
6744 and lroundf multiarch implementations.
6745 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
6747 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
6749 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
6751 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
6752 multiarch lround for PowerPC32.
6753 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
6754 file: multiarch lroundf for PowerPC32.
6756 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
6757 copysign and copysignf multiarch implementations.
6758 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
6760 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
6762 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
6763 file: multiarch copysign for PowerPC32.
6764 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
6765 file: multiarch copysignf for PowerPC32.
6767 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
6768 and truncf multiarch implementations.
6769 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
6771 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
6773 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
6774 multiarch trunc for PowerPC32.
6775 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
6777 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
6779 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
6780 multiarch truncf for PowerPC32.
6782 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
6783 and roundf multiarch implementations.
6784 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
6786 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
6788 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
6789 multiarch round for PowerPC32.
6790 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
6792 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
6794 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
6795 multiarch roundf for PowerPC32.
6797 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
6798 and floorf multiarch implementations.
6799 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
6801 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
6803 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
6804 multiarch floor for PowerPC32.
6805 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
6807 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
6809 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
6810 multiarch floorf for PowerPC32.
6812 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
6813 and ceilf multiarch implementations.
6814 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
6816 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
6818 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
6819 multiarch ceil for PowerPC32.
6820 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
6822 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
6824 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
6825 multiarch ceilf for PowerPC32.
6827 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
6829 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
6831 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
6832 and finitef multiarch implementations.
6833 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
6835 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
6837 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
6838 multiarch finite for PowerPC32.
6839 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
6841 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
6842 file: multiarch finitef for PowerPC32.
6844 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
6845 and isinff multiarch implementations.
6846 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
6848 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
6850 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
6851 multiarch isinf for PowerPC32.
6852 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
6854 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
6855 multiarch isinff for PowerPC32.
6857 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
6858 alias when __isnan is defined.
6859 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
6860 and isnanf multiarch implementations.
6861 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
6863 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
6865 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
6867 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
6869 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
6870 multiarch isnan for PowerPC32.
6871 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
6873 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
6875 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
6876 multiarch isnanf for PowerPC32.
6878 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
6879 and sqrtf multiarch implementations.
6880 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
6882 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
6884 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
6885 multiarch sqrt for PowerPC32.
6886 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
6888 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
6890 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
6891 multiarch sqrtf for PowerPC32.
6893 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
6894 and llroundf multiarch implementations.
6895 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
6897 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
6899 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
6901 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
6902 file: multiarch llround for PowerPC32.
6903 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
6904 file: multiarch llroundf for PowerPC32.
6906 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
6907 multiarch PowerPC32 fpu implementations.
6908 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
6910 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
6912 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
6913 multiarch llrint for PowerPC32.
6914 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
6916 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
6918 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
6921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
6923 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
6925 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
6927 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
6929 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
6930 multiarch wordcopy for PPC32.
6931 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
6933 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6934 (__libc_ifunc_impl_list): Likewise.
6935 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
6936 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
6937 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
6938 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
6939 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
6940 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
6942 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
6943 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
6945 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
6947 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
6949 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
6950 multiarch wcscpy for PPC32.
6951 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
6953 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6954 (__libc_ifunc_impl_list): Likewise.
6955 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
6956 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
6957 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
6958 sysdeps/powerpc/power6/wcscpy.c.
6960 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
6961 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
6963 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
6965 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
6967 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
6968 multiarch wcsrchr for PPC32.
6969 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
6971 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6972 (__libc_ifunc_impl_list): Likewise.
6973 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
6974 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
6975 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
6976 sysdeps/powerpc/power6/wcsrchr.c.
6978 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
6980 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
6982 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
6983 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
6984 multiarch wcschr for PPc32.
6985 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
6987 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6988 (__libc_ifunc_impl_list): Likewise.
6989 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
6990 * sysdeps/powerpc/power6/wcschr.c: ... to here.
6991 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
6992 sysdeps/powerpc/power6/wcschr.c.
6994 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
6995 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
6997 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
6998 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
6999 file: multiarch strchr for PPC32.
7000 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
7002 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7003 (__libc_ifunc_impl_list): Likewise.
7005 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
7007 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
7009 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
7011 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
7012 multiarch strchrnul for PPC32.
7013 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
7015 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7016 (__libc_ifunc_impl_list): Likewise.
7018 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
7020 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
7021 multiarch strncasecmp for PPC32.
7022 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
7024 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
7025 multiarch strncasecmp_l for PPC32.
7026 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
7027 strncasecmp multiarch objects.
7028 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7029 (__libc_ifunc_impl_list): Likewise.
7031 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
7033 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
7034 multiarch strncasecmp for PPC32.
7035 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
7037 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
7038 multiarch strcasecmp_l for PPC32.
7039 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
7041 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7042 (__libc_ifunc_impl_list): Likewise.
7044 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
7046 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
7048 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
7049 multiarch strncmp for PPC32.
7050 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
7052 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7053 (__libc_ifunc_impl_list): Likewise.
7055 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
7056 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
7058 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
7059 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
7060 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
7062 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7063 (__libc_ifunc_impl_list): Likewise.
7065 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
7067 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
7069 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
7070 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
7072 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7073 (__libc_ifunc_impl_list): Likewise.
7075 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
7077 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
7079 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
7080 multiarch rawmemchr for PPC32.
7081 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
7083 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7084 (__libc_ifunc_impl_list): Likewise.
7086 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
7088 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
7090 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
7091 file: memrchr multiarch for PPC32.
7092 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
7094 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7095 (__libc_ifunc_impl_list): Likewise.
7097 * string/memchr.c (__memchr): Using macro to redefine symbol name.
7098 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
7100 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
7101 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
7102 multiarch memchr for PPC32.
7103 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
7105 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7106 (__libc_ifunc_impl_list): Likewise.
7108 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
7109 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
7111 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
7113 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
7114 file: multiarch mempcpy for PPC32.
7115 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
7117 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7118 (__libc_ifunc_impl_list): Likewise.
7120 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
7121 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
7122 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
7123 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
7124 multiarch bzero for PPC32.
7125 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
7127 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
7129 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
7130 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
7131 file: multiarch memset for PPC32.
7132 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
7133 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
7134 memset multiarch objects.
7135 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7136 (__libc_ifunc_impl_list): Likewise.
7138 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
7140 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
7141 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
7143 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
7144 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
7146 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7147 (__libc_ifunc_impl_list): Likewise.
7149 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
7150 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
7151 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
7153 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
7155 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
7157 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
7158 multiarch memcpy for PPC32.
7159 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
7161 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7162 (__libc_ifunc_impl_list): Likewise.
7164 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
7165 support multiarch for POWER/PPC32.
7166 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
7168 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
7169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
7170 Implies file to make multiarch folder appers before the fpu and
7171 default folder for power4 configuration.
7173 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
7175 * scripts/bench.pl: Append volatile keyword to type.
7177 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7179 * sysdeps/sh/sotruss-lib.c: New file.
7180 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
7182 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7184 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7186 2013-12-05 Joseph Myers <joseph@codesourcery.com>
7189 * math/w_tgamma.c: Include <errno.h>.
7190 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
7191 * math/w_tgammaf.c: Include <errno.h>.
7192 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
7193 * math/w_tgammal.c: Include <errno.h>.
7194 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
7195 * math/auto-libm-test-in: Do not allow missing errno on tgamma
7196 underflow. Add more tgamma tests.
7197 * math/auto-libm-test-out: Regenerated.
7198 * sysdeps/i386/fpu/libm-test-ulps: Update.
7199 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7201 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
7202 sin, sinh, tan, tanh, tgamma, y0 and y1.
7203 * math/auto-libm-test-out: Regenerated.
7204 * math/libm-test.inc (TEST_COND_x86_64): New macro.
7205 (TEST_COND_x86): Likewise.
7206 (M_E2l): Remove macro.
7208 (M_2_SQRT_PIl): Likewise.
7209 (M_SQRT_PIl): Likewise.
7210 (M_1_DIV_El): Likewise.
7211 (log_test_data): Use AUTO_TESTS_f_f.
7212 (log10_test_data): Likewise.
7213 (log1p_test_data): Likewise.
7214 (log2_test_data): Likewise.
7215 (sin_test_data): Likewise.
7216 (sin_tonearest_test_data): Likewise.
7217 (sin_towardzero_test_data): Likewise.
7218 (sin_downward_test_data): Likewise.
7219 (sin_upward_test_data): Likewise.
7220 (sinh_test_data): Likewise.
7221 (sinh_tonearest_test_data): Likewise.
7222 (sinh_towardzero_test_data): Likewise.
7223 (sinh_downward_test_data): Likewise.
7224 (sinh_upward_test_data): Likewise.
7225 (tan_test_data): Likewise.
7226 (tan_tonearest_test_data): Likewise.
7227 (tan_towardzero_test_data): Likewise.
7228 (tan_downward_test_data): Likewise.
7229 (tan_upward_test_data): Likewise.
7230 (tanh_test_data): Likewise.
7231 (tgamma_test_data): Likewise.
7232 (y0_test_data): Likewise.
7233 (y1_test_data): Likewise.
7234 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
7235 (special_real_inputs): Add pi/4.
7236 * sysdeps/i386/fpu/libm-test-ulps: Update.
7237 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7239 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7241 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
7242 "longjmp_target" static probes.
7243 (__longjmp): Rename to __longjmp_symbol.
7244 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
7245 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
7246 on which longjmp to generate.
7247 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
7248 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
7250 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7251 (__sigjmp_save): Rename to __sigjmp_save_symbol.
7252 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
7253 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
7254 and __sigjmp_save_symbol based on which sigsetjmp to generated.
7255 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
7256 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
7257 __longjmp_symbol based on which __longjmp to generate.
7258 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
7260 (setjmp): Rename to setjmp_symbol.
7261 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7262 (_setjmp): Rename to _setjmp_symbol.
7263 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7264 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
7265 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
7266 which setjmp to generate.
7267 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
7268 "longjmp_target" static probes.
7270 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7272 * benchtests/README: Add note about output arguments.
7273 * benchtests/bench-sincos.c: Remove file.
7274 * benchtests/sincos-inputs: New file.
7275 * scripts/bench.pl: Identify output arguments and define
7276 static variables for them.
7278 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
7281 * Makefile (INSTALL): Add install-plain.texi as the primary
7283 * manual/install-plain.texi: New file.
7284 * manual/install.texi: Include node directive only for
7285 non-plaintext output.
7287 2013-12-04 Joseph Myers <joseph@codesourcery.com>
7289 * stdlib/longlong.h: Update from GCC.
7293 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
7294 * math/w_j0f.c (y0f): Likewise.
7295 * math/w_j0l.c (__y0l): Likewise.
7296 * math/w_j1.c (y1): Likewise.
7297 * math/w_j1f.c (y1f): Likewise.
7298 * math/w_j1l.c (__y1l): Likewise
7299 * math/w_jn.c (yn): Likewise.
7300 * math/w_jnf.c (ynf): Likewise.
7301 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
7302 Bessel function pole errors in _POSIX_ mode. Use NAN as return
7303 value for Bessel function domain errors outside _SVID_ mode.
7304 Adjust sign of return value for yn (negative integer, 0).
7305 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
7306 by zero in return for negative x and set sign appropriately for
7308 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
7309 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
7310 * math/libm-test.inc (y0_test_data): Add more tests and adjust
7311 expectations in error cases.
7312 (y1_test_data): Likewise.
7313 (yn_test_data): Likewise.
7314 * sysdeps/i386/fpu/libm-test-ulps: Update.
7315 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7317 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7319 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
7320 "64" to "64-v1". Add "64-v2".
7321 (abi-64-options): Rename to ...
7322 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
7323 (abi-64-condition): Rename to ...
7324 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
7325 (abi-64-ld-soname): Rename to ...
7326 (abi-64-v1-ld-soname): ... this.
7327 (abi-64-v2-options): Define.
7328 (abi-64-v2-condition): Likewise.
7329 (abi-64-v2-ld-soname): Likewise.
7330 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
7331 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
7332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
7333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
7334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
7336 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7337 Alan Modra <amodra@gmail.com>
7339 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
7340 New versions for use with the ELFv2 ABI.
7341 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
7342 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
7344 (struct La_ppc64v2_retval): Likewise.
7345 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
7346 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
7347 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
7348 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
7349 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
7350 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
7351 Do not save or restore CR.
7352 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
7353 (_dl_profile_resolve): Do no save or restore CR. Support extended
7354 return values for ELFv2 ABI. Fix location of FPR return registers.
7355 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
7356 updated values for _CALL_ELF == 2.
7357 (La_regs, La_retval, int_retval): Likewise.
7359 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7361 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
7362 (FRAME_MIN_SIZE_PARM): Likewise.
7363 (FRAME_BACKCHAIN): Likewise.
7364 (FRAME_CR_SAVE): Likewise.
7365 (FRAME_LR_SAVE): Likewise.
7366 (FRAME_TOC_SAVE): Likewise.
7367 (FRAME_PARM_SAVE): Likewise.
7368 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
7369 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
7370 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
7371 (call_mcount_parm_offset): New macro.
7372 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
7373 (PROF): Use symbolic stack frame offsets.
7374 (TAIL_CALL_SYSCALL_ERROR): Likewise.
7375 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
7376 Redefine in terms of FRAME_MIN_SIZE.
7377 (_dl_runtime_resolve): Use symbolic stack frame offsets.
7378 (_dl_profile_resolve): Likewise. Update comment.
7379 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
7380 symbols stack frame offsets.
7381 (__sigsetjmp): Likewise.
7382 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
7383 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
7384 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
7385 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
7387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
7388 (FRAME_BACKCHAIN): Remove.
7389 (FRAME_CR_SAVE): Likewise.
7390 (FRAME_LR_SAVE): Likewise.
7391 (FRAME_COMPILER_DW): Likewise.
7392 (FRAME_LINKER_DW): Likewise.
7393 (FRAME_TOC_SAVE): Likewise.
7394 (FRAME_PARM_SAVE): Likewise.
7395 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
7396 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
7397 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
7398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
7399 (CHECK_SP): Use symbolic stack frame offsets.
7400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
7401 zone" instead of caller's parameter save area for temp storage.
7402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
7403 Likewise. Also, use symbolic stack frame offsets.
7404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
7405 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
7406 our own stack frame instead of the caller's.
7407 (__socket): Use symbolic stack frame offsets.
7409 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7410 Alan Modra <amodra@gmail.com>
7412 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
7414 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
7415 (PPC64_LOCAL_ENTRY_OFFSET): Define.
7416 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
7418 (elf_machine_fixup_plt): Call it.
7419 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
7421 (elf_machine_rela): Update call to elf_machine_plt_conflict.
7422 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
7423 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
7424 r2 before calling target.
7426 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7427 Alan Modra <amodra@gmail.com>
7429 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
7430 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
7431 versions of macros to support ELFv2 ABI.
7432 (LOCALENTRY): New macro.
7433 (ENTRY, EALIGN): Use it.
7434 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
7435 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
7436 fall through into ENTRY entry point.
7437 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
7438 Only define if _CALL_ELF != 2.
7440 (elf_machine_matches_host): Verify ABI version matches.
7441 (RTLD_START): Use LOCALENTRY.
7442 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
7443 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
7444 (PLT_ENTRY_WORDS): New macro.
7445 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
7446 (elf_machine_runtime_setup): Support ELFv2 ABI.
7447 (elf_machine_fixup_plt): Likewise.
7448 (elf_machine_plt_conflict): Likewise.
7449 (resolve_ifunc): Likewise.
7450 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
7451 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
7453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
7454 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
7455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
7456 (makecontext): Support ELFv2 ABI.
7457 * elf/elf.h (EF_PPC64_ABI): Define.
7459 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7461 * sysdeps/powerpc/powerpc64/sysdep.h
7462 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
7463 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
7464 (ENTRY) [ASSEMBLER]: ... but instead here ...
7465 (EALIGN) [ASSEMBLER]: ... and here.
7466 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
7467 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
7468 (ENTRY_2) [!ASSEMBLER]: Use it.
7469 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
7470 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
7471 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
7472 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
7473 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
7474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
7475 Use PPC64_LOAD_FUNCPTR.
7477 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
7479 2013-12-04 Alan Modra <amodra@gmail.com>
7481 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
7482 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
7483 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
7484 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
7486 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
7487 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
7488 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
7489 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
7490 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
7491 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
7493 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
7496 (__makecontext): Fix incorrect CFI when backtracing out of
7497 context created via makecontext.
7498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
7499 (__setcontext): Fix incorrect CFI during switch to new context.
7500 (__novec_setcontext): Likewise.
7502 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
7505 * time/strptime_l.c (__strptime_internal): Allow modifiers
7507 * time/tst-strptime.c (day_tests): Add testcase.
7509 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7511 * scripts/bench.pl: Skip over blank lines.
7513 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
7516 * manual/time.texi (Calendar Time): Clarify what timezone functions
7519 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7521 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7523 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
7525 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
7527 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
7528 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
7529 * debug/memset_chk.c (__memset_chk): Likewise.
7530 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
7531 * debug/strncpy_chk.c: Likewise.
7533 2013-12-03 Joseph Myers <joseph@codesourcery.com>
7537 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
7538 (__ieee754_exp): For possibly underflowing results, check size of
7539 result and force underflow exception if required.
7540 * math/auto-libm-test-in: Add more tests of exp.
7541 * math/auto-libm-test-out: Regenerated.
7542 * sysdeps/i386/fpu/libm-test-ulps: Update.
7543 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7546 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
7547 * math/w_exp2f.c (__exp2f): Likewise.
7548 * math/w_exp2l.c (__exp2l): Likewise.
7549 * math/auto-libm-test-in: Do not allow missing errno on exp2
7551 * math/auto-libm-test-out: Regenerated.
7553 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
7556 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
7557 handle filename validation.
7558 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
7561 2013-12-03 Joseph Myers <joseph@codesourcery.com>
7564 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
7565 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
7566 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
7568 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
7569 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
7570 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7571 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
7572 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7573 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
7574 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7575 * math/auto-libm-test-in: Don't allow missing errno from erfc.
7576 Add more erfc tests.
7577 * math/auto-libm-test-out: Regenerated.
7578 * sysdeps/i386/fpu/libm-test-ulps: Update.
7579 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7581 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
7582 exp2, expm1, j0 and j1.
7583 * math/auto-libm-test-out: Regenerated.
7584 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
7585 (erfc_test_data): Likewise.
7586 (exp_test_data): Likewise.
7587 (exp_tonearest_test_data): Likewise.
7588 (exp_towardzero_test_data): Likewise.
7589 (exp_downward_test_data): Likewise.
7590 (exp_upward_test_data): Likewise.
7591 (exp10_test_data): Likewise.
7592 (exp2_test_data): Likewise.
7593 (expm1_test_data): Likewise.
7594 (j0_test_data): Likewise.
7595 (j1_test_data): Likewise.
7596 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
7597 (input_flag_type): Add flag_xfail_rounding.
7598 (input_flags): Add xfail-rounding.
7599 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
7600 (output_for_one_input_case): Handle flag_xfail_rounding.
7601 * sysdeps/i386/fpu/libm-test-ulps: Update.
7602 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7604 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
7607 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
7610 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
7613 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
7614 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
7615 (STAP_PROBE0): New macro.
7616 (STAP_PROBE1): Likewise.
7617 (STAP_PROBE2): Likewise.
7618 (STAP_PROBE3): Likewise.
7619 (STAP_PROBE4): Likewise.
7621 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
7623 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
7625 2013-12-02 Steve Ellcey <sellcey@mips.com>
7627 * benchtests/Makefile (bench): Add sqrt.
7628 (LDLIBS-bench-sqrt): New.
7629 * benchtests/sqrt-input: New.
7631 2013-12-02 Pavel Simerda <psimerda@redhat.com>
7633 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
7634 (GAIH_EAI): Likewise.
7635 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
7636 (gaih_inet): Likewise.
7637 (getaddrinfo): Don't use GAIH_EAI.
7639 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
7640 (struct gaih): Remove definition.
7642 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7644 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
7645 Use HERRNOP directly.
7647 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7649 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7651 2013-11-30 Joseph Myers <joseph@codesourcery.com>
7653 * math/gen-auto-libm-tests.c (test_functions): Add more
7654 single-argument functions.
7655 (special_fill_pi_2): New function.
7656 (special_fill_minus_pi_2): Likewise.
7657 (special_fill_pi_6): Likewise.
7658 (special_fill_minus_pi_6): Likewise.
7659 (special_fill_pi_3): Likewise.
7660 (special_fill_2pi_3): Likewise.
7661 (special_fill_e): Likewise.
7662 (special_fill_1_e): Likewise.
7663 (special_fill_e_minus_1): Likewise.
7664 (special_real_inputs): Add more special inputs.
7665 (output_for_one_input_case): Do not require ERANGE on underflow to
7666 zero if round-to-nearest result does not underflow to zero, unless
7667 exact results required.
7668 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
7669 atan, atanh, cbrt, cos and cosh.
7670 * math/auto-libm-test-out: Regenerated.
7671 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
7672 (acos_tonearest_test_data): Likewise.
7673 (acos_towardzero_test_data): Likewise.
7674 (acos_downward_test_data): Likewise.
7675 (acos_upward_test_data): Likewise.
7676 (acosh_test_data): Likewise.
7677 (asin_test_data): Likewise.
7678 (asin_tonearest_test_data): Likewise.
7679 (asin_towardzero_test_data): Likewise.
7680 (asin_upward_test_data): Likewise.
7681 (asinh_test_data): Likewise.
7682 (atan_test_data): Likewise.
7683 (atanh_test_data): Likewise.
7684 (cbrt_test_data): Likewise.
7685 (cos_test_data): Likewise.
7686 (cos_tonearest_test_data): Likewise.
7687 (cos_towardzero_test_data): Likewise.
7688 (cos_downward_test_data): Likewise.
7689 (cos_upward_test_data): Likewise.
7690 (cosh_test_data): Likewise.
7691 (cosh_tonearest_test_data): Likewise.
7692 (cosh_towardzero_test_data): Likewise.
7693 (cosh_downward_test_data): Likewise.
7694 (cosh_upward_test_data): Likewise.
7695 * sysdeps/i386/fpu/libm-test-ulps: Update.
7696 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7698 2013-11-29 Joseph Myers <joseph@codesourcery.com>
7701 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
7702 * math/w_exp10f.c (__exp10f): Likewise.
7703 * math/w_exp10l.c (__exp10l): Likewise.
7704 * math/libm-test.inc (exp10_test_data): Add more tests and expect
7705 errno settings in existing tests.
7708 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
7709 precision control set to double precision.
7710 * sysdeps/i386/fpu/w_sqrt.c: New file.
7711 * math/auto-libm-test-in: Add more tests.
7712 * math/auto-libm-test-out: Update.
7714 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
7715 (sqrt_test_tonearest): New function.
7716 (sqrt_towardzero_test_data): New variable.
7717 (sqrt_test_towardzero): New function.
7718 (sqrt_downward_test_data): New variable.
7719 (sqrt_test_downward): New function.
7720 (sqrt_upward_test_data): New variable.
7721 (sqrt_test_upward): New function.
7722 (main): Call the new functions.
7724 * math/gen-auto-libm-tests.c: New file.
7725 * math/auto-libm-test-in: Likewise.
7726 * math/auto-libm-test-out: New generated file.
7727 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
7729 (%beautify): Add generated representations of zero.
7730 (top level): Set $auto_input and call parse_auto_input.
7731 (beautify): Remove trailing "f" from hex float constants.
7732 (parse_args): Handle XFAIL_TEST.
7733 (convert_condition): New function.
7734 (or_value): Likewise.
7735 (or_cond_value): Likewise.
7736 (generate_testfile): Handle AUTO_TESTS_* lines.
7737 (parse_auto_input): New function.
7738 * math/libm-test.inc (XFAIL_TEST): New macro.
7739 (ERRNO_UNCHANGED): Update value.
7740 (ERRNO_EDOM): Likewise.
7741 (ERRNO_ERANGE): Likewise.
7742 (IGNORE_RESULT): Likewise.
7743 (TEST_COND_flt_32): New macro.
7744 (TEST_COND_dbl_64): Likewise.
7745 (TEST_COND_ldbl_96_intel): Likewise.
7746 (TEST_COND_ldbl_96_m68k): Likewise.
7747 (TEST_COND_ldbl_128): Likewise.
7748 (TEST_COND_ldbl_128ibm): Likewise.
7749 (TEST_COND_long32): Likewise.
7750 (TEST_COND_long64): Likewise.
7751 (TEST_COND_before_rounding): Likewise.
7752 (TEST_COND_after_rounding): Likewise.
7753 (enable_test): Handle XFAIL_TEST flag.
7754 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
7755 with finite results.
7756 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
7759 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7760 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7763 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
7764 __tls_get_addr_internal instead of __tls_get_offset in order to
7765 avoid GOT pointer dependency. Make rtld export
7766 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
7767 __tls_get_addr since we are a __tls_get_offset platform.
7768 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
7769 GOT pointer being set up before.
7770 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
7772 2013-11-28 Joseph Myers <joseph@codesourcery.com>
7774 * manual/math.texi (Errors in Math Functions): Document accuracy
7778 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
7779 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
7780 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
7781 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
7782 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
7783 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
7784 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
7785 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
7786 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
7787 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
7788 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
7789 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
7790 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
7791 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
7792 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
7793 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
7795 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
7796 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
7797 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
7798 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
7799 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
7801 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
7803 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
7805 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
7806 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
7807 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
7808 atomic-feupdateenv and flt-rounds.
7809 * sysdeps/powerpc/nofpu/Versions (libc): Add
7810 __atomic_feholdexcept, __atomic_feclearexcept,
7811 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
7812 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
7813 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
7814 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
7815 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
7817 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
7820 * manual/arith.texi (FP Exceptions): Document that exceptions may
7821 not be raised when matherr is used.
7822 (Math Error Reporting): Document overflow in directed rounding
7823 modes. Document that errno may not be set when finite values are
7824 returned on overflow. Document intent to set errno on underflow
7825 only for underflow to zero.
7828 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
7829 round-to-nearest then adjust result for other rounding modes.
7830 * include/fenv.h (fegetround): Use libm_hidden_proto.
7831 * math/fegetround.c (fegetround): Use libm_hidden_def.
7832 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
7833 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
7834 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
7835 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
7837 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
7838 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
7839 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
7840 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
7842 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7845 * nss/Versions (libnss_files): Add
7846 _nss_files_gethostbyname3_r.
7847 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
7849 (HOST_DB_LOOKUP): Remove macro.
7850 (_nss_files_gethostbyname_r): Implement function without the
7851 HOST_DB_LOOKUP macro.
7852 (_nss_files_gethostbyname2_r): Likewise.
7854 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
7856 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
7858 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
7860 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
7861 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
7864 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7866 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
7867 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
7868 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
7869 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
7870 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
7871 __fe_nomask_env_priv and attribute_hidden.
7872 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
7873 (libc_feupdateenv_test_ppc): Likewise.
7874 (libc_feresetround_ppc): Likewise.
7875 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
7876 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
7877 compat_symbol macro.
7878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
7879 (__fe_nomask_env): Likewise.
7880 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
7882 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
7884 * string/Makefile: Remove ifunc tests.
7885 * string/test-string.h: Define TEST_IFUNC.
7886 * string/test-bcopy-ifunc.c: Remove.
7887 * string/test-bzero-ifunc.c: Likewise.
7888 * string/test-memccpy-ifunc.c: Likewise.
7889 * string/test-memchr-ifunc.c: Likewise.
7890 * string/test-memcmp-ifunc.c: Likewise.
7891 * string/test-memcpy-ifunc.c: Likewise.
7892 * string/test-memmem-ifunc.c: Likewise.
7893 * string/test-memmove-ifunc.c: Likewise.
7894 * string/test-mempcpy-ifunc.c: Likewise.
7895 * string/test-memrchr-ifunc.c: Likewise.
7896 * string/test-memset-ifunc.c: Likewise.
7897 * string/test-rawmemchr-ifunc.c: Likewise.
7898 * string/test-stpcpy-ifunc.c: Likewise.
7899 * string/test-stpncpy-ifunc.c: Likewise.
7900 * string/test-strcasecmp-ifunc.c: Likewise.
7901 * string/test-strcasestr-ifunc.c: Likewise.
7902 * string/test-strcat-ifunc.c: Likewise.
7903 * string/test-strchr-ifunc.c: Likewise.
7904 * string/test-strchrnul-ifunc.c: Likewise.
7905 * string/test-strcmp-ifunc.c: Likewise.
7906 * string/test-strcpy-ifunc.c: Likewise.
7907 * string/test-strcspn-ifunc.c: Likewise.
7908 * string/test-strlen-ifunc.c: Likewise.
7909 * string/test-strncasecmp-ifunc.c: Likewise.
7910 * string/test-strncat-ifunc.c: Likewise.
7911 * string/test-strncmp-ifunc.c: Likewise.
7912 * string/test-strncpy-ifunc.c: Likewise.
7913 * string/test-strnlen-ifunc.c: Likewise.
7914 * string/test-strpbrk-ifunc.c: Likewise.
7915 * string/test-strrchr-ifunc.c: Likewise.
7916 * string/test-strspn-ifunc.c: Likewise.
7917 * string/test-strstr-ifunc.c: Likewise.
7919 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
7921 * benchtests/Makefile: Remove ifunc tests.
7922 * benchtests/bench-string.h: Define TEST_IFUNC.
7923 * benchtests/bench-bcopy-ifunc.c: Remove.
7924 * benchtests/bench-bzero-ifunc.c: Likewise.
7925 * benchtests/bench-memccpy-ifunc.c: Likewise.
7926 * benchtests/bench-memchr-ifunc.c: Likewise.
7927 * benchtests/bench-memcmp-ifunc.c: Likewise.
7928 * benchtests/bench-memcpy-ifunc.c: Likewise.
7929 * benchtests/bench-memmem-ifunc.c: Likewise.
7930 * benchtests/bench-memmove-ifunc.c: Likewise.
7931 * benchtests/bench-mempcpy-ifunc.c: Likewise.
7932 * benchtests/bench-memrchr-ifunc.c: Likewise.
7933 * benchtests/bench-memset-ifunc.c: Likewise.
7934 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
7935 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
7936 * benchtests/bench-stpcpy-ifunc.c: Likewise.
7937 * benchtests/bench-stpncpy-ifunc.c: Likewise.
7938 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
7939 * benchtests/bench-strcasestr-ifunc.c: Likewise.
7940 * benchtests/bench-strcat-ifunc.c: Likewise.
7941 * benchtests/bench-strchr-ifunc.c: Likewise.
7942 * benchtests/bench-strchrnul-ifunc.c: Likewise.
7943 * benchtests/bench-strcmp-ifunc.c: Likewise.
7944 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
7945 * benchtests/bench-strcpy-ifunc.c: Likewise.
7946 * benchtests/bench-strcspn-ifunc.c: Likewise.
7947 * benchtests/bench-strlen-ifunc.c: Likewise.
7948 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
7949 * benchtests/bench-strncat-ifunc.c: Likewise.
7950 * benchtests/bench-strncmp-ifunc.c: Likewise.
7951 * benchtests/bench-strncpy-ifunc.c: Likewise.
7952 * benchtests/bench-strnlen-ifunc.c: Likewise.
7953 * benchtests/bench-strpbrk-ifunc.c: Likewise.
7954 * benchtests/bench-strrchr-ifunc.c: Likewise.
7955 * benchtests/bench-strsep-ifunc.c: Likewise.
7956 * benchtests/bench-strspn-ifunc.c: Likewise.
7957 * benchtests/bench-strstr-ifunc.c: Likewise.
7959 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
7961 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
7963 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
7965 * resolv/netdb.h: Use __glibc_reserved instead __unused.
7966 * rt/aio.h: Likewise.
7967 * sysdeps/gnu/bits/utmp.h: Likewise.
7968 * sysdeps/gnu/bits/utmpx.h: Likewise.
7969 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
7970 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
7971 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
7972 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
7973 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
7974 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
7975 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
7976 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
7977 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
7978 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
7979 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
7980 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
7981 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
7982 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
7983 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
7984 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
7985 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
7986 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
7987 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
7988 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
7989 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
7990 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
7991 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
7992 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
7993 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
7994 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7995 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
7996 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
7997 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
7998 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
7999 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
8000 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
8001 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
8002 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
8003 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
8004 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
8005 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
8006 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
8007 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
8008 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
8009 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
8010 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
8012 2013-11-25 Carlos O'Donell <carlos@redhat.com>
8015 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
8016 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
8018 2013-11-25 Joseph Myers <joseph@codesourcery.com>
8020 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
8021 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
8024 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8026 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
8027 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
8028 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
8029 (__fesetround): Remove define.
8030 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
8031 rounding and exceptions handling.
8032 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
8033 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
8034 (__fe_nomask_env): Likewise.
8035 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
8036 __fegetround instead of fegetround.
8037 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
8038 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
8040 2013-11-21 Roland McGrath <roland@hack.frob.com>
8042 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
8045 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
8047 2013-11-21 Meador Inge <meadori@codesourcery.com>
8050 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
8051 (encrypt_r): Likewise.
8052 * malloc/obstack.h (obstack_free): Likewise.
8053 * posix/unistd.h (encrypt): Likewise.
8055 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
8057 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
8058 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
8059 DL_CALL_DT_FINI() that call the functions directly.
8060 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
8061 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
8062 * elf/dl-fini.c: Likewise.
8064 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
8066 * malloc/hooks.c (memalign_check): Add alignment rounding.
8067 * malloc/malloc.c (_mid_memalign): New function.
8068 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
8069 Implement by calling _mid_memalign.
8070 * manual/probes.texi (Memory Allocation Probes): Remove
8071 memory_valloc_retry and memory_pvalloc_retry.
8073 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
8075 * locale/programs/locarchive.c (open_archive): Add const
8076 qualifier to ARCHIVEFNAME and copy default fname to
8080 * libio/tst-widetext.input: Rename Oriya to Odia.
8081 * locale/iso-639.def: Likewise.
8083 * manual/probes.texi (Mathematical Function Probes): Add
8084 documentation for sin, cos, asin and acos probes.
8085 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
8086 (__sin32): Add slowasin probe.
8087 (__cos32): Add slowacos probe.
8088 (__mpsin): Add slowsin probe.
8089 (__mpcos): Add slowcos probe.
8091 2013-11-19 Joseph Myers <joseph@codesourcery.com>
8094 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
8095 thread-local __sim_exceptions_thread and global
8096 __sim_exceptions_global.
8097 (__sim_disabled_exceptions): Change to thread-local
8098 __sim_disabled_exceptions_thread and global
8099 __sim_disabled_exceptions_global.
8100 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
8101 and global __sim_round_mode_global.
8102 (__simulate_exceptions): Use thread-local floating-point state and
8103 set global state from it as needed.
8104 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
8105 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
8106 __sim_round_mode_thread.
8107 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
8108 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
8109 and global __sim_exceptions_global.
8110 (__sim_disabled_exceptions): Change to thread-local
8111 __sim_disabled_exceptions_thread and global
8112 __sim_disabled_exceptions_global.
8113 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
8114 and global __sim_round_mode_global.
8115 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
8116 (SIM_SET_GLOBAL): Likewise.
8117 * sysdeps/powerpc/soft-fp/sfp-machine.h
8118 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
8119 __sim_round_mode_thread.
8120 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
8121 __sim_disabled_exceptions_thread.
8122 (__sim_exceptions): Change to __sim_exceptions_thread.
8123 (__sim_disabled_exceptions): Change to
8124 __sim_disabled_exceptions_thread.
8125 (__sim_round_mode): Change to __sim_round_mode_thread.
8126 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
8127 thread-local floating-point state and set global state from it as
8129 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
8130 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
8131 (__sim_disabled_exceptions): Remove extern declaration.
8132 (feenableexcept): Use thread-local floating-point state and set
8133 global state from it as needed.
8134 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
8136 (__sim_disabled_exceptions): Likewise.
8137 (__sim_round_mode): Likewise.
8138 (__fegetenv): Use thread-local floating-point state.
8139 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
8140 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
8141 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
8142 floating-point state and set global state from it as needed.
8143 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
8144 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
8145 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
8147 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
8148 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
8150 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
8151 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
8152 Use __sim_round_mode_thread.
8153 * math/test-fenv-tls.c: New file.
8154 * math/Makefile (tests): Add test-fenv-tls.
8155 ($(objpfx)test-fenv-tls): Depend on
8156 $(common-objpfx)nptl/libpthread.so.
8158 2013-11-19 Andreas Schwab <schwab@suse.de>
8160 * locale/programs/locale.c (show_info): Decode wordarray elements.
8161 * locale/categories.def (LC_MONETARY): Add element for
8162 _NL_MONETARY_CRNCYSTR.
8163 * locale/C-monetary.c (conversion_rate): New variable.
8164 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
8167 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
8169 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
8170 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
8172 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
8174 * elf/Makefile (tst-auxv): New test.
8175 * elf/tst-auxv.c: New
8176 * elf/rtld.c (dl_main): Adjust AT_EXECFN
8178 2013-11-18 Joseph Myers <joseph@codesourcery.com>
8180 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
8181 (hidden_proto): Caller changed.
8182 (hidden_tls_proto): New macro.
8183 (libc_hidden_tls_proto): Likewise.
8184 (rtld_hidden_tls_proto): Likewise.
8185 (libm_hidden_tls_proto): Likewise.
8186 (libresolv_hidden_tls_proto): Likewise.
8187 (librt_hidden_tls_proto): Likewise.
8188 (libdl_hidden_tls_proto): Likewise.
8189 (libnss_files_hidden_tls_proto): Likewise.
8190 (libnsl_hidden_tls_proto): Likewise.
8191 (libnss_nisplus_hidden_tls_proto): Likewise.
8192 (libutil_hidden_tls_proto): Likewise.
8194 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
8197 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
8198 (decompose_rpath): Defer expansion to fillin_rpath.
8199 (_dl_init_paths): Pass linkmap to fillin_rpath.
8201 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8203 * benchtests/Makefile: Add strsep.
8204 * benchtests/bench-strsep.c: New file: strsep benchtest.
8205 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
8207 2013-11-18 Andreas Schwab <schwab@suse.de>
8209 * locale/programs/locale.c (show_info) [case byte]: Check for
8210 '\377' instead of '\177'.
8211 * locale/C-monetary.c (not_available): Always use "\377".
8212 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
8213 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
8214 detect unavailable sign_posn locale elements.
8215 * locale/localeconv.c (__localeconv): For grouping and
8216 mon_grouping handle "\177" and "\377" like no grouping.
8217 (INT_ELEM): New macro. Use it to set all numeric members.
8218 * locale/programs/ld-monetary.c (monetary_read)
8219 <tok_mon_grouping>: Normalize single -1 to the empty string.
8220 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
8223 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
8226 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
8227 when we match (nil).
8228 * stdio-common/tst-sscanf.c (struct test): Add testcase.
8230 2013-11-16 Joseph Myers <joseph@codesourcery.com>
8232 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
8233 (NO_TEST_INLINE): Update value.
8234 (ERRNO_UNCHANGED): Likewise.
8235 (ERRNO_EDOM): Likewise.
8236 (ERRNO_ERANGE): Likewise.
8237 (IGNORE_RESULT): Likewise.
8238 (check_float_internal): Check signs of NaN results if
8240 (check_complex): Pass TEST_NAN_SIGN flag through to second
8241 check_float_internal call.
8242 (copysign_test_data): Add tests with quiet NaNs as second
8243 argument. Use TEST_NAN_SIGN.
8244 (fabs_test_data): Add test of negative quiet NaN argument. Use
8246 (signbit_test_data): Add tests of quiet NaN argument.
8247 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
8249 * math/gen-libm-test.pl (show_exceptions): Take extra argument
8251 (parse_args): Handle function results specified as IGNORE.
8252 * math/libm-test.inc (IGNORE_RESULT): New macro.
8253 (check_float_internal): Do not check numerical result if flag
8255 (check_complex): Pass through IGNORE_RESULT to second
8256 check_float_internal call.
8257 (check_int): Do not check numerical result if flag IGNORE_RESULT
8259 (check_long): Likewise.
8260 (check_bool): Likewise.
8261 (check_longlong): Likewise.
8262 (lrint_test_data): Add tests of infinite and NaN arguments.
8263 (lrint_tonearest_test_data): Likewise.
8264 (lrint_towardzero_test_data): Likewise.
8265 (lrint_downward_test_data): Likewise.
8266 (lrint_upward_test_data): Likewise.
8267 (llrint_test_data): Likewise.
8268 (llrint_tonearest_test_data): Likewise.
8269 (llrint_towardzero_test_data): Likewise.
8270 (llrint_downward_test_data): Likewise.
8271 (llrint_upward_test_data): Likewise.
8272 (lround_test_data): Likewise.
8273 (llround_test_data): Likewise.
8275 * math/libm-test.inc (NO_TEST_INLINE): New macro.
8276 (ERRNO_UNCHANGED): Update value.
8277 (ERRNO_EDOM): Likewise.
8278 (ERRNO_ERANGE): Likewise.
8279 (NO_TEST_INLINE_FLOAT): New macro.
8280 (NO_TEST_INLINE_DOUBLE): Likewise.
8281 (enable_test): New function.
8282 (RUN_TEST_f_f): Check enable_test before running test.
8283 (RUN_TEST_2_f): Likewise.
8284 (RUN_TEST_fff_f): Likewise.
8285 (RUN_TEST_c_f): Likewise.
8286 (RUN_TEST_f_f1): Likewise.
8287 (RUN_TEST_fF_f1): Likewise.
8288 (RUN_TEST_fI_f1): Likewise.
8289 (RUN_TEST_ffI_f1): Likewise.
8290 (RUN_TEST_c_c): Likewise.
8291 (RUN_TEST_cc_c): Likewise.
8292 (RUN_TEST_f_i): Likewise.
8293 (RUN_TEST_f_i_tg): Likewise.
8294 (RUN_TEST_ff_i_tg): Likewise.
8295 (RUN_TEST_f_b): Likewise.
8296 (RUN_TEST_f_b_tg): Likewise.
8297 (RUN_TEST_f_l): Likewise.
8298 (RUN_TEST_f_L): Likewise.
8299 (RUN_TEST_fFF_11): Likewise.
8300 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
8302 (cosh_test_data): Likewise.
8303 (exp_test_data): Likewise.
8304 (expm1_test_data): Likewise.
8305 (hypot_test_data): Likewise.
8306 (pow_test_data): Likewise.
8307 (sinh_test_data): Likewise.
8308 (tanh_test_data): Likewise.
8309 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
8312 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
8313 tests with quiet NaN input and output.
8314 (acosh_test_data): Likewise.
8315 (asin_test_data): Likewise.
8316 (asinh_test_data): Likewise.
8317 (atan_test_data): Likewise.
8318 (atanh_test_data): Likewise.
8319 (atan2_test_data): Likewise.
8320 (cbrt_test_data): Likewise.
8321 (cos_test_data): Likewise.
8322 (cosh_test_data): Likewise.
8323 (erf_test_data): Likewise.
8324 (erfc_test_data): Likewise.
8325 (exp_test_data): Likewise.
8326 (exp10_test_data): Likewise.
8327 (exp2_test_data): Likewise.
8328 (expm1_test_data): Likewise.
8329 (hypot_test_data): Likewise.
8330 (j0_test_data): Likewise.
8331 (j1_test_data): Likewise.
8332 (jn_test_data): Likewise.
8333 (lgamma_test_data): Likewise.
8334 (log_test_data): Likewise.
8335 (log10_test_data): Likewise.
8336 (log1p_test_data): Likewise.
8337 (log2_test_data): Likewise.
8338 (pow_test_data): Likewise.
8339 (scalb_test_data): Likewise.
8340 (sin_test_data): Likewise.
8341 (sincos_test_data): Likewise.
8342 (sinh_test_data): Likewise.
8343 (tan_test_data): Likewise.
8344 (tanh_test_data): Likewise.
8345 (tgamma_test_data): Likewise.
8346 (y0_test_data): Likewise.
8347 (y1_test_data): Likewise.
8348 (yn_test_data): Likewise.
8351 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
8352 argument being NaN and avoid computations with second argument in
8354 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
8355 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
8356 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
8358 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
8360 * locale/iso-639.def: Add Chitwani Tharu (the).
8362 2013-11-14 Andreas Schwab <schwab@suse.de>
8364 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
8365 word instead of empty string.
8367 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8370 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
8371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8372 (__fe_nomask_env): Likewise.
8374 2013-11-13 Steve Ellcey <sellcey@mips.com>
8376 * benchtests/bench-timing.h: Include time.h.
8378 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
8381 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
8383 * sysdeps/unix/sysv/linux/configure: Regenerated.
8385 2013-11-13 Joseph Myers <joseph@codesourcery.com>
8388 * stdlib/strtod_l.c (round_and_return): Do not consider
8389 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
8390 exponent one less than half the least subnormal exponent.
8391 * stdlib/test-strtod-round-data: Add more tests.
8392 * stdlib/tst-strtod-round.c (tests): Regenerated.
8394 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8397 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
8398 (__fe_mask_env): Likewise.
8399 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
8400 libm_hidden_proto and add function prototype.
8401 (__fe_mask_env): Add function prototype.
8402 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8403 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
8404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
8405 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
8406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8407 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
8409 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8411 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
8412 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
8414 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8416 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
8417 of htab_find_slot().
8419 2013-11-11 David S. Miller <davem@davemloft.net>
8422 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
8423 symbol in the non-vis3 case in static builds.
8424 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
8425 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
8426 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
8427 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
8429 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8432 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
8435 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8437 * benchtests/Makefile: Add bench-strtod.
8438 * benchtests/bench-strtod.c: New file: strtod benchtest
8440 2013-11-11 Andreas Schwab <schwab@suse.de>
8443 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
8444 terminating NUL in key length.
8446 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8448 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
8449 Add artificial ODP entry for vDSO symbol for PPC64.
8450 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
8451 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
8453 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
8456 * nss/getent.c (services_keys): Recognize services starting with digit.
8458 2013-11-06 David S. Miller <davem@davemloft.net>
8461 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
8462 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
8464 2013-11-06 Will Newton <will.newton@linaro.org>
8466 * manual/memory.texi (Malloc Examples): Remove register
8467 keyword from examples.
8469 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
8471 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
8473 2013-11-04 Joseph Myers <joseph@codesourcery.com>
8476 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
8477 depending on [__GCC_IEC_559 > 0].
8478 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
8479 depending on [__GCC_IEC_559_COMPLEX > 0].
8481 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
8483 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
8486 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
8488 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
8490 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
8493 * malloc/malloc (malloc_info): Do not handle first bin as
8496 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
8498 * locale/iso-639.def: Add Central Nahuatl (nhn).
8500 2013-11-01 Bruno Haible <bruno@clisp.org>
8503 * manual/math.texi (BSD Random): Specify range upper bound as
8506 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
8508 * locale/iso-639.def: Add Meadow Mari (mhr).
8510 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
8512 [BZ #14752], [BZ #15763]
8513 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
8515 * rt/tst_shm.c: Add test for escaping directory.
8517 2013-10-31 Andreas Schwab <schwab@suse.de>
8520 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
8521 followed by 'x' as part of digit sequence.
8522 * stdio-common/tst-sscanf.c (double_tests2): New tests.
8524 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
8527 * configure.ac: allow GNU Make 4.0 and greater.
8528 * configure: Regenerated.
8530 2013-10-30 Will Newton <will.newton@linaro.org>
8533 * malloc/hooks.c (memalign_check): Limit alignment to the
8534 maximum representable power of two.
8535 * malloc/malloc.c (__libc_memalign): Likewise.
8536 * malloc/tst-memalign.c (do_test): Add test for very
8537 large alignment values.
8538 * malloc/tst-posix_memalign.c (do_test): Likewise.
8540 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
8543 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
8544 (munmap_chunk): Likewise.
8545 (mremap_chunk): Likewise.
8547 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
8550 * stdlib/div.c (div): Remove obsolete code.
8551 * stdlib/ldiv.c (ldiv): Likewise.
8552 * stdlib/lldiv.c (lldiv): Likewise.
8554 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8557 * nss/nss_files/files-XXX.c (get_contents_ret): New
8559 (get_contents): New function.
8560 (internal_getent): Use it. Expand size of LINEBUFLEN.
8562 2013-10-30 Mike Frysinger <vapier@gentoo.org>
8564 * configure.in: Moved to ...
8565 * configure.ac: ... here. Change reference to configure.in
8567 * sysdeps/arm/preconfigure.ac: ... here.
8568 configure.in to configure.ac.
8569 * sysdeps/gnu/configure.in: Moved to ...
8570 * sysdeps/gnu/configure.ac: ... here.
8571 * sysdeps/i386/configure.in: Moved to ...
8572 * sysdeps/i386/configure.ac: ... here.
8573 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
8574 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
8575 * sysdeps/mach/configure.in: Moved to ...
8576 * sysdeps/mach/configure.ac: ... here.
8577 * sysdeps/mach/hurd/configure.in: Moved to ...
8578 * sysdeps/mach/hurd/configure.ac: ... here.
8579 * sysdeps/powerpc/configure.in: Moved to ...
8580 * sysdeps/powerpc/configure.ac: ... here.
8581 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
8582 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
8583 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
8584 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
8585 * sysdeps/s390/s390-32/configure.in: Moved to ...
8586 * sysdeps/s390/s390-32/configure.ac: ... here.
8587 * sysdeps/s390/s390-64/configure.in: Moved to ...
8588 * sysdeps/s390/s390-64/configure.ac: ... here.
8589 * sysdeps/sh/configure.in: Moved to ...
8590 * sysdeps/sh/configure.ac: ... here.
8591 * sysdeps/sparc/configure.in: Moved to ...
8592 * sysdeps/sparc/configure.ac: ... here.
8593 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
8594 * sysdeps/unix/sysv/linux/configure.ac: ... here.
8595 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
8596 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
8597 * sysdeps/x86_64/configure.in: Moved to ...
8598 * sysdeps/x86_64/configure.ac: ... here.
8599 * sysdeps/x86_64/preconfigure.in: Moved to ...
8600 * sysdeps/x86_64/preconfigure.ac: ... here.
8601 * aclocal.m4: Change reference to configure.in to configure.ac.
8602 * config.h.in: Likewise.
8603 * manual/install.texi: Likewise.
8604 * manual/maint.texi: Likewise.
8605 * Makefile: Likewise.
8606 * malloc/Makefile: Likewise.
8607 * nscd/Makefile: Likewise.
8608 * Makeconfig: Change reference to configure.in and
8609 preconfigure.in to configure.ac and preconfigure.ac
8611 * INSTALL: Regenerated.
8612 * configure: Likewise.
8613 * sysdeps/gnu/configure: Likewise.
8614 * sysdeps/i386/configure: Likewise.
8615 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
8616 * sysdeps/mach/configure: Likewise.
8617 * sysdeps/mach/hurd/configure: Likewise.
8618 * sysdeps/powerpc/configure: Likewise.
8619 * sysdeps/powerpc/powerpc32/configure: Likewise.
8620 * sysdeps/powerpc/powerpc64/configure: Likewise.
8621 * sysdeps/s390/s390-32/configure: Likewise.
8622 * sysdeps/s390/s390-64/configure: Likewise.
8623 * sysdeps/sh/configure: Likewise.
8624 * sysdeps/sparc/configure: Likewise.
8625 * sysdeps/unix/sysv/linux/configure: Likewise.
8626 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
8627 * sysdeps/x86_64/configure: Likewise.
8628 * sysdeps/x86_64/preconfigure: Likewise.
8630 2013-10-29 Andreas Schwab <schwab@suse.de>
8632 * stdio-common/Makefile (tst-swscanf-ENV): Define.
8634 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8636 * benchtests/pow-inputs: Add new inputs.
8638 * benchtests/exp-inputs: Add new inputs.
8640 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
8641 conditional check for return value.
8642 (__cos32): Likewise.
8644 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8646 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
8647 to provide a boost for large inputs with word alignment.
8648 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
8649 implementation based on optimized PPC64 strcpy.
8650 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
8651 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
8652 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
8653 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
8655 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
8658 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
8660 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
8663 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
8664 * time/tst-strptime.c (day_tests): Add testcase.
8666 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
8669 * manual/pattern.texi: Acknowledge that fnmatch can fail.
8671 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
8674 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
8675 MAP_FAILED on error.
8677 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8680 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
8681 heap for large requests.
8683 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
8686 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
8687 result if the result has no associated interface.
8688 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
8689 interface for all 127.X.Y.Z addresses.
8691 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
8693 * locale/iso-639.def: Add Ligurian (lij)
8695 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
8698 * sunrpc/rpc_main.c: Document rpcgen -5.
8700 2013-10-19 Michael Stahl <mstahl@redhat.com>
8702 * elf/rtld.c (do_preload): Print the reason why preloading failed.
8704 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
8707 * posix/glob.c: Match only directories when trailing slash is present.
8708 * posix/tst-gnuglob.c (my_opendir): Do not open files.
8709 (main): Add testcase.
8711 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
8714 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
8716 2013-10-18 Carlos O'Donell <carlos@redhat.com>
8718 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
8719 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
8720 AUTH_DES and cindex for FIPS 140-2.
8721 (DES Encryption): Add cindex FIPS 46-3.
8723 * locale/locarchive.h (struct locarhandle): Add fname.
8724 * locale/programs/localedef.c (main): Pass ARGV[remaining]
8725 if an optional argument was specified to --list-archive,
8727 * locale/programs/locarchive.c (show_archive_content): Take new
8728 argument fname and pass it via ah.fname to open_archive.
8729 * locale/programs/localedef.h: Update decl.
8730 (open_archive): If AH->fname is non-null, open that file
8731 rather than the default file name, and don't ignore ENOENT.
8732 (create_archive): Set AH.fname to NULL.
8733 (delete_locales_from_archive): Likewise.
8734 (add_locales_to_archive): Likewise.
8735 * locale/programs/locfile.c (write_all_categories): Likewise.
8737 2013-10-18 Joseph Myers <joseph@codesourcery.com>
8738 Aldy Hernandez <aldyh@redhat.com>
8740 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
8741 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
8742 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
8743 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
8744 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
8745 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
8746 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
8747 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
8748 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
8749 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
8750 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
8751 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
8752 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
8753 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
8754 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
8756 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
8758 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
8760 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
8762 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
8763 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
8765 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
8766 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
8767 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
8768 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
8770 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
8771 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
8772 * sysdeps/powerpc/preconfigure: Likewise.
8773 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
8775 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
8776 Replace contents of file by #include of <fenv_libc.h>.
8777 * sysdeps/powerpc/soft-fp/sfp-machine.h
8778 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
8780 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
8781 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
8782 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
8783 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
8784 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
8785 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
8786 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
8787 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
8788 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
8789 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
8790 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
8791 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
8792 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
8793 Allow copysignl PLT reference to be missing.
8795 2013-10-18 Richard Sandiford <richard@codesourcery.com>
8796 Joseph Myers <joseph@codesourcery.com
8799 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
8801 (add_to_tablewc): Assert sequence of wide characters is nonempty.
8803 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8805 * elf/tst-tls-dlinfo.c: Don't include tls.h.
8806 * elf/tst-tls1.c: Likewise.
8807 * elf/tst-tls10.h: Likewise.
8808 * elf/tst-tls14.c: Likewise.
8809 * elf/tst-tls2.c: Likewise.
8810 * elf/tst-tls3.c: Likewise.
8811 * elf/tst-tls4.c: Likewise.
8812 * elf/tst-tls5.c: Likewise.
8813 * elf/tst-tls6.c: Likewise.
8814 * elf/tst-tls7.c: Likewise.
8815 * elf/tst-tls8.c: Likewise.
8816 * elf/tst-tls9.c: Likewise.
8817 * elf/tst-tlsmod1.c: Likewise.
8818 * elf/tst-tlsmod13.c: Likewise.
8819 * elf/tst-tlsmod13a.c: Likewise.
8820 * elf/tst-tlsmod14a.c: Likewise.
8821 * elf/tst-tlsmod16a.c: Likewise.
8822 * elf/tst-tlsmod16b.c: Likewise.
8823 * elf/tst-tlsmod2.c: Likewise.
8824 * elf/tst-tlsmod3.c: Likewise.
8825 * elf/tst-tlsmod4.c: Likewise.
8826 * elf/tst-tlsmod5.c: Likewise.
8827 * elf/tst-tlsmod6.c: Likewise.
8829 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
8832 * malloc/malloc.c: remove checks for statistics.
8834 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
8837 * inet/inet_net.c (inet_network): Detect additional invalid strings.
8838 * inet/tst-network.c: Add testcase.
8840 2013-10-17 Andreas Schwab <schwab@suse.de>
8843 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
8844 to determine canonical name.
8846 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
8848 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
8849 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
8850 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8851 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8852 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8853 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8854 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8855 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8856 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
8857 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8858 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
8859 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8860 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8861 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8862 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8863 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8864 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8865 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8866 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
8867 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8868 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8869 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8870 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8871 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
8872 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
8873 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
8874 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
8875 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
8876 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
8877 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
8878 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8879 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8880 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
8881 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8882 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8883 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8884 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8885 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
8886 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
8887 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8888 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
8889 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
8890 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
8891 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8892 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
8893 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8894 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
8895 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
8896 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
8897 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8898 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
8899 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8900 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
8901 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
8902 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8903 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
8904 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8905 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
8907 2013-10-17 Joseph Myers <joseph@codesourcery.com>
8910 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
8911 make result into a quiet NaN.
8913 2013-10-16 Joseph Myers <joseph@codesourcery.com>
8915 * soft-fp/adddf3.c: Fix horizontal whitespace.
8916 * soft-fp/addsf3.c: Likewise.
8917 * soft-fp/addtf3.c: Likewise.
8918 * soft-fp/divdf3.c: Likewise.
8919 * soft-fp/divsf3.c: Likewise.
8920 * soft-fp/divtf3.c: Likewise.
8921 * soft-fp/double.h: Likewise.
8922 * soft-fp/eqdf2.c: Likewise.
8923 * soft-fp/eqsf2.c: Likewise.
8924 * soft-fp/eqtf2.c: Likewise.
8925 * soft-fp/extenddftf2.c: Likewise.
8926 * soft-fp/extended.h: Likewise.
8927 * soft-fp/extendsfdf2.c: Likewise.
8928 * soft-fp/extendsftf2.c: Likewise.
8929 * soft-fp/extendxftf2.c: Likewise.
8930 * soft-fp/fixdfdi.c: Likewise.
8931 * soft-fp/fixdfsi.c: Likewise.
8932 * soft-fp/fixdfti.c: Likewise.
8933 * soft-fp/fixsfdi.c: Likewise.
8934 * soft-fp/fixsfsi.c: Likewise.
8935 * soft-fp/fixsfti.c: Likewise.
8936 * soft-fp/fixtfdi.c: Likewise.
8937 * soft-fp/fixtfsi.c: Likewise.
8938 * soft-fp/fixtfti.c: Likewise.
8939 * soft-fp/fixunsdfdi.c: Likewise.
8940 * soft-fp/fixunsdfsi.c: Likewise.
8941 * soft-fp/fixunsdfti.c: Likewise.
8942 * soft-fp/fixunssfdi.c: Likewise.
8943 * soft-fp/fixunssfsi.c: Likewise.
8944 * soft-fp/fixunssfti.c: Likewise.
8945 * soft-fp/fixunstfdi.c: Likewise.
8946 * soft-fp/fixunstfsi.c: Likewise.
8947 * soft-fp/fixunstfti.c: Likewise.
8948 * soft-fp/floatdidf.c: Likewise.
8949 * soft-fp/floatdisf.c: Likewise.
8950 * soft-fp/floatditf.c: Likewise.
8951 * soft-fp/floatsidf.c: Likewise.
8952 * soft-fp/floatsisf.c: Likewise.
8953 * soft-fp/floatsitf.c: Likewise.
8954 * soft-fp/floattidf.c: Likewise.
8955 * soft-fp/floattisf.c: Likewise.
8956 * soft-fp/floattitf.c: Likewise.
8957 * soft-fp/floatundidf.c: Likewise.
8958 * soft-fp/floatundisf.c: Likewise.
8959 * soft-fp/floatunditf.c: Likewise.
8960 * soft-fp/floatunsidf.c: Likewise.
8961 * soft-fp/floatunsisf.c: Likewise.
8962 * soft-fp/floatunsitf.c: Likewise.
8963 * soft-fp/floatuntidf.c: Likewise.
8964 * soft-fp/floatuntisf.c: Likewise.
8965 * soft-fp/floatuntitf.c: Likewise.
8966 * soft-fp/fmadf4.c: Likewise.
8967 * soft-fp/fmasf4.c: Likewise.
8968 * soft-fp/fmatf4.c: Likewise.
8969 * soft-fp/gedf2.c: Likewise.
8970 * soft-fp/gesf2.c: Likewise.
8971 * soft-fp/getf2.c: Likewise.
8972 * soft-fp/ledf2.c: Likewise.
8973 * soft-fp/lesf2.c: Likewise.
8974 * soft-fp/letf2.c: Likewise.
8975 * soft-fp/muldf3.c: Likewise.
8976 * soft-fp/mulsf3.c: Likewise.
8977 * soft-fp/multf3.c: Likewise.
8978 * soft-fp/negdf2.c: Likewise.
8979 * soft-fp/negsf2.c: Likewise.
8980 * soft-fp/negtf2.c: Likewise.
8981 * soft-fp/op-1.h: Likewise.
8982 * soft-fp/op-2.h: Likewise.
8983 * soft-fp/op-4.h: Likewise.
8984 * soft-fp/op-8.h: Likewise.
8985 * soft-fp/op-common.h: Likewise.
8986 * soft-fp/quad.h: Likewise.
8987 * soft-fp/single.h: Likewise.
8988 * soft-fp/soft-fp.h: Likewise.
8989 * soft-fp/sqrtdf2.c: Likewise.
8990 * soft-fp/sqrtsf2.c: Likewise.
8991 * soft-fp/sqrttf2.c: Likewise.
8992 * soft-fp/subdf3.c: Likewise.
8993 * soft-fp/subsf3.c: Likewise.
8994 * soft-fp/subtf3.c: Likewise.
8995 * soft-fp/truncdfsf2.c: Likewise.
8996 * soft-fp/trunctfdf2.c: Likewise.
8997 * soft-fp/trunctfsf2.c: Likewise.
8998 * soft-fp/trunctfxf2.c: Likewise.
8999 * soft-fp/unorddf2.c: Likewise.
9000 * soft-fp/unordsf2.c: Likewise.
9001 * soft-fp/unordtf2.c: Likewise.
9003 2013-10-15 Joseph Myers <joseph@codesourcery.com>
9005 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
9006 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
9008 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
9010 * elf/dl-libc.c: Clear initfini list after freeing.
9012 2013-10-14 Joseph Myers <joseph@codesourcery.com>
9014 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
9015 * soft-fp/addsf3.c: Likewise.
9016 * soft-fp/addtf3.c: Likewise.
9017 * soft-fp/divdf3.c: Likewise.
9018 * soft-fp/divsf3.c: Likewise.
9019 * soft-fp/divtf3.c: Likewise.
9020 * soft-fp/double.h: Likewise.
9021 * soft-fp/eqdf2.c: Likewise.
9022 * soft-fp/eqsf2.c: Likewise.
9023 * soft-fp/eqtf2.c: Likewise.
9024 * soft-fp/extenddftf2.c: Likewise.
9025 * soft-fp/extended.h: Likewise.
9026 * soft-fp/extendsfdf2.c: Likewise.
9027 * soft-fp/extendsftf2.c: Likewise.
9028 * soft-fp/extendxftf2.c: Likewise.
9029 * soft-fp/fixdfdi.c: Likewise.
9030 * soft-fp/fixdfsi.c: Likewise.
9031 * soft-fp/fixdfti.c: Likewise.
9032 * soft-fp/fixsfdi.c: Likewise.
9033 * soft-fp/fixsfsi.c: Likewise.
9034 * soft-fp/fixsfti.c: Likewise.
9035 * soft-fp/fixtfdi.c: Likewise.
9036 * soft-fp/fixtfsi.c: Likewise.
9037 * soft-fp/fixtfti.c: Likewise.
9038 * soft-fp/fixunsdfdi.c: Likewise.
9039 * soft-fp/fixunsdfsi.c: Likewise.
9040 * soft-fp/fixunsdfti.c: Likewise.
9041 * soft-fp/fixunssfdi.c: Likewise.
9042 * soft-fp/fixunssfsi.c: Likewise.
9043 * soft-fp/fixunssfti.c: Likewise.
9044 * soft-fp/fixunstfdi.c: Likewise.
9045 * soft-fp/fixunstfsi.c: Likewise.
9046 * soft-fp/fixunstfti.c: Likewise.
9047 * soft-fp/floatdidf.c: Likewise.
9048 * soft-fp/floatdisf.c: Likewise.
9049 * soft-fp/floatditf.c: Likewise.
9050 * soft-fp/floatsidf.c: Likewise.
9051 * soft-fp/floatsisf.c: Likewise.
9052 * soft-fp/floatsitf.c: Likewise.
9053 * soft-fp/floattidf.c: Likewise.
9054 * soft-fp/floattisf.c: Likewise.
9055 * soft-fp/floattitf.c: Likewise.
9056 * soft-fp/floatundidf.c: Likewise.
9057 * soft-fp/floatundisf.c: Likewise.
9058 * soft-fp/floatunsidf.c: Likewise.
9059 * soft-fp/floatunsisf.c: Likewise.
9060 * soft-fp/floatuntidf.c: Likewise.
9061 * soft-fp/floatuntisf.c: Likewise.
9062 * soft-fp/floatuntitf.c: Likewise.
9063 * soft-fp/fmadf4.c: Likewise.
9064 * soft-fp/fmasf4.c: Likewise.
9065 * soft-fp/fmatf4.c: Likewise.
9066 * soft-fp/gedf2.c: Likewise.
9067 * soft-fp/gesf2.c: Likewise.
9068 * soft-fp/getf2.c: Likewise.
9069 * soft-fp/ledf2.c: Likewise.
9070 * soft-fp/lesf2.c: Likewise.
9071 * soft-fp/letf2.c: Likewise.
9072 * soft-fp/muldf3.c: Likewise.
9073 * soft-fp/mulsf3.c: Likewise.
9074 * soft-fp/multf3.c: Likewise.
9075 * soft-fp/negdf2.c: Likewise.
9076 * soft-fp/negsf2.c: Likewise.
9077 * soft-fp/negtf2.c: Likewise.
9078 * soft-fp/op-1.h: Likewise.
9079 * soft-fp/op-2.h: Likewise.
9080 * soft-fp/op-4.h: Likewise.
9081 * soft-fp/op-8.h: Likewise.
9082 * soft-fp/op-common.h: Likewise.
9083 * soft-fp/quad.h: Likewise.
9084 * soft-fp/single.h: Likewise.
9085 * soft-fp/soft-fp.h: Likewise.
9086 * soft-fp/sqrtdf2.c: Likewise.
9087 * soft-fp/sqrtsf2.c: Likewise.
9088 * soft-fp/sqrttf2.c: Likewise.
9089 * soft-fp/subdf3.c: Likewise.
9090 * soft-fp/subsf3.c: Likewise.
9091 * soft-fp/subtf3.c: Likewise.
9092 * soft-fp/truncdfsf2.c: Likewise.
9093 * soft-fp/trunctfdf2.c: Likewise.
9094 * soft-fp/trunctfsf2.c: Likewise.
9095 * soft-fp/trunctfxf2.c: Likewise.
9096 * soft-fp/unorddf2.c: Likewise.
9097 * soft-fp/unordsf2.c: Likewise.
9098 * soft-fp/unordtf2.c: Likewise.
9100 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
9103 * misc/error.c (error_tail): Fix possible buffer overflow.
9105 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
9108 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
9111 2013-10-14 P. J. McDermott <pj@pehjota.net>
9114 * elf/ldd.bash.in (try_trace): New function. Delete previous code
9115 testing pipefail option.
9117 2013-10-12 Joseph Myers <joseph@codesourcery.com>
9119 * soft-fp/double.h: Indent preprocessor directives inside #if.
9120 * soft-fp/extended.h: Likewise.
9121 * soft-fp/op-2.h: Likewise.
9122 * soft-fp/op-4.h: Likewise.
9123 * soft-fp/op-common.h: Likewise.
9124 * soft-fp/quad.h: Likewise.
9125 * soft-fp/single.h: Likewise.
9126 * soft-fp/soft-fp.h: Likewise.
9128 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
9130 * iconv/iconv_prog.c: Fix typos.
9131 * stdio-common/psiginfo-data.h: Likewise.
9133 2013-10-12 Reuben Thomas <rrt@sc3d.org>
9136 * locale/setlocale.c: Fix typo.
9138 2013-10-12 Joseph Myers <joseph@codesourcery.com>
9141 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
9142 signaling NaN arguments.
9143 * soft-fp/unordsf2.c (__unordsf2): Likewise.
9144 * soft-fp/unordtf2.c (__unordtf2): Likewise.
9147 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
9149 * soft-fp/gesf2.c (__gesf2): Likewise.
9150 * soft-fp/getf2.c (__getf2): Likewise.
9151 * soft-fp/ledf2.c (__ledf2): Likewise.
9152 * soft-fp/lesf2.c (__lesf2): Likewise.
9153 * soft-fp/letf2.c (__letf2): Likewise.
9155 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
9156 * soft-fp/eqsf2.c (__eqsf2): Likewise.
9157 * soft-fp/eqtf2.c (__eqtf2): Likewise.
9158 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
9159 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
9160 * soft-fp/fixdfti.c (__fixdfti): Likewise.
9161 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
9162 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
9163 * soft-fp/fixsfti.c (__fixsfti): Likewise.
9164 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
9165 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
9166 * soft-fp/fixtfti.c (__fixtfti): Likewise.
9167 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
9168 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
9169 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
9170 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
9171 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
9172 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
9173 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
9174 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
9175 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
9176 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
9177 * soft-fp/floatdisf.c (__floatdisf): Likewise.
9178 * soft-fp/floatsisf.c (__floatsisf): Likewise.
9179 * soft-fp/floattidf.c (__floattidf): Likewise.
9180 * soft-fp/floattisf.c (__floattisf): Likewise.
9181 * soft-fp/floattitf.c (__floattitf): Likewise.
9182 * soft-fp/floatundidf.c (__floatundidf): Likewise.
9183 * soft-fp/floatundisf.c (__floatundisf): Likewise.
9184 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
9185 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
9186 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
9187 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
9188 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
9189 * soft-fp/gesf2.c (__gesf2): Likewise.
9190 * soft-fp/getf2.c (__getf2): Likewise.
9191 * soft-fp/ledf2.c (__ledf2): Likewise.
9192 * soft-fp/lesf2.c (__lesf2): Likewise.
9193 * soft-fp/letf2.c (__letf2): Likewise.
9195 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
9196 Undefine and redefine.
9197 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
9198 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
9199 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
9200 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
9201 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9202 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
9203 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9204 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
9205 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9206 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
9207 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9208 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
9209 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9210 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
9211 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9214 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
9215 without decrementing exponent if mantissa >= that for the
9217 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
9218 denominator, not >. Decrement exponent in < case instead of
9219 incrementing in >= case.
9220 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
9221 without decrementing exponent if mantissa >= that for the
9224 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
9225 computing saturated result for unsigned overflow.
9227 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9228 Jeff Law <law@redhat.com>
9230 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
9231 (atan2Mp): Add systemtap probe marker.
9232 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
9233 (__ieee754_log): Add systemtap probe marker.
9234 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
9235 (atanMp): Add systemtap probe marker.
9236 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
9237 (tanMp): Add systemtap probe marker.
9238 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
9239 (__slowexp): Add systemtap probe marker.
9240 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
9241 (__slowpow): Add systemtap probe marker.
9242 * manual/probes.texi: Document probes.
9244 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
9247 * libio/fileops.c (_IO_new_file_write): Return count of bytes
9249 (_IO_new_file_xsputn): Don't return EOF if nothing has been
9251 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
9252 written to buffer but not flushed.
9253 * libio/iofwrite_u.c: Likewise.
9254 * libio/iopadn.c: Return bytes returned even if EOF was
9256 * libio/iowpadn.c: Likewise.
9257 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
9258 if _IO_padn does not write the whole buffer.
9259 [!COMPILE_WPRINTF] (PAD): Likewise.
9261 2013-10-10 David S. Miller <davem@davemloft.net>
9263 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
9266 2013-10-10 Joseph Myers <joseph@codesourcery.com>
9268 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
9269 instead of FSF address.
9270 * soft-fp/fixdfti.c: Likewise.
9271 * soft-fp/fixsfti.c: Likewise.
9272 * soft-fp/fixtfti.c: Likewise.
9273 * soft-fp/fixunsdfti.c: Likewise.
9274 * soft-fp/fixunssfti.c: Likewise.
9275 * soft-fp/fixunstfti.c: Likewise.
9276 * soft-fp/floattidf.c: Likewise.
9277 * soft-fp/floattisf.c: Likewise.
9278 * soft-fp/floattitf.c: Likewise.
9279 * soft-fp/floatuntidf.c: Likewise.
9280 * soft-fp/floatuntisf.c: Likewise.
9281 * soft-fp/floatuntitf.c: Likewise.
9282 * soft-fp/trunctfxf2.c: Likewise.
9284 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
9285 * soft-fp/fixdfti.c: Likewise.
9286 * soft-fp/fixsfti.c: Likewise.
9287 * soft-fp/fixtfti.c: Likewise.
9288 * soft-fp/fixunsdfti.c: Likewise.
9289 * soft-fp/fixunssfti.c: Likewise.
9290 * soft-fp/fixunstfti.c: Likewise.
9291 * soft-fp/floattidf.c: Likewise.
9292 * soft-fp/floattisf.c: Likewise.
9293 * soft-fp/floattitf.c: Likewise.
9294 * soft-fp/floatuntidf.c: Likewise.
9295 * soft-fp/floatuntisf.c: Likewise.
9296 * soft-fp/floatuntitf.c: Likewise.
9297 * soft-fp/trunctfxf2.c: Likewise.
9299 2013-10-10 David S. Miller <davem@davemloft.net>
9301 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9303 2013-10-10 Joseph Myers <joseph@codsourcery.com>
9305 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
9306 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
9307 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
9308 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
9309 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
9310 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
9311 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
9313 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
9314 for NaNs before doing comparisons on argument.
9315 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
9318 2013-10-10 Will Newton <will.newton@linaro.org>
9320 * malloc/hooks.c (memalign_check): Ensure the value of bytes
9321 passed to _int_memalign does not overflow.
9323 2013-10-10 Torvald Riegel <triegel@redhat.com>
9325 * scripts/bench.pl: Add include-sources directive.
9326 * benchtests/README: Update documentation.
9328 2013-10-10 Joseph Myers <joseph@codesourcery.com>
9330 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
9331 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
9332 instead of FP_INIT_ROUNDMODE.
9333 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
9334 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
9337 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
9338 copy class of input value.
9339 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
9340 not handle exceptions.
9341 * soft-fp/negsf2.c (__negsf2): Likewise.
9342 * soft-fp/negtf2.c (__negtf2): Likewise.
9343 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
9345 2013-10-09 Joseph Myers <joseph@codesourcery.com>
9347 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
9348 semicolon. From Linux kernel.
9350 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
9352 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
9354 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
9357 * manual/socket.texi: Added statement about buffer
9358 for gethostbyname2_r.
9360 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
9362 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
9363 Use .p2align directive instead, throughout.
9364 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
9365 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
9366 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
9367 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9368 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9369 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
9370 * sysdeps/x86_64/strchr.S: Likewise.
9371 * sysdeps/x86_64/strrchr.S: Likewise.
9373 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9375 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
9377 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
9379 * sysdeps/generic/math_private.h (__mpsin1): Remove
9381 (__mpcos1): Likewise.
9382 (__mpsin): New argument __range_reduce.
9383 (__mpcos): Likewise.
9384 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9385 (slow): Use __mpsin and __mpcos.
9392 (bsloww1): Likewise.
9393 (bsloww2): Likewise.
9396 (csloww1): Likewise.
9397 (csloww2): Likewise.
9398 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
9399 range_reduce. Merge in __mpsin1.
9400 (__mpcos): Likewise.
9402 (__mpcos1): Likewise.
9404 2013-10-07 Joseph Myers <joseph@codesourcery.com>
9406 * locale/loadlocale.c (_nl_intern_locale_data): Use
9408 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
9409 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
9410 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
9411 obstack data is appropriately aligned.
9412 (obstack_int32_grow_fast): Likewise.
9413 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
9414 * locale/programs/locfile.c (add_locale_uint32): Likewise.
9415 (add_locale_uint32_array): Likewise.
9417 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
9419 * benchtests/Makefile: Remove ARGLIST and RET variables.
9420 ($(objpfx)bench-%.c): Pass only function name to the script.
9421 * benchtests/README: Update documentation.
9422 * benchtests/acos-inputs: Add new directives.
9423 * benchtests/acosh-inputs: Likewise.
9424 * benchtests/asin-inputs: Likewise.
9425 * benchtests/asinh-inputs: Likewise.
9426 * benchtests/atan-inputs: Likewise.
9427 * benchtests/atanh-inputs: Likewise.
9428 * benchtests/cos-inputs: Likewise.
9429 * benchtests/cosh-inputs: Likewise.
9430 * benchtests/exp-inputs: Likewise.
9431 * benchtests/log-inputs: Likewise.
9432 * benchtests/pow-inputs: Likewise.
9433 * benchtests/rint-inputs: Likewise.
9434 * benchtests/sin-inputs: Likewise.
9435 * benchtests/sinh-inputs: Likewise.
9436 * benchtests/tan-inputs: Likewise.
9437 * benchtests/tanh-inputs: Likewise.
9438 * scripts/bench.pl: Add support for new directives.
9440 2013-10-07 Alan Modra <amodra@gmail.com>
9442 * README: Fix careless merge.
9444 2013-10-05 Alan Modra <amodra@gmail.com>
9446 * NEWS: Mention powerpc64le support and bugs fixed.
9447 * README: Both big-endian and little-endian powerpc64 supported.
9449 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
9451 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
9452 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
9453 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
9454 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
9456 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
9458 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
9461 2013-10-04 Joseph Myers <joseph@codesourcery.com>
9463 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
9464 Move -mhard-float appending from
9465 ports/sysdeps/powerpc/powerpc32/Makefile.
9466 [$(with-fp) = yes] (ASFLAGS): Likewise.
9467 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
9468 * sysdeps/powerpc/nofpu: Move directory from
9469 ports/sysdeps/powerpc/nofpu.
9470 * sysdeps/powerpc/soft-fp: Move directory from
9471 ports/sysdeps/powerpc/soft-fp.
9472 * sysdeps/powerpc/powerpc32/405: Move directory from
9473 ports/sysdeps/powerpc/powerpc32/405.
9474 * sysdeps/powerpc/powerpc32/440: Move directory from
9475 ports/sysdeps/powerpc/powerpc32/440.
9476 * sysdeps/powerpc/powerpc32/464: Move directory from
9477 ports/sysdeps/powerpc/powerpc32/464.
9478 * sysdeps/powerpc/powerpc32/476: Move directory from
9479 ports/sysdeps/powerpc/powerpc32/476.
9480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
9481 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
9482 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
9483 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
9484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
9485 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
9486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
9487 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
9488 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
9489 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
9490 * README: Update for powerpc-*-linux-gnu software floating point
9493 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
9494 case to powerpc/powerpc32*.
9495 * sysdeps/unix/sysv/linux/configure: Regenerated.
9497 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
9498 (_FPU_MASK_OM): Define as 0x04.
9499 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
9500 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
9502 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
9504 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
9506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
9507 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
9509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
9510 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
9512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
9513 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
9514 and setcontext_e500.
9516 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
9518 * locale/iso-3166.def: Update iso-1366.def and related occurrences
9520 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9522 * manual/threads.texi (Default Thread Attributes): Fix typo.
9524 2013-10-04 Will Newton <will.newton@linaro.org>
9526 * malloc/Makefile: Add tst-memalign.
9527 * malloc/tst-memalign.c: New file.
9529 * malloc/tst-posix_memalign.c: Add comments.
9530 (do_test): Add comments and call free on all potentially
9531 allocated pointers. Add space after cast.
9533 * malloc/tst-pvalloc.c: Add comments.
9534 (do_test): Add comments and call free on all potentially
9535 allocated pointers. Remove duplicate check for NULL pointer.
9536 Add space after cast.
9538 * malloc/tst-valloc.c: Add comments.
9539 (do_test): Add comments and call free on all potentially
9540 allocated pointers. Remove duplicate check for NULL pointer.
9541 Add space after cast.
9543 2013-10-04 Alan Modra <amodra@gmail.com>
9545 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9546 Use stdint types in rather than __attribute__((mode())).
9547 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9549 2013-10-04 Alan Modra <amodra@gmail.com>
9551 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9552 Correct handling of unaligned relocs for little-endian.
9553 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9555 2013-10-04 Alan Modra <amodra@gmail.com>
9557 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
9558 * configure: Regenerate.
9559 * nptl/shlib-versions: Powerpc*le starts at 2.18.
9560 * shlib-versions: Likewise.
9562 2013-10-04 Alan Modra <amodra@gmail.com>
9564 * string/tester.c (test_memrchr): Increment reported test cycle.
9566 2013-10-04 Alan Modra <amodra@gmail.com>
9568 * string/test-memcpy.c (do_one_test): When reporting errors, print
9569 string address and don't overrun end of string.
9571 2013-10-04 Alan Modra <amodra@gmail.com>
9573 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
9574 insrdi. Make better use of reg selection to speed exit slightly.
9575 Schedule entry path a little better. Remove useless "are we done"
9576 checks on entry to main loop. Handle wrapping around zero address.
9577 Correct main loop count. Handle single left-over word from main
9578 loop inline rather than by using loop_small. Remove extra word
9579 case in loop_small caused by wrong loop count. Add little-endian
9581 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
9582 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
9584 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
9585 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
9586 support. Avoid rlwimi.
9587 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
9589 2013-10-04 Alan Modra <amodra@gmail.com>
9591 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
9593 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
9594 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
9595 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
9596 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
9597 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
9598 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
9600 2013-10-04 Alan Modra <amodra@gmail.com>
9602 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
9603 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
9604 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
9605 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
9606 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
9607 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
9608 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
9609 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
9610 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
9611 use of regs. Use power7 mtocrf. Tidy function tails.
9613 2013-10-04 Alan Modra <amodra@gmail.com>
9615 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
9616 Formatting. Consistently use rXXX register defines or rN defines.
9617 Use early exit labels that avoid restoring unused non-volatile regs.
9618 Make cr field use more consistent with rWORDn compares. Rename
9619 regs used as shift registers for unaligned loop, using rN defines
9620 for short lifetime/multiple use regs.
9621 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
9622 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
9623 addi 1,1,64 to pop stack frame. Simplify return value code.
9624 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
9626 2013-10-04 Alan Modra <amodra@gmail.com>
9628 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
9629 support. Correct typos, formatting. Optimize tail. Use insrdi
9631 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
9632 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
9633 little-endian support. Correct typos.
9634 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
9636 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
9637 in loop and entry code to keep "and." results.
9638 (strchr): Add little-endian support. Comment. Move cntlzd
9640 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
9642 2013-10-04 Alan Modra <amodra@gmail.com>
9644 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
9645 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
9646 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
9647 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
9649 2013-10-04 Alan Modra <amodra@gmail.com>
9651 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
9652 (rTMP): Define as r11.
9653 (strcmp): Add little-endian support. Optimise tail.
9654 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
9655 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
9656 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
9657 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9658 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
9659 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9660 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9662 2013-10-04 Alan Modra <amodra@gmail.com>
9664 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
9665 little-endian support. Remove unnecessary "are we done" tests.
9666 Handle "s" wrapping around zero and extremely large "size".
9667 Correct main loop count. Handle single left-over word from main
9668 loop inline rather than by using small_loop. Correct comments.
9669 Delete "zero" tail, use "end_max" instead.
9670 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
9672 2013-10-04 Alan Modra <amodra@gmail.com>
9674 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
9675 support. Don't branch over align.
9676 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
9677 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
9678 support. Rearrange tmp reg use to suit. Comment.
9679 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
9681 2013-10-04 Alan Modra <amodra@gmail.com>
9683 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
9685 2013-10-04 Alan Modra <amodra@gmail.com>
9687 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
9688 conditional form of branch and link when obtaining pc.
9689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
9691 2013-10-04 Alan Modra <amodra@gmail.com>
9693 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
9695 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
9696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
9698 2013-10-04 Alan Modra <amodra@gmail.com>
9700 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
9701 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
9702 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
9703 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
9704 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
9705 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
9706 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
9707 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
9708 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
9709 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
9711 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
9712 Alistair Popple <alistair@ozlabs.au.ibm.com>
9713 Alan Modra <amodra@gmail.com>
9716 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
9717 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
9718 _dl_hwcap access for little-endian.
9719 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
9720 destroy vmx regs when saving unaligned.
9721 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
9722 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
9723 destroy vmx regs when saving unaligned.
9725 2013-10-04 Alan Modra <amodra@gmail.com>
9727 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
9728 Don't use a union to pack hi/low value.
9730 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
9732 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
9734 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
9735 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
9736 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
9737 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
9738 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
9740 2013-10-04 Alan Modra <amodra@gmail.com>
9742 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
9743 constants to usual value for .cst8 section, and remove redundant
9745 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
9746 constant for 0x1p52. Load little-endian words of double from
9747 correct stack offsets.
9749 2013-10-04 Alan Modra <amodra@gmail.com>
9751 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
9752 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
9753 words of double from correct stack offsets.
9754 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
9755 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
9756 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
9757 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
9758 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
9759 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
9760 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
9761 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
9762 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
9763 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
9764 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
9765 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
9766 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
9767 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
9768 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
9769 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
9770 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
9772 2013-10-04 Alan Modra <amodra@gmail.com>
9774 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
9775 64-bit int/double union.
9776 (_FPU_SETCW): Likewise.
9777 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
9778 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
9780 2013-10-04 Alan Modra <amodra@gmail.com>
9782 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
9783 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
9785 2013-10-04 Alan Modra <amodra@gmail.com>
9787 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
9788 use vector int constants.
9789 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
9791 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
9793 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
9794 array with long long.
9795 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
9796 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
9797 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
9798 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
9799 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
9800 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
9801 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
9802 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
9803 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
9804 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
9805 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
9806 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
9807 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
9809 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
9811 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
9812 (__signbit): Likewise. Correct for little-endian.
9813 (__signbitl): Call __signbit.
9814 (lrint): Correct for little-endian.
9815 (lrintf): Call lrint.
9817 2013-10-04 Alan Modra <amodra@gmail.com>
9819 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
9820 union 32-bit int array member with 64-bit int array.
9821 (t515, tm256): Double rather than long double.
9822 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
9824 2013-10-04 Alan Modra <amodra@gmail.com>
9826 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
9828 (IEEE854_LONG_DOUBLE_BIAS): Delete.
9829 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
9830 version of math_ldbl.h.
9832 2013-10-04 Alan Modra <amodra@gmail.com>
9834 [BZ #15734], [BZ #15735]
9835 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
9836 all uses of ieee875 long double macros and unions. Simplify test
9837 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
9838 ldbl_extract_mantissa value for ix,iy exponents. Properly
9839 normalize after ldbl_extract_mantissa, and don't add hidden bit
9840 already handled. Don't treat low word of ieee854 mantissa like
9841 low word of IBM long double and mask off bit when testing for
9843 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
9844 all uses of ieee875 long double macros and unions. Simplify tests
9845 for 0.0L and inf. Correct double adjustment of k. Delete dead code
9846 adjusting ha,hb. Simplify code setting kld. Delete two600 and
9847 two1022, instead use their values. Recognise that tests for large
9848 "a" and small "b" are mutually exclusive. Rename vars. Comment.
9849 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
9850 Rewrite all uses of ieee875 long double macros and unions. Simplify
9851 test for 0.0L and nan. Correct negation.
9852 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
9853 ieee875 long double macros and unions. Correct output for large
9854 magnitude x. Correct absolute value calculation.
9855 (__erfcl): Likewise.
9856 * math/libm-test.inc: Add tests for errors discovered in IBM long
9857 double versions of fmodl, remainderl, erfl and erfcl.
9859 2013-10-04 Alan Modra <amodra@gmail.com>
9861 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
9862 all uses of ieee854 long double macros and unions. Simplify tests
9863 for long doubles that are fully specified by the high double.
9864 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
9866 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
9867 Remove dead code too.
9868 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
9869 (__ieee754_ynl): Likewise.
9870 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
9871 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
9872 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
9873 Remove dead code too.
9874 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
9875 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
9876 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
9877 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
9879 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
9881 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
9882 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
9883 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
9884 Comment on variable precision.
9885 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
9886 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
9888 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
9889 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
9890 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
9891 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
9892 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
9894 2013-10-04 Alan Modra <amodra@gmail.com>
9896 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
9897 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
9898 all uses of ieee854 long double macros and unions.
9899 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
9900 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
9901 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
9902 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
9903 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
9904 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
9906 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
9907 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
9908 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
9909 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
9910 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
9911 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
9912 Simplify sign and nan test too.
9913 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
9914 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
9915 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
9916 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
9918 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
9919 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
9921 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9922 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
9923 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
9924 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
9925 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
9926 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
9928 2013-10-04 Alan Modra <amodra@gmail.com>
9930 * stdio-common/printf_size.c (__printf_size): Don't use
9931 union ieee854_long_double in fpnum union.
9932 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
9933 signbit macro to retrieve sign from long double.
9934 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
9935 retrieve sign from long double.
9936 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
9937 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
9938 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
9939 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
9940 * math/test-misc.c (main): Don't use union ieee854_long_double.
9942 2013-10-04 Alan Modra <amodra@gmail.com>
9945 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
9946 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
9947 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
9948 calculation. Remove unnecessary test for denormal exponent.
9949 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
9950 Correct handling of denormals. Avoid undefined shift behaviour.
9951 Correct normalisation of low mantissa when low double is denormal.
9952 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
9953 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
9954 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
9955 Correct normalisation of low mantissa. Test for overflow of high
9956 mantissa and normalise.
9957 (ldbl_nearbyint): Use more readable constant for two52.
9958 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
9959 (__mpn_construct_long_double): Fix test for overflow of high
9960 mantissa and correct normalisation. Avoid undefined shift.
9962 2013-10-04 Alan Modra <amodra@gmail.com>
9964 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
9965 (union ibm_extended_long_double): Define as an array of ieee754_double.
9966 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
9967 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
9968 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
9969 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
9970 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9971 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
9972 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
9973 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
9974 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
9975 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
9976 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
9978 2013-10-03 Joseph Myers <joseph@codesourcery.com>
9980 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
9981 page size instead of calling getpagesize.
9983 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
9984 (LOCFILE_ALIGN_MASK): Likewise.
9985 (LOCFILE_ALIGN_UP): Likewise.
9986 (LOCFILE_ALIGNED_P): Likewise.
9987 * locale/programs/ld-collate.c (collate_output): Use the new
9988 macros instead of __alignof__ (int32_t).
9989 * locale/weight.h (findidx): Likewise.
9991 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
9994 * manual/string.texi: Fix strncat and wcsncat.
9996 2013-10-03 Brooks Moses <bmoses@google.com>
9999 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
10000 * Makerules: ...here, and adjust associated comments.
10002 2013-10-02 Will Newton <will.newton@linaro.org>
10004 * malloc/Makefile: Add tst-pvalloc.
10005 * malloc/tst-pvalloc.c: New file.
10007 2013-10-02 Will Newton <will.newton@linaro.org>
10009 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
10010 improve test coverage.
10012 2013-10-02 Will Newton <will.newton@linaro.org>
10014 * malloc/Makefile: Add tst-posix_memalign.
10015 * malloc/tst-posix_memalign.c: New file.
10017 2013-10-01 Eric Blake <eblake@redhat.com>
10019 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
10020 Use __THROWNL rather than __THROW on static functions.
10022 2013-09-30 Petr Machata <pmachata@redhat.com>
10024 * elf/elf.h (R_AARCH64_ABS16): New macro.
10025 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
10026 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
10027 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
10028 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
10029 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
10030 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
10031 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
10032 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
10033 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
10034 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
10035 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
10036 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
10037 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
10038 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
10039 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
10040 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
10041 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
10042 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
10043 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
10044 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
10045 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
10046 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
10047 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
10048 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
10049 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
10050 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
10051 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
10052 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
10053 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
10054 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
10055 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
10056 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
10057 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
10058 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
10059 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
10060 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
10061 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
10062 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
10063 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
10064 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
10065 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
10066 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
10067 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
10068 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
10069 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
10070 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
10071 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
10072 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
10073 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
10074 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
10075 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
10076 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
10077 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
10078 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
10079 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
10080 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
10081 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
10082 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
10083 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
10084 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
10085 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
10086 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
10087 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
10088 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
10089 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
10090 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
10091 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
10092 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
10093 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
10094 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
10095 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
10096 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
10097 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
10098 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
10099 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
10100 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
10101 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
10102 (R_AARCH64_TLSDESC_LDR): Likewise.
10103 (R_AARCH64_TLSDESC_ADD): Likewise.
10104 (R_AARCH64_TLSDESC_CALL): Likewise.
10106 2013-09-30 Andreas Schwab <schwab@suse.de>
10109 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
10110 the nss database lookup.
10111 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10112 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10114 2013-09-28 Mike Frysinger <vapier@gentoo.org>
10116 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
10118 2013-09-28 P. J. McDermott <pj@pehjota.net>
10120 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
10121 ${Bash-specific parameter/pattern/string} parameter expansion.
10122 * sysdeps/unix/make-syscalls.sh: Likewise.
10124 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10126 * sysdeps/sh/stackguard-macros.h: New file.
10128 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
10130 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
10131 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
10132 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
10133 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
10134 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
10135 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
10137 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10139 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
10140 Fix thread ID register.
10142 2013-09-25 Joseph Myers <joseph@codesourcery.com>
10144 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
10145 [POSIX || UNIX98]: Require rather than permitting all symbols from
10147 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
10148 element of struct sched_param.
10149 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
10150 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
10151 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
10152 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
10155 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
10157 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
10158 argument calculation.
10160 2013-09-24 Joseph Myers <joseph@codesourcery.com>
10162 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
10164 [POSIX] (pthread_attr_t): Do not require type.
10165 [POSIX] (pthread_cond_t): Likewise.
10166 [POSIX] (pthread_condattr_t): Likewise.
10167 [POSIX] (pthread_key_t): Likewise.
10168 [POSIX] (pthread_mutex_t): Likewise.
10169 [POSIX] (pthread_mutexattr_t): Likewise.
10170 [POSIX] (pthread_once_t): Likewise.
10171 [POSIX] (pthread_t): Likewise.
10172 [POSIX-based standards] (pthread_atfork): Expect function.
10174 2013-09-24 Joseph Myers <joseph@codesourcery.com>
10175 Richard Sandiford <richard@codesourcery.com>
10177 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
10178 (swap_endianness_p): New extern variable.
10179 (set_big_endian): New inline function.
10180 (maybe_swap_uint32): Likewise.
10181 (maybe_swap_uint32_array): Likewise.
10182 (maybe_swap_uint32_obstack): Likewise.
10183 * locale/programs/locfile.c: Include <stdbool.h>.
10184 (swap_endianness_p): New variable.
10185 (add_locale_uint32): Call maybe_swap_uint32.
10186 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
10187 (write_locale_data): Call maybe_swap_uint32_array.
10188 * locale/programs/ld-collate.c (obstack_int32_grow): Call
10190 (obstack_int32_grow_fast): Likewise.
10191 (output_weightwc): Call maybe_swap_uint32_obstack.
10192 (collate_output): Likewise.
10193 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
10194 (OPT_LITTLE_ENDIAN): Likewise.
10195 (options): Add --little-endian and --big-endian options.
10196 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
10197 * locale/programs/locarchive.c: Include "locfile.h".
10201 (create_archive): Use the new macros to access fields of
10202 structures directly mapped from or written to locale archives.
10203 (oldlocrecentcmp): Likewise.
10204 (enlarge_archive): Likewise.
10205 (insert_name): Likewise.
10206 (add_alias): Likewise.
10207 (add_locale): Likewise.
10208 (delete_locales_from_archive): Likewise.
10209 (show_archive_content): Likewise.
10210 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
10213 2013-09-24 Roland McGrath <roland@hack.frob.com>
10215 * manual/freemanuals.texi: Updated from (newly) canonical copy at
10216 http://www.gnu.org/doc/freemanuals.texi.
10217 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
10219 2013-09-24 Will Newton <will.newton@linaro.org>
10221 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
10224 2013-09-23 Joseph Myers <joseph@codesourcery.com>
10226 * locale/hashval.h (compute_hashval): Interpret bytes of key as
10229 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
10231 * manual/threads.texi (POSIX Threads): Fix a typo.
10233 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
10236 * string/tst-strcoll-overflow.c: New test case.
10237 * string/Makefile (xtests): Add tst-strcoll-overflow.
10238 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
10239 cache if string sizes may cause integer overflow.
10242 * string/strcoll_l.c (coll_seq): New members rule, idx,
10243 save_idx and back_us.
10244 (get_next_seq_nocache): New function.
10245 (do_compare_nocache): New function.
10246 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
10249 2013-09-23 Carlos O'Donell <carlos@redhat.com>
10252 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
10253 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
10254 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
10257 * elf/Makefile (tests): Add tst-ptrguard1.
10258 (tests-static): Add tst-ptrguard1-static.
10259 (tst-ptrguard1-ARGS): Define.
10260 (tst-ptrguard1-static-ARGS): Define.
10261 * elf/tst-ptrguard1.c: New file.
10262 * elf/tst-ptrguard1-static.c: New file.
10263 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
10264 * sysdeps/i386/stackguard-macros.h: Likewise.
10265 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
10266 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
10267 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
10268 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
10269 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
10270 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
10272 2013-09-23 Hector Marco <hecmargi@upv.es>
10273 Ismael Ripoll <iripoll@disca.upv.es>
10274 Carlos O'Donell <carlos@redhat.com>
10277 * sysdeps/generic/stackguard-macros.h: Define
10278 __pointer_chk_guard_local and POINTER_CHK_GUARD.
10279 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
10280 Define __pointer_chk_guard_local.
10281 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
10282 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
10284 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
10287 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
10289 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
10291 * include/string.h (__ffs): Declare as hidden.
10292 * string/ffs.c (__ffs): Define as hidden.
10293 * sysdeps/i386/ffs.c (__ffs): Likewise.
10294 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
10295 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
10296 * sysdeps/s390/ffs.c (__ffs): Likewise.
10297 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
10299 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
10301 * NEWS: Mention malloc probes.
10303 * malloc/arena.c (new_heap): New memory_heap_new probe.
10304 (grow_heap): New memory_heap_more probe.
10305 (shrink_heap): New memory_heap_less probe.
10306 (heap_trim): New memory_heap_free probe.
10307 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
10308 (systrim): New memory_sbrk_less probe.
10309 * manual/probes.texi: Document them.
10311 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
10312 * manual/probes.texi: Document it.
10314 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
10315 (__libc_realloc): Add memory_realloc_retry probe.
10316 (__libc_memalign): Add memory_memalign_retry probe.
10317 (__libc_valloc): Add memory_valloc_retry probe.
10318 (__libc_pvalloc): Add memory_pvalloc_retry probe.
10319 (__libc_calloc): Add memory_calloc_retry probe.
10320 * manual/probes.texi: Document them.
10322 * malloc/arena.c (get_free_list): Add probe
10323 memory_arena_reuse_free_list.
10324 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
10325 and memory_arena_reuse.
10326 (arena_get2) [!PER_THREAD]: Likewise.
10327 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
10328 memory_arena_reuse_realloc.
10329 * manual/probes.texi: Document them.
10331 * malloc/malloc.c (__libc_free): Add
10332 memory_mallopt_free_dyn_thresholds probe.
10333 (__libc_mallopt): Add multiple memory_mallopt probes.
10334 * manual/probes.texi: Document them.
10336 * malloc/malloc.c: Include stap-probe.h.
10337 (__libc_mallopt): Add memory_mallopt probe.
10338 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
10339 * manual/probes.texi: New.
10340 * manual/Makefile (chapters): Add probes.
10341 * manual/threads.texi: Set next node.
10343 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
10345 [BZ #15963, #13985]
10346 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
10347 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
10348 Add `Chinese' to `nan' entry name.
10350 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10352 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
10353 (POLYNOMIAL): Likewise.
10354 (TAYLOR_SINCOS): Likewise.
10355 (TAYLOR_SLOW): Likewise.
10356 (__sin): Use TAYLOR_SINCOS.
10358 (slow): Use TAYLOR_SLOW.
10360 (bsloww): Likewise.
10361 (csloww): Likewise.
10363 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10365 * stdlib/strtod_l.c: Fix buffer overrun.
10367 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10369 * benchtests/Makefile (bench): Add sincos.
10370 * benchtests/bench-sincos.c: New file.
10372 * math/libm-test.inc (cos_test_data): New test inputs.
10373 (sin_test_data): Likewise.
10375 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
10381 (sloww1): Likewise.
10382 (sloww2): Likewise.
10383 (bsloww1): Likewise.
10384 (bsloww2): Likewise.
10385 (cslow2): Likewise.
10386 (csloww1): Likewise.
10387 (csloww2): Likewise.
10389 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
10394 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
10398 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
10400 * config.h.in (HAVE_MIPS_NAN2008): New macro.
10401 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
10402 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
10403 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
10404 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
10405 * elf/cache.c (print_entry): Handle the new cache flags.
10407 2013-09-18 Joseph Myers <joseph@codesourcery.com>
10408 Aldy Hernandez <aldyh@redhat.com>
10410 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
10411 Change condition to [_SOFT_FLOAT].
10412 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
10413 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
10414 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
10415 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
10416 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
10417 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
10418 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
10419 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
10420 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
10421 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
10422 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
10423 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
10424 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
10425 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
10426 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
10427 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
10430 2013-09-18 Joseph Myers <joseph@codesourcery.com>
10432 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
10433 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
10434 (__longjmp): Use LOAD_GP to load saved GPRs.
10435 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
10436 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
10437 (__sigsetjmp): Use SAVE_GP to save GPRs.
10439 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
10440 Do not append -msoft-float.
10441 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
10443 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10445 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
10447 2013-09-17 Joseph Myers <joseph@codesourcery.com>
10450 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
10451 (_FPU_GETCW): Use initial "__" on variable and field names but not
10452 on macro parameter name.
10453 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
10454 parentheses around reference to macro parameter.
10456 2013-09-13 Richard Sandiford <richard@codesourcery.com>
10458 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
10460 (ctype_startup): Use uint32_t in cast and sizeof for
10463 2013-09-11 Jia Liu <proljc@gmail.com>
10465 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
10467 [__FreeBSD__]: Likewise.
10469 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
10471 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
10472 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
10473 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
10474 (strchr): Remove __strchr_sse42 ifunc selection.
10475 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
10476 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
10478 2013-09-11 Will Newton <will.newton@linaro.org>
10480 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
10481 parameter to RES. Remove hardcoded 1000 value.
10482 * benchtests/bench-skeleton.c (main): Pass RES parameter
10483 to TIMING_INIT and multiply result by 1000.
10485 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10487 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10489 2013-09-11 Andreas Schwab <schwab@suse.de>
10491 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
10493 (O_TMPFILE) [__USE_GNU]: Define.
10494 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
10497 2013-09-11 Will Newton <will.newton@linaro.org>
10500 * malloc/malloc.c (__libc_memalign): Check the value of bytes
10503 2013-09-11 Will Newton <will.newton@linaro.org>
10506 * malloc/malloc.c (__libc_valloc): Check the value of bytes
10509 2013-09-11 Will Newton <will.newton@linaro.org>
10512 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
10515 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
10517 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
10518 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10519 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10520 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10521 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10523 2013-09-10 Allan McRae <allan@archlinux.org>
10526 * manual/arith.texi (Parsing of Floats): Clarify
10530 * manual/install.texi (Running make install): Mention
10532 * INSTALL: Regenerated.
10534 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
10536 * csu/init-first.c (_init): Remove the !SHARED condition around
10537 FPU control word initialization.
10538 * elf/dl-support.c (_dl_fpu_control): New variable.
10539 (_dl_aux_init) <AT_FPUCW>: Initialize it.
10540 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
10541 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
10542 * math/test-fpucw-static.c: New file.
10543 * math/test-fpucw-ieee.c: New file.
10544 * math/test-fpucw-ieee-static.c: New file.
10545 * math/Makefile (tests): Add `test-fpucw-ieee' and
10547 (tests-static): New variable.
10548 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
10550 [($(build-shared),yes)]
10551 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
10553 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
10556 2013-09-09 Allan McRae <allan@archlinux.org>
10559 * manual/string.texi (Collation Functions): Fix typo in
10561 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
10564 * stdlib/isomac.c (get_null_defines): Fix memory leak.
10567 * libio/memstream.c (open_memstream): Fix memory leak.
10568 * libio/wmemstream.c (open_wmemstream): Likewise.
10571 * nscd/netgroupcache.c: Fix nesting of ifdefs.
10573 2013-09-09 Will Newton <will.newton@linaro.org>
10575 * malloc/Makefile: Add tst-realloc to tests.
10576 * malloc/tst-realloc.c: New file.
10578 2013-09-09 Allan McRae <allan@archlinux.org>
10581 * COPYING: Update from GNU website to fix FSF address.
10582 * COPYING.LIB: Likewise.
10584 2013-09-06 David S. Miller <davem@davemloft.net>
10586 * po/zh_TW.po: Update Chinese (traditional) translation from
10587 translation project.
10589 2013-09-06 Richard Sandiford <richard@codesourcery.com>
10590 Joseph Myers <joseph@codesourcery.com>
10592 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
10594 (obstack_chunk_alloc): New macro.
10595 (obstack_chunk_free): Likewise.
10596 (record_offset): New function.
10597 (init_locale_data): Likewise.
10598 (align_locale_data): Likewise.
10599 (add_locale_empty): Likewise.
10600 (add_locale_raw_data): Likewise.
10601 (add_locale_raw_obstack): Likewise.
10602 (add_locale_string): Likewise.
10603 (add_locale_wstring): Likewise.
10604 (add_locale_uint32): Likewise.
10605 (add_locale_uint32_array): Likewise.
10606 (add_locale_char): Likewise.
10607 (start_locale_structure): Likewise.
10608 (end_locale_structure): Likewise.
10609 (start_locale_prelude): Likewise.
10610 (end_locale_prelude): Likewise.
10611 (write_locale_data): Take locale_file structure rather than an
10613 * locale/programs/locfile.h: Include "obstack.h".
10614 (struct locale_file): Change to store locale file contents instead
10616 (init_locale_data): New prototype.
10617 (align_locale_data): Likewise.
10618 (add_locale_empty): Likewise.
10619 (add_locale_raw_data): Likewise.
10620 (add_locale_raw_obstack): Likewise.
10621 (add_locale_string): Likewise.
10622 (add_locale_wstring): Likewise.
10623 (add_locale_uint32): Likewise.
10624 (add_locale_uint32_array): Likewise.
10625 (add_locale_char): Likewise.
10626 (start_locale_structure): Likewise.
10627 (end_locale_structure): Likewise.
10628 (start_locale_prelude): Likewise.
10629 (end_locale_prelude): Likewise.
10630 (write_locale_data): Update prototype.
10631 * locale/programs/3level.h (struct TABLE): Remove result field.
10632 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
10633 Use new locale_file interface.
10634 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
10635 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
10636 * locale/programs/ld-address.c (address_output): Use new
10637 locale_file interface.
10638 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
10640 (collate_finish): Don't call collseq_table_finalize.
10641 (collate_output): Use new locale_file interface.
10642 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
10644 (NO_FINALIZE): Change to NO_ADD_LOCALE.
10645 (TABLE): Move defines earlier in file.
10646 (ELEMENT): Likewise.
10647 (DEFAULT): Likewise.
10648 (wctrans_table_add): Move macro and inline function earlier in
10650 (struct wctype_table): Move type earlier in file.
10651 (add_locale_wctype_table): New static prototype.
10652 (struct locale_ctype_t): Use logical types instead of struct iovec
10653 pointers for members.
10654 (ctype_output): Use new locale_file interface.
10655 (wctype_table_finalize): Change to add_locale_wctype_table. Use
10656 new locale_file interface.
10657 (allocate_arrays): Update for use of new locale_file interface.
10658 * locale/programs/ld-identification.c (identification_output): Use
10659 new locale_file interface.
10660 * locale/programs/ld-measurement.c (measurement_output): Likewise.
10661 * locale/programs/ld-messages.c (messages_output): Likewise.
10662 * locale/programs/ld-monetary.c (monetary_output): Likewise.
10663 * locale/programs/ld-name.c (name_output): Likewise.
10664 * locale/programs/ld-numeric.c (numeric_output): Likewise.
10665 * locale/programs/ld-paper.c (paper_output): Likewise.
10666 * locale/programs/ld-telephone.c (telephone_output): Likewise.
10667 * locale/programs/ld-time.c (time_output): Likewise.
10669 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10671 * benchtests/Makefile: Add memrchr benchmark.
10672 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
10673 benchmark as memrchr.
10674 * benchtests/bench-memrchr-ifunc.c: New file.
10675 * benchtests/bench-memrchr.c: New file.
10677 2013-09-06 Will Newton <will.newton@linaro.org>
10679 * benchtests/Makefile (string-bench): Add memcpy.
10681 2013-09-05 Carlos O'Donell <carlos@redhat.com>
10682 Cong Wang <amwang@redhat.com>
10685 * sysdeps/unix/sysv/linux/bits/in.h
10686 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
10687 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
10688 before __USE_KERNEL_IPV6_DEFS uses.
10689 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
10691 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
10692 sockaddr_in6, or ipv6_mreq.
10694 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10696 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
10697 memory access for final bytes in some large inputs.
10698 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
10700 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10702 * string/test-memrchr.c: New file.
10703 * string/test-memrchr-ifunc.c: New file.
10704 * string/Makefile: Add new memrchr testcase.
10706 2013-09-05 Mike Frysinger <vapier@gentoo.org>
10708 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
10709 fanotify_init returns EPERM.
10711 2013-09-04 Joseph Myers <joseph@codesourcery.com>
10713 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
10715 (top level): Treat second token from macro or constant entries for
10716 allowed headers as allowed.
10717 * include/complex.h: Condition internal declarations on
10719 * include/fenv.h: Condition include of <stdbool.h> and internal
10720 declarations on [!_ISOMAC].
10722 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
10725 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
10727 2013-09-04 Joseph Myers <joseph@codesourcery.com>
10729 * configure.in (--enable-versioning): Remove configure option.
10730 (libc_cv_asm_symver_directive): Remove configure test.
10731 (libc_cv_ld_version_script_option): Likewise.
10732 (VERSIONING): Remove variable and AC_SUBST.
10733 (DO_VERSIONING): Remove AC_DEFINE.
10734 * configure: Regenerated.
10735 * config.h.in (DO_VERSIONING): Remove macro.
10736 * Makerules [$(versioning) = yes]: Change conditionals to
10737 [$(build-shared) = yes].
10738 * config.make.in (versioning): Remove variable.
10739 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
10740 [$(build-shared) = yes].
10741 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
10742 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
10743 * elf/Makefile [$(versioning) = yes]: Change conditionals to
10744 [$(build-shared) = yes].
10745 * extra-lib.mk [$(versioning) = yes]: Likewise.
10746 * hurd/Makefile [$(versioning) = yes]: Likewise.
10747 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
10749 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
10751 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
10752 [SHARED && !NO_HIDDEN].
10753 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
10755 [SHARED && DO_VERSIONING]: Likewise..
10756 * libio/Makefile [$(versioning) = yes]: Change conditionals to
10757 [$(build-shared) = yes].
10758 * manual/install.texi (--disable-versioning): Remove
10760 * INSTALL: Regenerated.
10761 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
10763 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
10764 [$(build-shared) = yes].
10765 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
10766 * sysdeps/i386/i686/multiarch/strstr-c.c
10767 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
10768 [SHARED && !NO_HIDDEN].
10769 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
10770 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
10771 * sysdeps/powerpc/powerpc32/dl-machine.c
10772 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
10773 * sysdeps/powerpc/powerpc32/sysdep.h
10774 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
10775 to [SHARED && PIC && !NO_HIDDEN].
10776 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
10777 conditional to [SHARED].
10779 2013-09-04 Will Newton <will.newton@linaro.org>
10781 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
10782 * benchtests/bench-string.h: Include bench-timing.h instead
10783 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
10784 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
10785 call to HP_TIMING_DIFF_INIT.
10786 * benchtests/bench-memccpy.c: Use bench-timing.h macros
10787 instead of hp-timing.h macros.
10788 * benchtests/bench-memchr.c: Likewise.
10789 * benchtests/bench-memcmp.c: Likewise.
10790 * benchtests/bench-memcpy.c: Likewise.
10791 * benchtests/bench-memmem.c: Likewise.
10792 * benchtests/bench-memmove.c: Likewise.
10793 * benchtests/bench-memset.c: Likewise.
10794 * benchtests/bench-rawmemchr.c: Likewise.
10795 * benchtests/bench-strcasecmp.c: Likewise.
10796 * benchtests/bench-strcasestr.c: Likewise.
10797 * benchtests/bench-strcat.c: Likewise.
10798 * benchtests/bench-strchr.c: Likewise.
10799 * benchtests/bench-strcmp.c: Likewise.
10800 * benchtests/bench-strcpy.c: Likewise.
10801 * benchtests/bench-strcpy_chk.c: Likewise.
10802 * benchtests/bench-strlen.c: Likewise.
10803 * benchtests/bench-strncasecmp.c: Likewise.
10804 * benchtests/bench-strncat.c: Likewise.
10805 * benchtests/bench-strncmp.c: Likewise.
10806 * benchtests/bench-strncpy.c: Likewise.
10807 * benchtests/bench-strnlen.c: Likewise.
10808 * benchtests/bench-strpbrk.c: Likewise.
10809 * benchtests/bench-strrchr.c: Likewise.
10810 * benchtests/bench-strspn.c: Likewise.
10811 * benchtests/bench-strstr.c: Likewise.
10813 2013-09-04 Will Newton <will.newton@linaro.org>
10815 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
10817 2013-09-03 Joseph Myers <joseph@codesourcery.com>
10820 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
10821 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
10822 * math/libm-test.inc (lgamma_test_data): Add more tests.
10823 * sysdeps/i386/fpu/libm-test-ulps: Update.
10824 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10826 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
10828 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
10829 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10831 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
10832 Add strcmp-sse2-unaligned
10833 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
10835 2013-09-02 Mike Frysinger <vapier@gentoo.org>
10837 * Versions.def (libc): Add GLIBC_2.19.
10839 2013-09-02 Mike Frysinger <vapier@gentoo.org>
10841 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
10842 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
10844 2013-09-02 Joseph Myers <joseph@codesourcery.com>
10847 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
10848 intermediate calculations in recurrence.
10849 (__ieee754_ynf): Likewise.
10850 * math/libm-test.inc (jn_test_data): Do not allow spurious
10851 underflow exception. Add more tests.
10852 (yn_test_data): Add more tests.
10853 * sysdeps/i386/fpu/libm-test-ulps: Update.
10854 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10856 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
10858 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
10860 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
10862 * csu/init-first.c: Fix then/than typos.
10863 * locale/programs/ld-collate.c: Likewise.
10864 * locale/programs/linereader.h: Likewise.
10865 * manual/charset.texi: Likewise.
10866 * manual/filesys.texi: Likewise.
10867 * manual/stdio.texi: Likewise.
10868 * manual/string.texi: Likewise.
10869 * stdlib/fmtmsg.c: Likewise.
10870 * sysdeps/i386/stpncpy.S: Likewise.
10871 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
10872 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
10873 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
10874 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
10876 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
10878 * elf/dl-open.c: Fix typos.
10879 * iconvdata/gbbig5.c: Likewise.
10880 * iconvdata/iso-2022-jp.c: Likewise.
10881 * iconv/gconv_int.h: Likewise.
10882 * iconv/loop.c: Likewise.
10883 * nis/rpcsvc/nis.h: Likewise.
10884 * resolv/ns_name.c: Likewise.
10885 * stdio-common/vfscanf.c: Likewise.
10886 * streams/stropts.h: Likewise.
10887 * sunrpc/rpc_thread.c: Likewise.
10888 * sysdeps/i386/strpbrk.S: Likewise.
10889 * sysdeps/ieee754/k_standard.c: Likewise.
10890 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10891 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10892 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
10893 * sysdeps/mach/hurd/profil.c: Likewise.
10894 * sysdeps/s390/dl-procinfo.h: Likewise.
10895 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
10896 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
10897 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
10898 * sysdeps/x86_64/dl-trampoline.S: Likewise.
10899 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
10901 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
10903 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
10904 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
10906 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
10908 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
10909 aix specific files.
10910 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
10911 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
10912 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
10913 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
10914 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
10915 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
10916 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
10917 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
10919 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
10920 Roland McGrath <roland@hack.frob.com>
10922 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
10923 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
10925 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
10927 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
10928 __executable_start symbol instead of _start.
10930 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
10932 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
10933 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
10935 * sysdeps/gnu/ldsodefs.h: ... this new file.
10937 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
10938 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
10939 instead of ELFOSABI_LINUX.
10941 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
10942 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
10943 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
10944 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
10946 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
10947 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
10948 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
10950 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
10951 (ibm_extended_long_double): Add ieee_nan member.
10952 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
10953 (do_test): New function.
10955 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
10957 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
10958 functions, renamed from truncdfsf_test, trunctfsf_test,
10960 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
10962 (do_test): Run all these.
10964 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
10966 * argp/argp-help.c: Fix typos.
10967 * argp/argp-parse.c: Likewise.
10968 * debug/backtracesyms.c: Likewise.
10969 * elf/elf.h: Likewise.
10970 * malloc/malloc.c: Likewise.
10971 * nis/nis_print.c: Likewise.
10972 * resolv/res_comp.c: Likewise.
10973 * stdlib/stdlib.h: Likewise.
10974 * sunrpc/clnt_tcp.c: Likewise.
10975 * sunrpc/clnt_udp.c: Likewise.
10976 * sunrpc/clnt_unix.c: Likewise.
10977 * sysdeps/unix/bsd/ptsname.c: Likewise.
10978 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
10979 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
10980 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
10982 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
10984 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
10986 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
10988 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10990 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
10991 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10993 2013-08-27 Mike Frysinger <vapier@gentoo.org>
10996 * dlfcn/Makefile (tests): Add bug-dl-leaf.
10997 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
10998 ($(objpfx)bug-dl-leaf): New rule.
10999 ($(objpfx)bug-dl-leaf.so): Likewise.
11000 ($(objpfx)bug-dl-leaf.out): Likewise.
11001 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
11002 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
11003 * dlfcn/bug-dl-leaf.c: New test.
11004 * dlfcn/bug-dl-leaf-lib.c: Likewise.
11005 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
11006 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
11007 (dlclose): Likewise.
11008 (dlmopen): Likewise.
11010 2013-08-27 Roland McGrath <roland@hack.frob.com>
11012 * include/netdb.h [!_ISOMAC]:
11013 Don't include <tls.h>.
11014 (h_errno, __libc_h_errno): Move declaration and macros out of
11017 * include/resolv.h [_RESOLV_H_]:
11018 Don't include <tls.h>.
11019 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
11020 * resolv/res_libc.c: Don't include <tls.h>.
11021 (_res): Use __attribute__ ((nocommon)) in place of
11022 __attribute__ ((section (".bss"))).
11024 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
11025 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
11027 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
11029 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
11030 only under [SIOCGIFCONF && SIOCGIFNETMASK].
11032 * resolv/res_mkquery.c: Include <sys/time.h>.
11034 * inet/ifreq.c: Moved to ...
11035 * sysdeps/unix/ifreq.c: ... here.
11036 * inet/ifreq.c: New file, true stub version.
11038 * socket/sa_len.c: New file.
11039 * socket/Makefile (aux): Add it.
11040 * sysdeps/unix/sysv/linux/Makefile
11041 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
11042 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
11043 and #include <socket/sa_len.c>.
11044 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
11045 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
11047 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
11048 * bits/socket.h: ... here.
11050 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
11051 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
11052 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
11054 2013-08-27 Andreas Schwab <schwab@suse.de>
11057 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
11058 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
11059 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
11060 * string/test-strcasecmp.c (test_main): Run tests in several
11062 * string/test-strncasecmp.c (test_main): Likewise.
11064 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
11065 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
11066 to __strcasecmp_nonascii and __strncasecmp_nonascii.
11067 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
11068 (__strncasecmp_ssse3) [PIC]: Likewise.
11070 2013-08-26 Roland McGrath <roland@hack.frob.com>
11072 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
11074 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
11075 instead of explicitly declaring xdecrypt.
11076 * nis/nss_nis/nis-publickey.c: Likewise.
11078 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11081 * nscd/aicache.c: Include res_hconf.h.
11082 (addhstaiX): Initialize res_hconf.
11084 2013-08-26 Andreas Schwab <schwab@suse.de>
11086 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
11087 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
11089 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11091 * nscd/aicache.c (addhstaiX): Fix indentation.
11093 2013-08-25 Mike Frysinger <vapier@gentoo.org>
11095 * configure.ac: Quote $build_pt_chown test.
11096 * configure: Regenerated.
11098 2013-08-23 Joseph Myers <joseph@codesourcery.com>
11101 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
11102 * math/s_cexpf.c (__cexpf): Likewise.
11103 * math/s_cexpl.c (__cexpl): Likewise.
11104 * math/libm-test.inc (cexp_test_data): Correct expected return
11105 value for NaN + i0. Add another test.
11107 2013-08-22 David S. Miller <davem@davemloft.net>
11109 * po/ca.po: Update Catalan translation from translation project.
11110 * po/uk.po: Add Ukrainian translations from translation project.
11112 2013-08-21 Joseph Myers <joseph@codesourcery.com>
11115 * math/s_fdim.c (__fdim): Check for infinite arguments if result
11116 is infinite, not alongside NaN test.
11117 * math/s_fdimf.c (__fdimf): Likewise.
11118 * math/s_fdiml.c (__fdiml): Likewise.
11119 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
11120 errno is unchanged.
11122 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
11124 * argp/argp-help.c: Fix typos.
11125 * crypt/speeds.c: Likewise.
11126 * csu/check_fds.c: Likewise.
11127 * elf/dl-load.c: Likewise.
11128 * elf/dl-open.c: Likewise.
11129 * elf/reldep3.c: Likewise.
11130 * elf/reldep.c: Likewise.
11131 * elf/sprof.c: Likewise.
11132 * iconv/iconv_charmap.c: Likewise.
11133 * iconv/skeleton.c: Likewise.
11134 * iconv/strtab.c: Likewise.
11135 * io/lockf64.c: Likewise.
11136 * libio/libioP.h: Likewise.
11137 * resolv/gai_notify.c: Likewise.
11138 * resolv/ns_name.c: Likewise.
11139 * resolv/ns_samedomain.c: Likewise.
11140 * resolv/res_send.c: Likewise.
11141 * stdlib/random.c: Likewise.
11142 * sunrpc/rpc/xdr.h: Likewise.
11143 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
11144 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
11145 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
11146 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
11147 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
11148 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
11149 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
11150 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
11151 * sysdeps/mach/hurd/check_fds.c: Likewise.
11152 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
11153 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
11154 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11155 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
11156 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
11157 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
11158 * sysdeps/pthread/aio_notify.c: Likewise.
11159 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
11160 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
11161 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
11162 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
11163 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
11165 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11167 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
11168 version if bit_Slow_SSE4_2 is set.
11169 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11170 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
11172 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11175 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
11176 trampoline stack frame information.
11177 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
11178 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
11179 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
11180 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
11181 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
11182 * sysdeps/unix/sysv/linux/powerpc/init-first.c
11183 (_libc_vdso_platform_setup): Initialize the signal trampolines.
11184 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
11186 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
11187 interrupting a syscall and set with option SA_SIGINFO.
11189 2013-08-20 Joseph Myers <joseph@codesourcery.com>
11192 * math/s_cproj.c (__cproj): Only return an infinity if one part of
11193 argument is infinite.
11194 * math/s_cprojf.c (__cprojf): Likewise.
11195 * math/s_cprojl.c (__cprojl): Likewise.
11196 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
11197 * math/libm-test.inc (cproj_test_data): Add more tests.
11199 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
11201 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
11202 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
11203 size. Use __ffs to determine corresponding shift.
11205 2013-08-20 Joseph Myers <joseph@codesourcery.com>
11206 Roland McGrath <roland@hack.frob.com>
11208 * Makefile (INSTALL): Remove trailing blank lines from output of
11211 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11213 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
11214 Align 32 bit compat elf_greg to 8 bytes.
11216 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
11218 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
11220 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11222 * string/strcoll_l.c (coll_seq): New structure.
11223 (get_next_seq_cached): New function.
11224 (get_next_seq): New function.
11225 (do_compare): New function.
11226 (STRCOLL): Use GNU style definition. Simplify implementation
11227 by using get_next_seq, get_next_seq_cached and do_compare.
11229 2013-08-16 Florian Weimer <fweimer@redhat.com>
11233 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
11235 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
11237 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
11238 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
11239 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
11241 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
11242 GETDENTS_64BIT_ALIGNED.
11243 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
11244 * manual/filesys.texi (Reading/Closing Directory): Document
11245 ENAMETOOLONG return value of readdir_r. Recommend readdir more
11247 * manual/conf.texi (Limits for Files): Add portability note to
11248 NAME_MAX, PATH_MAX.
11249 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
11251 2013-08-13 Andreas Schwab <schwab@suse.de>
11254 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
11256 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
11257 LDBL_MAX_EXP >= 16384]: Add tests for it.
11259 2013-08-12 David S. Miller <davem@davemloft.net>
11261 * version.h (RELEASE): Set to "development".
11262 (VERSION): Set to "2.18.90".
11263 * NEWS: Add 2.19 section.
11265 2013-08-03 David S. Miller <davem@davemloft.net>
11267 * po/ko.po: Update Korean translation from translation project.
11269 2013-08-01 David S. Miller <davem@davemloft.net>
11271 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
11272 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
11275 2013-07-30 David S. Miller <davem@davemloft.net>
11277 * po/fr.po: Update French translation from translation project.
11279 2013-07-28 David S. Miller <davem@davemloft.net>
11281 * po/cs.po: Update Czech translation from translation project.
11283 * po/sv.po: Update Swedish translation from translation project.
11285 2013-07-27 David S. Miller <davem@davemloft.net>
11287 * po/eo.po: Update Esperanto translation from translation project.
11289 * po/vi.po: Update Vietnamese translation from translation project.
11291 * po/de.po: Update German translation from translation project.
11293 2013-07-26 David S. Miller <davem@davemloft.net>
11295 * po/bg.po: Update Bulgarian translation from translation project.
11297 * po/nl.po: Update Dutch translation from translation project.
11298 * po/pl.po: Update Polish translation from translation project.
11299 * po/ru.po: Update Russian translation from translation project.
11301 2013-07-24 David S. Miller <davem@davemloft.net>
11303 * po/libc.pot: Update.
11305 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11307 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
11308 variable page size.
11309 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
11310 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
11311 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
11313 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11315 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
11317 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11318 Andreas Schwab <schwab@suse.de>
11319 Roland McGrath <roland@hack.frob.com>
11320 Joseph Myers <joseph@codesourcery.com>
11321 Carlos O'Donell <carlos@redhat.com>
11324 * config.h.in: Define HAVE_PT_CHOWN.
11325 * config.make.in (build-pt-chown): New variable.
11326 * configure.in (--enable-pt_chown): New configure option.
11327 * configure: Regenerate.
11328 * login/Makefile: Include Makeconfig. Build pt_chown only if
11329 build-pt-chown is enabled.
11330 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
11331 pt_chown to fix pty ownership.
11332 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
11334 * manual/install.texi (Configuring and compiling): Mention
11335 --enable-pt_chown. Add @findex for grantpt.
11336 * INSTALL: Regenerate.
11338 2013-07-20 David S. Miller <davem@davemloft.net>
11340 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
11341 difference between 32-bit and 64-bit.
11343 2013-07-15 Carlos O'Donell <carlos@redhat.com>
11346 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
11347 Avoid system header dependency with -ffreestanding.
11348 ($(objpfx)bits/syscall%d): Likewise.
11350 2013-07-13 David S. Miller <davem@davemloft.net>
11352 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
11353 underflows from atanl/atan2l due to bug 15319.
11354 (casinh_test_data): Likewise.
11356 2013-07-07 David S. Miller <davem@davemloft.net>
11358 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
11360 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
11362 * sysdeps/i386/fpu/libm-test-ulps: Update.
11363 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11365 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11367 * configure.in (--enable-lock-elision): Fix message text.
11368 * INSTALL: Regenerate.
11369 * configure: Regenerate.
11371 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11373 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11375 2013-07-03 Andreas Jaeger <aj@suse.de>
11377 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
11379 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
11380 (ptrace_peeksiginfo_args): Add.
11381 (__ptrace_peeksiginfo_flags): Add.
11382 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11383 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11384 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11386 2013-07-03 Allan McRae <allan@archlinux.org>
11388 * sysdeps/i386/fpu/libm-test-ulps: Update.
11390 2013-07-02 David S. Miller <davem@davemloft.net>
11392 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11394 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
11396 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11398 2013-07-02 Joseph Myers <joseph@codesourcery.com>
11400 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
11401 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11403 2013-07-02 Andi Kleen <ak@linux.intel.com>
11405 * config.h.in (ENABLE_LOCK_ELISION): Add.
11406 * configure.in (--enable-lock-elision): Add option.
11407 * manual/install.texi: Document --enable lock elision.
11408 * configure: Regenerate
11409 * INSTALL: Regenerate.
11411 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
11413 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
11414 SSE4.2 strcasecmp for libc.a.
11415 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
11417 2013-07-02 Joseph Myers <joseph@codesourcery.com>
11420 * soft-fp/op-common.h (_FP_FMA): New macro.
11421 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
11422 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
11423 (_FP_MUL_MEAT_1_imm): ... here.
11424 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
11425 (_FP_MUL_MEAT_1_wide): ... here.
11426 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
11427 (_FP_MUL_MEAT_1_hard): ... here.
11428 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
11429 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
11430 (_FP_MUL_MEAT_2_wide): ... here.
11431 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
11432 (_FP_MUL_MEAT_2_wide_3mul): ... here.
11433 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
11434 (_FP_MUL_MEAT_2_gmp): ... here.
11435 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
11436 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
11437 (_FP_MUL_MEAT_4_wide): ... here.
11438 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
11439 (_FP_MUL_MEAT_4_gmp): ... here.
11440 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
11441 (_FP_WFRACBITS_DW_S): Likewise.
11442 (_FP_WFRACXBITS_DW_S): Likewise.
11443 (_FP_HIGHBIT_DW_S): Likewise.
11444 (FP_FMA_S): Likewise.
11445 (_FP_FRAC_HIGH_DW_S): Likewise.
11446 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
11447 (_FP_WFRACBITS_DW_D): Likewise.
11448 (_FP_WFRACXBITS_DW_D): Likewise.
11449 (_FP_HIGHBIT_DW_D): Likewise.
11450 (FP_FMA_D): Likewise.
11451 (_FP_FRAC_HIGH_DW_D): Likewise.
11452 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
11453 (_FP_WFRACBITS_DW_E): Likewise.
11454 (_FP_WFRACXBITS_DW_E): Likewise.
11455 (_FP_HIGHBIT_DW_E): Likewise.
11456 (FP_FMA_E): Likewise.
11457 (_FP_FRAC_HIGH_DW_E): Likewise.
11458 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
11459 (_FP_WFRACBITS_DW_Q): Likewise.
11460 (_FP_WFRACXBITS_DW_Q): Likewise.
11461 (_FP_HIGHBIT_DW_Q): Likewise.
11462 (FP_FMA_Q): Likewise.
11463 (_FP_FRAC_HIGH_DW_Q): Likewise.
11464 * soft-fp/fmasf4.c: New file.
11465 * soft-fp/fmadf4.c: Likewise.
11466 * soft-fp/fmatf4.c: Likewise.
11468 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11470 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
11471 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
11473 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
11475 (index_Slow_SSE4_2): Likewise.
11476 (index_Prefer_PMINUB_for_stringop): Likewise.
11477 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
11478 bit_Slow_SSE4_2 is set.
11479 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
11480 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11482 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11484 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
11485 rtld_global._dl_hwcap2.
11486 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
11488 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
11489 POWER8 feature descriptions defined in _dl_hwcap2.
11490 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
11491 string handling for POWER8 feature bits.
11492 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
11493 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
11494 _dl_powerpc_cap_flags.
11495 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
11496 * sysdeps/powerpc/rtld-global-offsets.sym
11497 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
11498 _dl_hwcap2 in the rtld_global_ro structure.
11500 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11502 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
11503 hardware capabilities in support of AT_HWCAP2.
11504 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
11505 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
11507 (_dl_show_auxv): Add support for calling _dl_procinfo to display
11508 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
11509 explicitly the unknown a_type display mechanism is used.
11510 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
11511 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
11513 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
11514 to macro prototype for AT_HWCAP2 support.
11515 * sysdeps/i386/dl-procinfo.h: Likewise.
11516 * sysdeps/s390/dl-procinfo.h: Likewise.
11517 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
11518 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
11519 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
11520 return -1 for unknown a_type display fallback.
11521 * sysdeps/sparc/dl-procinfo.h: Likewise.
11522 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
11523 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
11525 2013-06-28 Joseph Myers <joseph@codesourcery.com>
11527 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
11528 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
11530 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
11533 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
11534 mprotect making __stack_prot writable.
11536 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
11537 Joseph Myers <joseph@codesourcery.com>
11539 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
11540 as being properly aligned.
11542 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
11544 * dlfcn/modstatic5.c: New file.
11545 * dlfcn/tststatic5.c: New file.
11546 * dlfcn/Makefile (tests): Add tststatic5.
11547 (tests-static): Likewise.
11548 (modules-names): Add modstatic5.
11549 (tststatic5-ENV): New variable.
11550 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
11553 * elf/dl-support.c (_dl_main_map): New variable.
11554 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
11555 (_dl_nns, _dl_load_adds): Set to 1.
11556 (_dl_initial_searchlist): Refer to _dl_main_map.
11557 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
11558 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
11559 call to _dl_get_origin.
11560 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
11562 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
11563 * dlfcn/modstatic3.c: New file.
11564 * dlfcn/tststatic3.c: New file.
11565 * dlfcn/tststatic4.c: New file.
11566 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
11567 (tests-static): Likewise.
11568 (modules-names): Add modstatic3.
11569 (tststatic3-ENV, tststatic4-ENV): New variables.
11570 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
11571 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
11573 2013-06-26 Joseph Myers <joseph@codesourcery.com>
11575 * configure.in (CC): Require GCC version 4.4 or later.
11576 * configure: Regenerated.
11577 * manual/install.texi (Tools for Compilation): Update GCC version
11579 * INSTALL: Regenerated.
11581 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11584 * string/test-memcmp.c (check2): New.
11585 (main): Call check2.
11587 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
11589 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
11592 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
11594 (dl_open_worker) [!SHARED]: ... here.
11596 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11598 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
11600 2013-06-25 Richard Henderson <rth@redhat.com>
11602 * locale/programs/locarchive.c: Include <libc-internal.h>
11604 2013-06-25 Joseph Myers <joseph@codesourcery.com>
11606 * manual/texinfo.tex: Update to version 2013-06-21.17, with
11607 trailing whitespace removed.
11609 2013-06-24 Mike Frysinger <vapier@gentoo.org>
11612 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
11613 * locale/programs/locarchive.c: Include libc-mmap.h.
11614 (prepare_address_space): Take two new outputs (the mmap base and len).
11615 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
11617 (create_archive): Declare new mmap base and len values for
11618 prepare_address_space, and store the result in ah.
11619 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
11620 (enlarge_archive): If ah->mmap_base is not NULL, use that and
11621 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
11622 Declare new mmap base and len values for
11623 prepare_address_space, and store the result in new_ah.
11624 (open_archive): Declare new mmap base and len values for
11625 prepare_address_space, and store the result in ah.
11626 (close_archive): If ah->mmap_base is not NULL, use that and
11627 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
11628 * sysdeps/generic/libc-mmap.h: New file.
11630 2013-06-24 Mike Frysinger <vapier@gentoo.org>
11632 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
11633 (ALIGN_UP): Likewise.
11634 (PTR_ALIGN_DOWN): Likewise.
11635 (PTR_ALIGN_UP): Likewise.
11637 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11639 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
11640 entry mapped to PPC_PLATFORM_POWER8.
11641 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
11643 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
11644 (_dl_string_platform): Add case for exporting platform position for
11646 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
11647 search path to sysdeps/powerpc/powerpc32/power8 directory.
11648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
11649 search path to sysdeps/powerpc/powerpc64/power8 directory.
11650 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
11651 power7 directories.
11652 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
11653 power7 directories.
11655 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11657 * INSTALL: Regenerate.
11659 * nscd/connections.c (nscd_init): Fix comment.
11661 2013-06-22 Joseph Myers <joseph@codesourcery.com>
11663 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
11666 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
11667 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
11669 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
11671 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
11673 (DL_DST_REQ_STATIC): Remove macro.
11675 2013-06-21 Joseph Myers <joseph@codesourcery.com>
11678 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
11679 with a shift of 0 bits.
11681 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
11683 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
11686 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11689 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
11691 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11693 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
11694 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
11695 accepts -fno-tree-loop-distribute-patterns.
11696 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
11697 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
11699 * string/memset.c (memset): Likewise.
11700 * string/test-memmove.c (simple_memmove): Disable loop transformation
11702 * string/test-memset.c (simple_memset): Likewise.
11703 * benchtests/bench-memmove.c (simple_memmove): Likewise.
11704 * benchtests/bench-memset.c (simple_memset): Likewise.
11705 * configure: Regenerated.
11707 2013-06-20 Joseph Myers <joseph@codesourcery.com>
11709 * math/test-misc.c (main): Ignore fesetround failure when failures
11710 of subsequent rounding tests would be ignored.
11713 * math/fedisblxcpt.c (fedisableexcept): Return 0.
11714 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
11715 * math/fegetenv.c (__fegetenv): Return 0.
11716 * math/fegetexcept.c (fegetexcept): Return 0.
11717 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
11719 * math/feholdexcpt.c (feholdexcept): Return 0.
11720 * math/fesetenv.c (__fesetenv): Return 0.
11721 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
11722 argument FE_TONEAREST.
11723 * math/feupdateenv.c (__feupdateenv): Return 0.
11724 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
11726 2013-06-18 Roland McGrath <roland@hack.frob.com>
11728 * elf/rtld-Rules (rtld-compile-command.S): New variable.
11729 (rtld-compile-command.s, rtld-compile-command.c): New variables.
11730 ($(objpfx)rtld-%.os rules): Use them.
11732 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11734 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
11737 2013-06-17 Roland McGrath <roland@hack.frob.com>
11739 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
11740 length of target pattern, then descending length of dependency pattern.
11741 * configure.in (AWK): Require gawk 3.1.2 or newer.
11742 * manual/install.texi (Tools for Compilation): Say that we do.
11743 * configure: Regenerated.
11745 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
11746 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
11747 * scripts/sysd-rules.awk: ... this new script.
11748 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
11749 than a glob-style pattern.
11751 2013-06-17 Joseph Myers <joseph@codesourcery.com>
11753 * math/test-misc.c (main): Do not treat incorrectly rounded
11754 conversions as failure unless ROUNDING_TESTS passes.
11756 2013-06-15 Joseph Myers <joseph@codesourcery.com>
11759 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
11760 restore exception state around main square root computation, then
11761 check for inexactness explicitly.
11763 * math/libm-test.inc (fma_test_data): Add another test.
11765 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11767 * manual/threads.texi (Non-POSIX Extensions): New document
11768 node. Document pthread_getattr_default_np and
11769 pthread_setattr_default_np.
11771 * Versions.def (libpthread): Add GLIBC_2.18.
11772 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
11773 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
11775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11777 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11779 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11781 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
11783 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
11785 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
11787 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
11789 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
11792 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11794 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11795 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
11797 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
11798 H.J. Lu <hjl.tools@gmail.com>
11801 * sysdeps/x86_64/rtld-memset.c: Remove file.
11802 * sysdeps/x86_64/rtld-memset.S: New file.
11804 2013-06-14 Joseph Myers <joseph@codesourcery.com>
11806 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
11807 (test_in_one_mode): Take arguments for whether the rounding mode
11808 is supported for each floating-point type.
11809 (do_test): Pass new arguments to test_in_one_mode using
11812 2013-06-13 Roland McGrath <roland@hack.frob.com>
11814 * posix/tst-waitid.c (do_test): Distinguish different instances of
11815 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
11816 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
11817 before entering the kernel for waitpid.
11819 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11821 * NEWS: Fix note on clock function precision. Text by Roland
11824 2013-06-13 Roland McGrath <roland@hack.frob.com>
11826 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
11827 it into place only when and if the sanity check passes.
11829 2013-06-13 Joseph Myers <joseph@codesourcery.com>
11831 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
11832 output for whether conversion result is exact. Take argument
11833 indicating whether type is IBM long double.
11834 (round_for_all): Change need_exact field to ibm_ld.
11835 * stdlib/tst-strtod-round.c (struct exactness): New type.
11836 (struct test): Change bool ld_ok field to struct exactness exact.
11837 (TEST): Update all definitions for change to field.
11838 (tests): Regenerate array contents.
11839 (test_in_one_mode): Take pointer to new field instead of old ld_ok
11840 field value. Check for IBM long double here.
11841 (do_test): Update calls to test_in_one_mode.
11843 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11846 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
11847 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
11849 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11852 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
11853 generated by the compiler on loop optimizations.
11854 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
11855 general definitions.
11857 2013-06-12 Joseph Myers <joseph@codesourcery.com>
11859 * math/bug-nextafter.c: Include <math-tests.h>.
11860 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11862 * math/bug-nexttoward.c: Include <math-tests.h>.
11863 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11865 * math/test-misc.c: Include <math-tests.h>.
11866 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11869 2013-06-12 Andreas Jaeger <aj@suse.de>
11871 * po/ia.po: Update Interlingua translation from translation
11874 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
11876 * include/fenv.h: Include stdbool.h.
11877 (struct rm_ctx): New structure.
11878 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
11880 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
11881 (SET_RESTORE_ROUNDF): Likewise.
11882 (SET_RESTORE_ROUNDL): Likewise.
11883 (SET_RESTORE_ROUND_NOEX): Likewise.
11884 (SET_RESTORE_ROUND_NOEXF): Likewise.
11885 (SET_RESTORE_ROUND_NOEXL): Likewise.
11886 (SET_RESTORE_ROUND_53BIT): Likewise.
11887 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
11888 (libc_feresetround_noexf_ctx): Likewise.
11889 (libc_feresetround_noexl_ctx): Likewise.
11890 (libc_feholdsetround_53bit_ctx): Likewise.
11891 (libc_feresetround_53bit_ctx): Likewise.
11892 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
11893 (libc_feholdexcept_setround_sse_ctx): New function.
11894 (libc_fesetenv_sse_ctx): Likewise.
11895 (libc_feupdateenv_sse_ctx): Likewise.
11896 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
11897 (libc_feholdexcept_setround_387_ctx): Likewise.
11898 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
11899 (libc_feholdsetround_387_prec_ctx): Likewise.
11900 (libc_feholdsetround_387_ctx): Likewise.
11901 (libc_feholdsetround_387_53bit_ctx): Likewise.
11902 (libc_feholdsetround_sse_ctx): Likewise.
11903 (libc_feresetround_sse_ctx): Likewise.
11904 (libc_feresetround_387_ctx): Likewise.
11905 (libc_feupdateenv_387_ctx): Likewise.
11906 (libc_feholdexcept_setroundf_ctx): Define macro.
11907 (libc_fesetenvf_ctx): Likewise.
11908 (libc_feupdateenvf_ctx): Likewise.
11909 (libc_feholdsetroundf_ctx): Likewise.
11910 (libc_feresetroundf_ctx): Likewise.
11911 (libc_feholdexcept_setround_ctx): Likewise.
11912 (libc_fesetenv_ctx): Likewise.
11913 (libc_feupdateenv_ctx): Likewise.
11914 (libc_feholdsetround_ctx): Likewise.
11915 (libc_feresetround_ctx): Likewise.
11916 (libc_feholdexcept_setroundl_ctx): Likewise.
11917 (libc_feupdateenvl_ctx): Likewise.
11918 (libc_feholdsetroundl_ctx): Likewise.
11919 (libc_feresetroundl_ctx): Likewise.
11920 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
11921 (libc_feresetround_53bit_ctx): Likewise.
11923 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11925 * locale/iso-639.def: Convert to UTF-8.
11927 2013-06-11 Joseph Myers <joseph@codesourcery.com>
11929 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
11930 (EXCEPTION_TESTS_double): Likewise.
11931 (EXCEPTION_TESTS_long_double): Likewise.
11932 (EXCEPTION_TESTS): Likewise.
11933 * math/libm-test.inc (test_exceptions): Only test exceptions if
11934 EXCEPTION_TESTS (FLOAT).
11936 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11938 * benchtests/Makefile (string-bench): Add strcpy_chk and
11940 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
11941 * benchtests/bench-stpcpy_chk.c: New file.
11942 * benchtests/bench-strcpy_chk-ifunc.c: New file.
11943 * benchtests/bench-strcpy_chk.c: New file.
11944 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
11946 (do_test): Likewise.
11948 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11950 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
11951 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
11952 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
11953 with tabs where appropriate.
11954 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
11956 [PPC_PLATFORM_PPC440]: Likewise.
11957 [PPC_PLATFORM_PPC464]: Likewise.
11958 [PPC_PLATFORM_PPC476]: Likewise.
11959 (_dl_string_platform): Add support for detecting ppc405, ppc440,
11960 ppc464, and ppc476 platform strings merging from ports/
11963 2013-06-11 Andreas Schwab <schwab@suse.de>
11966 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
11967 (from_ucs4_idx): Regenerate.
11968 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
11969 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
11970 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
11971 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
11972 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
11973 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
11974 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
11975 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
11976 from FROM_LOOP and TO_LOOP specific macros.
11977 (BODY): Handle combining characters.
11978 * iconvdata/BIG5HKSCS.irreversible: Update.
11979 * iconvdata/BIG5HKSCS.precomposed: New file.
11980 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
11982 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
11984 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11986 * include/sys/time.h: Fix indentation and add copyright header.
11988 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
11989 (do_test): Likewise.
11990 * string/test-memchr.c (do_one_test): Likewise.
11991 (do_test): Likewise.
11992 * string/test-memcmp.c (do_one_test): Likewise.
11993 (do_test): Likewise.
11994 * string/test-memcpy.c (do_one_test): Likewise.
11995 (do_test): Likewise.
11996 * string/test-memmem.c (do_one_test): Likewise.
11997 (do_test): Likewise.
11998 (do_random_tests): Likewise.
11999 * string/test-memmove.c (do_one_test): Likewise.
12000 (do_test): Likewise.
12001 * string/test-memset.c (do_one_test): Likewise.
12002 (do_test): Likewise.
12003 * string/test-rawmemchr.c (do_one_test): Likewise.
12004 (do_test): Likewise.
12005 * string/test-strcasecmp.c (do_one_test): Likewise.
12006 (do_test): Likewise.
12007 * string/test-strcasestr.c (do_one_test): Likewise.
12008 (do_test): Likewise.
12009 * string/test-strcat.c (do_one_test): Likewise.
12010 (do_test): Likewise.
12011 * string/test-strchr.c (do_one_test): Likewise.
12012 (do_test): Likewise.
12013 * string/test-strcmp.c (do_one_test): Likewise.
12014 (do_test): Likewise.
12015 * string/test-strcpy.c (do_one_test): Likewise.
12016 (do_test): Likewise.
12017 * string/test-string.h: Likewise.
12018 (test_init): Likewise.
12019 * string/test-strlen.c (do_one_test): Likewise.
12020 (do_test): Likewise.
12021 * string/test-strncasecmp.c (do_one_test): Likewise.
12022 (do_test): Likewise.
12023 * string/test-strncat.c (do_one_test): Likewise.
12024 (do_test): Likewise.
12025 * string/test-strncmp.c (do_one_test): Likewise.
12026 (do_test_limit): Likewise.
12027 (do_test): Likewise.
12028 * string/test-strncpy.c (do_one_test): Likewise.
12029 (do_test): Likewise.
12030 * string/test-strnlen.c (do_one_test): Likewise.
12031 (do_test): Likewise.
12032 * string/test-strpbrk.c (do_one_test): Likewise.
12033 (do_test): Likewise.
12034 * string/test-strrchr.c (do_one_test): Likewise.
12035 (do_test): Likewise.
12036 * string/test-strspn.c (do_one_test): Likewise.
12037 (do_test): Likewise.
12038 * string/test-strstr.c (do_one_test): Likewise.
12039 (do_test): Likewise.
12041 * benchtests/Makefile (string-bench): Add string benchmarks.
12042 * benchtests/bench-bcopy-ifunc.c: New file.
12043 * benchtests/bench-bcopy.c: New file.
12044 * benchtests/bench-bzero-ifunc.c: New file.
12045 * benchtests/bench-bzero.c: New file.
12046 * benchtests/bench-memccpy-ifunc.c: New file.
12047 * benchtests/bench-memccpy.c: New file.
12048 * benchtests/bench-memchr-ifunc.c: New file.
12049 * benchtests/bench-memchr.c: New file.
12050 * benchtests/bench-memcmp-ifunc.c: New file.
12051 * benchtests/bench-memcmp.c: New file.
12052 * benchtests/bench-memmem-ifunc.c: New file.
12053 * benchtests/bench-memmem.c: New file.
12054 * benchtests/bench-memmove-ifunc.c: New file.
12055 * benchtests/bench-memmove.c: New file.
12056 * benchtests/bench-mempcpy-ifunc.c: New file.
12057 * benchtests/bench-mempcpy.c: New file.
12058 * benchtests/bench-memset-ifunc.c: New file.
12059 * benchtests/bench-memset.c: New file.
12060 * benchtests/bench-rawmemchr-ifunc.c: New file.
12061 * benchtests/bench-rawmemchr.c: New file.
12062 * benchtests/bench-stpcpy-ifunc.c: New file.
12063 * benchtests/bench-stpcpy.c: New file.
12064 * benchtests/bench-stpncpy-ifunc.c: New file.
12065 * benchtests/bench-stpncpy.c: New file.
12066 * benchtests/bench-strcasecmp-ifunc.c: New file.
12067 * benchtests/bench-strcasecmp.c: New file.
12068 * benchtests/bench-strcasestr-ifunc.c: New file.
12069 * benchtests/bench-strcasestr.c: New file.
12070 * benchtests/bench-strcat-ifunc.c: New file.
12071 * benchtests/bench-strcat.c: New file.
12072 * benchtests/bench-strchr-ifunc.c: New file.
12073 * benchtests/bench-strchr.c: New file.
12074 * benchtests/bench-strchrnul-ifunc.c: New file.
12075 * benchtests/bench-strchrnul.c: New file.
12076 * benchtests/bench-strcmp-ifunc.c: New file.
12077 * benchtests/bench-strcmp.c: New file.
12078 * benchtests/bench-strcpy-ifunc.c: New file.
12079 * benchtests/bench-strcpy.c: New file.
12080 * benchtests/bench-strcspn-ifunc.c: New file.
12081 * benchtests/bench-strcspn.c: New file.
12082 * benchtests/bench-strlen-ifunc.c: New file.
12083 * benchtests/bench-strlen.c: New file.
12084 * benchtests/bench-strncasecmp-ifunc.c: New file.
12085 * benchtests/bench-strncasecmp.c: New file.
12086 * benchtests/bench-strncat-ifunc.c: New file.
12087 * benchtests/bench-strncat.c: New file.
12088 * benchtests/bench-strncmp-ifunc.c: New file.
12089 * benchtests/bench-strncmp.c: New file.
12090 * benchtests/bench-strncpy-ifunc.c: New file.
12091 * benchtests/bench-strncpy.c: New file.
12092 * benchtests/bench-strnlen-ifunc.c: New file.
12093 * benchtests/bench-strnlen.c: New file.
12094 * benchtests/bench-strpbrk-ifunc.c: New file.
12095 * benchtests/bench-strpbrk.c: New file.
12096 * benchtests/bench-strrchr-ifunc.c: New file.
12097 * benchtests/bench-strrchr.c: New file.
12098 * benchtests/bench-strspn-ifunc.c: New file.
12099 * benchtests/bench-strspn.c: New file.
12100 * benchtests/bench-strstr-ifunc.c: New file.
12101 * benchtests/bench-strstr.c: New file.
12103 * benchtests/Makefile: Disable parallel execution of targets.
12104 (string-bench): Add memcpy.
12105 (benchset): New variable to store a list of benchmark sets.
12106 (bench-func): Renamed from bench.
12107 (bench-set): New target.
12108 (bench): Depend on bench-func and bench-set.
12109 * benchtests/README: Add section on benchmark sets.
12110 * benchtests/bench-memcpy-ifunc.c: New file.
12111 * benchtests/bench-memcpy.c: New file.
12112 * benchtests/bench-string.h: New file.
12114 2013-06-11 Andreas Schwab <schwab@suse.de>
12117 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
12118 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
12119 values in the triple.
12120 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
12121 terminator in the group key.
12123 2013-06-11 Andreas Jaeger <aj@suse.de>
12125 * po/zh_TW.po: Update Chinese (traditional) translation from
12126 translation project.
12128 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12130 * include/time.h (__clock_gettime): Add libc_hidden_proto.
12131 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
12132 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
12133 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
12134 (clock_getcpuclockid): Likewise.
12135 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
12136 Add weak_alias and libc_hidden_def.
12137 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
12138 * rt/clock_gettime.c (clock_gettime): Rename to
12139 __clock_gettime. Add weak_alias and libc_hidden_def.
12140 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
12141 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
12142 __clock_nanosleep. Add weak_alias and libc_hidden_def.
12143 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
12144 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
12146 * rt/clock_settime.c (clock_settime): Rename to
12147 __clock_settime. Add weak_alias and libc_hidden_def.
12148 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
12150 2013-06-10 Joseph Myers <joseph@codesourcery.com>
12152 * mach/err_boot.sub: Remove trailing whitespace.
12153 * mach/err_ipc.sub: Likewise.
12154 * mach/err_mach.sub: Likewise.
12156 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
12157 (ROUNDING_TESTS_double): Likewise.
12158 (ROUNDING_TESTS_long_double): Likewise.
12159 (ROUNDING_TESTS): Likewise.
12160 * math/libm-test.inc: Include <math-tests.h>.
12161 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
12162 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
12163 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
12164 (IF_ROUND_INIT_FE_UPWARD): Likewise.
12166 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12168 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
12171 2013-06-08 Joseph Myers <joseph@codesourcery.com>
12173 * sysdeps/gnu/errlist.awk: Do not generate space at end of
12174 otherwise empty TRANS lines.
12175 * sysdeps/gnu/errlist.c: Regenerated.
12177 * catgets/gencat.c (error_print): Use (void) in function
12179 * crypt/crypt_util.c (__init_des): Likewise.
12180 * crypt/speeds.c (Stop): Likewise.
12182 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
12183 * inet/ruserpass.c (token): Likewise.
12184 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
12185 * intl/localealias.c (extend_alias_table): Likewise.
12186 * intl/plural-exp.c (init_germanic_plural): Likewise.
12187 * libio/fcloseall.c (__fcloseall): Likewise.
12188 * libio/genops.c (_IO_flush_all): Likewise.
12189 (_IO_flush_all_linebuffered): Likewise.
12190 (_IO_cleanup): Likewise.
12191 (_IO_iter_begin): Likewise.
12192 (_IO_iter_end): Likewise.
12193 (_IO_list_lock): Likewise.
12194 (_IO_list_unlock): Likewise.
12195 (_IO_list_resetlock): Likewise.
12196 * libio/getchar.c (getchar): Likewise.
12197 * libio/getchar_u.c (getchar_unlocked): Likewise.
12198 * libio/getwchar.c (getwchar): Likewise.
12199 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
12200 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
12201 * login/getpt.c (__getpt): Likewise.
12202 * login/tst-utmp.c (main): Likewise.
12203 * malloc/hooks.c (__malloc_check_init): Likewise.
12204 * malloc/malloc.c (__malloc_stats): Likewise.
12205 * malloc/mtrace.c (tr_break): Likewise.
12206 (mtrace): Likewise.
12207 (muntrace): Likewise.
12208 * misc/fstab.c (endfsent): Likewise.
12209 * misc/getclktck.c (__getclktck): Likewise.
12210 * misc/getdtsz.c (__getdtablesize): Likewise.
12211 * misc/gethostid.c (gethostid): Likewise.
12212 * misc/getpagesize.c (__getpagesize): Likewise.
12213 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
12214 (__get_nprocs): Likewise.
12215 (__get_phys_pages): Likewise.
12216 (__get_avphys_pages): Likewise.
12217 * misc/getttyent.c (getttyent): Likewise.
12218 (setttyent): Likewise.
12219 (endttyent): Likewise.
12220 * misc/getusershell.c (getusershell): Likewise.
12221 (endusershell): Likewise.
12222 (setusershell): Likewise.
12223 (initshells): Likewise.
12224 * misc/hsearch.c (__hdestroy): Likewise.
12225 * misc/sync.c (sync): Likewise.
12226 * misc/syslog.c (closelog_internal): Likewise.
12227 (closelog): Likewise.
12228 * misc/ttyslot.c (ttyslot): Likewise.
12229 * misc/vhangup.c (vhangup): Likewise.
12230 * posix/fork.c (__fork): Likewise.
12231 * posix/getegid.c (__getegid): Likewise.
12232 * posix/geteuid.c (__geteuid): Likewise.
12233 * posix/getgid.c (__getgid): Likewise.
12234 * posix/getpid.c (__getpid): Likewise.
12235 * posix/getppid.c (__getppid): Likewise.
12236 * posix/getuid.c (__getuid): Likewise.
12237 * posix/pause.c (pause): Likewise.
12238 * posix/setpgrp.c (setpgrp): Likewise.
12239 * posix/setsid.c (__setsid): Likewise.
12240 * posix/test-vfork.c (noop): Likewise.
12241 * resolv/gethnamaddr.c (_endhtent): Likewise.
12242 (_gethtent): Likewise.
12243 (ht_endhostent): Likewise.
12244 (gethostent): Likewise.
12245 (dns_service): Likewise.
12246 * stdlib/drand48.c (drand48): Likewise.
12247 * stdlib/lrand48.c (lrand48): Likewise.
12248 * stdlib/mrand48.c (mrand48): Likewise.
12249 * stdlib/rand.c (rand): Likewise.
12250 * stdlib/random.c (__random): Likewise.
12251 * stdlib/setenv.c (clearenv): Likewise.
12252 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
12253 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
12254 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
12255 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
12256 (__get_nprocs): Likewise.
12257 (__get_phys_pages): Likewise.
12258 (__get_avphys_pages): Likewise.
12259 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
12260 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
12261 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
12262 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
12263 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
12264 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
12265 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
12266 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
12267 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
12268 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
12269 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
12270 * sysdeps/mach/hurd/sync.c (sync): Likewise.
12271 * sysdeps/posix/clock.c (clock): Likewise.
12272 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
12273 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
12274 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
12275 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
12276 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
12277 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
12278 (__get_nprocs_conf): Likewise.
12279 (__get_phys_pages): Likewise.
12280 (__get_avphys_pages): Likewise.
12281 * time/clock.c (clock): Likewise.
12282 * time/tzset.c (__tzname_max): Likewise.
12284 2013-06-07 Joseph Myers <joseph@codesourcery.com>
12286 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
12287 (__bswap_32): Do not use "register".
12288 * crypt/crypt.c (_ufc_doit_r): Likewise.
12289 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
12290 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
12291 * gmon/gmon.c (__monstartup): Likewise.
12292 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
12293 * hurd/hurdmalloc.c (more_memory): Likewise.
12294 (malloc): Likewise.
12296 (realloc): Likewise.
12297 (malloc_fork_prepare): Likewise.
12298 (malloc_fork_parent): Likewise.
12299 (malloc_fork_child): Likewise.
12300 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
12301 (_svcauth_des): Likewise.
12302 * inet/inet_lnaof.c (inet_lnaof): Likewise.
12303 * inet/inet_net.c (inet_network): Likewise.
12304 * inet/inet_netof.c (inet_netof): Likewise.
12305 * inet/rcmd.c (__validuser2_sa): Likewise.
12306 * io/fts.c (fts_open): Likewise.
12307 (fts_load): Likewise.
12308 (fts_close): Likewise.
12309 (fts_read): Likewise.
12310 (fts_children): Likewise.
12311 (fts_build): Likewise.
12312 (fts_stat): Likewise.
12313 (fts_sort): Likewise.
12314 (fts_alloc): Likewise.
12315 (fts_lfree): Likewise.
12316 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
12317 (_IO_file_xsgetn): Likewise.
12318 (_IO_file_xsgetn_mmap): Likewise.
12319 * libio/iofopncook.c (_IO_cookie_read): Likewise.
12320 (_IO_cookie_write): Likewise.
12321 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
12322 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
12323 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
12324 * malloc/obstack.c (_obstack_begin): Likewise.
12325 (_obstack_begin_1): Likewise.
12326 (_obstack_newchunk): Likewise.
12327 (_obstack_allocated_p): Likewise.
12328 (obstack_free): Likewise.
12329 (_obstack_memory_used): Likewise.
12330 * misc/getttyent.c (getttynam): Likewise.
12331 (getttyent): Likewise.
12334 * misc/getusershell.c (initshells): Likewise.
12335 * misc/syslog.c (__vsyslog_chk): Likewise.
12336 * misc/ttyslot.c (ttyslot): Likewise.
12337 * nis/nis_hash.c (__nis_hash): Likewise.
12338 * posix/fnmatch_loop.c (FCT): Likewise.
12339 * posix/getconf.c (print_all): Likewise.
12341 * posix/getopt.c (exchange): Likewise.
12342 * posix/glob.c (globfree): Likewise.
12343 (prefix_array): Likewise.
12344 (__glob_pattern_type): Likewise.
12345 * resolv/arpa/nameser.h (NS_GET16): Likewise.
12346 (NS_GET32): Likewise.
12347 (NS_PUT16): Likewise.
12348 (NS_PUT32): Likewise.
12349 * resolv/gethnamaddr.c (getanswer): Likewise.
12350 (gethostbyname2): Likewise.
12351 (gethostbyaddr): Likewise.
12352 (_gethtent): Likewise.
12353 (_gethtbyname2): Likewise.
12354 (_gethtbyaddr): Likewise.
12355 * resolv/ns_print.c (dst_s_get_int16): Likewise.
12356 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
12357 * resolv/res_init.c (__res_vinit): Likewise.
12358 (net_mask): Likewise.
12359 * resolv/res_mkquery.c (outchar): Likewise.
12361 * stdio-common/printf_fp.c (outchar): Likewise.
12363 * stdio-common/printf_fphex.c (outchar): Likewise.
12365 * stdio-common/printf_size.c (outchar): Likewise.
12367 * stdio-common/test_rdwr.c (main): Likewise.
12368 * stdio-common/tfformat.c (matches): Likewise.
12369 * stdio-common/vfprintf.c (outchar): Likewise.
12370 (printf_unknown): Likewise.
12371 (buffered_vfprintf): Likewise.
12372 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
12373 * stdio-common/xbug.c (AppendToBuffer): Likewise.
12374 (ReadFile): Likewise.
12375 * stdlib/qsort.c (SWAP): Likewise.
12376 (_quicksort): Likewise.
12377 * stdlib/setenv.c (__add_to_environ): Likewise.
12378 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
12379 * stdlib/strtol_l.c (__strtol_l): Likewise.
12380 * stdlib/tst-strtod.c (main): Likewise.
12381 * stdlib/tst-strtol.c (main): Likewise.
12382 * stdlib/tst-strtoll.c (main): Likewise.
12383 * string/bits/string2.h (__strcmp_cc): Likewise.
12384 (__strcmp_cg): Likewise.
12385 (__strcspn_c1): Likewise.
12386 (__strcspn_c2): Likewise.
12387 (__strcspn_c3): Likewise.
12388 (__strspn_c1): Likewise.
12389 (__strspn_c2): Likewise.
12390 (__strspn_c3): Likewise.
12391 (__strsep_1c): Likewise.
12392 (__strsep_2c): Likewise.
12393 (__strsep_3c): Likewise.
12394 * string/memccpy.c (__memccpy): Likewise.
12395 * string/stpcpy.c (__stpcpy): Likewise.
12396 * string/strcmp.c (strcmp): Likewise.
12397 * string/strrchr.c (strrchr): Likewise.
12398 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
12400 * sysdeps/mach/hurd/getcwd.c
12401 (_hurd_canonicalize_directory_name_internal): Likewise.
12402 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
12403 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
12404 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
12405 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
12406 Likewise, in both definitions.
12407 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
12409 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
12410 64] (__bswap_64): Likewise.
12411 * time/test_time.c (main): Likewise.
12412 * time/tzfile.c (__tzfile_read): Likewise.
12413 (__tzfile_compute): Likewise.
12414 * time/tzset.c (__tzset_parse_tz): Likewise.
12415 (tzset_internal): Likewise.
12416 (compute_change): Likewise.
12417 * wcsmbs/wcscat.c (__wcscat): Likewise.
12418 * wcsmbs/wcschr.c (wcschr): Likewise.
12419 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
12420 * wcsmbs/wcscspn.c (wcscspn): Likewise.
12421 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
12422 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
12423 * wcsmbs/wcsspn.c (wcsspn): Likewise.
12424 * wcsmbs/wcsstr.c (wcsstr): Likewise.
12425 * wcsmbs/wmemchr.c (wmemchr): Likewise.
12426 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
12427 * wcsmbs/wmemset.c (wmemset): Likewise.
12429 2013-06-06 Joseph Myers <joseph@codesourcery.com>
12431 * scripts/config.guess: Update to version 2013-05-16.
12432 * scripts/config.sub: Update to version 2013-04-24.
12433 * scripts/install-sh: Update to version 2011-11-20.07.
12434 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
12435 * scripts/move-if-change: Update to version 2012-01-06 07:23.
12437 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
12439 * debug/fgetws_u_chk.c: Fix leading whitespaces.
12440 * elf/sln.c: Likewise.
12441 * hurd/hurd/ioctl.h: Likewise.
12442 * hurd/hurdmalloc.c: Likewise.
12443 * hurd/xattr.c: Likewise.
12444 * include/shlib-compat.h: Likewise.
12445 * inet/ruserpass.c: Likewise.
12446 * libio/iofgets_u.c: Likewise.
12447 * libio/iofgetws_u.c: Likewise.
12448 * locale/programs/ld-identification.c: Likewise.
12449 * locale/programs/ld-time.c: Likewise.
12450 * mach/msg-destroy.c: Likewise.
12451 * nss/nss_files/files-netgrp.c: Likewise.
12452 * resolv/res_data.c: Likewise.
12453 * soft-fp/op-1.h: Likewise.
12454 * soft-fp/op-2.h: Likewise.
12455 * soft-fp/op-4.h: Likewise.
12456 * soft-fp/op-common.h: Likewise.
12457 * stdio-common/printf_fphex.c: Likewise.
12458 * stdlib/strtod_l.c: Likewise.
12459 * sunrpc/rpc/clnt.h: Likewise.
12460 * sysdeps/generic/framestate.c: Likewise.
12461 * sysdeps/i386/bsd-_setjmp.S: Likewise.
12462 * sysdeps/i386/bsd-setjmp.S: Likewise.
12463 * sysdeps/i386/__longjmp.S: Likewise.
12464 * sysdeps/i386/setjmp.S: Likewise.
12465 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12466 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
12467 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12468 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12469 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12470 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
12471 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
12472 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
12473 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
12474 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
12475 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
12476 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
12477 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
12478 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
12479 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
12480 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
12481 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
12482 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
12483 * sysdeps/ieee754/support.c: Likewise.
12484 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
12485 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
12486 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
12487 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
12488 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
12489 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
12490 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
12491 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
12492 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
12493 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
12494 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
12495 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
12496 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
12497 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
12498 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
12499 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
12500 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
12501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
12503 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
12505 * posix/transbug.c: Remove executable mode.
12507 2013-06-05 Joseph Myers <joseph@codesourcery.com>
12509 * crypt/speeds.c: Remove trailing whitespace.
12510 * dlfcn/default.c: Likewise.
12511 * elf/ifuncdep2.c: Likewise.
12512 * elf/ifuncmain1.c: Likewise.
12513 * elf/ifuncmain1vis.c: Likewise.
12514 * elf/testobj.h: Likewise.
12515 * elf/tst-stackguard1.c: Likewise.
12516 * gmon/sys/gmon.h: Likewise.
12517 * hurd/hurdmsg.c: Likewise.
12518 * hurd/new-fd.c: Likewise.
12519 * hurd/ports-get.c: Likewise.
12520 * iconvdata/ibm1008_420.c: Likewise.
12521 * inet/tst-getni1.c: Likewise.
12522 * inet/tst-getni2.c: Likewise.
12523 * libio/ioungetc.c: Likewise.
12524 * libio/wfiledoalloc.c: Likewise.
12525 * manual/libm-err-tab.pl: Likewise.
12526 * math/w_dremf.c: Likewise.
12527 * misc/ftruncate.c: Likewise.
12528 * posix/bug-glob2.c: Likewise.
12529 * posix/tst-pcre.c: Likewise.
12530 * posix/wait4.c: Likewise.
12531 * resolv/README: Likewise.
12532 * resolv/res_debug.h: Likewise.
12533 * resolv/tst-inet_ntop.c: Likewise.
12534 * setjmp/bug269-setjmp.c: Likewise.
12535 * soft-fp/extended.h: Likewise.
12536 * soft-fp/op-1.h: Likewise.
12537 * soft-fp/op-2.h: Likewise.
12538 * soft-fp/op-4.h: Likewise.
12539 * soft-fp/op-8.h: Likewise.
12540 * soft-fp/testit.c: Likewise.
12541 * stdio-common/bug16.c: Likewise.
12542 * stdlib/random.c: Likewise.
12543 * sunrpc/rpcsvc/rquota.x: Likewise.
12544 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
12545 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
12546 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12547 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
12548 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
12549 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
12550 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
12551 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12552 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
12553 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
12554 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
12555 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
12556 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
12557 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
12558 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
12559 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
12560 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
12561 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
12562 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
12563 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
12564 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
12565 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
12566 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
12567 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
12568 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
12569 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
12570 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
12571 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
12572 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
12573 * sysdeps/ieee754/s_lib_version.c: Likewise.
12574 * sysdeps/mach/hurd/check_fds.c: Likewise.
12575 * sysdeps/mach/hurd/getsockname.c: Likewise.
12576 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
12577 * sysdeps/mach/hurd/recvfrom.c: Likewise.
12578 * sysdeps/powerpc/bits/link.h: Likewise.
12579 * sysdeps/powerpc/dl-procinfo.c: Likewise.
12580 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
12581 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
12582 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
12583 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
12584 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
12585 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
12586 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
12587 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
12588 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
12589 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
12590 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
12591 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
12592 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
12593 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
12594 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
12595 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
12596 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
12597 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
12598 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
12599 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
12600 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
12601 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12602 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
12603 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
12604 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
12605 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
12606 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
12607 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
12608 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
12609 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
12610 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
12611 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12612 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
12613 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
12614 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
12615 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
12616 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
12617 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
12618 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
12619 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
12620 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
12621 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
12622 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
12623 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
12624 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
12625 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
12626 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
12627 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
12628 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
12629 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12630 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12631 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
12632 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
12633 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
12634 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
12635 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
12636 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12637 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
12638 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
12639 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
12640 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
12641 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
12642 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
12643 * sysdeps/powerpc/sysdep.h: Likewise.
12644 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
12645 * sysdeps/s390/s390-64/sub_n.S: Likewise.
12646 * sysdeps/sh/dl-trampoline.S: Likewise.
12647 * sysdeps/sh/memset.S: Likewise.
12648 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
12649 * sysdeps/sh/strlen.S: Likewise.
12650 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
12651 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
12652 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
12653 * sysdeps/sparc/sparc32/rem.S: Likewise.
12654 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
12655 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
12656 * sysdeps/sparc/sparc32/strchr.S: Likewise.
12657 * sysdeps/sparc/sparc32/udiv.S: Likewise.
12658 * sysdeps/sparc/sparc32/urem.S: Likewise.
12659 * sysdeps/sparc/sparc64/add_n.S: Likewise.
12660 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
12661 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
12662 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
12663 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
12664 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
12665 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
12666 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
12667 * sysdeps/unix/bsd/times.c: Likewise.
12668 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
12669 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
12670 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
12671 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
12672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
12673 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
12674 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
12675 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
12676 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
12677 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
12678 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
12679 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
12680 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
12681 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
12682 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
12683 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
12684 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
12685 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
12686 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
12687 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
12688 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
12689 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
12690 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
12691 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
12692 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
12693 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
12694 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
12695 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
12696 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
12697 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
12698 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
12699 * sysdeps/x86_64/strcspn.S: Likewise.
12701 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12703 * locale/C-translit.h: Revert #include <stdint.h> because this is a
12704 generated file. Regenerate properly from gen-translit.pl.
12705 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
12706 locale/C-translit.h.
12708 2013-06-05 Andreas Schwab <schwab@suse.de>
12711 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
12712 week as 6 instead of -1.
12713 * time/tst-strptime.c (day_tests): Add test case.
12715 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12717 * sysdeps/generic/math_private.h
12718 (libc_feholdexcept_setround_53bit): Replace with
12719 libc_feholdsetround_53bit.
12720 (libc_feupdateenv_53bit): Replace with
12721 libc_feresetround_53bit.
12722 (SET_RESTORE_ROUND_53BIT): Adjust.
12724 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
12726 * string/test-strchrnul.c: Add copyright header.
12728 * posix/tst-getaddrinfo4.c: Increase test timeout.
12730 2013-06-03 Carlos O'Donell <carlos@redhat.com>
12733 * math/libm-test.inc (MAX_EXP): Remove
12735 (ulp): Use MIN_EXP - MANT_DIG.
12736 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
12738 2013-05-31 Carlos O'Donell <carlos@redhat.com>
12740 * po/be.po: Revert last change.
12741 * po/zh_CN.po: Likewise.
12742 * po/header.pot: Likewise.
12744 2013-05-31 Joseph Myers <joseph@codesourcery.com>
12746 * Makefile ($(common-objpfx)linkobj/libc.so): Define
12747 link-libc-deps to empty as target-specific variable.
12748 * Makerules (link-libc-args): New variable.
12749 (libc-for-link): Likewise.
12750 (link-libc-deps): Likewise.
12751 (lib%.so): Depend on $(link-libc-deps). Link with
12753 (build-module): Link with $(link-libc-args).
12754 (build-module-asneeded): Likewise.
12755 (build-module-helper-objlist): Filter out $(link-libc-deps) from
12757 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
12758 target-specific variable.
12759 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
12760 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
12761 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
12763 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
12765 ($(objpfx)libpcprofile.so): Likewise.
12766 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
12768 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
12769 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
12770 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
12772 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
12773 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
12774 * login/Makefile ($(objpfx)libutil.so): Likewise.
12775 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
12776 * math/Makefile ($(objpfx)libm.so): Likewise.
12777 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
12778 $(objpfx)libnsl.so): Define libc-for-link as target-specific
12779 variable instead of depending directly on libc.
12780 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
12781 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
12783 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
12785 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
12786 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
12787 ($(objpfx)libanl.so): Likewise.
12788 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
12790 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
12792 * sysdeps/i386/fpu/Makefile: Remove file.
12793 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
12794 ($(objpfx)libm.so): Remove dependency on ld.so.
12796 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
12799 * nis/yp_xdr.c (XDRMAXNAME): Define.
12800 (XDRMAXRECORD): Define.
12801 (xdr_domainname): Use XDRMAXNAME.
12802 (xdr_mapname): Likewise.
12803 (xdr_peername): Likewise.
12804 (xdr_keydat): Use XDRMAXRECORD.
12805 (xdr_valdat): Likewise.
12807 2013-05-30 Jeff Law <law@redhat.com>
12810 * manual/errno.texi (ESTALE): Update to account for more than
12811 just NFS file systems.
12812 * sysdeps/gnu/errlist.c: Regenerated.
12814 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12817 * elf/Makefile (tests): Add tst-null-argv.
12818 (modules-names): Add tst-null-argv-lib.
12819 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
12820 (tst-null-argv-ENV): Set environment for tst-null-argv.
12821 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
12822 (RTLD_PROGNAME): New macro.
12823 * elf/tst-null-argv.c: New test case.
12824 * elf/tst-null-argv-lib.c: Library for test case.
12825 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
12826 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
12827 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
12828 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
12829 * elf/dl-init.c (call_init): Likewise.
12830 (_dl_init): Likewise.
12831 * elf/dl-load.c (print_search_path): Likewise.
12832 (_dl_map_object): Likewise.
12833 * elf/dl-lookup.c (do_lookup_x): Likewise.
12834 (add_dependency): Likewise.
12835 (_dl_lookup_symbol_x): Likewise.
12836 (_dl_debug_bindings): Likewise.
12837 * elf/dl-open.c (_dl_show_scope): Likewise.
12838 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
12839 * elf/dl-version.c (match_symbol): Likewise.
12840 (_dl_check_map_versions): Likewise.
12841 * elf/rtld.c (dl_main): Likewise.
12842 (print_unresolved): Use RTLD_PROGNAME.
12843 (print_missing_version): Likewise.
12844 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
12845 (elf_machine_rela): Likewise.
12846 * sysdeps/powerpc/powerpc32/dl-machine.c
12847 (__process_machine_rela): Likewise.
12848 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12850 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
12852 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
12854 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
12855 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
12857 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
12859 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
12861 2013-05-28 Carlos O'Donell <carlos@redhat.com>
12863 * po/be.po: Add descriptive title.
12864 * po/zh_CN.po: Likewise.
12865 * po/header.pot: Likewise.
12867 2013-05-28 Mike Frysinger <vapier@gentoo.org>
12869 * locale/programs/locarchive.c (create_archive): Inlucde fname in
12871 (enlarge_archive): Likewise.
12873 2013-05-28 Ben North <ben@redfrontdoor.org>
12875 * manual/arith.texi (frexp): It is the magnitude of the return
12876 value which lies in [0.5, 1), not the return value itself.
12878 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12880 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12882 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
12884 * stdio-common/bug26.c (main): Correct fscanf template.
12886 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
12887 declare _dl_skip_args.
12889 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
12892 * manual/platform.texi: Add missing @end deftypefun.
12894 2013-05-24 Joseph Myers <joseph@codesourcery.com>
12897 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
12898 bit of mantissa of 2^16382.
12899 * math/libm-test.inc (hypot_test_data): Add more tests.
12901 * math/libm-test.inc: Add drem and pow10 to list of tested
12903 (pow10_test): New function.
12904 (drem_test): Likewise.
12905 (drem_test_tonearest): Likewise.
12906 (drem_test_towardzero): Likewise.
12907 (drem_test_downward): Likewise.
12908 (drem_test_upward): Likewise.
12909 (main): Call the new functions.
12911 * math/libm-test.inc (finite_test_data): Remove.
12912 (finite_test): Run tests from isfinite_test_data.
12913 (gamma_test_data): Remove.
12914 (gamma_test): Run tests from lgamma_test_data.
12915 * sysdeps/i386/fpu/libm-test-ulps: Update.
12916 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12918 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12920 * manual/platform.texi: Add PowerPC PPR function set documentation.
12921 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
12924 2013-05-24 Carlos O'Donell <carlos@redhat.com>
12926 * math/libm-test.inc (MAX_EXP): Define.
12928 (ulp): New function.
12929 (check_float_internal): Use ULPDIFF.
12930 (cpow_test): Disable failing test.
12931 (check_ulp): Test ulp() implemetnation.
12932 (main): Call check_ulp before starting tests.
12934 2013-05-24 Joseph Myers <joseph@codesourcery.com>
12936 * math/gen-libm-test.pl (generate_testfile): Do not handle
12937 START_DATA and END_DATA.
12938 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
12940 (acos_tonearest_test_data): Likewise.
12941 (acos_towardzero_test_data): Likewise.
12942 (acos_downward_test_data): Likewise.
12943 (acos_upward_test_data): Likewise.
12944 (acosh_test_data): Likewise.
12945 (asin_test_data): Likewise.
12946 (asin_tonearest_test_data): Likewise.
12947 (asin_towardzero_test_data): Likewise.
12948 (asin_downward_test_data): Likewise.
12949 (asin_upward_test_data): Likewise.
12950 (asinh_test_data): Likewise.
12951 (atan_test_data): Likewise.
12952 (atanh_test_data): Likewise.
12953 (atan2_test_data): Likewise.
12954 (cabs_test_data): Likewise.
12955 (cacos_test_data): Likewise.
12956 (cacosh_test_data): Likewise.
12957 (carg_test_data): Likewise.
12958 (casin_test_data): Likewise.
12959 (casinh_test_data): Likewise.
12960 (catan_test_data): Likewise.
12961 (catanh_test_data): Likewise.
12962 (cbrt_test_data): Likewise.
12963 (ccos_test_data): Likewise.
12964 (ccosh_test_data): Likewise.
12965 (ceil_test_data): Likewise.
12966 (cexp_test_data): Likewise.
12967 (cimag_test_data): Likewise.
12968 (clog_test_data): Likewise.
12969 (clog10_test_data): Likewise.
12970 (conj_test_data): Likewise.
12971 (copysign_test_data): Likewise.
12972 (cos_test_data): Likewise.
12973 (cos_tonearest_test_data): Likewise.
12974 (cos_towardzero_test_data): Likewise.
12975 (cos_downward_test_data): Likewise.
12976 (cos_upward_test_data): Likewise.
12977 (cosh_test_data): Likewise.
12978 (cosh_tonearest_test_data): Likewise.
12979 (cosh_towardzero_test_data): Likewise.
12980 (cosh_downward_test_data): Likewise.
12981 (cosh_upward_test_data): Likewise.
12982 (cpow_test_data): Likewise.
12983 (cproj_test_data): Likewise.
12984 (creal_test_data): Likewise.
12985 (csin_test_data): Likewise.
12986 (csinh_test_data): Likewise.
12987 (csqrt_test_data): Likewise.
12988 (ctan_test_data): Likewise.
12989 (ctan_tonearest_test_data): Likewise.
12990 (ctan_towardzero_test_data): Likewise.
12991 (ctan_downward_test_data): Likewise.
12992 (ctan_upward_test_data): Likewise.
12993 (ctanh_test_data): Likewise.
12994 (ctanh_tonearest_test_data): Likewise.
12995 (ctanh_towardzero_test_data): Likewise.
12996 (ctanh_downward_test_data): Likewise.
12997 (ctanh_upward_test_data): Likewise.
12998 (erf_test_data): Likewise.
12999 (erfc_test_data): Likewise.
13000 (exp_test_data): Likewise.
13001 (exp_tonearest_test_data): Likewise.
13002 (exp_towardzero_test_data): Likewise.
13003 (exp_downward_test_data): Likewise.
13004 (exp_upward_test_data): Likewise.
13005 (exp10_test_data): Likewise.
13006 (exp2_test_data): Likewise.
13007 (expm1_test_data): Likewise.
13008 (fabs_test_data): Likewise.
13009 (fdim_test_data): Likewise.
13010 (finite_test_data): Likewise.
13011 (floor_test_data): Likewise.
13012 (fma_test_data): Likewise.
13013 (fma_towardzero_test_data): Likewise.
13014 (fma_downward_test_data): Likewise.
13015 (fma_upward_test_data): Likewise.
13016 (fmax_test_data): Likewise.
13017 (fmin_test_data): Likewise.
13018 (fmod_test_data): Likewise.
13019 (fpclassify_test_data): Likewise.
13020 (frexp_test_data): Likewise.
13021 (gamma_test_data): Likewise.
13022 (hypot_test_data): Likewise.
13023 (ilogb_test_data): Likewise.
13024 (isfinite_test_data): Likewise.
13025 (isgreater_test_data): Likewise.
13026 (isgreaterequal_test_data): Likewise.
13027 (isinf_test_data): Likewise.
13028 (isless_test_data): Likewise.
13029 (islessequal_test_data): Likewise.
13030 (islessgreater_test_data): Likewise.
13031 (isnan_test_data): Likewise.
13032 (isnormal_test_data): Likewise.
13033 (issignaling_test_data): Likewise.
13034 (isunordered_test_data): Likewise.
13035 (j0_test_data): Likewise.
13036 (j1_test_data): Likewise.
13037 (jn_test_data): Likewise.
13038 (ldexp_test_data): Likewise.
13039 (lgamma_test_data): Likewise.
13040 (lrint_test_data): Likewise.
13041 (lrint_tonearest_test_data): Likewise.
13042 (lrint_towardzero_test_data): Likewise.
13043 (lrint_downward_test_data): Likewise.
13044 (lrint_upward_test_data): Likewise.
13045 (llrint_test_data): Likewise.
13046 (llrint_tonearest_test_data): Likewise.
13047 (llrint_towardzero_test_data): Likewise.
13048 (llrint_downward_test_data): Likewise.
13049 (llrint_upward_test_data): Likewise.
13050 (log_test_data): Likewise.
13051 (log10_test_data): Likewise.
13052 (log1p_test_data): Likewise.
13053 (log2_test_data): Likewise.
13054 (logb_test_data): Likewise.
13055 (logb_downward_test_data): Likewise.
13056 (lround_test_data): Likewise.
13057 (llround_test_data): Likewise.
13058 (modf_test_data): Likewise.
13059 (nearbyint_test_data): Likewise.
13060 (nextafter_test_data): Likewise.
13061 (nexttoward_test_data): Likewise.
13062 (pow_test_data): Likewise.
13063 (pow_tonearest_test_data): Likewise.
13064 (pow_towardzero_test_data): Likewise.
13065 (pow_downward_test_data): Likewise.
13066 (pow_upward_test_data): Likewise.
13067 (remainder_test_data): Likewise.
13068 (remainder_tonearest_test_data): Likewise.
13069 (remainder_towardzero_test_data): Likewise.
13070 (remainder_downward_test_data): Likewise.
13071 (remainder_upward_test_data): Likewise.
13072 (remquo_test_data): Likewise.
13073 (rint_test_data): Likewise.
13074 (rint_tonearest_test_data): Likewise.
13075 (rint_towardzero_test_data): Likewise.
13076 (rint_downward_test_data): Likewise.
13077 (rint_upward_test_data): Likewise.
13078 (round_test_data): Likewise.
13079 (scalb_test_data): Likewise.
13080 (scalbn_test_data): Likewise.
13081 (scalbln_test_data): Likewise.
13082 (signbit_test_data): Likewise.
13083 (sin_test_data): Likewise.
13084 (sin_tonearest_test_data): Likewise.
13085 (sin_towardzero_test_data): Likewise.
13086 (sin_downward_test_data): Likewise.
13087 (sin_upward_test_data): Likewise.
13088 (sincos_test_data): Likewise.
13089 (sinh_test_data): Likewise.
13090 (sinh_tonearest_test_data): Likewise.
13091 (sinh_towardzero_test_data): Likewise.
13092 (sinh_downward_test_data): Likewise.
13093 (sinh_upward_test_data): Likewise.
13094 (sqrt_test_data): Likewise.
13095 (tan_test_data): Likewise.
13096 (tan_tonearest_test_data): Likewise.
13097 (tan_towardzero_test_data): Likewise.
13098 (tan_downward_test_data): Likewise.
13099 (tan_upward_test_data): Likewise.
13100 (tanh_test_data): Likewise.
13101 (tgamma_test_data): Likewise.
13102 (trunc_test_data): Likewise.
13103 (y0_test_data): Likewise.
13104 (y1_test_data): Likewise.
13105 (yn_test_data): Likewise.
13106 (significand_test_data): Likewise.
13108 * math/gen-libm-test.pl (@functions): Remove variable.
13109 (generate_testfile): Don't handle START and END lines.
13110 * math/libm-test.inc (START): New macro.
13112 (END_COMPLEX): Likewise.
13113 (acos_test): Use END macro without arguments.
13114 (acos_test_tonearest): Likewise.
13115 (acos_test_towardzero): Likewise.
13116 (acos_test_downward): Likewise.
13117 (acos_test_upward): Likewise.
13118 (acosh_test): Likewise.
13119 (asin_test): Likewise.
13120 (asin_test_tonearest): Likewise.
13121 (asin_test_towardzero): Likewise.
13122 (asin_test_downward): Likewise.
13123 (asin_test_upward): Likewise.
13124 (asinh_test): Likewise.
13125 (atan_test): Likewise.
13126 (atanh_test): Likewise.
13127 (atan2_test): Likewise.
13128 (cabs_test): Likewise.
13129 (cacos_test): Use END_COMPLEX macro without arguments.
13130 (cacosh_test): Likewise.
13131 (carg_test): Use END macro without arguments.
13132 (casin_test): Use END_COMPLEX macro without arguments.
13133 (casinh_test): Likewise.
13134 (catan_test): Likewise.
13135 (catanh_test): Likewise.
13136 (cbrt_test): Use END macro without arguments.
13137 (ccos_test): Use END_COMPLEX macro without arguments.
13138 (ccosh_test): Likewise.
13139 (ceil_test): Use END macro without arguments.
13140 (cexp_test): Use END_COMPLEX macro without arguments.
13141 (cimag_test): Use END macro without arguments.
13142 (clog_test): Use END_COMPLEX macro without arguments.
13143 (clog10_test): Likewise.
13144 (conj_test): Likewise.
13145 (copysign_test): Use END macro without arguments.
13146 (cos_test): Likewise.
13147 (cos_test_tonearest): Likewise.
13148 (cos_test_towardzero): Likewise.
13149 (cos_test_downward): Likewise.
13150 (cos_test_upward): Likewise.
13151 (cosh_test): Likewise.
13152 (cosh_test_tonearest): Likewise.
13153 (cosh_test_towardzero): Likewise.
13154 (cosh_test_downward): Likewise.
13155 (cosh_test_upward): Likewise.
13156 (cpow_test): Use END_COMPLEX macro without arguments.
13157 (cproj_test): Likewise.
13158 (creal_test): Use END macro without arguments.
13159 (csin_test): Use END_COMPLEX macro without arguments.
13160 (csinh_test): Likewise.
13161 (csqrt_test): Likewise.
13162 (ctan_test): Likewise.
13163 (ctan_test_tonearest): Likewise.
13164 (ctan_test_towardzero): Likewise.
13165 (ctan_test_downward): Likewise.
13166 (ctan_test_upward): Likewise.
13167 (ctanh_test): Likewise.
13168 (ctanh_test_tonearest): Likewise.
13169 (ctanh_test_towardzero): Likewise.
13170 (ctanh_test_downward): Likewise.
13171 (ctanh_test_upward): Likewise.
13172 (erf_test): Use END macro without arguments.
13173 (erfc_test): Likewise.
13174 (exp_test): Likewise.
13175 (exp_test_tonearest): Likewise.
13176 (exp_test_towardzero): Likewise.
13177 (exp_test_downward): Likewise.
13178 (exp_test_upward): Likewise.
13179 (exp10_test): Likewise.
13180 (exp2_test): Likewise.
13181 (expm1_test): Likewise.
13182 (fabs_test): Likewise.
13183 (fdim_test): Likewise.
13184 (finite_test): Likewise.
13185 (floor_test): Likewise.
13186 (fma_test): Likewise.
13187 (fma_test_towardzero): Likewise.
13188 (fma_test_downward): Likewise.
13189 (fma_test_upward): Likewise.
13190 (fmax_test): Likewise.
13191 (fmin_test): Likewise.
13192 (fmod_test): Likewise.
13193 (fpclassify_test): Likewise.
13194 (frexp_test): Likewise.
13195 (gamma_test): Likewise.
13196 (hypot_test): Likewise.
13197 (ilogb_test): Likewise.
13198 (isfinite_test): Likewise.
13199 (isgreater_test): Likewise.
13200 (isgreaterequal_test): Likewise.
13201 (isinf_test): Likewise.
13202 (isless_test): Likewise.
13203 (islessequal_test): Likewise.
13204 (islessgreater_test): Likewise.
13205 (isnan_test): Likewise.
13206 (isnormal_test): Likewise.
13207 (issignaling_test): Likewise.
13208 (isunordered_test): Likewise.
13209 (j0_test): Likewise.
13210 (j1_test): Likewise.
13211 (jn_test): Likewise.
13212 (ldexp_test): Likewise.
13213 (lgamma_test): Likewise.
13214 (lrint_test): Likewise.
13215 (lrint_test_tonearest): Likewise.
13216 (lrint_test_towardzero): Likewise.
13217 (lrint_test_downward): Likewise.
13218 (lrint_test_upward): Likewise.
13219 (llrint_test): Likewise.
13220 (llrint_test_tonearest): Likewise.
13221 (llrint_test_towardzero): Likewise.
13222 (llrint_test_downward): Likewise.
13223 (llrint_test_upward): Likewise.
13224 (log_test): Likewise.
13225 (log10_test): Likewise.
13226 (log1p_test): Likewise.
13227 (log2_test): Likewise.
13228 (logb_test): Likewise.
13229 (logb_test_downward): Likewise.
13230 (lround_test): Likewise.
13231 (llround_test): Likewise.
13232 (modf_test): Likewise.
13233 (nearbyint_test): Likewise.
13234 (nextafter_test): Likewise.
13235 (nexttoward_test): Likewise.
13236 (pow_test): Likewise.
13237 (pow_test_tonearest): Likewise.
13238 (pow_test_towardzero): Likewise.
13239 (pow_test_downward): Likewise.
13240 (pow_test_upward): Likewise.
13241 (remainder_test): Likewise.
13242 (remainder_test_tonearest): Likewise.
13243 (remainder_test_towardzero): Likewise.
13244 (remainder_test_downward): Likewise.
13245 (remainder_test_upward): Likewise.
13246 (remquo_test): Likewise.
13247 (rint_test): Likewise.
13248 (rint_test_tonearest): Likewise.
13249 (rint_test_towardzero): Likewise.
13250 (rint_test_downward): Likewise.
13251 (rint_test_upward): Likewise.
13252 (round_test): Likewise.
13253 (scalb_test): Likewise.
13254 (scalbn_test): Likewise.
13255 (scalbln_test): Likewise.
13256 (signbit_test): Likewise.
13257 (sin_test): Likewise.
13258 (sin_test_tonearest): Likewise.
13259 (sin_test_towardzero): Likewise.
13260 (sin_test_downward): Likewise.
13261 (sin_test_upward): Likewise.
13262 (sincos_test): Likewise.
13263 (sinh_test): Likewise.
13264 (sinh_test_tonearest): Likewise.
13265 (sinh_test_towardzero): Likewise.
13266 (sinh_test_downward): Likewise.
13267 (sinh_test_upward): Likewise.
13268 (sqrt_test): Likewise.
13269 (tan_test): Likewise.
13270 (tan_test_tonearest): Likewise.
13271 (tan_test_towardzero): Likewise.
13272 (tan_test_downward): Likewise.
13273 (tan_test_upward): Likewise.
13274 (tanh_test): Likewise.
13275 (tgamma_test): Likewise.
13276 (trunc_test): Likewise.
13277 (y0_test): Likewise.
13278 (y1_test): Likewise.
13279 (yn_test): Likewise.
13280 (significand_test): Likewise.
13282 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
13285 * libio/genops.c (_IO_no_init): Initialize wide struct info.
13287 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
13290 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
13291 __ppc_mdoio and __ppc_mdoom.
13292 * manual/platform.texi: Document new functions __ppc_yield,
13293 __ppc_mdoio and __ppc_mdoom.
13295 2013-05-22 Carlos O'Donell <carlos@redhat.com>
13297 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
13298 (main): Mention "tls" pseudo-hwcap is legacy.
13299 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
13301 2013-05-22 Joseph Myers <joseph@codesourcery.com>
13303 * math/gen-libm-test.pl (parse_args): Output only string of
13304 arguments as text for test name, not full call or descriptions of
13305 tests for extra outputs.
13306 (generate_testfile): Do not pass function name to parse_args.
13307 Generate this_func variable from START.
13308 * math/libm-test.inc (struct test_f_f_data): Rename test_name
13310 (struct test_ff_f_data): Likewise.
13311 (test_ff_f_data_nexttoward): Likewise.
13312 (struct test_fi_f_data): Likewise.
13313 (struct test_fl_f_data): Likewise.
13314 (struct test_if_f_data): Likewise.
13315 (struct test_fff_f_data): Likewise.
13316 (struct test_c_f_data): Likewise.
13317 (struct test_f_f1_data): Likewise. Remove field extra_name.
13318 (struct test_fF_f1_data): Likewise.
13319 (struct test_ffI_f1_data): Likewise.
13320 (struct test_c_c_data): Rename test_name field to arg_str.
13321 (struct test_cc_c_data): Likewise.
13322 (struct test_f_i_data): Likewise.
13323 (struct test_ff_i_data): Likewise.
13324 (struct test_f_l_data): Likewise.
13325 (struct test_f_L_data): Likewise.
13326 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
13328 (COMMON_TEST_SETUP): New macro.
13329 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
13330 (COMMON_TEST_CLEANUP): Likewise.
13331 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
13332 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
13334 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
13335 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
13337 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
13338 (RUN_TEST_fff_f): Take argument string. Call new setup and
13340 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
13341 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
13343 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
13344 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
13346 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
13347 (RUN_TEST_fF_f1): Take argument string. Call new setup and
13349 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
13350 (RUN_TEST_fI_f1): Take argument string. Call new setup and
13352 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
13353 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
13355 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
13356 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
13358 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
13359 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
13361 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
13362 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
13364 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
13365 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
13367 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
13368 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
13370 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
13371 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
13373 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
13374 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
13376 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
13377 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
13379 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
13380 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
13382 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
13383 (RUN_TEST_fFF_11): Take argument string. Call new setup and
13385 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
13387 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
13389 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
13390 to _sifields.sigfault.
13391 (si_addr_lsb): Define new macro.
13392 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
13393 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
13394 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
13396 2013-05-03 Carlos O'Donell <carlos at redhat.com>
13399 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
13401 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
13403 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
13404 loading the domain.
13406 2013-05-22 Joseph Myers <joseph@codesourcery.com>
13408 * math/gen-libm-test.pl (parse_args): Do not include expected
13409 result in test name.
13410 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
13411 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13412 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13413 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
13414 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13415 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13417 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
13419 * benchtests/Makefile: Sort function entries.
13421 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
13422 tanh, asinh, acosh, atanh.
13423 * benchtests/acos-inputs: New file.
13424 * benchtests/acosh-inputs: New file.
13425 * benchtests/asin-inputs: New file.
13426 * benchtests/asinh-inputs: New file.
13427 * benchtests/atanh-inputs: New file.
13428 * benchtests/cosh-inputs: New file.
13429 * benchtests/log-inputs: New file.
13430 * benchtests/sinh-inputs: New file.
13431 * benchtests/tanh-inputs: New file.
13433 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
13436 * posix/tst-getaddrinfo4.c: New test.
13437 * posix/Makefile (tests): Add it.
13439 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13442 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
13443 when no services were used.
13444 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
13445 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
13447 2013-05-21 Andreas Schwab <schwab@suse.de>
13450 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
13451 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
13453 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
13454 redundant variable declarations and reallocation of buffer when
13455 parsing as IPv6 address. Always set NSS status when called from
13456 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
13457 buffer too small. Correct computation of needed size.
13458 * nss/Makefile (tests): Add test-digits-dots.
13459 * nss/test-digits-dots.c: New test.
13461 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13463 * benchtests/Makefile: Remove instructions for adding
13465 * benchtests/README: New file to explain how to execute and
13466 enhance the benchmark tests.
13468 2013-05-21 Andreas Schwab <schwab@suse.de>
13471 * setjmp/Makefile (tests): Add tst-sigsetjmp.
13472 * setjmp/tst-sigsetjmp.c: New test.
13474 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
13476 * sysdeps/x86_64/memset.S (memset): New implementation.
13477 (__bzero): Likewise.
13478 (__memset_tail): New function.
13480 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
13482 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
13483 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
13484 __memcpy_sse2_unaligned ifunc selection.
13485 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
13486 Add memcpy-sse2-unaligned.S.
13487 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13488 Add: __memcpy_sse2_unaligned.
13490 2013-05-19 Joseph Myers <joseph@codesourcery.com>
13493 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
13494 math_force_eval before restoring floating-point envrionment.
13495 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
13496 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
13498 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
13500 (__nearbyintl): Use math_force_eval before restoring
13501 floating-point environment.
13502 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
13504 * math/gen-libm-test.pl (special_functions): Remove.
13505 (parse_args): Don't handle TEST_extra. Handle functions with no
13507 * math/libm-test.inc (struct test_sincos_data): Replace with
13508 struct test_fFF_11_data.
13509 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
13510 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
13511 (sincos_test_data): Change element type to struct
13512 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
13513 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
13514 RUN_TEST_LOOP_sincos.
13515 * math/README.libm-test: Don't mention special handling of
13516 individual functions.
13517 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
13518 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13519 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13520 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
13521 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13522 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13524 * math/gen-libm-test.pl (get_variable): Remove function.
13525 (parse_args): Don't show pointer parameters to call in test
13526 names. Use "extra output N" in test names for extra outputs
13527 rather than naming variables.
13529 2013-05-18 Joseph Myers <joseph@codesourcery.com>
13532 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
13533 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
13534 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
13536 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
13538 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
13541 * math/gen-libm-test.pl (@tests): Remove variable.
13542 ($count): Likewise.
13543 (new_test): Remove function.
13544 (show_exceptions): New function.
13545 (special_functions): Use show_exceptions instead of new_test.
13546 (parse_args): Likewise.
13547 (generate_testfile): Pass only function name in generated call to
13548 print_max_error or print_complex_max_error.
13549 (get_ulps): Do not handle complex tests specially.
13550 (output_test): Rename to ...
13551 (get_all_ulps_for_test): ... this. Return a string rather than
13552 printing to a file. Require ulps to be present.
13553 (output_ulps): Generate arrays rather than #defines.
13554 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
13555 (struct ulp_data): New type.
13556 (BUILD_COMPLEX_ULP): Remove macro.
13557 (compare_ulp_data): New function.
13558 (find_ulps): Likewise.
13559 (find_test_ulps): Likewise.
13560 (find_function_ulps): Likewise.
13561 (find_complex_function_ulps): Likewise.
13562 (print_max_error): Determine allowed ulps using
13563 find_function_ulps.
13564 (print_complex_max_error): Determine allowed ulps using
13565 find_complex_function_ulps.
13566 (check_float_internal): Determine max ulps using find_test_ulps.
13567 (check_float): Do not take max_ulp parameter. Update call to
13568 check_float_internal.
13569 (check_complex): Likewise.
13570 (check_int): Do not take max_ulp parameter.
13571 (check_long): Likewise.
13572 (check_bool): Likewise.
13573 (check_longlong): Likewise.
13574 (struct test_f_f_data): Remove max_ulp field.
13575 (struct test_ff_f_data): Likewise.
13576 (struct test_ff_f_data_nexttoward): Likewise.
13577 (struct test_fi_f_data): Likewise.
13578 (struct test_fl_f_data): Likewise.
13579 (struct test_if_f_data): Likewise.
13580 (struct test_fff_f_data): Likewise.
13581 (struct test_c_f_data): Likewise.
13582 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
13583 (struct test_fF_f1_data): Likewise.
13584 (struct test_ffI_f1_data): Likewise.
13585 (struct test_c_c_data): Remove max_ulp field.
13586 (struct test_cc_c_data): Likewise.
13587 (struct test_f_i_data): Likewise.
13588 (struct test_ff_i_data): Likewise.
13589 (struct test_f_l_data): Likewise.
13590 (struct test_f_L_data): Likewise.
13591 (struct test_sincos_data): Likewise.
13592 (RUN_TEST_f_f): Do not handle ulps.
13593 (RUN_TEST_LOOP_f_f): Likewise.
13594 (RUN_TEST_2_f): Likewise.
13595 (RUN_TEST_LOOP_2_f): Likewise.
13596 (RUN_TEST_fff_f): Likewise.
13597 (RUN_TEST_LOOP_fff_f): Likewise.
13598 (RUN_TEST_c_f): Likewise.
13599 (RUN_TEST_LOOP_c_f): Likewise.
13600 (RUN_TEST_f_f1): Likewise.
13601 (RUN_TEST_LOOP_f_f1): Likewise.
13602 (RUN_TEST_fF_f1): Likewise.
13603 (RUN_TEST_LOOP_fF_f1): Likewise.
13604 (RUN_TEST_fI_f1): Likewise.
13605 (RUN_TEST_LOOP_fI_f1): Likewise.
13606 (RUN_TEST_ffI_f1): Likewise.
13607 (RUN_TEST_LOOP_ffI_f1): Likewise.
13608 (RUN_TEST_c_c): Likewise.
13609 (RUN_TEST_LOOP_c_c): Likewise.
13610 (RUN_TEST_cc_c): Likewise.
13611 (RUN_TEST_LOOP_cc_c): Likewise.
13612 (RUN_TEST_f_i): Likewise.
13613 (RUN_TEST_LOOP_f_i): Likewise.
13614 (RUN_TEST_f_i_tg): Likewise.
13615 (RUN_TEST_LOOP_f_i_tg): Likewise.
13616 (RUN_TEST_ff_i_tg): Likewise.
13617 (RUN_TEST_LOOP_ff_i_tg): Likewise.
13618 (RUN_TEST_f_b): Likewise.
13619 (RUN_TEST_LOOP_f_b): Likewise.
13620 (RUN_TEST_f_b_tg): Likewise.
13621 (RUN_TEST_LOOP_f_b_tg): Likewise.
13622 (RUN_TEST_f_l): Likewise.
13623 (RUN_TEST_LOOP_f_l): Likewise.
13624 (RUN_TEST_f_L): Likewise.
13625 (RUN_TEST_LOOP_f_L): Likewise.
13626 (RUN_TEST_sincos): Likewise.
13627 (RUN_TEST_LOOP_sincos): Likewise.
13629 2013-05-17 Joseph Myers <joseph@codesourcery.com>
13633 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
13634 main case of finite arguments, set rounding mode to FE_TONEAREST
13635 and discard exceptions.
13636 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
13638 (remainder_tonearest_test_data): New variable.
13639 (remainder_test_tonearest): New function.
13640 (remainder_towardzero_test_data): New variable.
13641 (remainder_test_towardzero): New function.
13642 (remainder_downward_test_data): New variable.
13643 (remainder_test_downward): New function.
13644 (remainder_upward_test_data): New variable.
13645 (remainder_test_upward): New function.
13646 (main): Call the new test functions.
13648 * math/libm-test.inc (struct test_f_f1_data): Remove field
13650 (struct test_fF_f1_data): Likewise.
13651 (struct test_ffI_f1_data): Likewise.
13652 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
13653 based on value of EXTRA_EXPECTED.
13654 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
13655 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
13656 EXTRA_VAR based on value of EXTRA_EXPECTED.
13657 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
13658 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
13659 EXTRA_VAR based on value of EXTRA_EXPECTED.
13660 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
13661 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
13662 EXTRA_VAR based on value of EXTRA_EXPECTED.
13663 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
13664 * math/gen-libm-test.pl (parse_args): Don't output initializers
13665 for extra output values.
13667 * math/libm-test.inc (check_int): Expect result to be exactly
13668 equal to expected value and do not handle ulps.
13669 (check_long): Likewise.
13670 (check_longlong): Likewise.
13672 * math/libm-test.inc (ceil_test_data): Test for "inexact"
13674 (cimag_test_data): Likewise.
13675 (conj_test_data): Likewise.
13676 (copysign_test_data): Likewise.
13677 (cproj_test_data): Likewise.
13678 (creal_test_data): Likewise.
13679 (fabs_test_data): Likewise.
13680 (fdim_test_data): Likewise.
13681 (finite_test_data): Likewise.
13682 (floor_test_data): Likewise.
13683 (fmax_test_data): Likewise.
13684 (fmin_test_data): Likewise.
13685 (fmod_test_data): Likewise.
13686 (fpclassify_test_data): Likewise.
13687 (frexp_test_data): Likewise.
13688 (ilogb_test_data): Likewise.
13689 (isfinite_test_data): Likewise.
13690 (isgreater_test_data): Likewise.
13691 (isgreaterequal_test_data): Likewise.
13692 (isinf_test_data): Likewise.
13693 (isless_test_data): Likewise.
13694 (islessequal_test_data): Likewise.
13695 (islessgreater_test_data): Likewise.
13696 (isnan_test_data): Likewise.
13697 (isnormal_test_data): Likewise.
13698 (issignaling_test_data): Likewise.
13699 (isunordered_test_data): Likewise.
13700 (ldexp_test_data): Likewise.
13701 (lrint_test_data): Likewise.
13702 (lrint_test_data) [TEST_FLOAT]: Disable one test.
13703 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
13704 (lrint_tonearest_test_data): Test for "inexact" exceptions.
13705 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
13706 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
13707 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
13709 (lrint_towardzero_test_data): Test for "inexact" exceptions.
13710 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
13711 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
13712 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
13714 (lrint_downward_test_data): Test for "inexact" exceptions.
13715 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
13716 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
13717 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
13719 (lrint_upward_test_data): Test for "inexact" exceptions.
13720 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
13722 (llrint_test_data): Test for "inexact" exceptions.
13723 (llrint_test_data) [TEST_FLOAT]: Disable one test.
13724 (llrint_tonearest_test_data): Test for "inexact" exceptions.
13725 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
13726 (llrint_towardzero_test_data): Test for "inexact" exceptions.
13727 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
13728 (llrint_downward_test_data): Test for "inexact" exceptions.
13729 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
13730 (llrint_upward_test_data): Test for "inexact" exceptions.
13731 (logb_test_data): Likewise.
13732 (logb_downward_test_data): Likewise.
13733 (nextafter_test_data): Likewise.
13734 (nexttoward_test_data): Likewise.
13735 (remainder_test_data): Likewise.
13736 (remquo_test_data): Likewise.
13737 (scalbn_test_data): Likewise.
13738 (scalbln_test_data): Likewise.
13739 (signbit_test_data): Likewise.
13740 (sqrt_test_data): Likewise.
13741 (significand_test_data): Likewise.
13743 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
13746 * benchtests/bench-modf.c (struct args): Mark arg0 as
13748 * scripts/bench.pl: Mark members of struct args as volatile.
13750 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13753 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
13754 negative infinity on POWER6 or lower.
13755 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
13757 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
13760 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
13761 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
13762 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
13763 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
13764 (_FP_SETQNAN): New macro.
13765 (_FP_SETQNAN_SEMIRAW): Likewise.
13766 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
13767 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
13768 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
13769 (FP_EXTEND): Use _FP_FRAC_SNANP.
13770 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
13771 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
13773 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
13775 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
13778 2013-05-16 Joseph Myers <joseph@codesourcery.com>
13780 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
13781 with DIVIDE_BY_ZERO_EXCEPTION.
13782 (gamma_test_data): Likewise.
13783 (lgamma_test_data): Likewise.
13784 (log_test_data): Likewise.
13785 (log10_test_data): Likewise.
13786 (log2_test_data): Likewise.
13787 (tgamma_test_data): Likewise.
13789 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
13790 (acos_test_tonearest): Likewise.
13791 (acos_test_towardzero): Likewise.
13792 (acos_test_downward): Likewise.
13793 (acos_test_upward): Likewise.
13794 (acosh_test): Likewise.
13795 (asin_test): Likewise.
13796 (asin_test_tonearest): Likewise.
13797 (asin_test_towardzero): Likewise.
13798 (asin_test_downward): Likewise.
13799 (asin_test_upward): Likewise.
13800 (asinh_test): Likewise.
13801 (atan_test): Likewise.
13802 (atanh_test): Likewise.
13803 (atan2_test): Likewise.
13804 (cabs_test): Likewise.
13805 (cacos_test): Likewise.
13806 (cacosh_test): Likewise.
13807 (casin_test): Likewise.
13808 (casinh_test): Likewise.
13809 (catan_test): Likewise.
13810 (catanh_test): Likewise.
13811 (cbrt_test): Likewise.
13812 (ccos_test): Likewise.
13813 (ccosh_test): Likewise.
13814 (cexp_test): Likewise.
13815 (clog_test): Likewise.
13816 (clog10_test): Likewise.
13817 (cos_test): Likewise.
13818 (cos_test_tonearest): Likewise.
13819 (cos_test_towardzero): Likewise.
13820 (cos_test_downward): Likewise.
13821 (cos_test_upward): Likewise.
13822 (cosh_test): Likewise.
13823 (cosh_test_tonearest): Likewise.
13824 (cosh_test_towardzero): Likewise.
13825 (cosh_test_downward): Likewise.
13826 (cosh_test_upward): Likewise.
13827 (cpow_test): Likewise.
13828 (csin_test): Likewise.
13829 (csinh_test): Likewise.
13830 (csqrt_test): Likewise.
13831 (ctan_test): Likewise.
13832 (ctan_test_tonearest): Likewise.
13833 (ctan_test_towardzero): Likewise.
13834 (ctan_test_downward): Likewise.
13835 (ctan_test_upward): Likewise.
13836 (ctanh_test): Likewise.
13837 (ctanh_test_tonearest): Likewise.
13838 (ctanh_test_towardzero): Likewise.
13839 (ctanh_test_downward): Likewise.
13840 (ctanh_test_upward): Likewise.
13841 (erf_test): Likewise.
13842 (erfc_test): Likewise.
13843 (exp_test): Likewise.
13844 (exp_test_tonearest): Likewise.
13845 (exp_test_towardzero): Likewise.
13846 (exp_test_downward): Likewise.
13847 (exp_test_upward): Likewise.
13848 (exp10_test): Likewise.
13849 (exp2_test): Likewise.
13850 (expm1_test): Likewise.
13851 (fmod_test): Likewise.
13852 (gamma_test): Likewise.
13853 (hypot_test): Likewise.
13854 (j0_test): Likewise.
13855 (j1_test): Likewise.
13856 (jn_test): Likewise.
13857 (lgamma_test): Likewise.
13858 (log_test): Likewise.
13859 (log10_test): Likewise.
13860 (log1p_test): Likewise.
13861 (log2_test): Likewise.
13862 (logb_test_downward): Likewise.
13863 (pow_test): Likewise.
13864 (pow_test_tonearest): Likewise.
13865 (pow_test_towardzero): Likewise.
13866 (pow_test_downward): Likewise.
13867 (pow_test_upward): Likewise.
13868 (remainder_test): Likewise.
13869 (remquo_test): Likewise.
13870 (sin_test): Likewise.
13871 (sin_test_tonearest): Likewise.
13872 (sin_test_towardzero): Likewise.
13873 (sin_test_downward): Likewise.
13874 (sin_test_upward): Likewise.
13875 (sincos_test): Likewise.
13876 (sinh_test): Likewise.
13877 (sinh_test_tonearest): Likewise.
13878 (sinh_test_towardzero): Likewise.
13879 (sinh_test_downward): Likewise.
13880 (sinh_test_upward): Likewise.
13881 (sqrt_test): Likewise.
13882 (tan_test): Likewise.
13883 (tan_test_tonearest): Likewise.
13884 (tan_test_towardzero): Likewise.
13885 (tan_test_downward): Likewise.
13886 (tan_test_upward): Likewise.
13887 (tanh_test): Likewise.
13888 (tgamma_test): Likewise.
13889 (y0_test): Likewise.
13890 (y1_test): Likewise.
13891 (yn_test): Likewise.
13893 * math/gen-libm-test.pl (adjust_arg): Remove function.
13894 (special_function): Remove argument $in_func. Only handle
13895 generating output for tables of tests, not inside functions.
13896 (parse_args): Likewise.
13897 (generate_testfile): Remove variable $in_func. Update call to
13899 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
13900 (MINUS_ZERO_INIT): Rename macro to minus_zero.
13901 (PLUS_INFTY_INIT): Rename macro to plus_infty.
13902 (MINUS_INFTY_INIT): Rename macro to minus_infty.
13903 (QNAN_VALUE_INIT): Rename macro to qnan_value.
13904 (MAX_VALUE_INIT): Rename macro to max_value.
13905 (MIN_VALUE_INIT): Rename macro to min_value.
13906 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
13907 (plus_zero): Remove variable.
13908 (minus_zero): Likewise.
13909 (plus_infty): Likewise.
13910 (minus_infty): Likewise.
13911 (qnan_value): Likewise.
13912 (max_value): Likewise.
13913 (min_value): Likewise.
13914 (min_subnorm_value): Likewise.
13916 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13918 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
13919 uint64_t or uint32_t usage.
13920 * crypt/sha256-block.c: Likewise.
13921 * crypt/sha256-crypt.c: Likewise.
13922 * crypt/sha256.c: Likewise.
13923 * crypt/sha512-block.c: Likewise.
13924 * crypt/sha512-crypt.c: Likewise.
13925 * crypt/sha512.c: Likewise.
13926 * debug/backtrace-tst.c: Likewise.
13927 * debug/pcprofiledump.c: Likewise.
13928 * elf/cache.c: Likewise.
13929 * elf/dl-cache.c: Likewise.
13930 * elf/dl-misc.c: Likewise.
13931 * elf/dl-profile.c: Likewise.
13932 * elf/dl-support.c: Likewise.
13933 * elf/ldconfig.c: Likewise.
13934 * elf/sprof.c: Likewise.
13935 * iconv/dummy-repertoire.c: Likewise.
13936 * iconv/iconv_charmap.c: Likewise.
13937 * iconv/skeleton.c: Likewise.
13938 * iconvdata/8bit-generic.c: Likewise.
13939 * iconvdata/cp737.h: Likewise.
13940 * iconvdata/cp775.h: Likewise.
13941 * iconvdata/ibm1008.h: Likewise.
13942 * iconvdata/ibm1025.h: Likewise.
13943 * iconvdata/ibm1046.h: Likewise.
13944 * iconvdata/ibm1097.h: Likewise.
13945 * iconvdata/ibm1112.h: Likewise.
13946 * iconvdata/ibm1122.h: Likewise.
13947 * iconvdata/ibm1123.h: Likewise.
13948 * iconvdata/ibm1124.h: Likewise.
13949 * iconvdata/ibm1129.h: Likewise.
13950 * iconvdata/ibm1130.h: Likewise.
13951 * iconvdata/ibm1132.h: Likewise.
13952 * iconvdata/ibm1133.h: Likewise.
13953 * iconvdata/ibm1137.h: Likewise.
13954 * iconvdata/ibm1140.h: Likewise.
13955 * iconvdata/ibm1141.h: Likewise.
13956 * iconvdata/ibm1142.h: Likewise.
13957 * iconvdata/ibm1143.h: Likewise.
13958 * iconvdata/ibm1144.h: Likewise.
13959 * iconvdata/ibm1145.h: Likewise.
13960 * iconvdata/ibm1146.h: Likewise.
13961 * iconvdata/ibm1147.h: Likewise.
13962 * iconvdata/ibm1148.h: Likewise.
13963 * iconvdata/ibm1149.h: Likewise.
13964 * iconvdata/ibm1153.h: Likewise.
13965 * iconvdata/ibm1154.h: Likewise.
13966 * iconvdata/ibm1155.h: Likewise.
13967 * iconvdata/ibm1156.h: Likewise.
13968 * iconvdata/ibm1157.h: Likewise.
13969 * iconvdata/ibm1158.h: Likewise.
13970 * iconvdata/ibm1160.h: Likewise.
13971 * iconvdata/ibm1161.h: Likewise.
13972 * iconvdata/ibm1162.h: Likewise.
13973 * iconvdata/ibm1163.h: Likewise.
13974 * iconvdata/ibm1164.h: Likewise.
13975 * iconvdata/ibm1166.h: Likewise.
13976 * iconvdata/ibm1167.h: Likewise.
13977 * iconvdata/ibm12712.h: Likewise.
13978 * iconvdata/ibm1390.h: Likewise.
13979 * iconvdata/ibm1399.h: Likewise.
13980 * iconvdata/ibm16804.h: Likewise.
13981 * iconvdata/ibm4517.h: Likewise.
13982 * iconvdata/ibm4899.h: Likewise.
13983 * iconvdata/ibm4909.h: Likewise.
13984 * iconvdata/ibm4971.h: Likewise.
13985 * iconvdata/ibm5347.h: Likewise.
13986 * iconvdata/ibm803.h: Likewise.
13987 * iconvdata/ibm856.h: Likewise.
13988 * iconvdata/ibm901.h: Likewise.
13989 * iconvdata/ibm902.h: Likewise.
13990 * iconvdata/ibm9030.h: Likewise.
13991 * iconvdata/ibm9066.h: Likewise.
13992 * iconvdata/ibm921.h: Likewise.
13993 * iconvdata/ibm922.h: Likewise.
13994 * iconvdata/ibm9448.h: Likewise.
13995 * iconvdata/isiri-3342.h: Likewise.
13996 * iconvdata/jis0201.h: Likewise.
13997 * include/link.h: Likewise.
13998 * include/netdb.h: Likewise.
13999 * inet/check_native.c: Likewise.
14000 * inet/check_pf.c: Likewise.
14001 * inet/getipv4sourcefilter.c: Likewise.
14002 * inet/getnameinfo.c: Likewise.
14003 * inet/getsourcefilter.c: Likewise.
14004 * inet/htonl.c: Likewise.
14005 * inet/setipv4sourcefilter.c: Likewise.
14006 * inet/setsourcefilter.c: Likewise.
14007 * inet/test-inet6_opt.c: Likewise.
14008 * inet/tst-network.c: Likewise.
14009 * locale/C-collate.c: Likewise.
14010 * locale/C-ctype.c: Likewise.
14011 * locale/C-time.c: Likewise.
14012 * locale/C-translit.h: Likewise.
14013 * locale/loadarchive.c: Likewise.
14014 * locale/programs/3level.h: Likewise.
14015 * locale/programs/charmap.c: Likewise.
14016 * locale/programs/charmap.h: Likewise.
14017 * locale/programs/ld-address.c: Likewise.
14018 * locale/programs/ld-collate.c: Likewise.
14019 * locale/programs/ld-ctype.c: Likewise.
14020 * locale/programs/ld-identification.c: Likewise.
14021 * locale/programs/ld-measurement.c: Likewise.
14022 * locale/programs/ld-messages.c: Likewise.
14023 * locale/programs/ld-monetary.c: Likewise.
14024 * locale/programs/ld-name.c: Likewise.
14025 * locale/programs/ld-numeric.c: Likewise.
14026 * locale/programs/ld-paper.c: Likewise.
14027 * locale/programs/ld-telephone.c: Likewise.
14028 * locale/programs/ld-time.c: Likewise.
14029 * locale/programs/linereader.c: Likewise.
14030 * locale/programs/locale.c: Likewise.
14031 * locale/programs/locarchive.c: Likewise.
14032 * locale/programs/locfile.h: Likewise.
14033 * locale/programs/repertoire.c: Likewise.
14034 * locale/programs/simple-hash.c: Likewise.
14035 * locale/programs/simple-hash.h: Likewise.
14036 * malloc/memusage.c: Likewise.
14037 * malloc/memusagestat.c: Likewise.
14038 * nis/nis_defaults.c: Likewise.
14039 * nis/nis_hash.c: Likewise.
14040 * nis/nis_print.c: Likewise.
14041 * nis/nis_xdr.c: Likewise.
14042 * nscd/connections.c: Likewise.
14043 * nscd/hstcache.c: Likewise.
14044 * nscd/nscd_gethst_r.c: Likewise.
14045 * nscd/nscd_getserv_r.c: Likewise.
14046 * nscd/nscd_helper.c: Likewise.
14047 * nscd/servicescache.c: Likewise.
14048 * nss/makedb.c: Likewise.
14049 * nss/nss_db/db-XXX.c: Likewise.
14050 * nss/nss_db/db-initgroups.c: Likewise.
14051 * nss/nss_db/db-netgrp.c: Likewise.
14052 * nss/nss_files/files-network.c: Likewise.
14053 * nss/nss_files/files-parse.c: Likewise.
14054 * posix/bug-regex5.c: Likewise.
14055 * posix/fnmatch_loop.c: Likewise.
14056 * posix/regcomp.c: Likewise.
14057 * posix/regexec.c: Likewise.
14058 * posix/tst-rfc3484-2.c: Likewise.
14059 * posix/tst-rfc3484-3.c: Likewise.
14060 * posix/tst-rfc3484.c: Likewise.
14061 * resolv/nss_dns/dns-canon.c: Likewise.
14062 * resolv/nss_dns/dns-network.c: Likewise.
14063 * resolv/res_init.c: Likewise.
14064 * resolv/res_mkquery.c: Likewise.
14065 * resolv/tst-aton.c: Likewise.
14066 * stdlib/cxa_atexit.c: Likewise.
14067 * stdlib/cxa_finalize.c: Likewise.
14068 * stdlib/gen-fpioconst.c: Likewise.
14069 * stdlib/strtol_l.c: Likewise.
14070 * string/tst-endian.c: Likewise.
14071 * sunrpc/auth_des.c: Likewise.
14072 * sunrpc/clnt_udp.c: Likewise.
14073 * sunrpc/rtime.c: Likewise.
14074 * sunrpc/svcauth_des.c: Likewise.
14075 * sunrpc/xdr.c: Likewise.
14076 * sunrpc/xdr_intXX_t.c: Likewise.
14077 * sunrpc/xdr_rec.c: Likewise.
14078 * sysdeps/generic/ldconfig.h: Likewise.
14079 * sysdeps/generic/ldsodefs.h: Likewise.
14080 * sysdeps/generic/memusage.h: Likewise.
14081 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
14082 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
14083 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
14084 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
14085 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
14086 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
14087 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
14088 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
14089 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
14090 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
14091 * sysdeps/posix/getaddrinfo.c: Likewise.
14092 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
14093 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14094 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
14095 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
14096 * sysdeps/powerpc/test-gettimebase.c: Likewise.
14097 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
14098 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
14099 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
14100 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
14101 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
14102 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
14103 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
14104 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
14105 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
14106 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
14107 * sysdeps/x86_64/dl-tls.h: Likewise.
14108 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
14109 * time/alt_digit.c: Likewise.
14110 * time/era.c: Likewise.
14111 * wcsmbs/tst-c16c32-1.c: Likewise.
14113 2013-05-16 Joseph Myers <joseph@codesourcery.com>
14115 * math/libm-test.inc (struct test_sincos_data): New type.
14116 (RUN_TEST_LOOP_sincos): New macro.
14117 (sincos_test_data): New variable.
14118 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
14120 2013-05-16 Richard Henderson <rth@redhat.com>
14122 * math/atest-exp2.c (LIMB64): New macro.
14123 (CONSTSZ): New macro.
14124 (mp_exp1, mp_exp_m1, mp_log2): New variables.
14126 (print_mpn_fp): ... to function scope.
14127 (read_mpn_hex): Remove.
14128 (get_log2): Remove.
14129 (exp2_mpn): Use mp_log2.
14130 (main): Use mp_exp1.
14132 2013-05-16 Joseph Myers <joseph@codesourcery.com>
14134 * math/libm-test.inc: Remove comment about not testing "inexact"
14136 (INEXACT_EXCEPTION): New macro.
14137 (NO_INEXACT_EXCEPTION): Likewise.
14138 (INVALID_EXCEPTION_OK): Update value.
14139 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
14140 (OVERFLOW_EXCEPTION_OK): Likewise.
14141 (UNDERFLOW_EXCEPTION_OK): Likewise.
14142 (IGNORE_ZERO_INF_SIGN): Likewise.
14143 (ERRNO_UNCHANGED): Likewise.
14144 (ERRNO_EDOM): Likewise.
14145 (ERRNO_ERANGE): Likewise.
14146 (test_exceptions): Handle testing "inexact" exceptions.
14147 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
14148 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
14149 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
14150 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
14152 (rint_towardzero_test_data): Likewise.
14153 (rint_downward_test_data): Likewise.
14154 (rint_upward_test_data): Likewise.
14156 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
14157 with OVERFLOW_EXCEPTION.
14158 (exp10_test_data): Likewise.
14159 (exp2_test_data): Likewise.
14160 (expm1_test_data): Likewise.
14161 (lgamma_test_data): Likewise.
14162 (pow_test_data): Likewise.
14163 (tgamma_test_data): Likewise.
14164 (yn_test_data): Remove duplicate test of overflow.
14166 * math/libm-test.inc (struct test_cc_c_data): New type.
14167 (RUN_TEST_LOOP_cc_c): New macro.
14168 (cpow_test_data): New variable.
14169 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
14171 * math/libm-test.inc (struct test_f_L_data): New type.
14172 (RUN_TEST_LOOP_f_L): New macro.
14173 (llrint_test_data): New variable.
14174 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
14175 (llrint_tonearest_test_data): New variable.
14176 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
14177 (llrint_towardzero_test_data): New variable.
14178 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
14179 (llrint_downward_test_data): New variable.
14180 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
14181 (llrint_upward_test_data): New variable.
14182 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
14183 (llround_test_data): New variable.
14184 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
14186 2013-05-13 Peter Collingbourne <pcc@google.com>
14188 * math/atest-exp2.c (get_log2): Remove const attribute.
14190 2013-05-15 Joseph Myers <joseph@codesourcery.com>
14192 * math/libm-test.inc (struct test_f_l_data): New type.
14193 (RUN_TEST_LOOP_f_l): New macro.
14194 (lrint_test_data): New variable.
14195 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
14196 (lrint_tonearest_test_data): New variable.
14197 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
14198 (lrint_towardzero_test_data): New variable.
14199 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
14200 (lrint_downward_test_data): New variable.
14201 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
14202 (lrint_upward_test_data): New variable.
14203 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
14204 (lround_test_data): New variable.
14205 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
14207 2013-05-15 Peter Collingbourne <pcc@google.com>
14209 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
14210 (EXTRACT_WORDS64) Use where appropriate.
14211 (INSERT_WORDS64) Likewise.
14213 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
14214 constraints with x constraints.
14215 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
14217 * malloc/obstack.c (_obstack_compat): Add initializer.
14219 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
14221 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
14222 si_trapno and add si_addr_lsb to _sifields.sigfault.
14223 (si_trapno): Remove macro.
14224 (si_addr_lsb): Define new macro.
14225 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
14227 2013-05-15 Joseph Myers <joseph@codesourcery.com>
14229 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
14230 instead of TEST_f_l.
14231 (llrint_test_tonearest): Likewise.
14232 (llrint_test_towardzero): Likewise.
14233 (llrint_test_downward): Likewise.
14234 (llrint_test_upward): Likewise.
14235 (llround_test): Likewise.
14237 * math/libm-test.inc (struct test_f_i_data): Add comment.
14238 (RUN_TEST_LOOP_f_b): New macro.
14239 (RUN_TEST_LOOP_f_b_tg): Likewise.
14240 (finite_test_data): New variable.
14241 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
14242 (isfinite_test_data): New variable.
14243 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14244 (isinf_test_data): New variable.
14245 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14246 (isnan_test_data): New variable.
14247 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14248 (isnormal_test_data): New variable.
14249 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14250 (issignaling_test_data): New variable.
14251 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14252 (signbit_test_data): New variable.
14253 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14255 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
14256 with INVALID_EXCEPTION.
14257 (acosh_test_data): Likewise.
14258 (asin_test_data): Likewise.
14259 (atanh_test_data): Likewise.
14260 (fmod_test_data): Likewise.
14261 (log_test_data): Likewise.
14262 (log10_test_data): Likewise.
14263 (log2_test_data): Likewise.
14264 (pow_test_data): Likewise.
14265 (sqrt_test_data): Likewise.
14266 (y0_test_data): Likewise.
14267 (y1_test_data): Likewise.
14268 (yn_test_data): Likewise.
14270 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
14273 * math/libm-test.inc (struct test_ff_i_data): New type.
14274 (RUN_TEST_LOOP_ff_i_tg): New macro.
14275 (isgreater_test_data): New variable.
14276 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14277 (isgreaterequal_test_data): New variable.
14278 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14279 (isless_test_data): New variable.
14280 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14281 (islessequal_test_data): New variable.
14282 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14283 (islessgreater_test_data): New variable.
14284 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14285 (isunordered_test_data): New variable.
14286 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14288 2013-05-14 David S. Miller <davem@davemloft.net>
14290 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14292 2013-05-14 Joseph Myers <joseph@codesourcery.com>
14294 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
14296 * math/libm-test.inc (struct test_fF_f1_data): Change type of
14298 (struct test_f_i_data): Change type of max_ulp to int.
14300 * math/libm-test.inc (test_ffI_f1_data): New type.
14301 (RUN_TEST_LOOP_ffI_f1): New macro.
14302 (remquo_test_data): New variable.
14303 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
14305 * setjmp/tst-setjmp-fp.c: New file.
14306 * setjmp/Makefile (tests): Add tst-setjmp-fp.
14307 (link-libm): New variable.
14308 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
14310 * math/libm-test.inc (struct test_f_i_data): New type.
14311 (RUN_TEST_LOOP_f_i): New macro.
14312 (RUN_TEST_LOOP_f_i_tg): Likewise.
14313 (fpclassify_test_data): New variable.
14314 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
14315 (ilogb_test_data): New variable.
14316 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
14318 * math/libm-test.inc (scalbln_test): Correct function name in END
14321 * math/libm-test.inc (struct test_f_f1_data): Add comment.
14322 (RUN_TEST_LOOP_fI_f1): New macro.
14323 (frexp_test_data): New variable.
14324 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
14326 * math/libm-test.inc (struct test_fF_f1_data): New type.
14327 (RUN_TEST_LOOP_fF_f1): New macro.
14328 (modf_test_data): New variable.
14329 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
14331 * math/libm-test.inc (struct test_f_f1_data): New type.
14332 (RUN_TEST_LOOP_f_f1): New macro.
14333 (gamma_test_data): New variable.
14334 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
14335 (lgamma_test_data): New variable.
14336 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
14338 2013-05-13 Carlos O'Donell <carlos@redhat.com>
14340 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
14341 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
14342 (main): Comment "tls" pseudo-hwcap.
14344 2013-05-13 Joseph Myers <joseph@codesourcery.com>
14346 * math/libm-test.inc (struct test_fl_f_data): New type.
14347 (RUN_TEST_LOOP_fl_f): New variable.
14348 (scalbln_test_data): New variable.
14349 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
14351 * math/libm-test.inc (struct test_fi_f_data): New type.
14352 (RUN_TEST_LOOP_fi_f): New macro.
14353 (ldexp_test_data): New variable.
14354 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
14355 (scalbn_test_data): New variable.
14356 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
14358 * math/libm-test.inc (struct test_c_f_data): New type.
14359 (RUN_TEST_LOOP_c_f): New macro.
14360 (cabs_test_data): New variable.
14361 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
14362 (carg_test_data): New variable.
14363 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
14364 (cimag_test_data): New variable.
14365 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
14366 (creal_test_data): New variable.
14367 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
14369 * math/libm-test.inc (struct test_if_f_data): New type.
14370 (RUN_TEST_LOOP_if_f): New macro.
14371 (jn_test_data): New variable.
14372 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
14373 (yn_test_data): New variable.
14374 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
14376 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
14378 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14380 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
14381 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
14383 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
14385 * benchtests/Makefile (CPPFLAGS-nonlib): Add
14386 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
14387 (bench-deps): Add bench-timing.h.
14388 * benchtests-bench-skeleton.c: Include bench-timing.h.
14389 (main): Use TIMING_* macros instead of clock_gettime.
14390 * benchtests/bench-timing.h: New file.
14393 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
14394 Renamed from _LIB_VERSION.
14395 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
14397 2013-05-12 Joseph Myers <joseph@codesourcery.com>
14399 * math/libm-test.inc (struct test_fff_f_data): New type.
14400 (RUN_TEST_LOOP_fff_f): New macro.
14401 (fma_test_data): New variable.
14402 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
14403 (fma_towardzero_test_data): New variable.
14404 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
14405 (fma_downward_test_data): New variable.
14406 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
14407 (fma_upward_test_data): New variable.
14408 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
14410 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
14411 (struct test_c_c_data): New type.
14412 (RUN_TEST_LOOP_c_c): New macro.
14413 (cacos_test_data): New variable.
14414 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
14415 (cacosh_test_data): New variable.
14416 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
14417 (casin_test_data): New variable.
14418 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
14419 (casinh_test_data): New variable.
14420 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
14421 (catan_test_data): New variable.
14422 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
14423 (catanh_test_data): New variable.
14424 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
14425 (ccos_test_data): New variable.
14426 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
14427 (ccosh_test_data): New variable.
14428 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
14429 (cexp_test_data): New variable.
14430 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
14431 (clog_test_data): New variable.
14432 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
14433 (clog10_test_data): New variable.
14434 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
14435 (conj_test_data): New variable.
14436 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
14437 (cproj_test_data): New variable.
14438 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
14439 (csin_test_data): New variable.
14440 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
14441 (csinh_test_data): New variable.
14442 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
14443 (csqrt_test_data): New variable.
14444 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
14445 (ctan_test_data): New variable.
14446 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
14447 (ctan_tonearest_test_data): New variable.
14448 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
14449 (ctan_towardzero_test_data): New variable.
14450 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
14451 (ctan_downward_test_data): New variable.
14452 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
14453 (ctan_upward_test_data): New variable.
14454 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
14455 (ctanh_test_data): New variable.
14456 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
14457 (ctanh_tonearest_test_data): New variable.
14458 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
14459 (ctanh_towardzero_test_data): New variable.
14460 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
14461 (ctanh_downward_test_data): New variable.
14462 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
14463 (ctanh_upward_test_data): New variable.
14464 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
14465 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
14468 * math/libm-test.inc (struct test_ff_f_data): New type.
14469 (struct test_ff_f_data_nexttoward): Likewise.
14470 (RUN_TEST_LOOP_2_f): New macro.
14471 (RUN_TEST_LOOP_ff_f): Likewise.
14472 (atan2_test_data): New variable.
14473 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
14474 (copysign_test_data): New variable.
14475 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
14476 (fdim_test_data): New variable.
14477 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
14478 (fmax_test_data): New variable.
14479 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
14480 (fmin_test_data): New variable.
14481 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
14482 (fmod_test_data): New variable.
14483 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
14484 (hypot_test_data): New variable.
14485 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
14486 (nextafter_test_data): New variable.
14487 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
14488 (nexttoward_test_data): New variable.
14489 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
14490 (pow_test_data): New variable.
14491 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
14492 (pow_tonearest_test_data): New variable.
14493 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
14494 (pow_towardzero_test_data): New variable.
14495 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
14496 (pow_downward_test_data): New variable.
14497 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
14498 (pow_upward_test_data): New variable.
14499 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
14500 (remainder_test_data): New variable.
14501 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
14502 (scalb_test_data): New variable.
14503 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
14504 * sysdeps/i386/fpu/libm-test-ulps: Update.
14506 2013-05-11 Joseph Myers <joseph@codesourcery.com>
14508 * math/libm-test.inc (fma_test): Use max_value instead of local
14510 (nextafter_test): Likewise.
14512 * math/libm-test.inc (acos_towardzero_test_data): New variable.
14513 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14514 (acos_downward_test_data): New variable.
14515 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14516 (acos_upward_test_data): New variable.
14517 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14518 (acosh_test_data): New variable.
14519 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
14520 (asin_test_data): New variable.
14521 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
14522 (asin_tonearest_test_data): New variable.
14523 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14524 (asin_towardzero_test_data): New variable.
14525 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14526 (asin_downward_test_data): New variable.
14527 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14528 (asin_upward_test_data): New variable.
14529 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14530 (asinh_test_data): New variable.
14531 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
14532 (atan_test_data): New variable.
14533 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
14534 (atanh_test_data): New variable.
14535 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
14536 (cbrt_test_data): New variable.
14537 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
14538 (ceil_test_data): New variable.
14539 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
14540 (cos_test_data): New variable.
14541 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
14542 (cos_tonearest_test_data): New variable.
14543 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14544 (cos_towardzero_test_data): New variable.
14545 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14546 (cos_downward_test_data): New variable.
14547 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14548 (cos_upward_test_data): New variable.
14549 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14550 (cosh_test_data): New variable.
14551 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
14552 (cosh_tonearest_test_data): New variable.
14553 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14554 (cosh_towardzero_test_data): New variable.
14555 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14556 (cosh_downward_test_data): New variable.
14557 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14558 (cosh_upward_test_data): New variable.
14559 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14560 (erf_test_data): New variable.
14561 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
14562 (erfc_test_data): New variable.
14563 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
14564 (exp_test_data): New variable.
14565 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
14566 (exp_tonearest_test_data): New variable.
14567 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14568 (exp_towardzero_test_data): New variable.
14569 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14570 (exp_downward_test_data): New variable.
14571 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14572 (exp_upward_test_data): New variable.
14573 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14574 (exp10_test_data): New variable.
14575 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
14576 (exp2_test_data): New variable.
14577 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
14578 (expm1_test_data): New variable.
14579 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
14580 (fabs_test_data): New variable.
14581 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
14582 (floor_test_data): New variable.
14583 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
14584 (j0_test_data): New variable.
14585 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
14586 (j1_test_data): New variable.
14587 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
14588 (log_test_data): New variable.
14589 (log_test): Run tests with RUN_TEST_LOOP_f_f.
14590 (log10_test_data): New variable.
14591 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
14592 (log1p_test_data): New variable.
14593 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
14594 (log2_test_data): New variable.
14595 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
14596 (logb_test_data): New variable.
14597 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
14598 (logb_downward_test_data): New variable.
14599 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14600 (nearbyint_test_data): New variable.
14601 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
14602 (rint_test_data): New variable.
14603 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
14604 (rint_tonearest_test_data): New variable.
14605 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14606 (rint_towardzero_test_data): New variable.
14607 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14608 (rint_downward_test_data): New variable.
14609 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14610 (rint_upward_test_data): New variable.
14611 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14612 (round_test_data): New variable.
14613 (round_test): Run tests with RUN_TEST_LOOP_f_f.
14614 (sin_test_data): New variable.
14615 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
14616 (sin_tonearest_test_data): New variable.
14617 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14618 (sin_towardzero_test_data): New variable.
14619 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14620 (sin_downward_test_data): New variable.
14621 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14622 (sin_upward_test_data): New variable.
14623 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14624 (sinh_test_data): New variable.
14625 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
14626 (sinh_tonearest_test_data): New variable.
14627 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14628 (sinh_towardzero_test_data): New variable.
14629 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14630 (sinh_downward_test_data): New variable.
14631 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14632 (sinh_upward_test_data): New variable.
14633 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14634 (sqrt_test_data): New variable.
14635 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
14636 (tan_test_data): New variable.
14637 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
14638 (tan_tonearest_test_data): New variable.
14639 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14640 (tan_towardzero_test_data): New variable.
14641 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14642 (tan_downward_test_data): New variable.
14643 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14644 (tan_upward_test_data): New variable.
14645 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14646 (tanh_test_data): New variable.
14647 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
14648 (tgamma_test_data): New variable.
14649 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
14650 (trunc_test_data): New variable.
14651 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
14652 (y0_test_data): New variable.
14653 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
14654 (y1_test_data): New variable.
14655 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
14656 (significand_test_data): New variable.
14657 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
14659 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
14662 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
14664 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
14666 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
14668 2013-05-10 Andreas Jaeger <aj@suse.de>
14671 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
14672 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
14674 2013-05-10 Joseph Myers <joseph@codesourcery.com>
14676 * math/gen-libm-test.pl (adjust_arg): New function.
14677 (special_functions): Handle generating output in both functions
14679 (parse_args): Likewise.
14680 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
14681 $in_func argument to parse_args.
14682 * math/libm-test.inc (struct test_f_f_data): New type.
14683 (IF_ROUND_INIT_): New macro.
14684 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
14685 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
14686 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
14687 (IF_ROUND_INIT_FE_UPWARD): Likewise.
14688 (ROUND_RESTORE_): Likewise.
14689 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
14690 (ROUND_RESTORE_FE_TONEAREST): Likewise.
14691 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
14692 (ROUND_RESTORE_FE_UPWARD): Likewise.
14693 (RUN_TEST_LOOP_f_f): New macro.
14694 (acos_test_data): New variable.
14695 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
14696 (acos_tonearest_test_data): New variable.
14697 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14699 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14701 * benchtests/bench-skeleton.c (startup): Fix coding style.
14703 2013-05-10 Joseph Myers <joseph@codesourcery.com>
14706 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
14707 negative infinity argument.
14708 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
14709 negative infinity argument.
14710 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
14711 negative infinity argument.
14712 * math/libm-test.inc (tgamma_test): Expect errno to be set for
14715 2013-05-10 Florian Weimer <fweimer@redhat.com>
14717 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
14718 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
14719 * iconv/iconv_prog.c (main): Likewise.
14720 * locale/programs/charmap-dir.c (charmap_readdir)
14721 (fopen_uncompressed): Likewise.
14722 * locale/programs/locfile.c (siblings_uncached)
14723 (write_locale_data): Use lstat64 instead of lstat.
14724 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
14727 2013-05-10 Andreas Jaeger <aj@suse.de>
14730 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
14732 Include <locale.h>.
14734 2013-05-09 Carlos O'Donell <carlos@redhat.com>
14736 * elf/dl-close.c (_dl_close_worker): Add comments.
14738 2013-05-09 Joseph Myers <joseph@codesourcery.com>
14741 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
14743 (__ieee754_rem_pio2l): Update comments.
14746 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
14748 (__ieee754_rem_pio2l): Update comments.
14750 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
14751 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
14753 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
14756 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
14757 (M_PI_34_LOG10El): Likewise.
14758 (M_PI2_LOG10El): Likewise.
14759 (M_PI4_LOG10El): Likewise.
14760 (M_PI_LOG10El): Likewise.
14762 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14764 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14766 2013-05-08 Joseph Myers <joseph@codesourcery.com>
14768 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
14769 (MINUS_ZERO_INIT): Likewise.
14770 (PLUS_INFTY_INIT): Likewise.
14771 (MINUS_INFTY_INIT): Likewise.
14772 (QNAN_VALUE_INIT): Likewise.
14773 (MAX_VALUE_INIT): Likewise.
14774 (MIN_VALUE_INIT): Likewise.
14775 (MIN_SUBNORM_VALUE_INIT): Likewise.
14776 (plus_zero): Initialize with PLUS_ZERO_INIT.
14777 (minus_zero): Initialize with MINUS_ZERO_INIT.
14778 (plus_infty): Initialize with PLUS_INFTY_INIT.
14779 (minus_infty): Initialize with MINUS_INFTY_INIT.
14780 (qnan_value): Initialize with QNAN_VALUE_INIT.
14781 (max_value): Initialize with MAX_VALUE_INIT.
14782 (min_value): Initialize with MIN_VALUE_INIT.
14783 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
14785 * math/libm-test.inc (RUN_TEST_if_f): New macro.
14786 (jn_test): Use TEST_if_f instead of TEST_ff_f.
14787 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
14788 (yn_test): Use TEST_if_f instead of TEST_ff_f.
14790 * math/libm-test.inc (RUN_TEST_f_f): New macro.
14791 (RUN_TEST_2_f): Likewise.
14792 (RUN_TEST_ff_f): Likewise.
14793 (RUN_TEST_fi_f): Likewise.
14794 (RUN_TEST_fl_f): Likewise.
14795 (RUN_TEST_fff_f): Likewise.
14796 (RUN_TEST_c_f): Likewise.
14797 (RUN_TEST_f_f1): Likewise.
14798 (RUN_TEST_fF_f1): Likewise.
14799 (RUN_TEST_fI_f1): Likewise.
14800 (RUN_TEST_ffI_f1): Likewise.
14801 (RUN_TEST_c_c): Likewise.
14802 (RUN_TEST_cc_c): Likewise.
14803 (RUN_TEST_f_i): Likewise.
14804 (RUN_TEST_f_i_tg): Likewise.
14805 (RUN_TEST_ff_i_tg): Likewise.
14806 (RUN_TEST_f_b): Likewise.
14807 (RUN_TEST_f_b_tg): Likewise.
14808 (RUN_TEST_f_l): Likewise.
14809 (RUN_TEST_f_L): Likewise.
14810 (RUN_TEST_sincos): Likewise.
14811 * math/gen-libm-test.pl (new_test): Take new argument to indicate
14812 whether to show exceptions. Do not include ");\n" in return
14814 (special_functions): Output call to RUN_TEST_sincos instead of
14815 check_float calls. Update calls to new_test.
14816 (parse_args): Output call to single RUN_TEST_* macro instead of
14817 check_* calls and other assignments. Update calls to new_test.
14823 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
14824 input to result for tgamma overflow.
14825 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
14826 (gamma_coeff): New variable.
14827 (NCOEFF): New macro.
14828 (gamma_positive): New function.
14829 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
14830 underflow here. Use gamma_positive instead of exp (lgamma) for
14832 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
14833 (gamma_coeff): New variable.
14834 (NCOEFF): New macro.
14835 (gammaf_positive): New function.
14836 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
14837 underflow here. Use gamma_positive instead of exp (lgamma) for
14839 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
14840 (gamma_coeff): New variable.
14841 (NCOEFF): New macro.
14842 (gammal_positive): New function.
14843 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
14844 underflow here. Use gamma_positive instead of exp (lgamma) for
14846 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
14847 (gamma_coeff): New variable.
14848 (NCOEFF): New macro.
14849 (gammal_positive): New function.
14850 (__ieee754_gammal_r): Handle positive infinity, overflow and
14851 underflow here. Handle NaN the same as positive infinity. Remove
14852 check x < 0xffffffff for negative integers. Use gamma_positive
14853 instead of exp (lgamma) for other arguments.
14854 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
14855 (gamma_coeff): New variable.
14856 (NCOEFF): New macro.
14857 (gammal_positive): New function.
14858 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
14859 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
14860 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
14861 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
14862 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
14863 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
14864 * sysdeps/generic/math_private.h (__gamma_productf): New
14866 (__gamma_product): Likewise.
14867 (__gamma_productl): Likewise.
14868 * math/Makefile (libm-calls): Add gamma_product.
14869 * math/libm-test.inc (tgamma_test): Add more tests.
14870 * sysdeps/i386/fpu/libm-test-ulps: Update.
14871 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14873 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
14875 * benchtests/bench-skeleton.c (main): Preheat CPU.
14877 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
14879 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
14881 2013-05-07 Roland McGrath <roland@hack.frob.com>
14883 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
14884 and _dl_skip_args_internal.
14886 2013-05-07 Carlos O'Donell <carlos@redhat.com>
14888 * manual/message.texi (Message Translation): Talk about users.
14889 Message to key mapping impacts design.
14891 2013-05-06 Roland McGrath <roland@hack.frob.com>
14893 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
14895 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
14897 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
14898 * sysdeps/wordsize-64/glob64.c: ... here.
14900 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
14901 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
14904 * debug/getlogin_r_chk.c: Moved to ...
14905 * login/getlogin_r_chk.c: ... here.
14906 * debug/Makefile (routines): Move getlogin_r_chk to ...
14907 * login/Makefile (routines): ... here.
14908 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
14909 * login/Versions (libc: GLIBC_2.4): ... here.
14911 * io/poll.c (__poll): Renamed from poll.
14912 Add libc_hidden_def.
14913 (poll): Define as weak alias.
14915 * debug/ptsname_r_chk.c: Moved to ...
14916 * login/ptsname_r_chk.c: ... here.
14917 * debug/Makefile (routines): Move ptsname_r_chk to ...
14918 * login/Makefile (routines): ... here.
14919 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
14920 * login/Versions (libc: GLIBC_2.4): ... here.
14922 * posix/getlogin.c: Moved to ...
14923 * login/getlogin.c: ... here.
14924 * posix/getlogin_r.c: Moved to ...
14925 * login/getlogin_r.c: ... here.
14926 * posix/getlogin_r.c: Moved to ...
14927 * login/getlogin_r.c: ... here.
14928 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
14929 * login/Makefile (routines): ... here.
14930 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
14931 * login/Versions (libc: GLIBC_2.0): ... here.
14933 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
14934 (setrlimit): Define as weak alias.
14936 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
14937 Call __ names for open, ftruncate, and close.
14938 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
14939 (truncate): Define as weak alias.
14941 2013-05-06 Joseph Myers <joseph@codesourcery.com>
14943 * math/gen-libm-test.pl (parse_args): Initialize x before each
14944 test of frexp, modf and remquo.
14946 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
14947 test signgam value.
14949 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14953 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
14955 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14957 2013-05-06 Roland McGrath <roland@hack.frob.com>
14959 * elf/dl-writev.h: New file.
14960 * elf/dl-misc.c: Include it.
14961 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
14962 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
14964 2013-05-04 Joseph Myers <joseph@codesourcery.com>
14966 * math/libm-test.inc (noXFails): Remove variable.
14967 (noXPasses): Likewise.
14968 (BUILD_COMPLEX_INT): Remove macro.
14969 (print_screen): Remove xfail argument.
14970 (print_screen_max_error): Likewise.
14971 (update_stats): Likewise.
14972 (print_max_error): Likewise. Update calls to other affected
14974 (print_complex_max_error): Likewise.
14975 (test_single_exception): Update calls to print_screen.
14976 (test_single_errno): Likewise.
14977 (check_float_internal): Remove xfail argument. Update calls to
14978 other affected functions.
14979 (check_float): Likewise.
14980 (check_complex): Likewise.
14981 (check_int): Likewise.
14982 (check_long): Likewise.
14983 (check_bool): Likewise.
14984 (check_longlong): Likewise.
14985 (main): Don't print noXFails and noXPasses.
14986 * math/gen-libm-test.pl (top level): Don't mention expected
14987 failure handling in comment.
14988 (new_test): Don't handle expected failures.
14989 (parse_args): Don't mention expected failure handling in comment.
14990 (generate_testfile): Don't handle expected failures.
14991 (parse_ulps): Likewise.
14992 (print_ulps_file): Likewise.
14993 (get_failure): Remove function.
14994 (output_test): Don't handle expected failures.
14995 * make/README.libm-test: Don't mention expected failure handling.
14997 * math/libm-test.inc (plus_zero): Make const. Add initializer.
14998 (minus_zero): Likewise.
14999 (plus_infty): Likewise.
15000 (minus_infty): Likewise.
15001 (qnan_value): Likewise.
15002 (max_value): Likewise.
15003 (min_value): Likewise.
15004 (min_subnorm_value): Likewise.
15005 (initialize): Do not initialize those variables dynamically.
15007 2013-05-03 Roland McGrath <roland@hack.frob.com>
15009 * io/open.c (__open_2): Moved to ...
15010 * io/open_2.c: ... this new file.
15011 * io/open64.c (__open64_2): Moved to ...
15012 * io/open64_2.c: ... this new file.
15013 * io/openat.c (__openat_2): Moved to ...
15014 * io/openat_2.c: ... this new file.
15015 * io/openat64.c (__openat64_2): Moved to ...
15016 * io/openat64_2.c: ... this new file.
15017 * io/Makefile (routines): Add them.
15018 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
15019 * sysdeps/unix/sysv/linux/open_2.c: File removed.
15020 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
15021 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
15022 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
15023 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
15024 (__openat64): Add hidden_ver.
15025 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
15026 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
15028 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
15029 Separately conditionalize setting of GLRO(dl_sysinfo) so
15030 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
15031 as well, but the actual setting is only under [NEED_DL_SYSINFO].
15033 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15035 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
15036 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
15038 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
15039 * sysdeps/unix/sysv/linux/powerpc/init-first.c
15040 (_libc_vdso_platform_setup): Add __vdso_time initialization.
15041 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
15042 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
15044 2013-05-03 Joseph Myers <joseph@codesourcery.com>
15046 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
15047 test signgam value.
15049 * math/libm-test.inc (hypot_test): Do not use
15050 IGNORE_ZERO_INF_SIGN.
15052 2013-05-03 Andreas Jaeger <aj@suse.de>
15054 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
15056 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
15057 (PF_MAX): Adjust for VSOCK change.
15059 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15061 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15063 2013-05-02 Carlos O'Donell <carlos@redhat.com>
15066 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
15067 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
15068 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
15070 2013-05-02 David S. Miller <davem@davemloft.net>
15072 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15074 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
15076 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
15078 2013-05-01 Roland McGrath <roland@hack.frob.com>
15080 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
15082 2013-05-01 Richard Smith <richard@metafoo.co.uk>
15085 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
15086 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
15087 Use __attribute__ ((__gnu_inline__)).
15088 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
15089 Don't use __attribute__ ((__gnu_inline__)).
15091 2013-05-01 Joseph Myers <joseph@codesourcery.com>
15094 * math/s_catan.c (__catan): Handle small real or imaginary part of
15095 input specially to avoid spurious underflow.
15096 * math/s_catanf.c (__catanf): Likewise.
15097 * math/s_catanh.c (__catanh): Likewise.
15098 * math/s_catanhf.c (__catanhf): Likewise.
15099 * math/s_catanhl.c (__catanhl): Likewise.
15100 * math/s_catanl.c (__catanl): Likewise.
15101 * math/libm-test.inc (catan_test): Add more tests.
15102 (catanh_test): Likewise.
15103 * sysdeps/i386/fpu/libm-test-ulps: Update.
15104 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15106 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15108 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15110 2013-04-30 Joseph Myers <joseph@codesourcery.com>
15113 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
15114 accurately for denominator in atan2.
15115 * math/s_catanf.c (__catanf): Likewise.
15116 * math/s_catanh.c (__catanh): Likewise.
15117 * math/s_catanhf.c (__catanhf): Likewise.
15118 * math/s_catanhl.c (__catanhl): Likewise.
15119 * math/s_catanl.c (__catanl): Likewise.
15120 * math/libm-test.inc (catan_test): Add more tests.
15121 (catanh_test): Likewise.
15122 * sysdeps/i386/fpu/libm-test-ulps: Update.
15123 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15125 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15127 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
15129 * benchtests/Makefile (bench): Remove slow benchmarks.
15130 * benchtests/atan-inputs: Add slow benchmark inputs.
15131 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
15132 (BENCH_FUNC): Accept variant offset.
15134 * benchtests/bench-skeleton.c (main): Run benchmark for each
15136 * benchtests/cos-inputs: Add slow benchmark inputs.
15137 * benchtests/exp-inputs: Likewise.
15138 * benchtests/pow-inputs: Likewise.
15139 * benchtests/sin-inputs: Likewise.
15140 * benchtests/slowatan-inputs: Remove.
15141 * benchtests/slowatan.c: Remove.
15142 * benchtests/slowcos-inputs: Remove.
15143 * benchtests/slowcos.c: Remove.
15144 * benchtests/slowexp-inputs: Remove.
15145 * benchtests/slowexp.c: Remove.
15146 * benchtests/slowpow-inputs: Remove.
15147 * benchtests/slowpow.c: Remove.
15148 * benchtests/slowsin-inputs: Remove.
15149 * benchtests/slowsin.c: Remove.
15150 * benchtests/slowtan-inputs: Remove.
15151 * benchtests/slowtan.c: Remove.
15152 * benchtests/tan-inputs: Add slow benchmark inputs.
15153 * scripts/bench.pl: Parse comments and directives.
15155 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
15157 ($(objpfx)bench-%.c): Remove *-ITER.
15158 * benchtests/bench-modf.c: Remove definition of ITER.
15159 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
15160 (main): Loop for DURATION seconds instead of fixed number of
15162 * scripts/bench.pl: Don't expect iterations in parameters.
15164 2013-04-29 Roland McGrath <roland@hack.frob.com>
15166 * io/fchdir.c (__fchdir): Renamed from fchdir.
15167 (fchdir): Define as weak alias.
15169 2013-04-29 Joseph Myers <joseph@codesourcery.com>
15171 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
15172 (ERRNO_EDOM): Likewise.
15173 (ERRNO_ERANGE): Likewise.
15174 (noErrnoTests): New variable.
15175 (init_max_error): Set errno to 0.
15176 (test_single_errno): New function.
15177 (test_errno): Likewise.
15178 (check_float_internal): Call test_errno. Set errno to 0.
15179 (check_complex): Refer to errno tests in comment.
15180 (check_int): Call test_errno. Set errno to 0.
15181 (check_long): Likewise.
15182 (check_bool): Likewise.
15183 (check_longlong): Likewise.
15184 (cos_test): Use ERRNO_* flags for errno tests instead of
15186 (expm1_test): Likewise.
15187 (fmod_test): Likewise.
15188 (ilogb_test): Likewise.
15189 (lgamma_test): Likewise.
15190 (pow_test): Likewise.
15191 (remainder_test): Likewise.
15192 (sin_test): Likewise.
15193 (tan_test): Likewise.
15194 (yn_test): Likewise.
15195 (initialize): Set errno to 0.
15196 (main): Print number of errno tests.
15197 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
15199 2013-04-29 Andreas Jaeger <aj@suse.de>
15202 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
15206 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
15207 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
15211 * stdlib/random.c (__initstate): Return NULL if
15215 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
15216 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
15219 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15221 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15223 2013-04-29 Joseph Myers <joseph@codesourcery.com>
15225 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
15226 of individual tests.
15227 (casin_test): Likewise.
15228 (casinh_test): Likewise.
15230 2013-04-27 Joseph Myers <joseph@codesourcery.com>
15233 * math/s_catan.c (__catan): Handle arguments with large real or
15234 imaginary part separately without squaring.
15235 * math/s_catanf.c (__catanf): Likewise.
15236 * math/s_catanh.c (__catanh): Likewise.
15237 * math/s_catanhf.c (__catanhf): Likewise.
15238 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15240 (__catanhl): Handle arguments with large real or imaginary part
15241 separately without squaring.
15242 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15244 (__catanl): Handle arguments with large real or imaginary part
15245 separately without squaring.
15246 * math/libm-test.inc (catan_test): Add more tests.
15247 (catanh_test): Likewise.
15248 * sysdeps/i386/fpu/libm-test-ulps: Update.
15249 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15251 2013-04-27 Andreas Jaeger <aj@suse.de>
15254 * stdlib/stdlib.h: Update guards for qecvt.
15255 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
15258 2013-04-27 Allan McRae <allan@archlinux.org>
15260 * sysdeps/i386/fpu/libm-test-ulps: Update.
15262 2013-04-26 Joseph Myers <joseph@codesourcery.com>
15265 * math/s_catan.c: Include <float.h>.
15266 (__catan): Ensure underflow exception occurs for underflowed
15268 * math/s_catanf.c: Include <float.h>.
15269 (__catanf): Ensure underflow exception occurs for underflowed
15271 * math/s_catanh.c: Include <float.h>.
15272 (__catanh): Ensure underflow exception occurs for underflowed
15274 * math/s_catanhf.c: Include <float.h>.
15275 (__catanhf): Ensure underflow exception occurs for underflowed
15277 * math/s_catanhl.c: Include <float.h>.
15278 (__catanhl): Ensure underflow exception occurs for underflowed
15280 * math/s_catanl.c: Include <float.h>.
15281 (__catanl): Ensure underflow exception occurs for underflowed
15283 * math/libm-test.inc (catan_test): Add more tests.
15284 (catanh_test): Likewise.
15287 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
15288 underflowed result.
15289 * math/s_ccoshf.c (__ccoshf): Likewise.
15290 * math/s_ccoshl.c (__ccoshl): Likewise.
15291 * math/s_csin.c (__csin): Likewise.
15292 * math/s_csinf.c (__csinf): Likewise.
15293 * math/s_csinh.c (__csinh): Likewise.
15294 * math/s_csinhf.c (__csinhf): Likewise.
15295 * math/s_csinhl.c (__csinhl): Likewise.
15296 * math/s_csinl.c (__csinl): Likewise.
15297 * math/libm-test.inc (ccos_test): Add more tests.
15298 (ccosh_test): Likewise.
15299 (csin_test): Likewise.
15300 (csinh_test): Likewise.
15302 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15304 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
15305 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
15306 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
15307 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
15308 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
15309 powerpc/power5+/fpu folders.
15310 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
15313 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
15315 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15317 2013-04-25 Joseph Myers <joseph@codesourcery.com>
15319 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
15320 additions to variable.
15321 [$(config-machine) = x86_64] (modules-names): Likewise.
15322 ($(objpfx)tst-audit3): Remove dependency.
15323 ($(objpfx)tst-audit3.out): Likewise.
15324 ($(objpfx)tst-audit4): Likewise.
15325 ($(objpfx)tst-audit4.out): Likewise.
15326 ($(objpfx)tst-audit5): Likewise.
15327 ($(objpfx)tst-audit5.out): Likewise.
15328 ($(objpfx)tst-audit6): Likewise.
15329 ($(objpfx)tst-audit6.out): Likewise.
15330 ($(objpfx)tst-audit7): Likewise.
15331 ($(objpfx)tst-audit7.out): Likewise.
15332 (tst-audit3-ENV): Remove variable.
15333 (tst-audit4-ENV): Likewise.
15334 (tst-audit5-ENV): Likewise.
15335 (tst-audit6-ENV): Likewise.
15336 (tst-audit7-ENV): Likewise.
15337 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
15338 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
15339 addition to variable.
15340 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
15341 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
15342 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
15343 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
15344 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
15345 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
15346 tst-audit3, tst-audit4 and tst-audit5.
15347 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
15348 tst-audit6 and tst-audit7.
15349 [$(subdir) = elf] (modules-names): Add audit modules for those
15351 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
15352 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
15353 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
15354 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
15355 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
15356 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
15357 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
15358 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
15359 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
15360 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
15361 [$(subdir) = elf] (tst-audit3-ENV): New variable.
15362 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
15363 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
15364 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
15365 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
15366 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
15368 [$(subdir) = elf && $(config-cflags-avx) = yes]
15369 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
15370 [$(subdir) = elf && $(config-cflags-avx) = yes]
15371 (CFLAGS-tst-auditmod4a.c): Likewise.
15372 [$(subdir) = elf && $(config-cflags-avx) = yes]
15373 (CFLAGS-tst-auditmod4b.c): Likewise.
15374 [$(subdir) = elf && $(config-cflags-avx) = yes]
15375 (CFLAGS-tst-auditmod6b.c): Likewise.
15376 [$(subdir) = elf && $(config-cflags-avx) = yes]
15377 (CFLAGS-tst-auditmod6c.c): Likewise.
15378 [$(subdir) = elf && $(config-cflags-avx) = yes]
15379 (CFLAGS-tst-auditmod7b.c): Likewise.
15380 * elf/tst-audit3.c: Move to ...
15381 * sysdeps/x86_64/tst-audit3.c: ... here.
15382 * elf/tst-audit4.c: Move to ...
15383 * sysdeps/x86_64/tst-audit4.c: ... here.
15384 * elf/tst-audit5.c: Move to ...
15385 * sysdeps/x86_64/tst-audit5.c: ... here.
15386 * elf/tst-audit6.c: Move to ...
15387 * sysdeps/x86_64/tst-audit6.c: ... here.
15388 * elf/tst-audit7.c: Move to ...
15389 * sysdeps/x86_64/tst-audit7.c: ... here.
15390 * elf/tst-auditmod3a.c: Move to ...
15391 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
15392 * elf/tst-auditmod3b.c: Move to ...
15393 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
15394 * elf/tst-auditmod4a.c: Move to ...
15395 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
15396 * elf/tst-auditmod4b.c: Move to ...
15397 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
15398 * elf/tst-auditmod5a.c: Move to ...
15399 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
15400 * elf/tst-auditmod5b.c: Move to ...
15401 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
15402 * elf/tst-auditmod6a.c: Move to ...
15403 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
15404 * elf/tst-auditmod6b.c: Move to ...
15405 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
15406 * elf/tst-auditmod6c.c: Move to ...
15407 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
15408 * elf/tst-auditmod7a.c: Move to ...
15409 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
15410 * elf/tst-auditmod7b.c: Move to ...
15411 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
15413 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
15416 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
15417 define unconditionally.
15418 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
15419 define unconditionally.
15420 (INT8_C, INT16_C, etc.): Likewise.
15422 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
15424 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
15425 __ehdr_start with hidden visibility.
15427 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
15429 2013-04-24 Carlos O'Donell <carlos@redhat.com>
15431 * math/libm-test.inc (cos_test): Use accurate hex constants.
15432 (sincost_test): Likewise.
15434 2013-04-24 Joseph Myers <joseph@codesourcery.com>
15436 * math/libm-test.inc (catan_test): Add more tests.
15437 (catanh_test): Likewise.
15439 * math/s_catanf.c (__catanf): Use suffixed floating-point
15441 * math/s_catanhf.c (__catanhf): Likewise.
15442 * math/s_catanhl.c (__catanhl): Likewise.
15443 * math/s_catanl.c (__catanl): Likewise.
15446 * math/s_catan.c (__catan): Calculate imaginary part of result
15447 with log1p not log unless computing log of number close to 0.
15448 * math/s_catanf.c (__catanf): Likewise.
15449 * math/s_catanl.c (__catanl): Likewise.
15450 * math/s_catanh.c (__catanh): Calculate real part of result with
15451 log1p not log unless computing log of number close to 0.
15452 * math/s_catanhf.c (__catanhf): Likewise.
15453 * math/s_catanhl.c (__catanhl): Likewise.
15454 * math/libm-test.inc (catan_test): Add more tests.
15455 (catanh_test): Likewise.
15456 * sysdeps/i386/fpu/libm-test-ulps: Update.
15457 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15459 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15461 * benchtests/Makefile: Mention files in which fast and slow
15462 paths of math functions are implemented.
15464 2013-04-23 Roland McGrath <roland@hack.frob.com>
15466 * sysdeps/posix/timespec_get.c: New file.
15468 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15470 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
15472 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
15474 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
15475 powerpc/power5/fpu folders.
15476 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
15477 * benchtests/Makefile: Add modf testcase.
15478 * benchtests/bench-modf.c: New file: Benchmark test for mo
15480 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
15483 * time/Makefile (tests): Add tst-strptime-whitespace.
15484 * time/strptime_l.c (get_number): Use ISSPACE.
15485 (__strptime_internal): Likewise.
15486 * time/tst-strptime-whitespace.c: New test case.
15488 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
15490 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
15492 (_nss_files_init): Set it here.
15494 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
15496 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
15497 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
15500 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
15502 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
15504 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
15506 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
15509 2013-04-21 David S. Miller <davem@davemloft.net>
15511 * po/ru.po: Update Russion translation from translation project.
15513 2013-04-17 Adam Conrad <adconrad@0c3.net>
15515 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
15518 2013-04-17 Carlos O'Donell <carlos@redhat.com>
15520 * configure.in: Remove i386 configure warning. Remove i386 case.
15521 * configure: Regenerate.
15522 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
15523 Add example to error message.
15524 * sysdeps/i386/configure: Regenerate.
15526 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
15528 * benchtests/Makefile (bench): Add cos, tan, slowcos and
15530 * benchtests/cos-inputs: New file.
15531 * benchtests/slowcos-inputs: New file.
15532 * benchtests/slowcos.c: New file.
15533 * benchtests/slowtan-inputs: New file.
15534 * benchtests/slowtan.c: New file.
15535 * benchtests/tan-inputs: New file.
15537 2013-04-16 Roland McGrath <roland@hack.frob.com>
15539 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
15542 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15544 * benchtests/Makefile: Include cppflags-iterator.mk to add
15545 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
15547 * Makefile.in (bench-clean): New target.
15548 * benchtests/Makefile (bench-clean): Likewise.
15550 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
15552 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
15554 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
15556 * stdio-common/tstdiomisc.c: Fix coding-style violation.
15558 2013-04-15 Andreas Schwab <schwab@suse.de>
15560 * nscd/grpcache.c (cache_addgr): Properly check for short write.
15561 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15562 * nscd/pwdcache.c (cache_addpw): Likewise.
15563 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
15566 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15568 * benchtests/Makefile (bench): Write all output to
15569 bench-out.tmp together.
15571 2013-04-15 Andreas Schwab <schwab@suse.de>
15573 * nscd/nscd.c (main): Don't fork again after closing files.
15575 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15577 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
15579 * benchtests/Rules (bench-deps): Collect dependencies into a
15580 single variable. Add Makefile to dependencies.
15581 ($(objpfx)bench-%.c): Depend on bench-deps.
15583 2013-04-12 Roland McGrath <roland@hack.frob.com>
15584 Xavier Roche <roche+kml2@exalead.com>
15587 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
15588 just that it's a file descriptor.
15589 * manual/llio.texi (Synchronizing AIO Operations): Update description
15590 for EBADF error from aio_fsync.
15592 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15594 * Rules (bench): Move target definition...
15595 * benchtests/Makefile: ... here.
15597 2013-04-11 Carlos O'Donell <carlos@redhat.com>
15599 * math/libm-test.inc (cos_test): Fix PI/2 test.
15600 (sincos_test): Likewise.
15601 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
15602 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
15604 2013-04-11 Andreas Schwab <schwab@suse.de>
15607 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
15608 accept exponent character only when digits were seen.
15609 * stdio-common/Makefile (tests): Add bug26.
15610 * stdio-common/bug26.c: New file.
15613 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
15616 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15618 * Makeconfig (rtld-prefix): Define built linker prefix.
15619 * Rules (run-bench): Use it.
15620 * math/Makefile (run-regen-ulps): Likewise.
15622 * Rules (bench): Remove eval.
15624 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15625 Roland McGrath <roland@hack.frob.com>
15626 Ondrej Bilka <neleai@seznam.cz>
15629 * time/getdate.c: Include ctype.h and alloca.h.
15630 (__getdate_r): Trim leading and trailing spaces of input.
15631 * time/tst-getdate.c (tests): Add tests with leading and
15634 2013-04-08 Roland McGrath <roland@hack.frob.com>
15637 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
15638 when computing value.
15640 2013-04-06 Carlos O'Donell <carlos@redhat.com>
15642 * math/README.libm-test (How can I generate "libm-test-ulps"?):
15643 Use testrun.sh to run libm tests.
15646 * elf/dl-open.c (dl_open_worker): memset all of seen array.
15648 2013-04-06 Marko Myllynen <myllynen@redhat.com>
15651 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
15653 2013-04-06 Carlos O'Donell <carlos@redhat.com>
15655 * Makefile.in (regen-ulps): New target.
15656 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
15657 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
15658 [ifneq (no,$(PERL)] (regen-ulps): New target.
15659 [ifeq (no,$(PERL)] (regen-ulps): New target.
15660 * math/libm-test.inc (ulps_file_name): Define.
15661 (output_dir): New variable.
15662 (options): Add "output-dir" option.
15663 (parse_opt): Handle 'o' case.
15664 (main): If output_dir is non-NULL use it as a prefix
15666 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
15668 2013-04-06 Carlos O'Donell <carlos@redhat.com>
15670 [BZ #10060, #10062]
15671 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
15672 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
15673 fail configure if __sync_val_compare_and_swap is not inlined.
15674 * sysdeps/i386/configure: Regenerate.
15675 * configure.in: Build for i686 when configured for i386.
15676 * configure: Regenerate.
15677 * README: Remove i386 reference.
15679 2013-04-06 Carlos O'Donell <carlos@redhat.com>
15681 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
15682 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15684 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
15686 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
15687 (lmsnanval): New variables.
15688 (F): Add conversion tests.
15689 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
15690 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
15692 * stdio-common/tstdiomisc.c (F): Properly collect individual
15695 [BZ #14686, #15336]
15696 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
15697 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
15698 Instead, use input NaN values or generate a qNaN by arithmetic
15699 operation. Also fix bugs to comply with the standard.
15700 * math/libm-test.inc (remainder_test): Add more tests.
15702 [BZ #15335, #15342]
15703 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
15704 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
15705 input NaN values or generate a qNaN by arithmetic operation.
15707 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
15710 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
15713 2013-04-03 Joseph Myers <joseph@codesourcery.com>
15716 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
15717 underflowed result.
15718 * math/s_cexpf.c (__cexpf): Likewise.
15719 * math/s_cexpl.c (__cexpl): Likewise.
15720 * math/libm-test.inc (cexp_test): Add more tests.
15722 2013-04-03 Andreas Schwab <schwab@suse.de>
15725 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
15726 order arrays from heap if bigger than alloca cutoff.
15728 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
15730 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
15731 (SNAN_TESTS_double): Refer to GCC PR56831.
15732 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
15735 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
15737 * Rules (bench): Move bench.out after the run is complete.
15739 * Rules (bench): Echo currently running benchmark.
15741 * benchtests/Makefile (bench): Add atan and slowatan.
15742 * benchtests/atan-inputs: New file.
15743 * benchtests/slowatan-inputs: New file.
15744 * benchtests/slowatan.c: New file.
15746 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
15747 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
15751 * sysdeps/unix/sysv/linux/kernel-features.h
15752 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
15753 __ASSUME_XFS_RESTRICTED_CHOWN.
15754 * sysdeps/unix/sysv/linux/pathconf.c
15755 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
15756 Save and restore errno.
15758 2013-04-02 Joseph Myers <joseph@codesourcery.com>
15761 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
15762 arguments using __kernel_casinh.
15763 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
15764 arguments using __kernel_casinhf.
15765 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
15766 arguments using __kernel_casinhl.
15767 * math/libm-test.inc (cacosh_test): Add more tests.
15768 * sysdeps/i386/fpu/libm-test-ulps: Update.
15769 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15771 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
15773 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
15774 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
15776 * bench/Makefile (bench): Add sin and slowsin.
15777 * benchtests/sin-inputs: New file.
15778 * benchtests/slowsin-inputs: New file.
15779 * benchtests/slowsin.c: New file.
15781 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
15782 (bench): Add slowexp and slowpow.
15783 (exp-ITER): Increase iterations.
15784 (pow-ITER): Likewise.
15785 * benchtests/exp-inputs: Change input.
15786 * benchtests/pow-inputs: Likewise.
15787 * benchtests/slowexp-inputs: New file.
15788 * benchtests/slowexp.c: New file.
15789 * benchtests/slowpow-inputs: New file.
15790 * benchtests/slowpow.c: New file.
15792 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15794 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
15796 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
15797 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
15798 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
15799 * benchtests/Makefile: Add rint benchtest.
15800 * benchtests/rint-inputs: Input for rint benchtest.
15802 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
15804 * Versions.def (libm): Add GLIBC_2.18.
15805 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
15806 hidden libm prototypes.
15807 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
15808 * math/Makefile (libm-calls): Add s_issignaling.
15809 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
15810 __issignalingf, __issignalingl. Adjust all libm.abilist files.
15811 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
15813 * math/math.h [__USE_GNU] (issignaling): New macro.
15814 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
15815 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
15816 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
15817 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
15818 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
15819 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
15820 * manual/arith.texi (issignaling): New section.
15821 * manual/libm-err-tab.pl (@all_functions): Update comment.
15822 * math/gen-libm-test.pl (parse_args): Apply special handling for
15824 * math/libm-test.inc (print_float, issignaling_test): New
15826 (check_float_internal): Add issignaling checks.
15827 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
15828 default definition.
15829 * sysdeps/powerpc/math-tests.h: New file.
15830 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
15832 * math/test-snan.c (TEST_FUNC): Likewise.
15834 2013-03-30 David S. Miller <davem@davemloft.net>
15836 * po/de.po: Update from translation team.
15838 2013-03-30 Joseph Myers <joseph@codesourcery.com>
15841 * math/k_casinh.c (__kernel_casinh): Handle arguments with
15842 imaginary part less than 1.0 and real part less than 0.5
15844 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15845 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15846 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
15847 (cacos_test): Add more tests.
15848 (casin_test): Likewise.
15849 (casinh_test): Likewise.
15850 * sysdeps/i386/fpu/libm-test-ulps: Update.
15851 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15853 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15855 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
15856 ONE with its value.
15858 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
15859 (__pow_mp): Replace ONE and MONE with their values.
15860 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15861 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
15862 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15863 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
15864 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15865 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15867 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
15869 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
15870 (__pow_mp): Replace ZERO and MZERO with their values.
15871 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
15872 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15873 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15874 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
15875 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15876 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
15879 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
15881 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
15883 2013-03-28 Roland McGrath <roland@hack.frob.com>
15885 * include/stdlib.h [!SHARED] (__call_tls_dtors):
15886 Declare with __attribute__ ((weak)).
15887 * stdlib/exit.c (__libc_atexit) [!SHARED]:
15888 Call __call_tls_dtors only if it's not NULL.
15890 2013-03-28 Roland McGrath <roland@hack.frob.com>
15892 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
15893 didn't do it already, then set _dl_phdr and _dl_phnum based on the
15894 magic __ehdr_start linker symbol if it's defined.
15895 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
15896 them up here if it was already done.
15898 * elf/dl-support.c (_dl_phdr): Make pointer to const.
15899 (_dl_aux_init): Use const in cast when setting it.
15900 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
15901 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
15902 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
15904 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
15906 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
15907 * csu/libc-tls.c: Nor here.
15908 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
15910 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
15911 (__libc_message): Never call vsyslog.
15913 2013-03-28 Alan Modra <amodra@gmail.com>
15915 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
15917 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
15920 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15923 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
15925 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15927 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15930 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
15931 Don't add gid passed as argument.
15933 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
15935 2013-03-27 Joseph Myers <joseph@codesourcery.com>
15938 * math/k_casinh.c (__kernel_casinh): Handle arguments with
15939 imaginary part between 1.0 and 1.5 and real part less than 0.5
15941 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15942 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15943 * math/libm-test.inc (cacos_test): Add more tests.
15944 (casin_test): Likewise.
15945 (casinh_test): Likewise.
15946 * sysdeps/i386/fpu/libm-test-ulps: Update.
15947 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15949 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15951 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
15954 (denorm): Likewise.
15955 (__dbl_mp): Likewise.
15956 (add_magnitudes): Likewise.
15957 (sub_magnitudes): Likewise.
15965 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
15967 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
15968 (__dubcos): Likewise.
15969 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
15970 (__ieee754_acos): Likewise.
15971 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
15972 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
15973 (__exp1): Likewise.
15974 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15975 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
15977 (my_log2): Likewise.
15978 (checkint): Likewise.
15979 * sysdeps/ieee754/dbl-64/e_remainder.c
15980 (__ieee754_remainder): Likewise.
15981 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15982 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
15983 (bsloww): Likewise.
15984 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15986 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
15987 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
15988 MANTISSA_STORE_T to store computations on mantissa. Use
15989 macros for rounding and division.
15990 (denorm): Likewise.
15991 (__dbl_mp): Likewise.
15992 (add_magnitudes): Likewise.
15993 (sub_magnitudes): Likewise.
15996 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
15997 powers of two in terms of TWOPOW macro.
15998 (mp_no): Make type of mantissa as MANTISSA_T.
15999 [!RADIXI]: Define RADIXI.
16000 [!TWO52]: Define TWO52.
16001 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
16003 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16005 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
16006 llroundl symbol when building for PPC32.
16008 2013-03-24 Mark H Weaver <mhw@netris.org>
16010 * manual/arith.texi (Normalization Functions): Fix prototypes for
16011 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
16013 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16016 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
16017 high value to check if expl overflow.
16018 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
16019 to check for underflow and overflow.
16020 * math/libm-test.inc: Add exp test.
16022 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
16025 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
16028 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16030 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
16033 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
16035 * math/gen-libm-test.pl (parse_args, special_functions): Properly
16036 wrap blocks consisting of several statements.
16038 * sysdeps/generic/math-tests.h: New file.
16039 * sysdeps/i386/fpu/math-tests.h: Likewise.
16040 * math/test-snan.c: Include it.
16041 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
16043 2013-03-21 Joseph Myers <joseph@codesourcery.com>
16046 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
16047 (__ieee754_j0l): Do not improve calculations using cos of twice
16048 input for inputs above LDBL_MAX / 2.0L.
16049 (__ieee754_y0l): Likewise.
16050 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
16051 (__ieee754_j1l): Do not improve calculations using cos of twice
16052 input for inputs above LDBL_MAX / 2.0L.
16053 (__ieee754_y1l): Likewise.
16054 * math/libm-test.inc (j0_test): Add another test.
16055 (j1_test): Likewise.
16056 (y0_test): Likewise.
16057 (y1_test): Likewise.
16058 * sysdeps/i386/fpu/libm-test-ulps: Update.
16060 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16062 * Rules ($(objpfx)bench-%.c): Include code from a C source
16065 2013-03-21 Joseph Myers <joseph@codesourcery.com>
16068 * math/k_casinh.c (__kernel_casinh): Handle arguments with
16069 imaginary part 1.0 and real part less than 0.5 specially.
16070 * math/k_casinhf.c (__kernel_casinhf): Likewise.
16071 * math/k_casinhl.c (__kernel_casinhl): Likewise.
16072 * math/libm-test.inc (cacos_test): Add more tests.
16073 (casin_test): Likewise.
16074 (casinh_test): Likewise.
16075 * sysdeps/i386/fpu/libm-test-ulps: Update.
16076 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16078 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16080 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
16081 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
16083 2013-03-20 Joseph Myers <joseph@codesourcery.com>
16085 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
16086 * config.make.in (config-cflags-sse4): Remove variable.
16087 (config-cflags-avx): Likewise.
16088 (config-cflags-sse2avx): Likewise.
16089 (config-cflags-novzeroupper): Likewise.
16090 (config-asflags-i686): Likewise.
16091 (have-mfma4): Likewise.
16092 (have-as-vis3): Likewise.
16094 * configure.in (MIG): Do not AC_SUBST.
16095 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
16096 (libc_cv_cc_sse4): Do not AC_SUBST.
16097 (libc_cv_cc_avx): Likewise.
16098 (libc_cv_cc_sse2avx): Likewise.
16099 (libc_cv_cc_novzeroupper): Likewise.
16100 (libc_cv_cc_fma4): Likewise.
16101 (libc_cv_as_i686): Likewise.
16102 (libc_cv_sparc_as_vis3): Likewise.
16103 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
16105 (config-asflags-i686): Likewise.
16106 (config-cflags-avx): Likewise.
16107 (config-cflags-sse2avx): Likewise.
16108 (have-mfma4): Likewise.
16109 (config-cflags-novzeroupper): Likewise.
16110 * sysdeps/mach/configure.in (MIG): Likewise.
16111 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
16112 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
16114 (config-cflags-avx): Likewise.
16115 (config-cflags-sse2avx): Likewise.
16116 (have-mfma4): Likewise.
16117 (config-cflags-novzeroupper): Likewise.
16118 * configure: Regenerated.
16119 * sysdeps/i386/configure: Likewise.
16120 * sysdeps/mach/configure: Likewise.
16121 * sysdeps/sparc/configure: Likewise.
16122 * sysdeps/x86_64/configure: Likewise.
16124 2013-03-20 Roland McGrath <roland@hack.frob.com>
16127 * locale/programs/localedef.c (options): Put N_ translation marker
16128 on argument names, not just descriptions.
16130 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16132 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
16134 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
16137 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
16139 2013-03-19 Roland McGrath <roland@hack.frob.com>
16141 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
16142 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
16143 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
16144 [!BEFORE_ABORT] (before_abort): New function.
16145 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
16146 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
16147 (writev_for_fatal): New function.
16148 (WRITEV_FOR_FATAL): New macro; call that.
16149 (backtrace_and_maps): New function.
16150 (BEFORE_ABORT): New macro; call that.
16151 (struct str_list): Type removed.
16152 (__libc_message, __libc_fatal): Functions removed.
16153 Include <sysdeps/posix/libc_fatal.c> instead.
16155 2013-03-19 Joseph Myers <joseph@codesourcery.com>
16157 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
16159 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
16162 2013-03-19 Andreas Schwab <schwab@suse.de>
16164 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
16165 * sysdeps/gnu/configure: Regenerate.
16167 * configure.in: Substitute libc_cv_rtlddir.
16168 * configure: Regenerate.
16169 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
16170 * Makeconfig (rtlddir, inst_rtlddir): New variables.
16171 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
16172 * elf/Makefile (install-others, CFLAGS-interp.c)
16173 (ldso_install, common-ldd-rewrite): Likewise.
16174 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
16175 $(inst_slibdir)/$(rtld-installed-name).
16176 * scripts/rellns-sh: Add -p option.
16177 * Makerules (make-shlib-link): Use rellns-sh to get relative name
16180 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16182 * manual/nptl.texi: Renamed to ...
16183 * manual/threads.texi: ... this.
16184 * manual/Makefile (chapters): Update.
16186 2013-03-18 Roland McGrath <roland@hack.frob.com>
16189 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
16190 on argument names, not just descriptions.
16191 * malloc/memusagestat.c (options): Likewise.
16192 * nss/getent.c (options): Likewise.
16194 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
16197 * iconv/iconv_prog.c (options): Put N_ translation marker
16198 on argument names, not just descriptions.
16199 * iconv/iconvconfig.c (options): Likewise.
16201 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
16203 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
16204 implementation which is faster on all x86_64 architectures.
16205 Tested on AMD, Intel Nehalem, SNB, IVB.
16206 * sysdeps/x86_64/strnlen.S: Likewise.
16208 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
16209 Remove all multiarch strlen and strnlen versions.
16210 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
16211 Remove strlen and strnlen related parts.
16213 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
16214 Inline strlen part.
16215 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
16217 * sysdeps/x86_64/multiarch/strlen.S: Remove.
16218 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
16219 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
16220 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
16221 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
16222 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
16224 2013-03-17 Carlos O'Donell <carlos@redhat.com>
16226 * manual/memory.texi (Malloc Tunable Parameters):
16227 Sort parameters alphabetically. Add comments for missing entries.
16229 2013-03-17 David S. Miller <davem@davemloft.net>
16231 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16233 2013-03-16 Joseph Myers <joseph@codesourcery.com>
16236 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
16237 for arguments at most half maximum finite value.
16238 * math/libm-test.inc (j0_test): Add more tests.
16239 (j1_test): Likewise.
16240 (y0_test): Likewise.
16241 (y1_test): Likewise.
16242 * sysdeps/i386/fpu/libm-test-ulps: Update.
16243 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16246 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
16247 1 / x and functions P and Q for arguments above 0x1p256L.
16248 (__ieee754_y0l): Likewise.
16249 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
16250 (__ieee754_y1l): Likewise.
16251 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
16252 (j1_test): Likewise.
16253 (y0_test): Likewise.
16254 (y1_test): Likewise.
16256 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
16258 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
16261 2013-03-15 Roland McGrath <roland@hack.frob.com>
16263 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
16264 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
16265 zero since it's initialized to EXEC_PAGESIZE.
16267 * sysdeps/unix/sysv/linux/ldsodefs.h
16268 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
16269 * sysdeps/generic/ldsodefs.h: ... here.
16271 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
16273 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
16275 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
16277 * math/test-snan.c: Renamed from
16278 sysdeps/powerpc/fpu/test-powerpc-snan.c.
16279 * math/Makefile (tests): Add test-snan.
16280 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
16283 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
16284 SUFFIX. Initialize qNaN_var with __builtin_nan family of
16286 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
16287 __builtin_nan family of functions.
16288 * math/libm-test.inc (initialize): Initialize qnan_value with
16289 __builtin_nan family of functions.
16290 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
16292 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
16294 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
16295 storage class. Initialize qNaN_var and sNaN_var with
16296 __builtin_nan and __builtin_nans families of functions,
16299 * math/libm-test.inc (acosh_test): Also test with qNaN input.
16300 (sqrt_test): Remove duplicate test with qNaN input.
16301 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
16302 (round_test, signbit_test, significand_test): Note missing +/-Inf
16303 as well as qNaN tests.
16305 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
16306 qNaN_var. Fix a few strings, too.
16307 * math/libm-test.inc (nan_value): Rename to qnan_value.
16308 * math/gen-libm-test.pl (%beautify): Adjust to that.
16309 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
16310 * math/test-misc.c (main): Likewise.
16311 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
16312 to __qnan_bytes, and __qnan_union, respectively.
16313 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
16315 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
16316 and lqnanval, respectively.
16317 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
16318 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
16319 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
16320 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
16322 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
16323 * math/test-misc.c (main) [__x86_64__]: Enable test for long
16326 * math/test-misc.c (main): Fix copy'n'pastos.
16327 * misc/tst-efgcvt.c (special): Likewise.
16329 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
16330 Remove declarations.
16332 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16334 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
16335 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
16336 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
16337 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
16339 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16341 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
16342 macro to return vdso values correctly in IFUNC implementations.
16343 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
16344 Optimization by using IFUNC.
16346 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16347 Richard Henderson <rth@redhat.com>
16348 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16350 * Makefile.in (bench): New target.
16351 * NEWS: Mention the benchmark framework.
16352 * Rules (bench): Likewise.
16353 (binaries-bench): Generate binaries for functions to
16355 * benchtests/Makefile: New makefile for benchmark tests.
16356 * benchtests/bench-skeleton.c: New skeleton file for benchmark
16358 * benchtests/exp-inputs: New input file for EXP function.
16359 * benchtests/pow-inputs: New input file for POW function.
16360 * scripts/bench.pl: New script to generate source files for
16361 benchmark programs.
16363 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16365 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
16366 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
16367 computations on mantissa. Use macros for rounding and
16369 (denorm): Likewise.
16370 (__dbl_mp): Likewise.
16371 (add_magnitudes): Likewise.
16372 (sub_magnitudes): Likewise.
16375 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
16376 powers of two in terms of TWOPOW macro.
16377 (mp_no): Make type of mantissa as MANTISSA_T.
16378 [!RADIXI]: Define RADIXI.
16379 [!TWO52]: Define TWO52.
16380 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
16382 * manual/nptl.texi (cindex): Modify threads to pthreads.
16384 2013-03-15 Joseph Myers <joseph@codesourcery.com>
16386 * sysdeps/x86_64/preconfigure: Regenerated.
16388 2013-03-14 Joseph Myers <joseph@codesourcery.com>
16391 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
16393 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
16394 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
16396 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
16397 * math/libm-test.inc (j0_test): Do not allow one spurious
16398 underflow exception.
16399 (y1_test): Likewise.
16401 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
16403 * manual/Makefile (chapters): Add nptl.
16404 * manual/debug.texi (Debugging Support): Add link to Threads
16406 * manual/nptl.texi: New file.
16408 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
16410 2013-03-14 Petr Baudis <pasky@ucw.cz>
16412 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
16413 for non-NULL pointer before the memory validity test. Pointed
16414 out by Holger Brunck <holger.brunck@keymile.com>.
16416 2013-03-13 Andreas Schwab <schwab@suse.de>
16418 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
16421 2013-03-13 Joseph Myers <joseph@codesourcery.com>
16423 * timezone/zic.c: Update from tzcode 2013b.
16425 2013-03-12 Carlos O'Donell <carlos@redhat.com>
16427 * manual/install.texi (Configuring and compiling):
16428 Mention i686 and i586.
16429 * INSTALL: Regenerate.
16431 2013-03-12 Roland McGrath <roland@hack.frob.com>
16433 * sysdeps/init_array/elf-init.c: New file.
16435 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
16436 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
16438 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
16439 __gmon_start__ as global, but as static with a .preinit_array pointer.
16440 * sysdeps/init_array/gmon-start.c: New file. Use that.
16441 * sysdeps/init_array/crti.S: New file, empty except for comments.
16442 * sysdeps/init_array/crtn.S: Likewise.
16444 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
16446 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
16448 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16449 Remove Prefer_SSE_for_memop.
16450 * sysdeps/x86_64/multiarch/init-arch.h: Remove
16451 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
16452 HAS_PREFER_SSE_FOR_MEMOP.
16453 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
16455 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16456 Remove bzero, memset ifunc support.
16457 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
16458 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
16459 * sysdeps/x86_64/multiarch/memset.S: Likewise.
16460 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16462 2013-03-11 Andreas Schwab <schwab@suse.de>
16465 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
16467 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
16468 (GLIBC_2.16): Remove pthread_atfork.
16470 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
16472 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
16473 (ptestcases.h): Likewise.
16475 2013-03-08 Roland McGrath <roland@hack.frob.com>
16477 * Makeconfig ($(common-objpfx)config.status): Depend on
16478 sysdeps/*/preconfigure{,.in} too.
16480 2013-03-08 Joseph Myers <joseph@codesourcery.com>
16482 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
16483 (__free_hook): Use void * instead of __malloc_ptr_t.
16484 (__malloc_hook): Likewise.
16485 (__realloc_hook): Likewise.
16486 (__memalign_hook): Likewise.
16487 (__after_morecore_hook): Likewise.
16488 * malloc/arena.c (save_malloc_hook): Likewise.
16489 (save_free_hook): Likewise.
16490 * malloc/hooks.c (malloc_hook_ini): Likewise.
16491 (realloc_hook_ini): Likewise.
16492 (memalign_hook_ini): Likewise.
16493 * malloc/malloc.c (malloc_hook_ini): Likewise.
16494 (realloc_hook_ini): Likewise.
16495 (memalign_hook_ini): Likewise.
16496 (__free_hook): Likewise.
16497 (__malloc_hook): Likewise.
16498 (__realloc_hook): Likewise.
16499 (__memalign_hook): Likewise.
16500 (__libc_malloc): Likewise.
16501 (__libc_free): Likewise.
16502 (__libc_realloc): Likewise.
16503 (__libc_memalign): Likewise.
16504 (__libc_valloc): Likewise.
16505 (__libc_pvalloc): Likewise.
16506 (__libc_calloc): Likewise.
16507 (__posix_memalign): Likewise.
16508 * malloc/morecore.c (__sbrk): Likewise.
16509 (__default_morecore): Likewise.
16511 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
16513 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
16514 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
16515 __malloc_ptrdiff_t.
16517 * malloc/malloc.h (__malloc_size_t): Remove macro.
16518 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
16520 (old_memalign_hook): Likewise.
16521 (old_realloc_hook): Likewise.
16522 (struct hdr): Likewise.
16524 (mallochook): Likewise.
16525 (memalignhook): Likewise.
16526 (reallochook): Likewise.
16527 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
16528 (tr_old_realloc_hook): Likewise.
16529 (tr_old_memalign_hook): Likewise.
16530 (tr_mallochook): Likewise.
16531 (tr_reallochook): Likewise.
16532 (tr_memalignhook): Likewise.
16534 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16536 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
16537 default_ldbl_pack and using as default implementation.
16538 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
16540 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
16541 redundant definition.
16542 (ldbl_insert_mantissa): Likewise.
16543 (ldbl_canonicalize): Likewise.
16544 (ldbl_nearbyint): Likewise.
16545 (ldbl_pack): Rename to ldbl_pack_ppc.
16546 (ldbl_unpack): Rename to ldbl_unpack_ppc.
16547 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
16548 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
16550 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
16552 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
16553 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
16554 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
16555 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
16556 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
16557 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
16558 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
16559 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
16561 2013-03-07 Andreas Jaeger <aj@suse.de>
16563 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16566 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
16568 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
16569 Include mpa.h and declare __MPEXP.
16570 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
16571 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
16572 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
16573 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
16574 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
16575 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
16576 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
16578 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
16579 (__slowpow): Use long double EXPL and LOGL functions to
16581 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
16582 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
16583 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
16584 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
16585 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
16586 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
16588 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
16589 intermediate variable to calculate exponent.
16591 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
16595 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
16596 [!NO__SQR]: Define __sqr.
16597 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
16598 and NO__SQR. Remove all code except __mul and __sqr. Include
16599 sysdeps/ieee754/dbl-64/mpa.c.
16600 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
16603 * posix/Makefile (tests): Add tst-pathconf.
16604 * posix/tst-pathconf.c: New test case.
16605 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
16607 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
16609 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
16611 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
16613 2013-03-06 Andreas Jaeger <aj@suse.de>
16615 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
16616 definition via __MAP_ANONYMOUS.
16618 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
16619 it's not part of Linux headers.
16621 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
16622 (MAP_HUGE_MASK): Define.
16624 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16626 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16627 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16629 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16630 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16632 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16633 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
16635 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16637 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
16638 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
16639 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
16640 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
16641 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
16642 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
16644 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
16647 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16648 Handle f2fs and efivarfs.
16650 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
16653 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
16654 (EFIVARFS_MAGIC): Add.
16655 (F2FS_LINK_MAX): Add.
16657 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
16659 * stdio-common/vfprintf.c: Replace __builtin_expect with
16662 2013-03-06 Joseph Myers <joseph@codesourcery.com>
16665 * sysdeps/generic/bp-sym.h: Remove file.
16666 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
16667 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
16668 <bp-sym.h> and <bp-asm.h>.
16669 (__longjmp): Don't use BP_SYM.
16670 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
16672 (memcpy): Don't use BP_SYM.
16673 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
16674 <bp-sym.h> and <bp-asm.h>.
16675 (memcpy): Don't use BP_SYM.
16676 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
16678 (memcpy): Don't use BP_SYM.
16679 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
16681 (memset): Don't use BP_SYM.
16682 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16683 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16684 (__bzero): Don't use BP_SYM.
16685 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16686 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16687 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
16688 <bp-sym.h> and <bp-asm.h>.
16689 (memcmp): Don't use BP_SYM. Remove comment about bounded
16691 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
16692 <bp-sym.h> and <bp-asm.h>.
16693 (memcpy): Don't use BP_SYM.
16694 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
16695 <bp-sym.h> and <bp-asm.h>.
16696 (memset): Don't use BP_SYM.
16697 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16698 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16699 (__bzero): Don't use BP_SYM.
16700 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16701 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16702 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
16703 <bp-sym.h> and <bp-asm.h>.
16704 (strncmp): Don't use BP_SYM. Remove comment about bounded
16706 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
16707 <bp-sym.h> and <bp-asm.h>.
16708 (memcpy): Don't use BP_SYM.
16709 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
16710 <bp-sym.h> and <bp-asm.h>.
16711 (memset): Don't use BP_SYM.
16712 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16713 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16714 (__bzero): Don't use BP_SYM.
16715 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16716 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16717 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
16718 <bp-sym.h> and <bp-asm.h>.
16719 (__memchr): Don't use BP_SYM.
16720 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
16721 <bp-sym.h> and <bp-asm.h>.
16722 (memcmp): Don't use BP_SYM. Remove comment about bounded
16724 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
16725 <bp-sym.h> and <bp-asm.h>.
16726 (memcpy): Don't use BP_SYM.
16727 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
16728 <bp-sym.h> and <bp-asm.h>.
16729 (__mempcpy): Don't use BP_SYM.
16730 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
16731 <bp-sym.h> and <bp-asm.h>.
16732 (__memrchr): Don't use BP_SYM.
16733 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
16734 <bp-sym.h> and <bp-asm.h>.
16735 (memset): Don't use BP_SYM.
16736 (__bzero): Likewise.
16737 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
16738 <bp-sym.h> and <bp-asm.h>.
16739 (__rawmemchr): Don't use BP_SYM.
16740 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
16741 <bp-sym.h> and <bp-asm.h>.
16742 (__STRCMP): Don't use BP_SYM.
16743 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
16744 <bp-sym.h> and <bp-asm.h>.
16745 (strchr): Don't use BP_SYM.
16746 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
16747 <bp-sym.h> and <bp-asm.h>.
16748 (__strchrnul): Don't use BP_SYM.
16749 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
16750 <bp-sym.h> and <bp-asm.h>.
16751 (strlen): Don't use BP_SYM.
16752 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
16753 <bp-sym.h> and <bp-asm.h>.
16754 (strncmp): Don't use BP_SYM. Remove comment about bounded
16756 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
16757 <bp-sym.h> and <bp-asm.h>.
16758 (__strnlen): Don't use BP_SYM.
16759 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
16760 <bp-sym.h> and <bp-asm.h>.
16761 (__GI__setjmp): Don't use BP_SYM.
16762 (_setjmp): Likewise.
16763 (__sigsetjmp): Likewise.
16764 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
16765 (L(start_addresses)): Don't use BP_SYM.
16766 (_start): Likewise.
16767 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
16769 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
16770 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
16771 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16772 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16773 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
16775 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
16776 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
16777 about bounded pointers.
16778 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
16779 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16780 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
16782 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
16783 about bounded pointers. Remove GKM FIXME comments.
16784 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
16785 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
16787 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
16788 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
16789 Remove GKM FIXME comments.
16790 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16791 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16792 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
16794 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
16795 about bounded pointers. Remove GKM FIXME comment.
16796 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
16798 (strncmp): Don't use BP_SYM. Remove comment about bounded
16800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
16801 <bp-sym.h> and <bp-asm.h>.
16802 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
16803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
16804 <bp-sym.h> and <bp-asm.h>.
16805 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
16808 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16810 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
16813 2013-03-05 David S. Miller <davem@davemloft.net>
16815 * po/es.po: Update from translation team.
16817 2013-03-05 Andreas Jaeger <aj@suse.de>
16819 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
16820 <bits/mman-linux.h>.
16821 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16823 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
16824 <bits/mman-linux.h> to end of file.
16825 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16827 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
16828 <bits/mman-linux.h> to end of file.
16829 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16831 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
16832 <bits/mman-linux.h> to end of file.
16834 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
16835 (MCL_CURRENT, MCL_FUTURE): Define here.
16837 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16840 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
16842 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
16844 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16846 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
16847 fourth parameter needed for rt_sigprocmask syscall.
16848 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
16849 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
16850 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
16851 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
16852 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
16853 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
16855 2013-03-04 Joseph Myers <joseph@codesourcery.com>
16858 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
16859 comment about bounded pointers.
16860 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
16861 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
16863 2013-03-04 Andreas Jaeger <aj@suse.de>
16865 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
16866 common definitions.
16868 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
16869 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
16870 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
16871 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
16872 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
16873 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
16875 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16878 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
16879 __ieee754_sqrl instead of __sqrl.
16881 2013-03-01 Joseph Myers <joseph@codesourcery.com>
16883 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
16884 * sysdeps/powerpc/fpu_control.h: ... here.
16885 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
16886 * sysdeps/powerpc/bits/fenvinline.h: ... here.
16887 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
16888 * sysdeps/powerpc/bits/mathinline.h: ... here.
16890 2013-03-01 Roland McGrath <roland@hack.frob.com>
16892 * elf/dl-hwcaps.c (_dl_important_hwcaps):
16893 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
16894 to just [NEED_DL_SYSINFO_DSO].
16895 * elf/dl-support.c: Likewise.
16896 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
16897 * elf/rtld.c (dl_main): Likewise.
16898 * elf/setup-vdso.h (setup_vdso): Likewise.
16899 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
16900 * sysdeps/unix/sysv/linux/dl-sysdep.c
16901 (_dl_discover_osversion): Likewise.
16903 2013-03-01 Carlos O'Donell <carlos@redhat.com>
16905 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
16906 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
16908 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
16910 * NEWS: Mention libm performance improvements and non-x86 PI
16913 * csu/libc-start.c (__pthread_initialize_minimal): Change
16914 function arguments.
16915 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
16917 2013-02-28 Joseph Myers <joseph@codesourcery.com>
16920 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
16921 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
16922 <bp-sym.h> and <bp-asm.h>.
16923 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16924 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
16926 (memcpy): Don't use BP_SYM.
16927 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
16929 (__mpn_add_n): Don't use BP_SYM.
16930 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
16931 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
16933 (__mpn_addmul_1): Don't use BP_SYM.
16934 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16935 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
16937 (_setjmp): Don't use BP_SYM.
16938 (__novmx_setjmp): Likewise.
16939 (__GI__setjmp): Likewise.
16940 (__vmx_setjmp): Likewise.
16941 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
16943 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
16944 (__bzero): Don't use BP_SYM.
16945 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16946 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16947 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
16948 <bp-sym.h> and <bp-asm.h>.
16949 (memcpy): Don't use BP_SYM.
16950 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
16951 <bp-sym.h> and <bp-asm.h>.
16952 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16953 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
16954 <bp-sym.h> and <bp-asm.h>.
16955 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16956 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
16958 (__mpn_lshift): Don't use BP_SYM.
16959 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16960 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
16962 (memset): Don't use BP_SYM.
16963 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16964 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16965 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
16967 (__mpn_mul_1): Don't use BP_SYM.
16968 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16969 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
16970 <bp-sym.h> and <bp-asm.h>.
16971 (memcmp): Don't use BP_SYM.
16972 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
16973 <bp-sym.h> and <bp-asm.h>.
16974 (memcpy): Don't use BP_SYM.
16975 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
16976 <bp-sym.h> and <bp-asm.h>.
16977 (memset): Don't use BP_SYM.
16978 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
16979 <bp-sym.h> and <bp-asm.h>.
16980 (strncmp): Don't use BP_SYM.
16981 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
16982 <bp-sym.h> and <bp-asm.h>.
16983 (memcpy): Don't use BP_SYM.
16984 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
16985 <bp-sym.h> and <bp-asm.h>.
16986 (memset): Don't use BP_SYM.
16987 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
16988 <bp-sym.h> and <bp-asm.h>.
16989 (__memchr): Don't use BP_SYM.
16990 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
16991 <bp-sym.h> and <bp-asm.h>.
16992 (memcmp): Don't use BP_SYM.
16993 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
16994 <bp-sym.h> and <bp-asm.h>.
16995 (memcpy): Don't use BP_SYM.
16996 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
16997 <bp-sym.h> and <bp-asm.h>.
16998 (__mempcpy): Don't use BP_SYM.
16999 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
17000 <bp-sym.h> and <bp-asm.h>.
17001 (__memrchr): Don't use BP_SYM.
17002 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
17003 <bp-sym.h> and <bp-asm.h>.
17004 (memset): Don't use BP_SYM.
17005 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
17006 <bp-sym.h> and <bp-asm.h>.
17007 (__rawmemchr): Don't use BP_SYM.
17008 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
17009 <bp-sym.h> and <bp-asm.h>.
17010 (__STRCMP): Don't use BP_SYM.
17011 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
17012 <bp-sym.h> and <bp-asm.h>.
17013 (strchr): Don't use BP_SYM.
17014 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
17015 <bp-sym.h> and <bp-asm.h>.
17016 (__strchrnul): Don't use BP_SYM.
17017 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
17018 <bp-sym.h> and <bp-asm.h>.
17019 (strlen): Don't use BP_SYM.
17020 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
17021 <bp-sym.h> and <bp-asm.h>.
17022 (strncmp): Don't use BP_SYM.
17023 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
17024 <bp-sym.h> and <bp-asm.h>.
17025 (__strnlen): Don't use BP_SYM.
17026 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
17028 (__mpn_rshift): Don't use BP_SYM.
17029 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17030 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
17031 <bp-sym.h> and <bp-asm.h>.
17032 (__sigsetjmp): Don't use BP_SYM.
17033 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
17034 (L(start_addresses)): Don't use BP_SYM.
17035 (_start): Likewise.
17036 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
17038 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
17039 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17040 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
17041 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
17043 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
17044 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
17045 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17046 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
17048 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
17050 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
17051 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
17053 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
17055 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17056 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
17057 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
17059 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
17061 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
17063 (strncmp): Don't use BP_SYM,
17064 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
17066 (__mpn_sub_n): Don't use BP_SYM.
17067 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17068 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
17070 (__mpn_submul_1): Don't use BP_SYM.
17071 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
17073 <bp-sym.h> and <bp-asm.h>.
17074 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
17075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
17076 <bp-sym.h> and <bp-asm.h>.
17077 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
17080 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17082 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
17083 Use ZK to minimize writes to Z.
17084 (sub_magnitudes): Simplify code a bit.
17085 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
17086 Use ZK to minimize writes to Z.
17087 (sub_magnitudes): Simplify code a bit.
17089 2013-02-27 Roland McGrath <roland@hack.frob.com>
17091 * csu/gmon-start.c: Add special exception to license text.
17093 2013-02-27 Richard Henderson <rth@redhat.com>
17095 * scripts/config.guess: Update from config.git.
17096 * scripts/config.sub: Likewise.
17098 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17100 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
17102 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
17104 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
17106 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
17108 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
17110 2013-02-26 Roland McGrath <roland@hack.frob.com>
17112 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
17113 [$(build-shared = yes].
17115 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17117 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
17118 (__mul): Reduce iterations for calculating mantissa.
17120 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
17122 (__mpranred): Likewise.
17125 * malloc/memusagestat.c (main): Draw graphs for heap and stack
17126 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
17128 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
17130 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
17131 Define __attribute__.
17133 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17135 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
17137 * posix/regex_internal.h (__attribute): Remove.
17138 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
17139 (re_string_context_at): Likewise.
17140 (bitset_not): Use __attribute__ and mark function as possibly
17142 (bitset_merge): Likewise.
17143 (bitset_mask): Likewise.
17144 (re_string_char_size_at): Likewise.
17145 (re_string_wchar_at): Likewise.
17146 (re_string_elem_size_at): Likewise.
17148 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
17150 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
17154 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
17158 (denorm): Likewise.
17159 (__dbl_mp): Likewise.
17160 (add_magnitudes): Likewise.
17161 (sub_magnitudes): Likewise.
17165 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
17168 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
17171 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
17174 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
17175 up changes with default code.
17176 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
17179 2013-02-24 Allan McRae <allan@archlinux.org>
17181 * manual/socket.texi (The Internet Namespace): Order menu items
17182 to match that in the file.
17184 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
17185 node listing of the info page menu.
17187 2013-02-21 Joseph Myers <joseph@codesourcery.com>
17190 * sysdeps/i386/bp-asm.h: Remove file.
17191 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
17192 (PARMS): Do not use macros from bp-asm.h.
17196 (__mpn_add_n): Do not use BP_SYM
17197 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
17199 (PARMS): Do not use macros from bp-asm.h.
17202 (__mpn_addmul_1): Do not use BP_SYM
17203 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
17205 (PARMS): Do not use macros from bp-asm.h.
17206 (SIGMSK): Likewise.
17207 (_setjmp): Likewise. Do not use BP_SYM.
17208 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
17210 (PARMS): Do not use macros from bp-asm.h.
17211 (SIGMSK): Likewise.
17212 (setjmp): Likewise. Do not use BP_SYM.
17213 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
17215 (PARMS): Do not use macros from bp-asm.h.
17216 (__frexp): Do not use BP_SYM.
17218 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
17220 (PARMS): Do not use macros from bp-asm.h.
17221 (__frexpf): Do not use BP_SYM.
17222 (frexpf): Likewise.
17223 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
17225 (PARMS): Do not use macros from bp-asm.h.
17226 (__frexpl): Do not use BP_SYM.
17227 (frexpl): Likewise.
17228 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
17230 (PARMS): Do not use macros from bp-asm.h.
17231 (__remquo): Do not use BP_SYM.
17232 (remquo): Likewise.
17233 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
17235 (PARMS): Do not use macros from bp-asm.h.
17236 (__remquof): Do not use BP_SYM.
17237 (remquof): Likewise.
17238 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
17240 (PARMS): Do not use macros from bp-asm.h.
17241 (__remquol): Do not use BP_SYM.
17242 (remquol): Likewise.
17243 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
17245 (PARMS): Do not use macros from bp-asm.h.
17248 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
17249 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
17251 (PARMS): Do not use macros from bp-asm.h.
17252 (strlen): Do not use BP_SYM.
17253 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
17255 (PARMS): Do not use macros from bp-asm.h.
17259 (__mpn_add_n): Do not use BP_SYM.
17260 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
17262 (PARMS): Do not use macros from bp-asm.h.
17265 (__mpn_addmul_1): Do not use BP_SYM.
17266 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
17269 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
17271 (PARMS): Do not use macros from bp-asm.h.
17274 (__mpn_lshift): Do not use BP_SYM.
17275 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
17277 (PARMS): Do not use macros from bp-asm.h.
17281 (memcpy): Likewise. Do not use BP_SYM.
17282 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
17283 libc_hidden_def and weak_alias.
17284 (mempcpy): Do not use BP_SYM in weak_alias.
17285 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
17287 (PARMS): Do not use macros from bp-asm.h.
17290 [!BZERO_P] (CHR): Likewise.
17291 (memset): Likewise. Do not use BP_SYM.
17292 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
17294 (PARMS): Do not use macros from bp-asm.h.
17297 (__mpn_mul_1): Do not use BP_SYM.
17298 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
17300 (PARMS): Do not use macros from bp-asm.h.
17303 (__mpn_rshift): Do not use BP_SYM.
17304 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
17306 (PARMS): Do not use macros from bp-asm.h.
17309 (strchr): Likewise. Do not use BP_SYM.
17310 (index): Do not use BP_SYM in weak_alias.
17311 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
17313 (PARMS): Do not use macros from bp-asm.h.
17316 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
17317 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
17319 (PARMS): Do not use macros from bp-asm.h.
17320 (strlen): Do not use BP_SYM.
17321 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
17323 (PARMS): Do not use macros from bp-asm.h.
17327 (__mpn_sub_n): Do not use BP_SYM.
17328 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
17330 (PARMS): Do not use macros from bp-asm.h.
17333 (__mpn_submul_1): Do not use BP_SYM.
17334 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
17336 (PARMS): Do not use macros from bp-asm.h.
17340 (__mpn_add_n): Do not use BP_SYM.
17341 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
17344 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
17346 (PARMS): Do not use macros from bp-asm.h.
17349 (memcmp): Do not use BP_SYM.
17350 (bcmp): Do not use BP_SYM in weak_alias.
17351 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
17353 (PARMS): Do not use macros from bp-asm.h.
17357 (memcpy): Likewise. Do not use BP_SYM.
17358 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
17360 (PARMS): Do not use macros from bp-asm.h.
17364 (memmove): Likewise. Do not use BP_SYM.
17365 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
17367 (PARMS): Do not use macros from bp-asm.h.
17371 (__mempcpy): Likewise. Do not use BP_SYM.
17372 (mempcpy): Do not use BP_SYM in weak_alias.
17373 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
17375 (PARMS): Do not use macros from bp-asm.h.
17378 [!BZERO_P] (CHR): Likewise.
17379 (memset): Likewise. Do not use BP_SYM.
17380 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
17382 (PARMS): Do not use macros from bp-asm.h.
17384 (strcmp): Do not use BP_SYM.
17385 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
17387 (PARMS): Do not use macros from bp-asm.h.
17390 [USE_AS_STRTOK_R] (SAVE): Likewise.
17391 (FUNCTION): Likewise. Do not use BP_SYM.
17392 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
17394 (strtok_r): Likewise.
17395 (__GI___strtok_r): Likewise.
17396 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
17397 (PARMS): Do not use macros from bp-asm.h.
17400 (__mpn_lshift): Do not use BP_SYM.
17401 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
17402 (PARMS): Do not use macros from bp-asm.h.
17405 (__memchr): Do not use BP_SYM.
17406 (memchr): Do not use BP_SYM in weak_alias.
17407 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
17408 (PARMS): Do not use macros from bp-asm.h.
17411 (memcmp): Do not use BP_SYM.
17412 (bcmp): Do not use BP_SYM in weak_alias.
17413 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
17414 (PARMS): Do not use macros from bp-asm.h.
17417 (__mpn_mul_1): Do not use BP_SYM.
17418 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
17420 (PARMS): Do not use macros from bp-asm.h.
17423 (__rawmemchr): Do not use BP_SYM.
17424 (rawmemchr): Do not use BP_SYM in weak_alias.
17425 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
17426 (PARMS): Do not use macros from bp-asm.h.
17429 (__mpn_rshift): Do not use BP_SYM.
17430 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
17431 (PARMS): Do not use macros from bp-asm.h.
17432 (SIGMSK): Likewise.
17433 (__sigsetjmp): Likewise. Do not use BP_SYM.
17434 * sysdeps/i386/start.S: Do not include "bp-sym.h".
17435 (_start): Do not use BP_SYM.
17436 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
17437 (PARMS): Do not use macros from bp-asm.h.
17440 (__stpcpy): Likewise. Do not use BP_SYM.
17441 (stpcpy): Do not use BP_SYM in weak_alias.
17442 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
17444 (PARMS): Do not use macros from bp-asm.h.
17448 (__stpncpy): Likewise. Do not use BP_SYM.
17449 (stpncpy): Do not use BP_SYM in weak_alias.
17450 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
17451 (PARMS): Do not use macros from bp-asm.h.
17454 (strchr): Likewise. Do not use BP_SYM.
17455 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
17457 (PARMS): Do not use macros from bp-asm.h.
17460 (__strchrnul): Likewise. Do not use BP_SYM.
17461 (strchrnul): Do not use BP_SYM in weak_alias.
17462 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
17464 (PARMS): Do not use macros from bp-asm.h.
17466 (strcspn): Do not use BP_SYM.
17467 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
17469 (PARMS): Do not use macros from bp-asm.h.
17472 (strpbrk): Likewise. Do not use BP_SYM.
17473 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
17475 (PARMS): Do not use macros from bp-asm.h.
17478 (strrchr): Likewise. Do not use BP_SYM.
17479 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
17480 (PARMS): Do not use macros from bp-asm.h.
17482 (strspn): Do not use BP_SYM.
17483 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
17484 (PARMS): Do not use macros from bp-asm.h.
17488 (FUNCTION): Likewise. Do not use BP_SYM.
17489 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
17491 (strtok_r): Likewise.
17492 (__GI___strtok_r): Likewise.
17493 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
17494 (PARMS): Do not use macros from bp-asm.h.
17498 (__mpn_sub_n): Do not use BP_SYM.
17499 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
17501 (PARMS): Do not use macros from bp-asm.h.
17504 (__mpn_submul_1): Do not use BP_SYM.
17505 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
17507 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
17509 (PARMS): Do not use macros from bp-asm.h.
17514 (__clone): Do not use BP_SYM.
17515 (clone): Do not use BP_SYM in weak_alias.
17516 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
17518 (PARMS): Do not use macros from bp-asm.h.
17520 (__mmap64): Do not use BP_SYM.
17521 (mmap64): Do not use BP_SYM in weak_alias.
17522 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
17523 <bp-sym.h> and <bp-asm.h>.
17524 (PARMS): Do not use macros from bp-asm.h.
17525 (__posix_fadvise64_l64): Do not use BP_SYM.
17526 * sysdeps/unix/sysv/linux/i386/semtimedop.S
17527 (PARMS): Do not use macros from bp-asm.h.
17529 (semtimedop): Do not use BP_SYM.
17530 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
17533 2013-02-21 Allan McRae <allan@archlinux.org>
17535 * manual/message.texi (Charset conversion in gettext):
17536 Move @end statement to beginning of line.
17538 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17540 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
17542 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
17545 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
17546 (denorm): Likewise.
17547 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
17548 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
17550 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17552 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
17553 tail-call to the resolved function if pltexit isn't needed.
17555 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17557 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
17558 or Y being zero as being unlikely.
17559 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
17562 2013-02-20 Carlos O'Donell <carlos@redhat.com>
17564 * manual/nss.texi (System Databases and Name Service Switch):
17565 Remove frobnicate @pxref.
17567 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
17569 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
17570 __attribute__ ((unused)) to __attribute__ ((__unused__)).
17572 2013-02-20 Petr Machata <pmachata@redhat.com>
17574 * elf/elf.h (R_ARM_TARGET1): New macro.
17575 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
17576 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
17577 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
17578 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
17579 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
17580 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
17581 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
17582 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
17583 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
17584 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
17585 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
17586 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
17587 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
17588 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
17589 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
17590 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
17591 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
17592 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
17593 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
17594 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
17595 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
17596 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
17597 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
17598 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
17599 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
17600 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
17601 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
17602 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
17603 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
17604 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
17605 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
17606 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
17607 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
17608 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
17609 (R_ARM_THM_GOT_BREL12): Likewise.
17610 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
17611 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
17612 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
17613 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
17614 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
17615 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
17616 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
17617 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
17618 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
17620 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
17622 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
17623 __attribute_used__ to __attribute__ ((unused)).
17625 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17627 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
17629 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
17630 comment formatting.
17631 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
17633 2013-02-19 Joseph Myers <joseph@codesourcery.com>
17636 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
17638 (ENTER): Remove both macro definitions.
17640 (CHECK_BOUNDS_LOW): Likewise.
17641 (CHECK_BOUNDS_HIGH): Likewise.
17642 (CHECK_BOUNDS_BOTH): Likewise.
17643 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
17644 (RETURN_BOUNDED_POINTER): Likewise.
17645 (RETURN_NULL_BOUNDED_POINTER): Likewise.
17646 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
17647 (POP_ERRNO_LOCATION_RETURN): Likewise.
17648 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
17649 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17650 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
17652 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17653 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
17654 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
17655 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
17656 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
17657 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
17658 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
17659 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
17660 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
17661 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
17662 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
17663 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
17664 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17665 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
17667 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17668 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
17670 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17671 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
17672 * sysdeps/i386/i586/memset.S (memset): Likewise.
17673 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
17674 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17675 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
17677 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17678 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
17679 Change uses of L(2) to L(out).
17680 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
17681 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
17682 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
17683 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17684 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
17686 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17687 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
17689 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17690 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
17691 (RETURN): Do not use macro LEAVE.
17692 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
17693 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
17694 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
17695 * sysdeps/i386/i686/memset.S (memset): Likewise.
17696 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
17697 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
17698 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
17699 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
17701 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17702 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
17703 L(1_2) and L(1_3) into L(1).
17704 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
17705 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
17706 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17707 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
17708 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
17709 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
17710 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
17711 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17712 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
17714 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
17715 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17716 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
17717 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
17718 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
17719 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17720 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
17721 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
17722 * sysdeps/i386/strcspn.S (strcspn): Likewise.
17723 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
17724 * sysdeps/i386/strrchr.S (strrchr): Likewise.
17725 * sysdeps/i386/strspn.S (strspn): Likewise.
17726 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
17728 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17729 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
17730 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
17731 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
17732 L(1_3) into L(1_1).
17733 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
17734 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17735 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
17737 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17739 2013-02-19 Jakub Jelinek <jakub@redhat.com>
17741 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
17744 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
17746 * math/atest-exp.c (exp_mpn): Remove ROUND.
17747 * math/atest-exp2.c (exp_mpn): Likewise.
17748 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
17750 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
17751 * stdlib/tst-tls-atexit-lib.c: Likewise.
17752 * stdlib/tst-tls-atexit.c: Likewise.
17754 2013-02-18 Mike Frysinger <vapier@gentoo.org>
17756 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
17757 and __attribute_alloc_size__.
17759 2013-02-18 Mike Frysinger <vapier@gentoo.org>
17761 * include/programs/xmalloc.h: Change __attribute_alloc_size to
17762 __attribute_alloc_size__.
17763 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
17764 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
17766 2013-02-18 Mike Frysinger <vapier@gentoo.org>
17768 * include/programs/xmalloc.h: New file.
17769 * catgets/gencat.c: Include it.
17770 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
17771 * elf/pldd.c: Likewise.
17772 * iconv/iconv_charmap.c: Likewise.
17773 * iconv/iconvconfig.c: Likewise.
17774 * iconv/strtab.c: Likewise.
17775 * locale/programs/locale.c: Likewise.
17776 * locale/programs/localedef.h: Likewise.
17777 * locale/programs/simple-hash.c: Likewise.
17778 * nscd/nscd.h: Likewise.
17779 * nss/makedb.c: Likewise.
17780 * sysdeps/generic/ldconfig.h: Likewise.
17782 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
17784 * Versions.def: Add GLIBC_2.18.
17785 * include/link.h (struct link_map): New member l_tls_dtor_count.
17786 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
17787 (__call_tls_dtors): Likewise.
17788 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
17789 __cxa_thread_atexit_impl.
17790 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17794 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
17796 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
17798 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
17799 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
17801 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
17803 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
17804 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
17806 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
17807 (tests): Add test case tst-tls-atexit.
17808 (modules-names): Add shared library for tst-tls-atexit.
17809 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
17810 (GLIBC_PRIVATE): Add __call_tls_dtors.
17811 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
17813 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
17814 * stdlib/tst-tls-atexit.c: New test case.
17815 * stdlib/tst-tls-atexit-lib.c: New test case.
17817 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
17819 * elf/Versions (ld): Add _dl_find_dso_for_object.
17820 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
17821 * elf/dl-open.c (_dl_find_dso_for_object): New function.
17822 (dl_open_worker): Use _dl_find_dso_for_object.
17823 * elf/dl-sym.c (do_sym): Likewise.
17824 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
17826 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17828 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
17829 Syntactic changes only.
17830 (_dl_runtime_profile): Do a tail-call to the resolved function.
17832 2013-02-17 Joseph Myers <joseph@codesourcery.com>
17835 * sysdeps/x86_64/bp-asm.h: Remove file.
17836 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
17837 <bp-sym.h> and <bp-asm.h>.
17838 (__clone): Do not use BP_SYM.
17839 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
17840 <bp-sym.h> and <bp-asm.h>.
17841 * sysdeps/unix/x86_64/sysdep.S: Likewise.
17842 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
17844 (_setjmp): Do not use BP_SYM.
17845 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
17847 (setjmp): Do not use BP_SYM.
17848 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
17850 (mempcpy): Do not use BP_SYM in weak_alias.
17851 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
17853 (strchr): Do not use BP_SYM.
17854 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
17856 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
17857 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
17858 (_start): Do not use BP_SYM.
17859 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
17861 (strcat): Do not use BP_SYM.
17862 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
17864 (STRCMP): Do not use BP_SYM.
17865 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
17867 (STRCPY): Do not use BP_SYM.
17868 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
17870 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
17872 (FUNCTION): Do not use BP_SYM.
17873 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
17875 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
17877 2013-02-17 Andreas Jaeger <aj@suse.de>
17879 * time/Versions: Sort entries.
17880 * string/Versions: Likewise.
17881 * resolv/Versions: Likewise.
17882 * posix/Versions: Likewise.
17883 * iconv/Versions: Likewise.
17884 * elf/Versions: Likewise.
17885 * wcsmbs/Versions: Likewise.
17887 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17889 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
17890 loop termination condition.
17892 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
17893 variable to calculate EZ.
17896 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
17897 the lower precision input.
17899 2013-02-15 Joseph Myers <joseph@codesourcery.com>
17902 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
17903 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
17904 (run-via-rtld-prefix): Do not handle %-bp tests.
17905 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
17906 (all-object-suffixes): Remove .ob.
17907 (bppfx): Remove variable.
17908 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
17909 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
17910 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
17911 [$(build-bounded) = yes] (libtype.ob): Likewise.
17912 * Makerules (elide-routines.ob): Remove variable.
17913 (do-tests-clean): Do not handle *-bp.out.
17914 (common-mostlyclean): Do not handle *-bp and *-bp.out.
17915 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
17916 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
17917 (tests): Do not include $(tests-bp.out).
17918 (xtests): Do not include $(xtests-bp.out).
17919 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
17920 [$(build-bounded) = yes] ($(addprefix
17921 $(objpfx),$(binaries-bounded))): Remove rule.
17922 ($(objpfx)%-bp.out): Remove rule.
17923 * config.make.in (build-bounded): Remove variable.
17924 * crypt/Makefile [$(build-bounded) = yes]
17925 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
17926 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
17927 append to variable.
17928 [$(build-bounded) = yes] (install-lib): Likewise.
17929 [$(build-bounded) = yes] (generated): Likewise.
17930 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
17932 * intl/Makefile [$(build-bounded) = yes]
17933 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
17934 * math/Makefile [$(build-bounded) = yes]
17935 ($(tests:%=$(objpfx)%-bp): Likewise.
17936 * misc/Makefile [$(build-bounded) = yes]
17937 ($(objpfx)tst-tsearch-bp): Likewise.
17938 * nptl/Makeconfig (bounded-thread-library): Remove variable.
17939 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
17941 * string/Makefile (o-objects.ob): Remove variable.
17942 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
17943 (CFLAGS-.ob): Remove variable.
17944 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
17945 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
17946 both definitions of variable.
17947 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
17948 (ASFLAGS-.ob): Remove variable.
17950 2013-02-14 Joseph Myers <joseph@codesourcery.com>
17953 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
17954 Remove __BOUNDED_POINTERS__ from condition.
17955 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
17956 * string/bits/string2.h [!__NO_STRING_INLINES &&
17957 !__BOUNDED_POINTERS__]: Likewise.
17958 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
17960 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
17961 Remove conditional code.
17962 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
17963 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
17964 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
17968 * csu/libc-start.c: Do not include <bp-sym.h>.
17969 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
17970 * elf/dl-open.c: Do not include <bp-sym.h>.
17971 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
17972 * math/fegetenv.c: Do not include <bp-sym.h>.
17973 (fegetenv): Do not use BP_SYM in versioned symbols.
17974 * nptl/sysdeps/pthread/bits/libc-lockP.h
17975 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
17977 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17978 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
17979 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17980 (__pthread_mutex_destroy): Likewise.
17981 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17982 (__pthread_mutex_lock): Likewise.
17983 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17984 (__pthread_mutex_trylock): Likewise.
17985 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17986 (__pthread_mutex_unlock): Likewise.
17987 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17988 (__pthread_mutexattr_init): Likewise.
17989 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17990 (__pthread_mutexattr_destroy): Likewise.
17991 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17992 (__pthread_mutexattr_settype): Likewise.
17993 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17994 (__pthread_rwlock_init): Likewise.
17995 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17996 (__pthread_rwlock_destroy): Likewise.
17997 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17998 (__pthread_rwlock_rdlock): Likewise.
17999 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18000 (__pthread_rwlock_tryrdlock): Likewise.
18001 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18002 (__pthread_rwlock_wrlock): Likewise.
18003 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18004 (__pthread_rwlock_trywrlock): Likewise.
18005 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18006 (__pthread_rwlock_unlock): Likewise.
18007 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18008 (__pthread_key_create): Likewise.
18009 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18010 (__pthread_setspecific): Likewise.
18011 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18012 (__pthread_getspecific): Likewise.
18013 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
18015 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18016 (_pthread_cleanup_push_defer): Likewise.
18017 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18018 (_pthread_cleanup_pop_restore): Likewise.
18019 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18020 (pthread_setcancelstate): Likewise.
18021 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
18023 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
18024 (memchr): Do not use BP_SYM in weak_alias.
18025 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
18026 (fegetenv): Do not use BP_SYM in versioned symbols.
18027 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
18028 (fesetenv): Do not use BP_SYM in versioned symbols.
18029 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
18030 (feupdateenv): Do not use BP_SYM in versioned symbols.
18031 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
18032 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
18033 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
18034 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
18035 (open64): Do not use BP_SYM in weak_alias.
18036 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
18037 (fegetenv): Do not use BP_SYM in versioned symbols.
18038 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
18039 (fesetenv): Do not use BP_SYM in versioned symbols.
18040 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
18041 (feupdateenv): Do not use BP_SYM in versioned symbols.
18042 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
18043 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
18044 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
18045 (feraiseexcept): Do not use BP_SYM in versioned symbols.
18046 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
18047 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
18048 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
18050 (__libc_start_main): Do not use BP_SYM.
18052 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
18054 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
18055 redundant return line.
18057 (denorm): Likewise.
18058 (dbl_mp): Likewise.
18059 (sub_magnitudes): Likewise.
18065 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
18067 (denorm): Likewise.
18068 (dbl_mp): Likewise.
18069 (sub_magnitudes): Likewise.
18076 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
18078 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
18079 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
18082 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
18083 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
18084 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
18085 of __mul for squares.
18086 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
18088 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
18090 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
18091 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
18093 2013-02-13 Joseph Myers <joseph@codesourcery.com>
18096 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
18098 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
18099 prototype or function definition. Rename ubp_* variables and
18100 parameters. Remove argv definitions conditional on
18101 [__BOUNDED_POINTERS__].
18102 * debug/backtrace.c (__backtrace): Do not use __unbounded.
18103 * elf/dl-runtime.c (_dl_fixup): Likewise.
18104 * include/set-hooks.h (RUN_HOOK): Likewise.
18105 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
18107 * string/strcpy.c (strcpy): Do not use __unbounded.
18108 * sysdeps/generic/frame.h (struct layout): Likewise.
18109 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
18110 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
18111 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
18112 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
18113 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
18114 (__backtrace): Likewise.
18115 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
18117 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
18118 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
18119 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
18121 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
18122 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
18123 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
18124 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
18125 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
18126 Do not use __unbounded.
18127 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
18128 Rename __unboundedrlimits parameter to rlimits in prototype.
18129 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
18130 Do not use __unbounded.
18131 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
18132 not use __ptrvalue.
18133 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
18134 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
18135 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
18136 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
18137 __ptrvalue or __unbounded.
18138 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
18139 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
18141 (__new_msgctl): Do not use __ptrvalue.
18142 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
18144 (__libc_msgrcv): Do not use __ptrvalue.
18145 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
18146 startup_info): Do not use __unbounded.
18147 (__libc_start_main): Likewise. Rename ubp_* variables and
18148 parameters. Remove argv definitions conditional on
18149 [__BOUNDED_POINTERS__].
18150 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
18152 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
18154 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
18156 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
18158 (__new_shmctl): Do not use __ptrvalue.
18159 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
18160 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
18162 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
18163 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
18164 (__libc_sigaction): Likewise.
18165 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
18166 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
18168 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
18170 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
18172 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
18174 * string/mempcpy.c: Implement by calling memcpy.
18176 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
18178 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
18180 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
18183 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
18184 values in the mantissa.
18186 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
18187 minimize writes to Z.
18188 (sub_magnitudes): Simplify code a bit.
18190 2013-02-12 Roland McGrath <roland@hack.frob.com>
18192 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
18193 from the message. The linker prefixes all warnings with that already.
18195 2013-02-12 Andreas Schwab <schwab@suse.de>
18198 * posix/regexec.c (extend_buffers): Add parameter min_len.
18199 (check_matching): Pass minimum needed length.
18200 (clean_state_log_if_needed): Likewise.
18201 (get_subexp): Likewise.
18202 * posix/Makefile (tests): Add bug-regex34.
18203 (bug-regex34-ENV): Define.
18204 * posix/bug-regex34.c: New file.
18207 * posix/regcomp.c (parse_bracket_exp): When looking up collating
18208 elements compare against the byte sequence of it, not its name.
18209 * posix/Makefile (tests): Add bug-regex35.
18210 (bug-regex35-ENV): Define.
18211 * posix/bug-regex35.c: New file.
18213 2013-02-11 Tom de Vries <tom@codesourcery.com>
18215 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
18217 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
18218 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
18219 (CHECK_EOL): Add undef.
18221 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
18223 * bits/stdlib-bsearch.h: New file.
18224 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
18225 * stdlib/stdlib.h: Likewise.
18227 2013-02-11 Roland McGrath <roland@hack.frob.com>
18229 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
18230 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
18232 * manual/search.texi (Array Search Function): Add missing const in
18234 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
18235 declaration to use rlim_t.
18236 (Basic Scheduling Functions): Remove erroneous const from
18237 sched_getparam prototype. Remove erroneous * from
18238 sched_get_priority_max and sched_get_priority_min prototypes.
18239 (Resource Usage): Fix summary @comment on vtimes to refer to
18240 sys/vtimes.h rather than vtimes.h.
18241 Add missing *s in vtimes prototype.
18242 (Limits on Resources): Fix ulimit prototype to return long int.
18243 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
18244 prototypes to use long int rather than double.
18245 (BSD Random): Fix initstate and setstate to use char *, not void *.
18246 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
18247 prototype to make second argument 'struct aiocb64 *const[]'.
18248 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
18249 (Status of AIO Operations): Remove erroneous const in aio_return and
18250 aio_return64 prototypes.
18251 (Synchronizing I/O): Fix sync prototype to return void.
18252 * manual/startup.texi (Suboptions): Remove an erroneous const in
18253 getsubopt prototype.
18254 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
18255 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
18256 use size_t rather than int.
18257 (Scanning All Users): Likewise for getpwent_r.
18258 (Setting Groups): Add missing const to setgroups prototype.
18259 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
18260 * manual/socket.texi (Host Names): Fix gethostbyaddr and
18261 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
18262 'const void *' rather than 'const char *'.
18263 (Host Address Functions): Likewise for inet_ntop.
18264 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
18265 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
18266 ssize_t for return value.
18267 (Sending Data): Likewise for send, sendto, sendmsg.
18268 (Socket Option Functions): Add a missing const in setsockopt prototype.
18269 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
18270 use wchar_t for the argument.
18271 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
18272 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
18274 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
18275 double/float/long double for second argument.
18276 Fix return types of significand, significandf, significandl.
18277 * manual/filesys.texi (Setting Permissions): Use mode_t for second
18278 argument in fchmod prototype.
18279 (File Owner): Use uid_t and gid_t in fchown prototype.
18280 (File Times): Add const to utimes, futimes, and lutimes prototypes.
18281 (Making Special Files): Use mode_t and dev_t in mknod prototype.
18282 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
18283 use 'const struct dirent **' as argument types to CMP function pointer
18285 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
18286 (File Times): Fix summary magic @comment for struct utimbuf and utime
18287 to refer to utime.h, not time.h.
18288 * manual/string.texi (Argz Functions): Add missing const in
18289 argz_extract and argz_next prototypes.
18290 (Finding Tokens in a String): Likewise for basename.
18291 (String/Array Comparison): Fix typo in wcscasecmp prototype.
18292 (Copying and Concatenation): Fix typo in wmemmove prototype.
18293 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
18294 (Signal Stack): Remove erroneous const in sigstack prototype.
18295 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
18297 (Simple Calendar Time): Likewise for stime.
18298 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
18300 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
18301 say sys/sysctl.h instead.
18302 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
18303 and vsyslog prototypes.
18305 2013-02-11 Tom de Vries <tom@codesourcery.com>
18307 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
18310 2013-02-11 Roland McGrath <roland@hack.frob.com>
18312 * misc/sys/mman.h: Fix typo in mremap comment.
18314 2013-02-08 Roland McGrath <roland@hack.frob.com>
18316 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
18317 the '\0' terminator.
18319 2013-02-08 Joseph Myers <joseph@codesourcery.com>
18322 * debug/segfault.c: Don't include <bp-checks.h>.
18323 * sysdeps/generic/bp-checks.h: Remove file.
18324 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
18325 (__GETDENTS): Don't use CHECK_N.
18326 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
18327 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
18328 (__getgroups): Don't use CHECK_N.
18329 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
18330 (setgroups): Don't use CHECK_N.
18331 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
18332 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
18333 (__libc_msgrcv): Don't use CHECK_N.
18334 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
18335 (__libc_msgsnd): Don't use CHECK_N.
18336 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
18338 (__libc_pread): Don't use CHECK_N.
18339 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
18340 include <bp-checks.h>.
18341 (__libc_pread64): Don't use CHECK_N.
18342 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
18343 include <bp-checks.h>.
18344 (__libc_pwrite): Don't use CHECK_N.
18345 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
18346 include <bp-checks.h>.
18347 (__libc_pwrite64): Don't use CHECK_N.
18348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
18350 (__libc_pread): Don't use CHECK_N.
18351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
18352 include <bp-checks.h>.
18353 (__libc_pread64): Don't use CHECK_N.
18354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
18355 include <bp-checks.h>.
18356 (__libc_pwrite): Don't use CHECK_N.
18357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
18358 include <bp-checks.h>.
18359 (__libc_pwrite64): Don't use CHECK_N.
18360 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
18361 (do_pread): Don't use CHECK_N.
18362 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
18363 (do_pread64): Don't use CHECK_N.
18364 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
18365 (do_pwrite): Don't use CHECK_N.
18366 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
18367 (do_pwrite64): Don't use CHECK_N.
18368 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
18369 (__libc_readv): Don't use CHECK_N.
18370 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
18371 (semop): Don't use CHECK_N.
18372 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
18374 (semtimedop): Don't use CHECK_N.
18375 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
18376 (__libc_pread): Don't use CHECK_N.
18377 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
18379 (__libc_pread64): Don't use CHECK_N.
18380 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
18382 (__libc_pwrite): Don't use CHECK_N.
18383 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
18385 (__libc_pwrite64): Don't use CHECK_N.
18386 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
18388 (__libc_msgrcv): Don't use CHECK_N.
18389 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
18390 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
18391 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
18392 (__libc_writev): Don't use CHECK_N.
18394 2013-02-08 Roland McGrath <roland@hack.frob.com>
18396 * string/strcpy.c: Removed unused variable.
18398 * Makeconfig (+sysdep-includes): Define with := rather than =.
18399 Use an existing include/ subdir of each sysdeps dir before it.
18401 2013-02-08 Carlos O'Donell <carlos@redhat.com>
18403 * nscd/connection.c (register_traced_file): Comment function.
18404 [HAVE_INOTIFY] (union __inev): Define.
18405 [HAVE_INOTIFY] (inotify_check_files): New function.
18406 [HAVE_INOTIFY] (clear_db_cache): Likewise.
18407 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
18409 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
18411 2013-02-08 Carlos O'Donell <carlos@redhat.com>
18413 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
18414 loaded if not already and that a failure is permanent.
18416 2013-02-08 Carlos O'Donell <carlos@redhat.com>
18419 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
18420 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
18422 2013-02-08 Joseph Myers <joseph@codesourcery.com>
18425 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
18426 (CHECK_1_NULL_OK): Likewise.
18427 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
18428 (__fxstat): Do not use CHECK_1.
18429 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
18431 (___fxstat64): Do not use CHECK_1.
18432 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
18434 (__fxstatat): Do not use CHECK_1.
18435 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
18437 (__fxstatat64): Do not use CHECK_1.
18438 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
18440 (__fxstat): Do not use CHECK_1.
18441 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
18443 (__fxstatat): Do not use CHECK_1.
18444 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
18446 (__getresgid): Do not use CHECK_1.
18447 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
18449 (__getresuid): Do not use CHECK_1.
18450 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
18452 (__lxstat): Do not use CHECK_1.
18453 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
18455 (__old_msgctl): Do not use CHECK_1.
18456 (__new_msgctl): Likewise.
18457 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
18459 (__new_setrlimit): Do not use CHECK_1.
18460 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
18462 (__old_shmctl): Do not use CHECK_1.
18463 (__new_shmctl): Likewise.
18464 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
18466 (__xstat): Do not use CHECK_1.
18467 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
18468 (__lxstat): Do not use CHECK_1.
18469 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
18471 (___lxstat64): Do not use CHECK_1.
18472 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
18473 (__old_msgctl): Do not use CHECK_1.
18474 (__new_msgctl): Likewise.
18475 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
18477 (__gettimeofday): Do not use CHECK_1.
18478 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
18479 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
18480 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
18482 (__gettimeofday): Do not use CHECK_1.
18483 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
18484 (__old_shmctl): Do not use CHECK_1_NULL_OK.
18485 (__new_shmctl): Do not use CHECK_1.
18486 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
18488 (do_sigtimedwait): Do not use CHECK_1.
18489 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
18491 (do_sigwaitinfo): Do not use CHECK_1.
18492 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
18494 (msgctl): Do not use CHECK_1.
18495 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
18497 (shmctl): Do not use CHECK_1.
18498 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
18499 (ustat): Do not use CHECK_1.
18500 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
18502 (__fxstat): Do not use CHECK_1.
18503 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
18505 (__fxstatat): Do not use CHECK_1.
18506 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
18508 (__lxstat): Do not use CHECK_1.
18509 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
18511 (__xstat): Do not use CHECK_1.
18512 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
18513 (__xstat): Do not use CHECK_1.
18514 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
18515 (___xstat64): Do not use CHECK_1.
18518 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
18520 (CHECK_BOUNDS_HIGH): Likewise.
18521 * string/strcpy.c: Do not include <bp-checks.h>.
18522 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
18524 2013-02-07 Roland McGrath <roland@hack.frob.com>
18526 * nscd/nscd-client.h (__nscd_drop_map_ref):
18527 Add __attribute__ ((unused)).
18528 * nis/nss-nisplus.h (niserr2nss): Likewise.
18530 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
18531 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
18533 * csu/libc-tls.c (init_static_tls, init_slotinfo):
18534 Remove inline keyword.
18535 * include/rounding-mode.h (round_away): Likewise.
18536 * libio/wfileops.c (adjust_wide_data): Likewise.
18537 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
18538 (__m128i_strloadu_tolower): Likewise.
18539 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
18540 (__m128i_strloadu_tolower): Likewise.
18541 * time/mktime.c (ydhms_diff): Likewise.
18542 * locale/elem-hash.h (elem_hash): Likewise.
18543 * locale/setlocale.c (setdata): Likewise.
18544 * posix/regex_internal.h (re_string_char_size_at): Likewise.
18545 (re_string_wchar_at): Likewise.
18546 (bitset_not, bitset_merge, bitset_mask): Likewise.
18547 [!(__GNUC__ > 3)] (inline): Remove macro.
18548 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
18549 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
18550 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
18551 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
18552 * string/memcmp.c (memcmp_bytes): Likewise.
18553 * locale/programs/locarchive.c (compute_hashval): Likewise.
18554 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
18555 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
18556 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
18557 * nss/getent.c (print_rpc, print_protocols): Likewise.
18558 (print_passwd, print_group, print_aliases): Likewise.
18559 * nis/nss-nisplus.h (niserr2nss): Likewise.
18560 * nscd/connections.c (restart_p): Likewise.
18561 Change return type to bool.
18563 2013-02-05 Roland McGrath <roland@hack.frob.com>
18565 * Makeconfig (all-Depend-files): Add existing
18566 $(sorted-subdirs:=/Depend) files.
18567 (all-subdirs): Remove nss.
18568 * sysdeps/unix/inet/Subdirs: Add it here instead.
18569 * hesiod/Depend: New file.
18571 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
18572 instead of calling alloca.
18574 * io/lseek.c (__lseek): Rename to __libc_lseek.
18575 Define __lseek as an alias.
18577 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
18579 2013-02-04 Carlos O'Donell <carlos@redhat.com>
18581 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
18582 else clause and remove check for non-standard endianness.
18584 2013-02-04 David S. Miller <davem@davemloft.net>
18586 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18588 2013-02-04 Joseph Myers <joseph@codesourcery.com>
18591 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
18592 (__ubp_memchr): Remove prototype.
18593 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
18594 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
18595 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
18596 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
18597 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
18599 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
18600 (__ubp_memchr): Likewise.
18601 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
18602 (__ubp_memchr): Likewise.
18603 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
18604 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
18605 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
18606 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
18608 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
18609 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
18610 (__getcwd): Do not use CHECK_STRING.
18611 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
18613 (__real_chown): Do not use CHECK_STRING.
18614 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
18616 (fchownat): Do not use CHECK_STRING.
18617 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
18619 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
18621 (__lchown): Do not use CHECK_STRING.
18622 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
18623 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
18624 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
18625 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
18626 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
18627 include <bp-checks.h>.
18628 (truncate64): Do not use CHECK_STRING.
18629 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
18631 (__real_chown): Do not use CHECK_STRING.
18632 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
18634 (__lchown): Do not use CHECK_STRING.
18635 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
18637 (__chown): Do not use CHECK_STRING.
18638 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
18640 (truncate64): Do not use CHECK_STRING.
18641 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
18643 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
18644 (__xmknod): Do not use CHECK_STRING.
18645 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
18647 (__xmknodat): Do not use CHECK_STRING.
18648 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
18649 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
18651 2013-02-04 Andreas Schwab <schwab@suse.de>
18654 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
18655 * include/netdb.h: Likewise for h_errno.
18656 * elf/tst-stackguard1.c: Include <tls.h>.
18658 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
18660 * elf/link.h (struct link_map): Extend the l_addr comment.
18661 * include/link.h (struct link_map): Likewise.
18663 2013-02-01 Joseph Myers <joseph@codesourcery.com>
18666 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
18667 (BOUNDED_1): Remove macro.
18668 * debug/backtrace.c: Don't include <bp-checks.h>.
18669 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
18670 (__backtrace): Likewise.
18671 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
18673 (__backtrace): Don't use BOUNDED_1.
18674 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
18676 (__backtrace): Don't use BOUNDED_1.
18677 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
18678 (__backtrace): Don't use BOUNDED_1.
18679 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
18680 (shmat): Don't use BOUNDED_N.
18682 2013-01-31 Joseph Myers <joseph@codesourcery.com>
18685 * sysdeps/generic/bp-start.h: Remove file.
18686 * csu/libc-start.c: Don't include <bp-start.h>.
18687 (LIBC_START_MAIN): Set up __environ directly instead of using
18688 INIT_ARGV_and_ENVIRON.
18689 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
18693 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
18695 (CHECK_FCNTL): Likewise.
18696 (CHECK_N_PAGES): Likewise.
18699 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
18701 (CHECK_SIGSET_NULL_OK): Likewise.
18702 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
18704 (sigpending): Don't use CHECK_SIGSET.
18705 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
18707 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18708 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
18710 (do_sigsuspend): Don't use CHECK_SIGSET.
18711 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
18713 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
18714 (do_sigwait): Don't use CHECK_SIGSET.
18715 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
18717 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
18718 include <bp-checks.h>.
18719 (sigpending): Don't use CHECK_SIGSET.
18720 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
18721 include <bp-checks.h>.
18722 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18723 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
18725 (sigpending): Don't use CHECK_SIGSET.
18726 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
18728 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18731 * sysdeps/generic/bp-semctl.h: Remove file.
18732 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
18733 <bp-checks.h> and <bp-semctl.h>.
18734 (__old_semctl): Don't use CHECK_SEMCTL.
18735 (__new_semctl): Likewise.
18736 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
18738 (__old_semctl): Don't use CHECK_SEMCTL.
18739 (__new_semctl): Likewise.
18740 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
18741 <bp-checks.h> and <bp-semctl.h>.
18742 (__old_semctl): Don't use CHECK_SEMCTL.
18743 (__new_semctl): Likewise.
18744 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
18745 <bp-checks.h> and <bp-semctl.h>.
18746 (semctl): Don't use CHECK_SEMCTL.
18749 * Makerules (elide-bp-thunks): Remove variable.
18750 (elide-routines.oS): Don't use $(elide-bp-thunks).
18751 (elide-routines.os): Likewise.
18752 (elide-routines.o): Likewise.
18753 (elide-routines.op): Likewise.
18754 (elide-routines.og): Likewise.
18755 (objects): Don't use $(bp-thunks).
18756 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
18758 (common-generated): Do not add s-proto-bp.d.
18759 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
18762 Do not generate makefile rules for bounded-pointer thunks.
18763 * sysdeps/generic/bp-thunks.h: Remove file.
18764 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
18765 * sysdeps/unix/s-proto-bp.S: Likewise.
18768 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
18769 parts of result separately when argument is not close to line from
18770 -i to i and one part of argument is small.
18771 * math/k_casinhf.c (__kernel_casinhf): Likewise.
18772 * math/k_casinhl.c (__kernel_casinhl): Likewise.
18773 * math/libm-test.inc (cacos_test): Add more tests.
18774 (casin_test): Likewise.
18775 (casinh_test): Likewise.
18776 * sysdeps/i386/fpu/libm-test-ulps: Update.
18777 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18779 2013-01-31 David S. Miller <davem@davemloft.net>
18781 * po/de.po: Update from translation team.
18783 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
18785 * time/tzfile.c: Include stdint.h for SIZE_MAX.
18787 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
18789 * configure.in (_AC_PROG_CC_C89): New definition.
18790 * configure: Regenerate.
18792 * configure.in (AC_PROG_CPP): New definition.
18793 * configure: Regenerate.
18795 2013-01-23 Joseph Myers <joseph@codesourcery.com>
18797 * debug/tst-backtrace.h: New file.
18798 * debug/tst-backtrace2.c: Include tst-backtrace.h.
18799 (ret): Remove variable.
18801 (FAIL): Remove macro.
18802 (NO_INLINE): Likewise.
18803 (fn1): Use match function instead of strstr.
18804 * debug/tst-backtrace3.c: Include tst-backtrace.h.
18805 (ret): Remove variable.
18807 (FAIL): Remove macro.
18808 (NO_INLINE): Likewise.
18809 (fn): Use match function instead of strstr.
18810 * debug/tst-backtrace4.c: Include tst-backtrace.h.
18811 (ret): Remove variable.
18813 (FAIL): Remove macro.
18814 (NO_INLINE): Likewise.
18815 (handle_signal): Use match function instead of strstr.
18816 * debug/tst-backtrace5.c: Include tst-backtrace.h.
18817 (ret): Remove variable.
18819 (FAIL): Remove macro.
18820 (NO_INLINE): Likewise.
18821 (handle_signal): Use match function instead of strstr.
18823 2013-01-23 Roland McGrath <roland@hack.frob.com>
18825 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
18827 2013-01-23 David S. Miller <davem@davemloft.net>
18829 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
18830 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
18831 argument of CAS if possible.
18832 * sysdeps/sparc/sparc64/bits/atomic.h
18833 (__arch_compare_and_exchange_val_32_acq): Likewise.
18834 (__arch_compare_and_exchange_val_64_acq): Likewise.
18836 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
18838 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
18839 * sysdeps/posix/ulimit.c: ... this.
18840 Include <limits.h>.
18841 * sysdeps/unix/bsd/ulimit.c: Remove file.
18843 2013-01-23 Adam Conrad <adconrad@0c3.net>
18845 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
18846 (LDFLAGS-tst-array5): Likewise.
18848 2013-01-23 Joseph Myers <joseph@codesourcery.com>
18851 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
18852 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
18853 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
18854 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
18856 2013-01-21 David S. Miller <davem@davemloft.net>
18858 * sysdeps/sparc/backtrace.c: New file.
18859 * sysdeps/sparc/sparc32/backtrace.h: New file.
18860 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
18861 * sysdeps/sparc/sparc64/backtrace.h: New file.
18862 * sysdeps/sparc/sparc64/backtrace.c: Delete.
18863 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
18866 2013-01-21 Andreas Schwab <schwab@suse.de>
18869 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
18872 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
18874 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
18876 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18878 2013-01-18 Joseph Myers <joseph@codesourcery.com>
18879 Mark Mitchell <mark@codesourcery.com>
18880 Tom de Vries <tom@codesourcery.com>
18881 Paul Pluzhnikov <ppluzhnikov@google.com>
18883 * debug/tst-backtrace2.c: New file.
18884 * debug/tst-backtrace3.c: Likewise.
18885 * debug/tst-backtrace4.c: Likewise.
18886 * debug/tst-backtrace5.c: Likewise.
18887 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
18888 (CFLAGS-tst-backtrace3.c): Likewise.
18889 (CFLAGS-tst-backtrace4.c): Likewise.
18890 (CFLAGS-tst-backtrace5.c): Likewise.
18891 (LDFLAGS-tst-backtrace2): Likewise.
18892 (LDFLAGS-tst-backtrace3): Likewise.
18893 (LDFLAGS-tst-backtrace4): Likewise.
18894 (LDFLAGS-tst-backtrace5): Likewise.
18895 (tests): Add new tests tst-backtrace2, tst-backtrace3,
18896 tst-backtrace4 and tst-backtrace5.
18898 2013-01-18 Anton Blanchard <anton@samba.org>
18899 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18901 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
18902 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
18903 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
18904 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
18905 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
18906 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
18907 "+r" and remove output regs list as redundant. Add explicit inline
18908 asm to specify register of return val to work around compiler codegen
18909 bug. Remove (int) cast on return value. Add return type parameter to
18910 use in macro so that this macro does not truncate return value for
18912 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
18913 pass to INTERNAL_VSYSCALL_NCS.
18914 (INLINE_VSYSCALL): Add 'long int' as return type to
18915 INTERNAL_VSYSCALL_NCS macro invocation.
18916 (INTERNAL_VSYSCALL): Add 'long int' as return type to
18917 INTERNAL_VSYSCALL_NCS macro invocation.
18918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
18920 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
18923 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
18924 Fix application of SIMD FP exception mask.
18926 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
18927 mp_no from a power of two.
18928 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
18929 __mpexp_twomm1. Use __pow_mp.
18931 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
18934 2013-01-17 David S. Miller <davem@davemloft.net>
18936 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18938 2013-01-17 Joseph Myers <joseph@codesourcery.com>
18941 * include/complex.h: Condition contents on [!_COMPLEX_H].
18942 (__kernel_casinhf): New prototype.
18943 (__kernel_casinh): Likewise.
18944 (__kernel_casinhl): Likewise.
18945 * math/Makefile (libm_calls): Add k_casinh.
18946 * math/k_casinh.c: New file.
18947 * math/k_casinhf.c: Likewise.
18948 * math/k_casinhl.c: Likewise.
18949 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
18950 finite nonzero arguments.
18951 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
18952 finite nonzero arguments.
18953 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
18954 finite nonzero arguments.
18955 * math/s_casinh.c: Do not include <float.h>.
18956 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
18957 * math/s_casinhf.c: Do not include <float.h>.
18958 (__casinhf): Move code for finite nonzero arguments to
18960 * math/s_casinhl.c: Do not include <float.h>.
18961 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
18963 (__casinhl): Move code for finite nonzero arguments to
18965 * math/libm-test.inc (cacos_test): Add more tests.
18966 * sysdeps/i386/fpu/libm-test-ulps: Update.
18967 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18969 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
18971 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
18972 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
18973 [!HAVE_MREMAP]: Remove [defined linux] case.
18974 * malloc/arena.c: Do not include <malloc-sysdep.h>.
18976 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
18978 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
18980 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
18982 * elf/elf.h (R_386_SIZE32): New relocation.
18983 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
18985 (elf_machine_rela): Likewise.
18986 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
18987 R_X86_64_SIZE64 and R_X86_64_SIZE32.
18989 2013-01-17 Joseph Myers <joseph@codesourcery.com>
18991 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
18992 (FP_FAST_FMA): Do not define.
18993 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
18994 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
18995 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
18996 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
18997 !_SOFT_FLOAT]: Likewise.
18998 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
18999 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
19001 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
19002 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
19003 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
19004 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
19005 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
19006 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
19009 2013-01-16 Andreas Schwab <schwab@suse.de>
19012 * include/stdlib.h (__mktemp): Add declaration.
19013 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
19014 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
19016 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
19018 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
19020 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
19021 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
19022 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
19024 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
19025 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
19027 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
19029 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
19030 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
19031 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
19033 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
19034 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
19036 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
19038 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
19040 2013-01-15 David S. Miller <davem@davemloft.net>
19042 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
19043 trunc{,f} to libm-sysdep_routes.
19044 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
19045 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
19047 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
19048 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
19050 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
19052 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
19053 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
19054 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
19055 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
19056 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
19057 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
19058 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
19059 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
19061 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
19062 nearbyint{,f} to libm-sysdep_routes.
19063 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
19064 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
19066 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
19068 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
19070 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
19072 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
19073 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
19074 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
19076 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
19077 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
19079 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
19080 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
19081 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
19083 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
19084 libc_feholdexcept and libc_fesetenv.
19086 2013-01-15 Mike Frysinger <vapier@gentoo.org>
19088 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
19090 2013-01-14 David S. Miller <davem@davemloft.net>
19092 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
19093 (SPARC_ASM_VIS2_IFUNC): Likewise.
19094 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
19095 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
19096 use of 'siam' instruction.
19097 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
19099 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
19101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
19103 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
19104 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
19105 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
19106 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
19107 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
19109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
19111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
19113 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
19115 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
19116 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
19117 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
19118 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
19119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
19121 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
19122 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
19123 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
19125 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
19126 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
19127 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
19128 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
19129 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
19130 routines to libm-sysdep_routines.
19131 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
19133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
19134 fdim/fdimf to libm-sysdep_routines.
19135 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
19137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
19138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
19140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
19141 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
19142 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
19143 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
19144 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
19145 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
19146 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
19148 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
19150 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
19151 to optimize copies.
19153 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
19154 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19155 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19157 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
19158 local variable MPTWO.
19159 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
19162 2013-01-13 Mike Frysinger <vapier@gentoo.org>
19164 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
19167 2013-01-13 Mike Frysinger <vapier@gentoo.org>
19169 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
19171 2013-01-13 Mike Frysinger <vapier@gentoo.org>
19173 * manual/pattern.texi (glob_t): Document gl_flags.
19174 (glob64_t): Likewise.
19176 2013-01-11 David S. Miller <davem@davemloft.net>
19178 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
19179 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
19180 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
19181 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
19182 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
19183 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
19184 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
19185 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
19186 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
19187 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
19188 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
19189 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
19190 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
19192 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
19193 sparc V9 rather than using V8 code.
19194 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19195 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19197 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
19199 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
19202 2013-01-11 Roland McGrath <roland@hack.frob.com>
19204 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
19205 not in the main loop.
19206 * configure: Regenerated.
19208 2013-01-11 Joseph Myers <joseph@codesourcery.com>
19210 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
19211 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
19213 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
19214 [!__GLIBC_HAVE_LONG_LONG] case.
19215 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
19216 condition to just #else.
19217 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
19218 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
19219 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
19220 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
19222 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
19223 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
19224 #elif condition to just #else.
19225 * sysdeps/unix/sysv/linux/sys/sysmacros.h
19226 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
19227 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
19228 #elif condition to just #else.
19230 2013-01-11 Steve Ellcey <sellcey@mips.com>
19232 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
19233 (EF_MIPS_ARCH_64): Fix value.
19234 (EF_MIPS_ARCH_32R2): New.
19235 (EF_MIPS_ARCH_64R2): New.
19237 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
19239 * Makeconfig (+link-pie-before-libc): New.
19240 (+link-pie-after-libc): Likewise.
19241 (+link-pie-tests): Likewise.
19242 (+link-pie): Rewritten.
19243 (link-before-libc): Remove $(config-LDFLAGS).
19244 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
19245 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
19246 (config-LDFLAGS): Renamed to ...
19247 (rtld-LDFLAGS): This.
19248 (rtld-tests-LDFLAGS): New macro.
19249 (link-libc-rpath-link): Likewise.
19250 (link-libc-tests-rpath-link): Likewise.
19251 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
19252 (link-libc): Prepand $(link-libc-rpath-link).
19253 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
19254 (test-program-prefix): New macro.
19255 (test-via-rtld-prefix): Likewise.
19256 (test-program-cmd): Likewise.
19257 (host-test-program-cmd): Likewise.
19258 * Makefile ($(common-objpfx)testrun.sh): Replace
19259 $(run-program-prefix) with $(test-program-prefix).
19260 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
19262 ($(common-objpfx)shlib.lds): Likewise.
19263 (build-module-helper): Likewise.
19264 ($(common-objpfx)format.lds): Likewise.
19265 * Rules (binaries-pie-tests): New.
19266 (binaries-pie-notests): Likewise.
19267 (binaries-pie): Rewritten.
19268 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
19269 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
19270 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
19271 (make-test-out): Replace $(host-built-program-cmd) with
19272 $(host-test-program-cmd).
19273 * config.make.in (build-hardcoded-path-in-tests): New variable.
19274 * configure.in (--enable-hardcoded-path-in-tests): New configure
19276 (hardcoded_path_in_tests): New AC_SUBST.
19277 * configure: Regenerated.
19278 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
19279 $(built-program-cmd) with $(test-program-cmd).
19280 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
19281 (test_program_cmd): This.
19282 * elf/Makefile ($(objpfx)order.out): Run test with
19283 $(test-program-prefix).
19284 ($(objpfx)order2.out): Likewise.
19285 ($(objpfx)tst-initorder.out): Likewise.
19286 ($(objpfx)tst-initorder2.out): Likewise.
19287 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
19288 $(test-program-cmd).
19289 ($(objpfx)tst-array1-static.out): Likewise.
19290 ($(objpfx)tst-array2.out): Likewise.
19291 ($(objpfx)tst-array3.out): Likewise.
19292 ($(objpfx)tst-array4.out): Likewise.
19293 ($(objpfx)tst-array5.out): Likewise.
19294 ($(objpfx)tst-array5-static.out): Likewise.
19295 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
19296 $(test-program-cmd).
19297 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
19298 $(run-program-prefix) with $(test-program-prefix).
19299 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
19300 (test_program_prefix): This.
19301 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
19302 $(run-program-prefix) with $(test-program-prefix).
19303 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
19304 (test_program_prefix): This.
19305 * iconvdata/tst-tables.sh: Likewise.
19306 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
19307 $(run-program-prefix) with $(test-program-prefix).
19308 ($(objpfx)tst-translit.out): Likewise.
19309 ($(objpfx)tst-gettext2.out): Likewise.
19310 ($(objpfx)tst-gettext4.out): Likewise.
19311 ($(objpfx)tst-gettext6.out): Likewise.
19312 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
19313 (test_program_prefix): This.
19314 * intl/tst-gettext2.sh: Likewise.
19315 * intl/tst-gettext4.sh Likewise.
19316 * intl/tst-gettext6.sh: Likewise.
19317 * intl/tst-translit.sh: Likewise.
19318 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
19319 with $(test-program-cmd).
19320 * libio/Makefile ($(objpfx)test-freopen.out): Replace
19321 $(run-program-prefix) with $(test-program-prefix).
19322 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
19323 (test_program_prefix): This.
19324 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
19325 $(run-program-prefix) with $(test-program-prefix).
19326 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
19327 (test_program_prefix): This.
19328 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
19329 * posix/Makefile ($(objpfx)globtest.out): Replace
19330 $(run-via-rtld-prefix) and $(test-wrapper) with
19331 $(test-program-prefix) and $(test-via-rtld-prefix).
19332 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
19333 $(test-program-prefix).
19334 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
19335 $(host-test-program-cmd).
19336 (tst-spawn-ARGS): Likewise.
19337 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
19338 $(test-program-prefix).
19339 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
19340 (test_via_rtld_prefix): This.
19341 (test_wrapper): Renamed to ...
19342 (test_program_prefix): This.
19343 (run_program_prefix): Replaced by test_program_prefix.
19344 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
19345 (test_program_prefix): This.
19346 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
19347 with $(host-test-program-cmd).
19348 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
19349 $(run-program-prefix) with $(test-program-prefix).
19350 ($(objpfx)tst-printf.out): Likewise.
19351 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
19352 $(test-program-cmd).
19353 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
19354 (test_program_prefix): This.
19355 * stdio-common/tst-unbputc.sh: Likewise.
19356 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
19357 $(run-program-prefix) with $(test-program-prefix).
19358 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
19359 (test_program_prefix): This.
19360 * string/Makefile ($(objpfx)tst-svc.out): Replace
19361 $(built-program-cmd) with $(test-program-cmd).
19363 2013-01-11 Andreas Jaeger <aj@suse.de>
19366 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
19367 value. Sync with Linux 3.7.
19369 2013-01-10 David S. Miller <davem@davemloft.net>
19371 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
19372 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19373 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19375 2013-01-10 Roland McGrath <roland@hack.frob.com>
19377 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
19379 * configure: Regenerated.
19381 2013-01-10 David S. Miller <davem@davemloft.net>
19383 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
19384 sparc V9 rather than using V8 code.
19385 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19386 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19388 2013-01-10 Roland McGrath <roland@hack.frob.com>
19390 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
19391 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
19392 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
19393 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
19394 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
19395 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
19396 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
19397 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
19398 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
19399 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
19400 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
19401 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
19402 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
19403 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
19404 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
19405 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
19406 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
19407 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
19408 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
19409 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
19410 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
19411 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
19412 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
19413 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
19414 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
19415 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
19416 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
19418 2013-01-10 David S. Miller <davem@davemloft.net>
19420 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19422 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
19424 * posix/Makefile (tests-static): New variable.
19425 (tests): Add $(tests-static).
19426 (tst-exec-static-ARGS): New variable.
19427 (tst-spawn-static-ARGS): Likewise.
19428 * posix/tst-exec-static.c: New file.
19429 * posix/tst-spawn-static.c: Likewise.
19430 * posix/tst-exec.c: Support run directly.
19431 * posix/tst-spawn.c: Likewise.
19433 2013-01-10 Joseph Myers <joseph@codesourcery.com>
19435 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
19437 * math/bits/mathcalls.h (llrint): Likewise.
19438 (llround): Likewise.
19439 * stdlib/stdlib.h (struct drand48_data): Likewise.
19440 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
19441 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
19442 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
19444 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
19446 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
19447 (elf_greg_t): Likewise.
19448 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
19449 (__jmp_buf): Likewise.
19450 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
19452 (llrint): Likewise, for all definitions.
19453 (llrintl): Likewise.
19455 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
19456 Remove [__GNUC__] condition.
19457 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
19458 condition to just [__USE_ISOC99].
19459 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
19461 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
19464 * sysdeps/unix/sysv/linux/x86/bits/environments.h
19465 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
19467 (_POSIX_V6_ILP32_OFF32): Likewise.
19468 (_XBS5_ILP32_OFF32): Likewise.
19469 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
19470 (__ILP32_OFFBIG_LDFLAGS): Likewise.
19472 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19474 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
19476 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
19477 doubles __mpexp_twomm1. Adjust usage.
19478 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
19481 2013-01-10 Andreas Schwab <schwab@suse.de>
19484 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
19485 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
19487 2013-01-09 David S. Miller <davem@davemloft.net>
19490 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
19491 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
19492 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
19493 (TCP_FASTOPEN): Define.
19494 (tcp_repair_opt): New structure.
19495 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
19497 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
19498 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
19499 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
19500 (tcp_cookie_transactions): New structure.
19502 2013-01-09 Anton Blanchard <anton@samba.org>
19504 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
19505 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
19506 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
19507 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
19509 2013-01-09 Joseph Myers <joseph@codesourcery.com>
19511 * include/features.h (__USE_ANSI): Remove.
19513 2013-01-09 Roland McGrath <roland@hack.frob.com>
19515 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
19517 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
19519 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
19521 * sysdeps/s390/fpu/libm-test-ulps: Update.
19523 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19525 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
19529 (denorm): Likewise.
19530 (__mp_dbl): Likewise.
19531 (__dbl_mp): Likewise.
19532 (add_magnitudes): Likewise.
19533 (sub_magnitudes): Likewise.
19539 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
19543 (denorm): Likewise.
19544 (__mp_dbl): Likewise.
19545 (__dbl_mp): Likewise.
19546 (add_magnitudes): Likewise.
19547 (sub_magnitudes): Likewise.
19553 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
19557 (denorm): Likewise.
19558 (__mp_dbl): Likewise.
19559 (__dbl_mp): Likewise.
19560 (add_magnitudes): Likewise.
19561 (sub_magnitudes): Likewise.
19568 2013-01-08 Joseph Myers <joseph@codesourcery.com>
19570 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
19571 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
19572 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
19573 2 && __USE_EXTERN_INLINES]: Likewise.
19575 2013-01-08 Andreas Jaeger <aj@suse.de>
19578 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
19580 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
19581 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
19583 2013-01-07 Anton Blanchard <anton@samba.org>
19585 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
19586 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
19587 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
19588 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
19589 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
19590 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
19591 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
19592 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
19593 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19594 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
19595 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
19596 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
19597 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
19598 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19599 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
19600 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
19601 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
19602 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19603 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
19604 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
19605 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
19606 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
19607 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
19608 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
19609 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
19610 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
19611 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
19612 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
19613 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
19614 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
19615 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
19616 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19617 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
19618 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
19619 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
19620 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
19621 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19622 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
19623 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
19624 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
19625 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
19626 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
19627 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
19629 2013-01-07 Joseph Myers <joseph@codesourcery.com>
19631 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
19632 (__MALLOC_PMT): Likewise.
19633 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
19634 [__GNUC__], only on [_LIBC].
19635 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
19636 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
19637 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
19638 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
19639 forward declaration.
19640 (realloc_hook_ini): Likewise.
19641 (memalign_hook_ini): Likewise.
19642 (__libc_memalign): Do not use __MALLOC_PMT in variable
19644 (__libc_valloc): Likewise.
19645 (__libc_pvalloc): Likewise.
19646 (__libc_calloc): Likewise.
19647 (__posix_memalign): Likewise.
19650 * math/s_casinh.c: Include <float.h>.
19651 (__casinh): Do not do computation with squaring and square root
19652 for large arguments.
19653 * math/s_casinhf.c: Include <float.h>.
19654 (__casinhf): Do not do computation with squaring and square root
19655 for large arguments.
19656 * math/s_casinhl.c: Include <float.h>.
19657 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
19658 (__casinhl): Do not do computation with squaring and square root
19659 for large arguments.
19660 * math/libm-test.inc (casin_test): Add more tests.
19661 (casinh_test): Likewise.
19662 * sysdeps/i386/fpu/libm-test-ulps: Update.
19663 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19665 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
19667 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
19668 (__x86_64_raw_data_cache_size): Likewise.
19669 (__x86_64_data_cache_size_half): Likewise.
19670 (__x86_64_raw_data_cache_size_half): Likewise.
19671 (__x86_64_shared_cache_size): Likewise.
19672 (__x86_64_raw_shared_cache_size): Likewise.
19673 (__x86_64_shared_cache_size_half): Likewise.
19674 (__x86_64_raw_shared_cache_size_half): Likewise.
19675 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
19677 (__x86_data_cache_size): This.
19678 (__x86_64_raw_data_cache_size): Renamed to ...
19679 (__x86_raw_data_cache_size): This.
19680 (__x86_64_data_cache_size_half): Renamed to ...
19681 (__x86_data_cache_size_half): This.
19682 (__x86_64_raw_data_cache_size_half): Renamed to ...
19683 (__x86_raw_data_cache_size_half): This.
19684 (__x86_64_shared_cache_size): Renamed to ...
19685 (__x86_shared_cache_size): This.
19686 (__x86_64_raw_shared_cache_size): Renamed to ...
19687 (__x86_raw_shared_cache_size): This.
19688 (__x86_64_shared_cache_size_half): Renamed to ...
19689 (__x86_shared_cache_size_half): This.
19690 (__x86_64_raw_shared_cache_size_half): Renamed to ...
19691 (__x86_raw_shared_cache_size_half): This.
19692 * sysdeps/x86_64/memcpy.S: Updated.
19693 * sysdeps/x86_64/memset.S: Likewise.
19694 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
19695 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
19696 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
19698 2013-01-04 David S. Miller <davem@davemloft.net>
19700 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19702 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
19704 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
19705 1 to avoid redefinition warning.
19706 (__USE_GNU): Don't define.
19707 (init_signaling_nan): Protoize.
19709 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19711 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19713 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
19714 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
19715 (__cpymn): Likewise.
19716 (norm): Remove commented code.
19717 (denorm): Likewise.
19718 (__mp_dbl): Likewise.
19720 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
19721 (__cpymn): Likewise.
19722 (norm): Remove commented code.
19723 (denorm): Likewise.
19724 (__mp_dbl): Likewise.
19727 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
19728 mp_no value for 1.0 and 2.0.
19729 (norm): Use RADIXI instead of radixi.d.
19730 (denorm): Likewise.
19731 (__mul): Use 0.0 instead of zero.d.
19732 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
19733 mp_no value for 1.0 and 2.0.
19734 (norm): Use RADIXI instead of radixi.d.
19735 (denorm): Likewise.
19736 (__mul): Use 0.0 instead of zero.d.
19738 2013-01-04 Joseph Myers <joseph@codesourcery.com>
19741 * math/s_casinh.c (__casinh): Reduce finite argument to first
19742 quadrant then set signs of results at the end.
19743 * math/s_casinhf.c (__casinhf): Likewise.
19744 * math/s_casinhl.c (__casinhl): Likewise.
19745 * math/libm-test.inc (casin_test): Add more tests.
19746 (casinh_test): Likewise.
19747 * sysdeps/i386/fpu/libm-test-ulps: Update.
19748 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19750 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19752 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
19754 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
19756 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
19758 (denorm): Likewise.
19759 (__mp_dbl): Likewise.
19762 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
19763 and adjust the header comment.
19765 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
19766 variable name from declaration.
19768 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
19770 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19771 Initialize COMMON_CPUID_INDEX_7 element.
19772 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
19773 (CPUID_RTM): Likewise.
19774 (HAS_RTM): Likewise.
19775 (COMMON_CPUID_INDEX_7): New enum.
19777 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
19780 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
19781 size is zero, record memory as freed.
19783 2013-01-03 Andreas Jaeger <aj@suse.de>
19785 * po/ia.po: Add new Interlingua translation.
19787 2012-01-03 Allan McRae <allan@archlinux.org>
19789 * locale/programs/localedef.c: Fix description of '--posix' flag.
19791 2013-01-02 Joseph Myers <joseph@codesourcery.com>
19793 * NEWS: Update dates in second copyright notice.
19794 * README: Update copyright dates in example.
19795 * manual/libc.texinfo: Update copyright dates.
19796 * scripts/test-installation.pl: Update copyright date in --version
19799 * hurd/ctty-input.c: Fix copyright notice formatting.
19800 * hurd/ctty-output.c: Likewise.
19801 * hurd/dtable.c: Likewise.
19802 * hurd/hurd-raise.c: Likewise.
19803 * hurd/hurdprio.c: Likewise.
19804 * hurd/msgportdemux.c: Likewise.
19805 * misc/sys/file.h: Likewise.
19806 * misc/sys/ioctl.h: Likewise.
19807 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
19808 * sysdeps/mach/hurd/chdir.c: Likewise.
19809 * sysdeps/mach/hurd/fchdir.c: Likewise.
19810 * sysdeps/mach/hurd/rename.c: Likewise.
19811 * sysdeps/mach/hurd/rmdir.c: Likewise.
19812 * sysdeps/mach/hurd/seekdir.c: Likewise.
19813 * sysdeps/mach/hurd/setsid.c: Likewise.
19814 * sysdeps/posix/wait3.c: Likewise.
19816 * All files with FSF copyright notices: Update copyright dates
19817 using scripts/update-copyrights.
19818 * intl/plural.c: Regenerated.
19819 * locale/programs/charmap-kw.h: Likewise.
19820 * locale/programs/locfile-kw.h: Likewise.
19822 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
19824 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
19827 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
19828 calculation loop and add branch prediction.
19830 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
19831 check access beyond bounds of m1np.
19833 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
19835 (__inv): Remove local variable MPTWO to use the global
19837 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
19838 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
19840 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
19841 MP3HALFS static const.
19843 2013-01-01 David S. Miller <davem@davemloft.net>
19845 * po/ca.po: Update from translation team.
19847 2013-01-01 Joseph Myers <joseph@codesourcery.com>
19849 * scripts/update-copyrights: New file.
19850 * Makeconfig: Reformat copyright notice.
19851 * ctype/ctype.h: Likewise.
19852 * debug/swprintf_chk.c: Likewise.
19853 * elf/dl-cache.c: Likewise.
19854 * elf/dl-debug.c: Likewise.
19855 * elf/dl-object.c: Likewise.
19856 * grp/initgroups.c: Likewise.
19857 * hurd/Makefile: Likewise.
19858 * hurd/hurd/signal.h: Likewise.
19859 * hurd/hurdfault.c: Likewise.
19860 * hurd/hurdioctl.c: Likewise.
19861 * hurd/hurdlookup.c: Likewise.
19862 * hurd/intr-msg.c: Likewise.
19863 * iconv/gconv_open.c: Likewise.
19864 * libio/swprintf.c: Likewise.
19865 * locale/lc-ctype.c: Likewise.
19866 * locale/nl_langinfo.c: Likewise.
19867 * mach/Machrules: Likewise.
19868 * mach/Makefile: Likewise.
19869 * malloc/obstack.h: Likewise.
19870 * manual/Makefile: Likewise.
19871 * manual/tsort.awk: Likewise.
19872 * misc/bits/stab.def: Likewise.
19873 * nis/nis_print_group_entry.c: Likewise.
19874 * nis/nis_table.c: Likewise.
19875 * nis/nss_compat/compat-pwd.c: Likewise.
19876 * nis/nss_compat/compat-spwd.c: Likewise.
19877 * po/Makefile: Likewise.
19878 * posix/fnmatch.c: Likewise.
19879 * posix/regex.h: Likewise.
19880 * resolv/Makefile: Likewise.
19881 * resolv/nss_dns/dns-network.c: Likewise.
19882 * resolv/res_hconf.c: Likewise.
19883 * scripts/gen-sorted.awk: Likewise.
19884 * soft-fp/soft-fp.h: Likewise.
19885 * stdio-common/printf.h: Likewise.
19886 * stdlib/monetary.h: Likewise.
19887 * stdlib/random.c: Likewise.
19888 * stdlib/random_r.c: Likewise.
19889 * sysdeps/generic/Makefile: Likewise.
19890 * sysdeps/gnu/Makefile: Likewise.
19891 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
19892 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19893 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
19894 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19895 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19896 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19897 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19898 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
19899 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19900 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19901 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
19902 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
19903 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
19904 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
19905 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
19906 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
19907 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
19908 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19909 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19910 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19911 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
19912 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
19913 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
19914 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
19915 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
19916 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
19917 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
19918 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
19919 * sysdeps/mach/hurd/errnos.awk: Likewise.
19920 * sysdeps/mach/hurd/fork.c: Likewise.
19921 * sysdeps/mach/hurd/getcwd.c: Likewise.
19922 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
19923 * sysdeps/mach/hurd/mmap.c: Likewise.
19924 * sysdeps/mach/hurd/utimes.c: Likewise.
19925 * sysdeps/mach/hurd/xmknod.c: Likewise.
19926 * sysdeps/posix/profil.c: Likewise.
19927 * sysdeps/posix/readdir_r.c: Likewise.
19928 * sysdeps/powerpc/bits/mathdef.h: Likewise.
19929 * sysdeps/powerpc/bits/setjmp.h: Likewise.
19930 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
19931 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
19932 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19933 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
19934 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
19935 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
19936 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19937 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
19938 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
19939 * sysdeps/pthread/lio_listio.c: Likewise.
19940 * sysdeps/sparc/dl-procinfo.h: Likewise.
19941 * sysdeps/unix/i386/sysdep.S: Likewise.
19942 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
19943 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
19944 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
19945 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
19946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
19947 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
19948 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
19949 * sysdeps/unix/sysv/linux/speed.c: Likewise.
19950 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
19951 * sysdeps/wordsize-32/divdi3.c: Likewise.
19952 * time/sys/time.h: Likewise.
19953 * wcsmbs/Makefile: Likewise.
19955 2013-01-01 David S. Miller <davem@davemloft.net>
19957 * po/fr.po: Update from translation team.
19959 * catgets/gencat.c: Update copyright year.
19960 * csu/version.c: Likewise.
19961 * debug/catchsegv.sh: Likewise.
19962 * debug/pcprofiledump.c: Likewise.
19963 * debug/xtrace.sh: Likewise.
19964 * elf/ldconfig.c: Likewise.
19965 * elf/ldd.bash.in: Likewise.
19966 * elf/pldd.c: Likewise.
19967 * elf/sotruss.ksh: Likewise.
19968 * elf/sprof.c: Likewise.
19969 * iconv/iconv_prog.c: Likewise.
19970 * iconv/iconvconfig.c: Likewise.
19971 * locale/programs/locale.c: Likewise.
19972 * locale/programs/localedef.c: Likewise.
19973 * login/programs/pt_chown.c: Likewise.
19974 * malloc/memusage.sh: Likewise.
19975 * malloc/memusagestat.c: Likewise.
19976 * malloc/mtrace.pl: Likewise.
19977 * nscd/nscd.c: Likewise.
19978 * nss/getent.c: Likewise.
19979 * nss/makedb.c: Likewise.
19980 * posix/getconf.c: Likewise.
19982 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
19984 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
19987 2012-12-30 Mike Frysinger <vapier@gentoo.org>
19989 * math/bits/mathcalls.h (modf): Use __nonnull.
19991 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19993 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
19994 (split): Use macro CN instead of the bare value.
19995 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
19997 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
19998 instead of the bare value.
19999 (power1): Likewise.
20001 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20003 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
20005 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
20007 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
20009 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
20010 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
20011 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
20012 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
20014 2012-12-28 Andreas Jaeger <aj@suse.de>
20016 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
20017 values are from Linux 3.7.
20019 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
20020 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
20022 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20024 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
20027 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
20029 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
20030 variables with preprocessor constants.
20031 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
20032 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
20033 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
20035 2012-12-27 Bruno Haible <bruno@clisp.org>
20038 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
20041 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20043 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
20044 and use variable directly.
20045 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
20047 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
20049 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
20050 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
20052 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
20053 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
20054 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
20055 include directive. Remove local variable MPONE.
20056 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
20057 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
20058 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
20060 2012-12-25 David S. Miller <davem@davemloft.net>
20062 * version.h (RELEASE): Set to "development".
20063 (VERSION): Set to "2.17.90".
20064 * NEWS: Add 2.18 section.
20066 2012-12-21 David S. Miller <davem@davemloft.net>
20068 * po/hr.po: Update from translation team.
20070 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20072 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
20074 2012-12-19 Steve Ellcey <sellcey@mips.com>
20076 * NEWS: Mention new memcpy for MIPS.
20078 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20080 * manual/contrib.texi (Contributors): Spelling correction.
20082 2012-12-15 David S. Miller <davem@davemloft.net>
20084 * po/ru.po: Update from translation team.
20086 2012-12-13 David S. Miller <davem@davemloft.net>
20088 * NEWS: Mention IFUNC testsuite enhancements.
20090 * po/pl.po: Update from translation team.
20091 * po/bg.po: Likewise.
20093 * manual/contrib.texi (Contributors): Update entries for Hongjiu
20094 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
20096 2012-12-11 David S. Miller <davem@davemloft.net>
20098 * po/sv.po: Update from translation team.
20100 * po/vi.po: Update from translation team.
20102 * po/cs.po: Update from translation team.
20104 * po/de.po: Update from translation team.
20105 * po/eo.po: Likewise.
20106 * po/nl.po: Likewise.
20108 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20111 * manual/argp.texi (Argp Helper Functions): Move node to follow
20112 Argp Parsing State.
20115 * manual/conf.texi (Limits on File System Capacity): Mention if
20116 terminating null is included in the max size.
20118 2012-12-10 Andreas Jaeger <aj@suse.de>
20120 * po/cs.po: Update from translation team.
20122 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
20124 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
20125 void pointer and cast to uintptr_t.
20126 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
20128 * sysdeps/s390/s390-64/memcpy.S: Likewise.
20129 * sysdeps/s390/s390-64/memset.S: Likewise.
20131 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
20134 * menual/message.texi (Message Translation): Fix typos.
20135 (Helper programs for gettext): Likewise.
20137 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
20140 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
20143 2012-12-07 David S. Miller <davem@davemloft.net>
20145 * po/libc.pot: Update.
20147 2012-12-07 Richard Henderson <rth@redhat.com>
20150 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
20151 normal/normal case to before the switch.
20152 (_FP_DIV): Likewise.
20154 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
20155 Mike Frysinger <vapier@gentoo.org>
20157 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
20158 check for __NR_fadvise64_64.
20160 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
20162 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
20163 0, not just to plain "0" as a statement.
20164 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
20167 2012-12-06 Joseph Myers <joseph@codesourcery.com>
20169 * NEWS: Use sourceware.org in Bugzilla URL.
20171 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
20173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
20174 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
20176 * stdio-common/tst-put-error.c (do_test): Add newline to the
20177 padded test to ensure flush.
20179 2012-12-05 Jeff Law <law@redhat.com>
20181 * sunrpc/etc.rpc (fedfs_admin): Add entry.
20183 2012-12-05 Joseph Myers <joseph@codesourcery.com>
20185 * README: Don't refer to ports add-on as distributed separately.
20186 Mention AArch64 in list of systems supported in the ports add-on.
20188 * LICENSES: Add more non-FSF copyright and license notices.
20190 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
20193 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
20195 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
20196 10000 as width of padded output.
20198 2012-12-04 Joseph Myers <joseph@codesourcery.com>
20200 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
20202 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
20203 variable LX with __attribute__ ((unused)).
20204 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
20206 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
20207 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20208 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
20209 with __attribute__ ((unused)).
20211 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
20213 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
20215 2012-12-04 Joseph Myers <joseph@codesourcery.com>
20217 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
20218 (CFLAGS-nldbl-acos.c): New variable.
20219 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
20220 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
20221 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
20222 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
20223 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
20224 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
20225 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
20226 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
20227 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
20228 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
20229 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
20230 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
20231 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
20232 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
20233 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
20234 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
20235 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
20236 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
20237 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
20238 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
20239 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
20240 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
20241 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
20242 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
20243 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
20244 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
20245 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
20246 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
20247 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
20248 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
20249 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
20250 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
20251 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
20252 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
20253 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
20254 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
20255 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
20256 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
20257 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
20258 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
20259 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
20260 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
20261 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
20262 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
20263 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
20264 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
20265 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
20266 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
20267 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
20268 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
20269 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
20270 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
20271 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
20272 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
20273 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
20274 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
20275 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
20276 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
20277 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
20278 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
20279 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
20280 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
20281 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
20282 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
20283 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
20284 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
20285 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
20286 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
20287 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
20288 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
20289 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
20290 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
20291 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
20292 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
20293 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
20294 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
20295 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
20296 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
20297 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
20298 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
20299 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
20300 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
20301 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
20302 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
20303 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
20304 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
20305 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
20306 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
20307 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
20308 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
20309 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
20310 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
20311 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
20312 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
20313 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
20314 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
20315 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
20317 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20318 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
20321 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
20322 whole low double instead of just low 47 bits when splitting values
20325 2012-12-03 Allan McRae <allan@archlinux.org>
20327 * manual/stdio.texi (Predefined Printf Handlers): Remove
20328 @hsep and @vsep usage.
20330 2012-12-03 Mike Frysinger <vapier@gentoo.org>
20332 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
20333 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
20335 2012-12-03 Jeff Law <law@redhat.com>
20337 * time/sys/time.h (settimeofday): Do not mark TV argument
20340 2012-12-01 Mike Frysinger <vapier@gentoo.org>
20342 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
20343 when currently writing and seek to current position when not.
20344 * libio/Makefile (tests): Remove bug-fclose1.
20345 * libio/bug-fclose1.c: Delete.
20347 2012-12-01 Joseph Myers <joseph@codesourcery.com>
20349 * manual/arith.texi (feenableexcept): Fix typo.
20350 (fedisableexcept): Likewise.
20352 2012-11-30 Roland McGrath <roland@hack.frob.com>
20354 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
20355 second, differently-typed declaration, rather than a cast.
20357 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20359 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
20360 * include/rpc/svc.h: ... here.
20362 2012-11-30 Aurelien Jarno <aurel32@debian.org>
20365 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
20366 depending n and resplen2 to catch cases where answer
20369 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
20371 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
20372 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
20374 2012-11-29 Mike Frysinger <vapier@gentoo.org>
20376 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
20378 2012-11-29 Roland McGrath <roland@hack.frob.com>
20380 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
20382 2012-11-28 Jeff Law <law@redhat.com>
20385 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
20386 dataset_temporary. Track alloca usage into alloca_used.
20387 If dataset is large allocate and release it via malloc/free.
20389 2012-06-04 Florian Weimer <fweimer@redhat.com>
20392 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
20394 2012-11-28 David S. Miller <davem@davemloft.net>
20396 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20398 2012-11-28 Joseph Myers <joseph@codesourcery.com>
20401 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
20402 of pi/2 rounded to nearest to 64 bits.
20403 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
20404 nearest to 64 bits.
20405 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
20408 2012-11-28 Jeff Law <law@redhat.com>
20409 Martin Osvald <mosvald@redhat.com>
20412 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
20413 * sunrpc/svc.c: Include time.h.
20414 (__svc_accept_failed): New function.
20415 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
20416 any reason other than EINTR, call __svc_accept_failed.
20417 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
20418 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
20420 2012-11-28 Andreas Schwab <schwab@suse.de>
20422 * scripts/abilist.awk: Also handle indirect functions in .opd
20425 2012-11-28 Joseph Myers <joseph@codesourcery.com>
20428 * sysdeps/x86/fpu/powl_helper.c: New file.
20429 * sysdeps/x86/fpu/Makefile: Likewise.
20430 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
20432 (__ieee754_powl): Use __powl_helper for finite arguments except
20433 integer exponents below 8.
20434 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
20436 (__ieee754_powl): Use __powl_helper for finite arguments except
20437 integer exponents below 8.
20438 * math/libm-test.inc (pow_test): Add more tests and enable some
20439 previously disabled tests.
20440 * sysdeps/i386/fpu/libm-test-ulps: Update.
20441 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20443 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20444 Carlos O'Donell <carlos_odonell@mentor.com>
20446 * nss/makedb.c (is_prime): Assert that input is odd and greater
20447 than 4. Note that fact in a comment too.
20448 (next_prime): Add 4 to input.
20450 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20453 * libio/Makefile (tests): Add test case tst-fwrite-error.
20454 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
20455 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
20456 * libio/tst-fwrite-error.c: New test case.
20458 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
20460 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
20461 before casting to void *.
20462 * include/libc-internal.h (__pointer_type): New macro.
20463 (__integer_if_pointer_type_sub): Likewise.
20464 (__integer_if_pointer_type): Likewise.
20465 (cast_to_integer): Likewise.
20466 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
20467 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
20468 before casting to atomic64_t.
20469 (atomic_exchange_acq): Likewise.
20470 (__arch_exchange_and_add_body): Likewise.
20471 (__arch_add_body): Likewise.
20472 (atomic_add_negative): Likewise.
20473 (atomic_add_zero): Likewise.
20475 2012-11-26 Joseph Myers <joseph@codesourcery.com>
20477 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
20478 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
20479 (add_fdes): Likewise.
20480 (linear_search_fdes): Likewise.
20481 (binary_search_unencoded_fdes): Likewise.
20483 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
20485 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
20487 2012-11-24 Adam Conrad <adconrad@0c3.net>
20489 * configure.in: Autodetect C++ header directories.
20490 * configure: Regenerated.
20492 2012-11-23 Mike Frysinger <vapier@gentoo.org>
20494 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
20496 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
20498 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20500 2012-11-22 Joseph Myers <joseph@codesourcery.com>
20502 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
20503 LDBL_MANT_DIG == 106]: Disable some tests.
20504 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
20506 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
20510 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
20511 input for small inputs. Return +/- pi/2 for large inputs.
20512 * math/libm-test.inc (atan_test): Add more tests.
20514 * sysdeps/generic/unwind-dw2-fde-glibc.c
20515 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
20516 __attribute__ ((unused)).
20519 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
20520 x * y if x and y are nonzero and z is zero.
20523 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
20524 nonzero exponents with absolute value below 0x1p-117 to +/-
20528 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
20529 up arguments below 2**-450, not just those below 2**-500.
20530 * math/libm-test.inc (hypot_test): Add another test.
20533 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
20534 Return a+b for ratio over 2**120, not 2**60.
20535 * math/libm-test.inc (hypot_test): Add another test.
20537 * math/libm-test.inc (clog_test): Use
20538 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
20539 (clog10_test): Likewise.
20542 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
20544 2012-11-22 Andreas Schwab <schwab@suse.de>
20546 * sysdeps/i386/fpu/libm-test-ulps: Update.
20548 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
20550 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
20551 printf output with newline.
20553 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
20556 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
20557 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
20558 -z nodlopen, -z initfirst and -z execstack support.
20559 * configure: Regenerated.
20561 * elf/elf.h (DF_1_NODIRECT): New macro.
20562 (DF_1_IGNMULDEF): Likewise.
20563 (DF_1_NOKSYMS): Likewise.
20564 (DF_1_NOHDR): Likewise.
20565 (DF_1_EDITED): Likewise.
20566 (DF_1_NORELOC): Likewise.
20567 (DF_1_SYMINTPOSE): Likewise.
20568 (DF_1_GLOBAUDIT): Likewise.
20569 (DF_1_SINGLETON): Likewise.
20570 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
20571 DT_1_SUPPORTED_MASK bits.
20572 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
20574 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
20576 * sysdeps/unix/make-syscalls.sh: Document prefixes.
20578 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
20580 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
20583 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
20584 (sendmmsg): Move declarations...
20585 * socket/sys/socket.h: ... here.
20586 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
20587 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
20589 * socket/recvmmsg.c: ... this new file.
20590 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
20591 (sendmmsg): Rename to __sendmmsg, create weak alias and make
20592 definition of __sendmmsg hidden.
20593 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
20594 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
20595 Move ENOSYS stub into and include it from...
20596 * socket/sendmmsg.c: ... this new file.
20597 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
20598 (sysdep_routines): Move recvmmsg and sendmmsg...
20599 * socket/Makefile (routines): ... here.
20600 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
20601 (GLIBC_PRIVATE): Add __sendmmsg.
20602 * include/sys/socket.h (__sendmmsg): Add declarations.
20603 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
20606 2012-11-20 Joseph Myers <joseph@codesourcery.com>
20608 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
20609 variable I1 with __attribute__ ((unused)).
20610 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
20612 2012-11-19 Joseph Myers <joseph@codesourcery.com>
20614 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
20615 DUMMY variables with __attribute__ ((unused)).
20617 * bits/byteswap.h: Include <bits/types.h>.
20618 (__bswap_64): Use __uint64_t instead of unsigned long long int.
20620 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
20622 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
20623 string_t. Do not manually set errno.
20624 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
20625 length with __strnlen. Make sure to both set errno and return it on
20628 2012-11-19 David S. Miller <davem@davemloft.net>
20630 With help from Joseph Myers.
20631 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
20632 very large arguments properly.
20633 * math/libm-test.inc (atan_test): New tests.
20634 (atan2_test): New tests.
20635 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20636 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20638 2012-11-19 Joseph Myers <joseph@codesourcery.com>
20641 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
20644 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
20645 [POSIX] (EADDRNOTAVAIL): Likewise.
20646 [POSIX] (EAFNOSUPPORT): Likewise.
20647 [POSIX] (EALREADY): Likewise.
20648 [POSIX] (ECONNABORTED): Likewise.
20649 [POSIX] (ECONNREFUSED): Likewise.
20650 [POSIX] (ECONNRESET): Likewise.
20651 [POSIX] (EDESTADDRREQ): Likewise.
20652 [POSIX] (EDQUOT): Likewise.
20653 [POSIX] (EHOSTUNREACH): Likewise.
20654 [POSIX] (EIDRM): Likewise.
20655 [POSIX] (EISCONN): Likewise.
20656 [POSIX] (ELOOP): Likewise.
20657 [POSIX] (EMULTIHOP): Likewise.
20658 [POSIX] (ENETDOWN): Likewise.
20659 [POSIX] (ENETUNREACH): Likewise.
20660 [POSIX] (ENOBUFS): Likewise.
20661 [POSIX] (ENODATA): Likewise.
20662 [POSIX] (ENOLINK): Likewise.
20663 [POSIX] (ENOMSG): Likewise.
20664 [POSIX] (ENOPROTOOPT): Likewise.
20665 [POSIX] (ENOSR): Likewise.
20666 [POSIX] (ENOSTR): Likewise.
20667 [POSIX] (ENOTCONN): Likewise.
20668 [POSIX] (ENOTSOCK): Likewise.
20669 [POSIX] (EOPNOTSUPP): Likewise.
20670 [POSIX] (EOVERFLOW): Likewise.
20671 [POSIX] (EPROTO): Likewise.
20672 [POSIX] (EPROTONOSUPPORT): Likewise.
20673 [POSIX] (EPROTOTYPE): Likewise.
20674 [POSIX] (ESTALE): Likewise.
20675 [POSIX] (ETIME): Likewise.
20676 [POSIX] (ETXTBSY): Likewise.
20677 [POSIX] (EWOULDBLOCK): Likewise.
20678 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
20679 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
20680 [POSIX] (SEEK_CUR): Likewise.
20681 [POSIX] (SEEK_END): Likewise.
20682 [POSIX || UNIX98] (mode_t): Do not require.
20683 [POSIX] (off_t): Likewise.
20684 [POSIX] (pid_t): Likewise.
20685 [POSIX] (sys/stat.h): Do not allow header.
20686 [POSIX] (unistd.h): Likewise.
20687 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
20688 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
20689 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
20690 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
20692 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
20693 sigevent): Specify elements.
20694 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
20696 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
20697 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
20699 * conform/data/cpio.h-data [POSIX]: Disable whole file.
20700 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
20701 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
20702 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
20703 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
20704 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
20705 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
20706 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
20707 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
20708 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
20709 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
20710 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
20711 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
20712 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
20714 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
20716 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
20718 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
20720 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
20721 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
20722 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
20723 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
20724 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
20725 Specify lower bound on value.
20726 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
20727 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
20728 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
20729 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
20730 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
20731 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
20732 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
20733 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
20735 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
20737 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
20738 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
20739 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
20740 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
20741 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
20742 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
20743 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
20744 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
20745 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
20746 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
20747 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
20748 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
20749 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
20750 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
20751 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
20752 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
20754 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
20756 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
20757 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
20758 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
20759 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
20760 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
20761 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
20763 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
20764 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
20765 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
20766 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
20767 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
20768 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
20769 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
20771 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
20772 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
20773 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
20774 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
20775 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
20776 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
20777 specify as optional.
20778 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
20779 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
20780 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
20781 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
20782 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
20783 [XPG3] (NL_LANGMAX): Likewise.
20784 [POSIX || XPG3] (NL_MSGMAX): Likewise.
20785 [POSIX || XPG3] (NL_NMAX): Likewise.
20786 [POSIX || XPG3] (NL_SETMAX): Likewise.
20787 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
20788 [XPG3] (NZERO): Likewise.
20789 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
20790 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
20791 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
20792 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
20793 (REG_ERANGE): Expect.
20794 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
20796 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
20797 Use (void) in prototype.
20798 [POSIX] (*_t): Allow.
20799 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
20800 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
20801 (WRDE_BADVAL): Expect.
20803 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
20805 [XPG3 || XPG4] (O_RSYNC): Likewise.
20806 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
20808 [XPG3 || XPG4] (pthread_sigmask): Likewise.
20809 [XPG3 || XPG4] (sigqueue): Likewise.
20810 [XPG3 || XPG4] (sigtimedwait): Likewise.
20811 [XPG3 || XPG4] (sigwaitinfo): Likewise.
20812 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
20813 [XPG3 || XPG4] (vsnprintf): Likewise.
20814 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
20816 [XPG3 || XPG4] (blksize_t): Likewise.
20817 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
20819 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
20820 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
20821 [XPG3 || XPG4] (struct itimerspec): Likewise.
20822 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
20823 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
20824 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
20825 [XPG3 || XPG4] (clockid_t): Likewise.
20826 [XPG3 || XPG4] (timer_t): Likewise.
20827 [XPG3 || XPG4] (clock_getres): Likewise.
20828 [XPG3 || XPG4] (clock_gettime): Likewise.
20829 [XPG3 || XPG4] (clock_settime): Likewise.
20830 [XPG3 || XPG4] (nanosleep): Likewise.
20831 [XPG3 || XPG4] (timer_create): Likewise.
20832 [XPG3 || XPG4] (timer_delete): Likewise.
20833 [XPG3 || XPG4] (timer_gettime): Likewise.
20834 [XPG3 || XPG4] (timer_getoverrun): Likewise.
20835 [XPG3 || XPG4] (timer_settime): Likewise.
20836 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
20837 [XPG3 || XPG4] (getlogin_r): Likewise.
20838 [XPG3 || XPG4] (pread): Likewise.
20839 [XPG3 || XPG4] (pthread_atfork): Likewise.
20840 [XPG3 || XPG4] (pwrite): Likewise.
20843 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
20846 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
20848 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
20849 finalizing MALLSTREAM.
20851 * sysdeps/mach/hurd/syncfs.c: New file.
20853 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
20856 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
20857 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
20858 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
20859 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
20860 (_nss_dns_gethostbyname4_r): Likewise.
20861 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
20862 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
20864 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
20867 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
20869 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
20871 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
20872 * elf/cache.c (print_entry): Print ",AArch64" for
20875 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
20876 * elf/cache.c (print_entry): Print ",hard-float" for
20879 2012-11-18 David S. Miller <davem@davemloft.net>
20881 With help from Joseph Myers.
20882 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
20884 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
20886 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
20887 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
20889 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
20890 * math/libm-test.inc (y0_test): New tests.
20891 (y1_test): New tests.
20892 * sysdeps/i386/fpu/libm-test-ulps: Update.
20893 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20894 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20896 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
20898 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
20900 * configure: Regenerated.
20902 2012-11-17 David S. Miller <davem@davemloft.net>
20905 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
20906 nonzero exponents with absolute value below 0x1p-128 to +/-
20909 2012-11-17 Joseph Myers <joseph@codesourcery.com>
20911 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
20913 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
20915 * posix/getconf-speclist.c: New file.
20916 * posix/posix-envs.def: Likewise.
20917 * posix/confstr.c (START_ENV_GROUP): New macro.
20918 (END_ENV_GROUP): Likewise.
20919 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
20920 (KNOWN_PRESENT_ENV_STRING): Likewise.
20921 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
20922 (UNKNOWN_ENVIRONMENT): Likewise.
20923 (confstr): Include posix-envs.def instead of handling
20924 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
20925 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
20926 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
20927 (END_ENV_GROUP): Likewise.
20928 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
20929 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
20930 (UNKNOWN_ENVIRONMENT): Likewise.
20931 (__sysconf): Include posix-envs.def instead of handling associated
20932 cases directly here.
20933 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
20934 preprocessing getconf-speclist.c rather than running getconf or
20935 generating empty file.
20937 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
20939 * scripts/check-local-headers.sh: Ignore 'mach' headers.
20941 2012-11-16 Andrej Lajovic <natrij@gmail.com>
20944 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
20946 2012-11-16 David S. Miller <davem@davemloft.net>
20948 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
20949 smaller than LDBL_EPSILON/2.0L, just return xm1.
20951 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
20953 * elf/tst-array1.c (init): Set constructor priority to 1000.
20954 (fini): Set destructor priority to 1000.
20955 * elf/tst-array2dep.c: Likewise.
20957 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20960 * libio/fileops.c (_IO_new_file_write): Correctly return error.
20961 (_IO_new_file_xsputn): Also return EOF if none of the input
20962 data was written when overflow failed.
20963 * libio/iopadn.c (_IO_padn): Likewise.
20964 * libio/iowpadn.c (_IO_wpadn): Likewise.
20965 * stdio-common/tst-put-error.c: Add copyright notice.
20966 (do_test): Add case for printing padded string.
20967 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
20968 _IO_padn returned error.
20969 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
20970 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
20973 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20975 * libio/libioP.h: Add comment note that the references to C++
20976 bits are now obsolete.
20978 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20980 * math/libm-test.inc (check_complex): Use asprintf.
20982 2012-11-14 Joseph Myers <joseph@codesourcery.com>
20984 * debug/pcprofiledump.c (print_version): Update copyright year.
20985 * malloc/memusagestat.c (print_version): Likewise.
20987 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
20990 * elf/Makefile (tests): Add tst-audit8.
20991 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
20992 ($(objpfx)tst-audit8.out): New target.
20993 (tst-audit8-ENV): New variable.
20994 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
20995 audit if l_reloc_result is NULL.
20996 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
20997 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
20998 * elf/tst-audit8.c: New file.
21000 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21002 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
21003 * misc/Makefile (CFLAGS-select.c): Define.
21004 * posix/Makefile (CFLAGS-pause.c): Define.
21006 2012-11-13 David S. Miller <davem@davemloft.net>
21008 * crypt/Makefile: Move test targets after toplevel Rules
21009 inclusion. Grab any necessary sysdep routines when linking.
21010 * crypt/md5.c (md5_process_block): Remove define, we will always
21011 name it __md5_process_block.
21012 (md5_finish_ctx): Update md5_process_block call.
21013 (md5_stream): Likewise.
21014 (md5_process_bytes): Likewise.
21015 (md5_process_block): Rename to __md5_process_block and move to ...
21016 * crypt/md5-block.c: ... here.
21017 * crypt/sha256.c (sha256_process_block): Move to ...
21018 * crypt/sha256-block.c: ... here.
21019 * crypt/sha512.c (sha512_process_block): Move to ...
21020 * crypt/sha512-block.c: ... here.
21021 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
21023 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
21024 * sysdeps/sparc/sparc64/multiarch/Makefile
21025 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
21027 (localedef-aux): Add md5 crypto assembler when in locale subdir.
21028 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
21030 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
21031 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
21032 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
21033 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
21034 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
21035 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
21036 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
21037 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
21038 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
21040 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
21041 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
21043 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
21045 2012-11-13 Joseph Myers <joseph@codesourcery.com>
21047 * timezone/tzselect.ksh: Update from tzcode git revision
21048 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
21049 * timezone/zdump.c: Likewise.
21050 * timezone/zic.c: Likewise.
21051 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
21052 in TZVERSION setting, not $(PKGVERSION).
21053 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
21054 REPORT_BUGS_TO settings.
21057 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
21060 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21062 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
21063 detection to immediately after _FP_ROUND().
21064 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
21067 2012-11-11 David S. Miller <davem@davemloft.net>
21069 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
21071 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
21072 __close rather than their public counterparts.
21074 2012-11-10 Joseph Myers <joseph@codesourcery.com>
21076 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
21078 [UNIX98] (sem_timedwait): Do not expect.
21079 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
21080 [XPG4 || UNIX98] (sockatmark): Do not expect.
21081 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
21082 (clock_getcpuclockid): Do not expect.
21083 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
21084 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
21086 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
21087 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
21088 [UNIX98] (vwscanf): Likewise.
21089 [UNIX98] (vswscanf): Likewise.
21091 2012-11-09 Joseph Myers <joseph@codesourcery.com>
21093 * timezone/version.h: Remove file.
21094 * timezone/README: Do not refer to version.h.
21095 * timezone/Makefile ($(objpfx)zic.o): New dependency on
21096 $(objpfx)version.h.
21097 ($(objpfx)zdump.o): Likewise.
21098 ($(objpfx)version.h): New target.
21100 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
21102 * timezone/README: Don't mention modification to tzselect.ksh.
21103 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
21104 work on unmodified tzselect.ksh. Substitute version numbers in
21107 * Makefile (format-me): Remove.
21108 (INSTALL): Adjust indentation. Use commands directly instead of
21109 using $(format-me).
21111 * aclocal.m4 (ACX_PKGVERSION): New macro.
21112 (ACX_BUGURL): Likewise.
21113 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
21114 (PKGVERSION): New AC_DEFINE_UNQUOTED.
21115 (REPORT_BUGS_TO): Likewise.
21116 * configure: Regenerated.
21117 * config.h.in (PKGVERSION): New macro.
21118 (REPORT_BUGS_TO): Likewise.
21119 * config.make.in (PKGVERSION): New variable.
21120 (PKGVERSION_TEXI): Likewise.
21121 (REPORT_BUGS_TO): Likewise.
21122 (REPORT_BUGS_TEXI): Likewise.
21123 * Makefile (format-me): Use -I$(common-objpfx)manual.
21124 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
21125 ($(common-objpfx)manual/%): New target.
21126 (manual/%): Remove target.
21127 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
21128 (print_version): Use PKGVERSION.
21129 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
21130 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
21131 and REPORT_BUGS_TO.
21132 ($(objpfx)xtrace): Likewise.
21133 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
21134 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
21135 (print_version): Use PKGVERSION.
21136 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
21137 (do_version): Use PKGVERSION.
21138 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
21140 (common-ldd-rewrite): Likewise.
21141 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
21142 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
21143 (print_version): Use PKGVERSION.
21144 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
21145 * elf/pldd.c (argp_program_bug_address): Remove variable.
21146 (more_help): New function.
21147 (argp): Use more_help.
21148 (print_version): Use PKGVERSION.
21149 * elf/sln.c (main): Use PKGVERSION.
21150 (usage): Use REPORT_BUGS_TO.
21151 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
21152 (top level): Use PKGVERSION.
21153 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
21154 (print_version): Use PKGVERSION.
21155 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
21156 (print_version): Use PKGVERSION.
21157 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
21158 (print_version): Use PKGVERSION.
21159 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
21160 (print_version): Use PKGVERSION.
21161 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
21162 (print_version): Use PKGVERSION.
21163 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
21164 (print_version): Use PKGVERSION.
21165 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
21167 ($(objpfx)memusage): Likewise.
21168 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
21169 (do_version): Use PKGVERSION.
21170 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
21171 (print_version): Use PKGVERSION.
21172 * malloc/mtrace.pl ($PACKAGE): Remove variable.
21173 ($PKGVERSION): New variable.
21174 ($REPORT_BUGS_TO): Likewise.
21175 (usage): Use $REPORT_BUGS_TO.
21176 (top level): Use $PKGVERSION.
21177 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
21178 ($(objpfx)pkgvers.texi): New rule.
21179 ($(objpfx)stamp-pkgvers): Likewise.
21180 * manual/install.texi: Include pkgvers.texi.
21181 (--with-pkgversion): Document new configure option.
21182 (--with-bugurl): Likewise.
21183 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
21184 than necessarily for this particular distribution. Use
21185 REPORT_BUGS_TO for where to report bugs.
21186 * INSTALL: Regenerated.
21187 * manual/libc.texinfo: Include pkgvers.texi.
21188 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
21189 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
21190 (print_version): Use PKGVERSION.
21191 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
21192 (print_version): Use PKGVERSION.
21193 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
21194 (print_version): Use PKGVERSION.
21195 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
21196 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
21198 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
21199 (print_version): Use PKGVERSION.
21200 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
21201 (print_version): Use PKGVERSION.
21202 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
21205 * timezone/checktab.awk: Update from tzcode 2012i.
21206 * timezone/ialloc.c: Likewise.
21207 * timezone/private.h: Likewise.
21208 * timezone/scheck.c: Likewise.
21209 * timezone/tzfile.h: Likewise.
21210 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
21211 (TZVERSION): Hardcode tzcode version number.
21212 * timezone/zdump.c: Update from tzcode 2012i.
21213 * timezone/zic.c: Likewise.
21214 * timezone/version.h: New file.
21215 * timezone/README: Describe version.h. Update upstream location.
21218 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
21219 (mktemp): Enable declaration.
21220 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
21221 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
21222 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
21223 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
21225 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
21227 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
21229 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
21231 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
21233 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
21237 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
21238 offset in buffer as u_int32_t not u_long. Consistently use memcpy
21239 for copies of such integer values.
21240 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
21241 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
21243 2012-11-09 Andreas Jaeger <aj@suse.de>
21245 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
21246 definitions and declarations that are provided by
21247 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
21249 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21251 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
21252 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
21253 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
21256 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21258 * elf/elf.h: Update comment before AArch64 relocations.
21260 2012-11-07 David S. Miller <davem@davemloft.net>
21262 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
21263 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
21264 (__start_context): Declare.
21265 (__makecontext_ret): Delete.
21266 (__makecontext): Hook up __start_context instead of
21268 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
21269 (sysdep_routines): Add __start_context when in stdlib.
21271 2012-11-07 Joseph Myers <joseph@codesourcery.com>
21273 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
21274 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
21275 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
21277 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
21278 (READELF): New variable. Use it instead of hardcoded "readelf".
21280 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
21282 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
21283 * sysdeps/x86/Makefile: Here.
21284 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
21285 * sysdeps/x86/tst-xmmymm.sh: This.
21287 2012-11-07 Joseph Myers <joseph@codesourcery.com>
21289 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
21291 [UNIX98] (pthread_barrier_t): Do not expect.
21292 [UNIX98] (pthread_barrierattr_t): Likewise.
21293 [UNIX98] (pthread_spinlock_t): Likewise.
21294 [UNIX98] (pthread_barrier_destroy): Likewise.
21295 [UNIX98] (pthread_barrier_init): Likewise.
21296 [UNIX98] (pthread_barrier_wait): Likewise.
21297 [UNIX98] (pthread_barrierattr_destroy): Likewise.
21298 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
21299 [UNIX98] (pthread_barrierattr_init): Likewise.
21300 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
21301 [UNIX98] (pthread_getcpuclockid): Likewise.
21302 [UNIX98] (pthread_mutex_timedlock): Likewise.
21303 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
21304 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
21305 [UNIX98] (pthread_sigmask): Likewise.
21306 [UNIX98] (pthread_spin_destroy): Likewise.
21307 [UNIX98] (pthread_spin_init): Likewise.
21308 [UNIX98] (pthread_spin_lock): Likewise.
21309 [UNIX98] (pthread_spin_trylock): Likewise.
21310 [UNIX98] (pthread_spin_unlock): Likewise.
21311 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
21313 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
21314 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
21315 [XPG3 || XPG4] (pthread_cond_t): Likewise.
21316 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
21317 [XPG3 || XPG4] (pthread_key_t): Likewise.
21318 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
21319 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
21320 [XPG3 || XPG4] (pthread_once_t): Likewise.
21321 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
21322 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
21323 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
21324 [XPG3 || XPG4] (pthread_t): Likewise.
21326 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
21328 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
21330 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
21331 Change function return type to int.
21333 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
21334 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
21335 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
21336 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
21337 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
21338 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
21339 [!POSIX] (posix_madvise): Likewise.
21340 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
21342 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
21343 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
21344 (mode_t): Likewise.
21345 (posix_mem_offset): Likewise.
21346 (posix_typed_mem_get_info): Likewise.
21347 (posix_typed_mem_open): Likewise.
21349 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
21350 Change condition to [XOPEN2K8].
21352 * conform/conformtest.pl: Preprocess allow-header data with -x c
21353 instead of from stdin.
21354 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
21355 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
21356 [C99-based standards] (cerfc): Likewise.
21357 [C99-based standards] (cexp2): Likewise.
21358 [C99-based standards] (cexpm1): Likewise.
21359 [C99-based standards] (clog10): Likewise.
21360 [C99-based standards] (clog1p): Likewise.
21361 [C99-based standards] (clog2): Likewise.
21362 [C99-based standards] (clgamma): Likewise.
21363 [C99-based standards] (ctgamma): Likewise.
21364 [C99-based standards] (cerff): Likewise.
21365 [C99-based standards] (cerfcf): Likewise.
21366 [C99-based standards] (cexp2f): Likewise.
21367 [C99-based standards] (cexpm1f): Likewise.
21368 [C99-based standards] (clog10f): Likewise.
21369 [C99-based standards] (clog1pf): Likewise.
21370 [C99-based standards] (clog2f): Likewise.
21371 [C99-based standards] (clgammaf): Likewise.
21372 [C99-based standards] (ctgammaf): Likewise.
21373 [C99-based standards] (cerfl): Likewise.
21374 [C99-based standards] (cerfcl): Likewise.
21375 [C99-based standards] (cexp2l): Likewise.
21376 [C99-based standards] (cexpm1l): Likewise.
21377 [C99-based standards] (clog10l): Likewise.
21378 [C99-based standards] (clog1pl): Likewise.
21379 [C99-based standards] (clog2l): Likewise.
21380 [C99-based standards] (clgammal): Likewise.
21381 [C99-based standards] (ctgammal): Likewise.
21382 * conform/data/inttypes.h-data [C99-based standards]: Include
21383 stdint.h-data. Remove all expectations for stdint.h contents.
21384 [C99-based standards] (PRI*): Do not allow.
21385 [C99-based standards] (SCN*): Likewise.
21386 [C99-based standards] (*_t): Likewise.
21387 [C99-based-standards] (PRId8): Expect macro.
21388 [C99-based-standards] (PRIi8): Likewise.
21389 [C99-based-standards] (PRIo8): Likewise.
21390 [C99-based-standards] (PRIu8): Likewise.
21391 [C99-based-standards] (PRIx8): Likewise.
21392 [C99-based-standards] (PRIX8): Likewise.
21393 [C99-based-standards] (SCNd8): Likewise.
21394 [C99-based-standards] (SCNi8): Likewise.
21395 [C99-based-standards] (SCNo8): Likewise.
21396 [C99-based-standards] (SCNu8): Likewise.
21397 [C99-based-standards] (SCNx8): Likewise.
21398 [C99-based-standards] (PRIdLEAST8): Likewise.
21399 [C99-based-standards] (PRIiLEAST8): Likewise.
21400 [C99-based-standards] (PRIoLEAST8): Likewise.
21401 [C99-based-standards] (PRIuLEAST8): Likewise.
21402 [C99-based-standards] (PRIxLEAST8): Likewise.
21403 [C99-based-standards] (PRIXLEAST8): Likewise.
21404 [C99-based-standards] (SCNdLEAST8): Likewise.
21405 [C99-based-standards] (SCNiLEAST8): Likewise.
21406 [C99-based-standards] (SCNoLEAST8): Likewise.
21407 [C99-based-standards] (SCNuLEAST8): Likewise.
21408 [C99-based-standards] (SCNxLEAST8): Likewise.
21409 [C99-based-standards] (PRIdFAST8): Likewise.
21410 [C99-based-standards] (PRIiFAST8): Likewise.
21411 [C99-based-standards] (PRIoFAST8): Likewise.
21412 [C99-based-standards] (PRIuFAST8): Likewise.
21413 [C99-based-standards] (PRIxFAST8): Likewise.
21414 [C99-based-standards] (PRIXFAST8): Likewise.
21415 [C99-based-standards] (SCNdFAST8): Likewise.
21416 [C99-based-standards] (SCNiFAST8): Likewise.
21417 [C99-based-standards] (SCNoFAST8): Likewise.
21418 [C99-based-standards] (SCNuFAST8): Likewise.
21419 [C99-based-standards] (SCNxFAST8): Likewise.
21420 [C99-based-standards] (PRId16): Likewise.
21421 [C99-based-standards] (PRIi16): Likewise.
21422 [C99-based-standards] (PRIo16): Likewise.
21423 [C99-based-standards] (PRIu16): Likewise.
21424 [C99-based-standards] (PRIx16): Likewise.
21425 [C99-based-standards] (PRIX16): Likewise.
21426 [C99-based-standards] (SCNd16): Likewise.
21427 [C99-based-standards] (SCNi16): Likewise.
21428 [C99-based-standards] (SCNo16): Likewise.
21429 [C99-based-standards] (SCNu16): Likewise.
21430 [C99-based-standards] (SCNx16): Likewise.
21431 [C99-based-standards] (PRIdLEAST16): Likewise.
21432 [C99-based-standards] (PRIiLEAST16): Likewise.
21433 [C99-based-standards] (PRIoLEAST16): Likewise.
21434 [C99-based-standards] (PRIuLEAST16): Likewise.
21435 [C99-based-standards] (PRIxLEAST16): Likewise.
21436 [C99-based-standards] (PRIXLEAST16): Likewise.
21437 [C99-based-standards] (SCNdLEAST16): Likewise.
21438 [C99-based-standards] (SCNiLEAST16): Likewise.
21439 [C99-based-standards] (SCNoLEAST16): Likewise.
21440 [C99-based-standards] (SCNuLEAST16): Likewise.
21441 [C99-based-standards] (SCNxLEAST16): Likewise.
21442 [C99-based-standards] (PRIdFAST16): Likewise.
21443 [C99-based-standards] (PRIiFAST16): Likewise.
21444 [C99-based-standards] (PRIoFAST16): Likewise.
21445 [C99-based-standards] (PRIuFAST16): Likewise.
21446 [C99-based-standards] (PRIxFAST16): Likewise.
21447 [C99-based-standards] (PRIXFAST16): Likewise.
21448 [C99-based-standards] (SCNdFAST16): Likewise.
21449 [C99-based-standards] (SCNiFAST16): Likewise.
21450 [C99-based-standards] (SCNoFAST16): Likewise.
21451 [C99-based-standards] (SCNuFAST16): Likewise.
21452 [C99-based-standards] (SCNxFAST16): Likewise.
21453 [C99-based-standards] (PRId32): Likewise.
21454 [C99-based-standards] (PRIi32): Likewise.
21455 [C99-based-standards] (PRIo32): Likewise.
21456 [C99-based-standards] (PRIu32): Likewise.
21457 [C99-based-standards] (PRIx32): Likewise.
21458 [C99-based-standards] (PRIX32): Likewise.
21459 [C99-based-standards] (SCNd32): Likewise.
21460 [C99-based-standards] (SCNi32): Likewise.
21461 [C99-based-standards] (SCNo32): Likewise.
21462 [C99-based-standards] (SCNu32): Likewise.
21463 [C99-based-standards] (SCNx32): Likewise.
21464 [C99-based-standards] (PRIdLEAST32): Likewise.
21465 [C99-based-standards] (PRIiLEAST32): Likewise.
21466 [C99-based-standards] (PRIoLEAST32): Likewise.
21467 [C99-based-standards] (PRIuLEAST32): Likewise.
21468 [C99-based-standards] (PRIxLEAST32): Likewise.
21469 [C99-based-standards] (PRIXLEAST32): Likewise.
21470 [C99-based-standards] (SCNdLEAST32): Likewise.
21471 [C99-based-standards] (SCNiLEAST32): Likewise.
21472 [C99-based-standards] (SCNoLEAST32): Likewise.
21473 [C99-based-standards] (SCNuLEAST32): Likewise.
21474 [C99-based-standards] (SCNxLEAST32): Likewise.
21475 [C99-based-standards] (PRIdFAST32): Likewise.
21476 [C99-based-standards] (PRIiFAST32): Likewise.
21477 [C99-based-standards] (PRIoFAST32): Likewise.
21478 [C99-based-standards] (PRIuFAST32): Likewise.
21479 [C99-based-standards] (PRIxFAST32): Likewise.
21480 [C99-based-standards] (PRIXFAST32): Likewise.
21481 [C99-based-standards] (SCNdFAST32): Likewise.
21482 [C99-based-standards] (SCNiFAST32): Likewise.
21483 [C99-based-standards] (SCNoFAST32): Likewise.
21484 [C99-based-standards] (SCNuFAST32): Likewise.
21485 [C99-based-standards] (SCNxFAST32): Likewise.
21486 [C99-based-standards] (PRId64): Likewise.
21487 [C99-based-standards] (PRIi64): Likewise.
21488 [C99-based-standards] (PRIo64): Likewise.
21489 [C99-based-standards] (PRIu64): Likewise.
21490 [C99-based-standards] (PRIx64): Likewise.
21491 [C99-based-standards] (PRIX64): Likewise.
21492 [C99-based-standards] (SCNd64): Likewise.
21493 [C99-based-standards] (SCNi64): Likewise.
21494 [C99-based-standards] (SCNo64): Likewise.
21495 [C99-based-standards] (SCNu64): Likewise.
21496 [C99-based-standards] (SCNx64): Likewise.
21497 [C99-based-standards] (PRIdLEAST64): Likewise.
21498 [C99-based-standards] (PRIiLEAST64): Likewise.
21499 [C99-based-standards] (PRIoLEAST64): Likewise.
21500 [C99-based-standards] (PRIuLEAST64): Likewise.
21501 [C99-based-standards] (PRIxLEAST64): Likewise.
21502 [C99-based-standards] (PRIXLEAST64): Likewise.
21503 [C99-based-standards] (SCNdLEAST64): Likewise.
21504 [C99-based-standards] (SCNiLEAST64): Likewise.
21505 [C99-based-standards] (SCNoLEAST64): Likewise.
21506 [C99-based-standards] (SCNuLEAST64): Likewise.
21507 [C99-based-standards] (SCNxLEAST64): Likewise.
21508 [C99-based-standards] (PRIdFAST64): Likewise.
21509 [C99-based-standards] (PRIiFAST64): Likewise.
21510 [C99-based-standards] (PRIoFAST64): Likewise.
21511 [C99-based-standards] (PRIuFAST64): Likewise.
21512 [C99-based-standards] (PRIxFAST64): Likewise.
21513 [C99-based-standards] (PRIXFAST64): Likewise.
21514 [C99-based-standards] (SCNdFAST64): Likewise.
21515 [C99-based-standards] (SCNiFAST64): Likewise.
21516 [C99-based-standards] (SCNoFAST64): Likewise.
21517 [C99-based-standards] (SCNuFAST64): Likewise.
21518 [C99-based-standards] (SCNxFAST64): Likewise.
21519 [C99-based-standards] (PRIdMAX): Likewise.
21520 [C99-based-standards] (PRIiMAX): Likewise.
21521 [C99-based-standards] (PRIoMAX): Likewise.
21522 [C99-based-standards] (PRIuMAX): Likewise.
21523 [C99-based-standards] (PRIxMAX): Likewise.
21524 [C99-based-standards] (PRIXMAX): Likewise.
21525 [C99-based-standards] (SCNdMAX): Likewise.
21526 [C99-based-standards] (SCNiMAX): Likewise.
21527 [C99-based-standards] (SCNoMAX): Likewise.
21528 [C99-based-standards] (SCNuMAX): Likewise.
21529 [C99-based-standards] (SCNxMAX): Likewise.
21530 [C99-based-standards] (PRIdPTR): Likewise.
21531 [C99-based-standards] (PRIiPTR): Likewise.
21532 [C99-based-standards] (PRIoPTR): Likewise.
21533 [C99-based-standards] (PRIuPTR): Likewise.
21534 [C99-based-standards] (PRIxPTR): Likewise.
21535 [C99-based-standards] (PRIXPTR): Likewise.
21536 [C99-based-standards] (SCNdPTR): Likewise.
21537 [C99-based-standards] (SCNiPTR): Likewise.
21538 [C99-based-standards] (SCNoPTR): Likewise.
21539 [C99-based-standards] (SCNuPTR): Likewise.
21540 [C99-based-standards] (SCNxPTR): Likewise.
21541 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
21543 * conform/data/stdint.h-data: Update comments to clarify
21545 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
21547 [C99-based standards] (INT8_MAX): Likewise.
21548 [C99-based standards] (INT16_MIN): Likewise.
21549 [C99-based standards] (INT16_MAX): Likewise.
21550 [C99-based standards] (INT32_MIN): Likewise.
21551 [C99-based standards] (INT32_MAX): Likewise.
21552 [C99-based standards] (INT64_MIN): Likewise.
21553 [C99-based standards] (INT64_MAX): Likewise.
21554 [C99-based standards] (UINT8_MAX): Likewise.
21555 [C99-based standards] (UINT16_MAX): Likewise.
21556 [C99-based standards] (UINT32_MAX): Likewise.
21557 [C99-based standards] (UINT64_MAX): Likewise.
21558 [C99-based standards] (INT_LEAST8_MIN): Likewise.
21559 [C99-based standards] (INT_LEAST8_MAX): Likewise.
21560 [C99-based standards] (INT_LEAST16_MIN): Likewise.
21561 [C99-based standards] (INT_LEAST16_MAX): Likewise.
21562 [C99-based standards] (INT_LEAST32_MIN): Likewise.
21563 [C99-based standards] (INT_LEAST32_MAX): Likewise.
21564 [C99-based standards] (INT_LEAST64_MIN): Likewise.
21565 [C99-based standards] (INT_LEAST64_MAX): Likewise.
21566 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
21567 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
21568 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
21569 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
21570 [C99-based standards] (INT_FAST8_MIN): Likewise.
21571 [C99-based standards] (INT_FAST8_MAX): Likewise.
21572 [C99-based standards] (INT_FAST16_MIN): Likewise.
21573 [C99-based standards] (INT_FAST16_MAX): Likewise.
21574 [C99-based standards] (INT_FAST32_MIN): Likewise.
21575 [C99-based standards] (INT_FAST32_MAX): Likewise.
21576 [C99-based standards] (INT_FAST64_MIN): Likewise.
21577 [C99-based standards] (INT_FAST64_MAX): Likewise.
21578 [C99-based standards] (UINT_FAST8_MAX): Likewise.
21579 [C99-based standards] (UINT_FAST16_MAX): Likewise.
21580 [C99-based standards] (UINT_FAST32_MAX): Likewise.
21581 [C99-based standards] (UINT_FAST64_MAX): Likewise.
21582 [C99-based standards] (INTPTR_MIN): Likewise.
21583 [C99-based standards] (INTPTR_MAX): Likewise.
21584 [C99-based standards] (UINTPTR_MAX): Likewise.
21585 [C99-based standards] (INTMAX_MIN): Likewise.
21586 [C99-based standards] (INTMAX_MAX): Likewise.
21587 [C99-based standards] (UINTMAX_MAX): Likewise.
21588 [C99-based standards] (PTRDIFF_MIN): Likewise.
21589 [C99-based standards] (PTRDIFF_MAX): Likewise.
21590 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
21591 [C99-based standards] (SIZE_MAX): Likewise.
21592 [C99-based standards] (WCHAR_MAX): Likewise.
21593 [C99-based standards] (WINT_MAX): Likewise.
21594 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
21595 constraint on value.
21596 [C99-based standards] (WCHAR_MIN): Likewise.
21597 [C99-based standards] (WINT_MIN): Likewise.
21598 [C99-based standards] (*_t): Allow.
21599 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
21600 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
21601 Include math.h-data and complex.h-data. Remove all expectations
21602 of math.h and complex.h contents.
21603 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
21605 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
21606 (struct tm): Expect tag.
21607 [C99-based-standards] (wcstof): Expect function.
21608 [C99-based-standards] (wcstold): Likewise.
21609 [C99-based-standards] (wcstoll): Likewise.
21610 [C99-based-standards] (wcstoull): Likewise.
21611 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
21612 macro-int-constant. Specify type.
21613 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
21614 constraint on value.
21615 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
21617 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
21619 [ISO C standards]: Do not allow headers.
21620 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
21621 wcs[abcdefghijklmnopqrstuvwxyz]*.
21622 [ISO C standards] (*_t): Do not allow.
21623 * conform/data/wctype.h-data [C99-based standards] (iswblank):
21625 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
21626 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
21628 [ISO C standards]: Do not allow headers.
21629 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
21630 is[abcdefghijklmnopqrstuvwxyz]*.
21631 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
21632 to[abcdefghijklmnopqrstuvwxyz]*.
21633 [ISO C standards] (*_t): Do not allow.
21634 * conform/data/stdalign.h-data: New file.
21635 * conform/data/stdbool.h-data: Likewise.
21636 * conform/data/stdnoreturn.h-data: Likewise.
21638 2012-11-07 Roland McGrath <roland@hack.frob.com>
21641 * manual/filesys.texi (Directory Entries): Typo fix.
21642 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
21644 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21646 * elf/elf.h (EM_AARCH64): New macro.
21647 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
21648 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
21649 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
21650 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
21651 (R_AARCH64_TLSDESC): Likewise.
21652 (NT_ARM_TLS): Likewise.
21653 (NT_ARM_HW_BREAK): Likewise.
21654 (NT_ARM_HW_WATCH): Likewise.
21656 2012-11-07 Joseph Myers <joseph@codesourcery.com>
21659 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
21660 (__ieee754_powl): Saturate nonzero exponents with absolute value
21661 below 0x1p-79 to +/- 0x1p-79.
21662 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
21663 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
21664 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
21665 nonzero exponents with absolute value below 0x1p-32 to +/-
21667 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
21668 (__ieee754_powl): Saturate nonzero exponents with absolute value
21669 below 0x1p-79 to +/- 0x1p-79.
21670 * math/libm-test.inc (pow_test): Add more tests.
21672 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21674 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
21675 _dl_s390_cap_flags with kernel. Increase string length.
21676 (_dl_s390_platforms): Add z196 and zEC12.
21678 2012-11-07 Joseph Myers <joseph@codesourcery.com>
21680 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
21681 Change XOPEN21K to XOPEN2K.
21683 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
21685 * string/memmove.c: Use memcpy when possible.
21687 2012-11-06 Andreas Jaeger <aj@suse.de>
21689 * po/eo.po: Update from translation team.
21691 2012-11-06 Joseph Myers <joseph@codesourcery.com>
21694 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
21695 exponent and small x and y exponents, scale x or y up. Increase
21696 by 2 the exponent used in scaling up.
21697 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21698 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21699 * math/libm-test.inc (fma_test): Add more tests.
21700 (fma_test_towardzero): Likewise.
21701 (fma_test_downward): Likewise.
21702 (fma_test_upward): Likewise.
21704 2012-11-05 Joseph Myers <joseph@codesourcery.com>
21707 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
21711 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
21712 namespace for names of struct fields.
21713 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
21715 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
21716 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
21718 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
21721 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
21723 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
21725 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
21729 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
21732 2012-11-04 Joseph Myers <joseph@codesourcery.com>
21735 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
21736 definitely overflow as x * y not x * y + z.
21737 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21738 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21739 * math/libm-test.inc (fma_test): Add more tests.
21740 (fma_test_towardzero): Likewise.
21741 (fma_test_downward): Likewise.
21742 (fma_test_upward): Likewise.
21744 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
21748 * include/stub-tag.h: Remove file.
21749 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
21751 * manual/maint.texi (Porting): Don't reference it.
21752 * Makerules ($(objpfx)stubs): Likewise.
21753 * dirent/closedir.c: Don't include <stub-tag.h>.
21754 * dirent/dirfd.c: Likewise.
21755 * dirent/fdopendir.c: Likewise.
21756 * dirent/getdents.c: Likewise.
21757 * dirent/getdents64.c: Likewise.
21758 * dirent/opendir.c: Likewise.
21759 * dirent/readdir.c: Likewise.
21760 * dirent/readdir64.c: Likewise.
21761 * dirent/readdir64_r.c: Likewise.
21762 * dirent/readdir_r.c: Likewise.
21763 * dirent/rewinddir.c: Likewise.
21764 * dirent/seekdir.c: Likewise.
21765 * dirent/telldir.c: Likewise.
21766 * gmon/profil.c: Likewise.
21767 * grp/setgroups.c: Likewise.
21768 * inet/if_index.c: Likewise.
21769 * io/access.c: Likewise.
21770 * io/chdir.c: Likewise.
21771 * io/chmod.c: Likewise.
21772 * io/chown.c: Likewise.
21773 * io/close.c: Likewise.
21774 * io/dup.c: Likewise.
21775 * io/dup2.c: Likewise.
21776 * io/dup3.c: Likewise.
21777 * io/euidaccess.c: Likewise.
21778 * io/faccessat.c: Likewise.
21779 * io/fchdir.c: Likewise.
21780 * io/fchmod.c: Likewise.
21781 * io/fchmodat.c: Likewise.
21782 * io/fchown.c: Likewise.
21783 * io/fchownat.c: Likewise.
21784 * io/fcntl.c: Likewise.
21785 * io/flock.c: Likewise.
21786 * io/fstatfs.c: Likewise.
21787 * io/fstatfs64.c: Likewise.
21788 * io/fstatvfs.c: Likewise.
21789 * io/fstatvfs64.c: Likewise.
21790 * io/futimens.c: Likewise.
21791 * io/fxstat.c: Likewise.
21792 * io/fxstat64.c: Likewise.
21793 * io/fxstatat.c: Likewise.
21794 * io/fxstatat64.c: Likewise.
21795 * io/getcwd.c: Likewise.
21796 * io/isatty.c: Likewise.
21797 * io/lchmod.c: Likewise.
21798 * io/lchown.c: Likewise.
21799 * io/link.c: Likewise.
21800 * io/linkat.c: Likewise.
21801 * io/lseek.c: Likewise.
21802 * io/lseek64.c: Likewise.
21803 * io/lxstat64.c: Likewise.
21804 * io/mkdir.c: Likewise.
21805 * io/mkdirat.c: Likewise.
21806 * io/mkfifo.c: Likewise.
21807 * io/mkfifoat.c: Likewise.
21808 * io/open.c: Likewise.
21809 * io/open64.c: Likewise.
21810 * io/openat.c: Likewise.
21811 * io/openat64.c: Likewise.
21812 * io/pipe.c: Likewise.
21813 * io/pipe2.c: Likewise.
21814 * io/poll.c: Likewise.
21815 * io/posix_fadvise.c: Likewise.
21816 * io/posix_fadvise64.c: Likewise.
21817 * io/posix_fallocate.c: Likewise.
21818 * io/posix_fallocate64.c: Likewise.
21819 * io/read.c: Likewise.
21820 * io/readlink.c: Likewise.
21821 * io/readlinkat.c: Likewise.
21822 * io/rmdir.c: Likewise.
21823 * io/sendfile.c: Likewise.
21824 * io/sendfile64.c: Likewise.
21825 * io/statfs.c: Likewise.
21826 * io/statfs64.c: Likewise.
21827 * io/statvfs.c: Likewise.
21828 * io/statvfs64.c: Likewise.
21829 * io/symlink.c: Likewise.
21830 * io/symlinkat.c: Likewise.
21831 * io/ttyname.c: Likewise.
21832 * io/ttyname_r.c: Likewise.
21833 * io/umask.c: Likewise.
21834 * io/unlink.c: Likewise.
21835 * io/unlinkat.c: Likewise.
21836 * io/utime.c: Likewise.
21837 * io/utimensat.c: Likewise.
21838 * io/write.c: Likewise.
21839 * io/xmknod.c: Likewise.
21840 * io/xmknodat.c: Likewise.
21841 * io/xstat.c: Likewise.
21842 * io/xstat64.c: Likewise.
21843 * login/getpt.c: Likewise.
21844 * login/grantpt.c: Likewise.
21845 * login/unlockpt.c: Likewise.
21846 * math/e_acoshl.c: Likewise.
21847 * math/e_acosl.c: Likewise.
21848 * math/e_asinl.c: Likewise.
21849 * math/e_atan2l.c: Likewise.
21850 * math/e_atanhl.c: Likewise.
21851 * math/e_coshl.c: Likewise.
21852 * math/e_expl.c: Likewise.
21853 * math/e_fmodl.c: Likewise.
21854 * math/e_gammal_r.c: Likewise.
21855 * math/e_hypotl.c: Likewise.
21856 * math/e_j0l.c: Likewise.
21857 * math/e_j1l.c: Likewise.
21858 * math/e_jnl.c: Likewise.
21859 * math/e_lgammal_r.c: Likewise.
21860 * math/e_log10l.c: Likewise.
21861 * math/e_log2l.c: Likewise.
21862 * math/e_logl.c: Likewise.
21863 * math/e_powl.c: Likewise.
21864 * math/e_rem_pio2l.c: Likewise.
21865 * math/e_sinhl.c: Likewise.
21866 * math/e_sqrtl.c: Likewise.
21867 * math/fclrexcpt.c: Likewise.
21868 * math/fedisblxcpt.c: Likewise.
21869 * math/feenablxcpt.c: Likewise.
21870 * math/fegetenv.c: Likewise.
21871 * math/fegetexcept.c: Likewise.
21872 * math/fegetround.c: Likewise.
21873 * math/feholdexcpt.c: Likewise.
21874 * math/fesetenv.c: Likewise.
21875 * math/fesetround.c: Likewise.
21876 * math/feupdateenv.c: Likewise.
21877 * math/fgetexcptflg.c: Likewise.
21878 * math/fraiseexcpt.c: Likewise.
21879 * math/fsetexcptflg.c: Likewise.
21880 * math/ftestexcept.c: Likewise.
21881 * math/k_cosl.c: Likewise.
21882 * math/k_rem_pio2l.c: Likewise.
21883 * math/k_sinl.c: Likewise.
21884 * math/k_tanl.c: Likewise.
21885 * math/s_asinhl.c: Likewise.
21886 * math/s_atanl.c: Likewise.
21887 * math/s_cbrtl.c: Likewise.
21888 * math/s_erfl.c: Likewise.
21889 * math/s_expm1l.c: Likewise.
21890 * math/s_log1pl.c: Likewise.
21891 * math/s_tanhl.c: Likewise.
21892 * misc/acct.c: Likewise.
21893 * misc/brk.c: Likewise.
21894 * misc/chflags.c: Likewise.
21895 * misc/chroot.c: Likewise.
21896 * misc/fchflags.c: Likewise.
21897 * misc/fgetxattr.c: Likewise.
21898 * misc/flistxattr.c: Likewise.
21899 * misc/fremovexattr.c: Likewise.
21900 * misc/fsetxattr.c: Likewise.
21901 * misc/fsync.c: Likewise.
21902 * misc/ftruncate.c: Likewise.
21903 * misc/futimes.c: Likewise.
21904 * misc/futimesat.c: Likewise.
21905 * misc/getdomain.c: Likewise.
21906 * misc/getdtsz.c: Likewise.
21907 * misc/gethostid.c: Likewise.
21908 * misc/gethostname.c: Likewise.
21909 * misc/getloadavg.c: Likewise.
21910 * misc/getpagesize.c: Likewise.
21911 * misc/getsysstats.c: Likewise.
21912 * misc/getxattr.c: Likewise.
21913 * misc/gtty.c: Likewise.
21914 * misc/ioctl.c: Likewise.
21915 * misc/lgetxattr.c: Likewise.
21916 * misc/listxattr.c: Likewise.
21917 * misc/llistxattr.c: Likewise.
21918 * misc/lremovexattr.c: Likewise.
21919 * misc/lsetxattr.c: Likewise.
21920 * misc/lutimes.c: Likewise.
21921 * misc/madvise.c: Likewise.
21922 * misc/mincore.c: Likewise.
21923 * misc/mlock.c: Likewise.
21924 * misc/mlockall.c: Likewise.
21925 * misc/mmap.c: Likewise.
21926 * misc/mprotect.c: Likewise.
21927 * misc/msync.c: Likewise.
21928 * misc/munlock.c: Likewise.
21929 * misc/munlockall.c: Likewise.
21930 * misc/munmap.c: Likewise.
21931 * misc/preadv.c: Likewise.
21932 * misc/preadv64.c: Likewise.
21933 * misc/ptrace.c: Likewise.
21934 * misc/pwritev.c: Likewise.
21935 * misc/pwritev64.c: Likewise.
21936 * misc/readv.c: Likewise.
21937 * misc/reboot.c: Likewise.
21938 * misc/remap_file_pages.c: Likewise.
21939 * misc/removexattr.c: Likewise.
21940 * misc/revoke.c: Likewise.
21941 * misc/select.c: Likewise.
21942 * misc/setdomain.c: Likewise.
21943 * misc/setegid.c: Likewise.
21944 * misc/seteuid.c: Likewise.
21945 * misc/sethostid.c: Likewise.
21946 * misc/sethostname.c: Likewise.
21947 * misc/setregid.c: Likewise.
21948 * misc/setreuid.c: Likewise.
21949 * misc/setxattr.c: Likewise.
21950 * misc/sstk.c: Likewise.
21951 * misc/stty.c: Likewise.
21952 * misc/swapoff.c: Likewise.
21953 * misc/swapon.c: Likewise.
21954 * misc/sync.c: Likewise.
21955 * misc/syncfs.c: Likewise.
21956 * misc/syscall.c: Likewise.
21957 * misc/truncate.c: Likewise.
21958 * misc/ualarm.c: Likewise.
21959 * misc/usleep.c: Likewise.
21960 * misc/ustat.c: Likewise.
21961 * misc/utimes.c: Likewise.
21962 * misc/vhangup.c: Likewise.
21963 * misc/writev.c: Likewise.
21964 * posix/_exit.c: Likewise.
21965 * posix/alarm.c: Likewise.
21966 * posix/execve.c: Likewise.
21967 * posix/fexecve.c: Likewise.
21968 * posix/fork.c: Likewise.
21969 * posix/fpathconf.c: Likewise.
21970 * posix/getaddrinfo.c: Likewise.
21971 * posix/getegid.c: Likewise.
21972 * posix/geteuid.c: Likewise.
21973 * posix/getgid.c: Likewise.
21974 * posix/getgroups.c: Likewise.
21975 * posix/getlogin.c: Likewise.
21976 * posix/getlogin_r.c: Likewise.
21977 * posix/getpgid.c: Likewise.
21978 * posix/getpid.c: Likewise.
21979 * posix/getppid.c: Likewise.
21980 * posix/getresgid.c: Likewise.
21981 * posix/getresuid.c: Likewise.
21982 * posix/getsid.c: Likewise.
21983 * posix/getuid.c: Likewise.
21984 * posix/glob64.c: Likewise.
21985 * posix/nanosleep.c: Likewise.
21986 * posix/pathconf.c: Likewise.
21987 * posix/pause.c: Likewise.
21988 * posix/posix_madvise.c: Likewise.
21989 * posix/pread.c: Likewise.
21990 * posix/pread64.c: Likewise.
21991 * posix/pwrite.c: Likewise.
21992 * posix/pwrite64.c: Likewise.
21993 * posix/sched_getaffinity.c: Likewise.
21994 * posix/sched_getp.c: Likewise.
21995 * posix/sched_gets.c: Likewise.
21996 * posix/sched_primax.c: Likewise.
21997 * posix/sched_primin.c: Likewise.
21998 * posix/sched_rr_gi.c: Likewise.
21999 * posix/sched_setaffinity.c: Likewise.
22000 * posix/sched_setp.c: Likewise.
22001 * posix/sched_sets.c: Likewise.
22002 * posix/sched_yield.c: Likewise.
22003 * posix/setgid.c: Likewise.
22004 * posix/setlogin.c: Likewise.
22005 * posix/setpgid.c: Likewise.
22006 * posix/setresgid.c: Likewise.
22007 * posix/setresuid.c: Likewise.
22008 * posix/setsid.c: Likewise.
22009 * posix/setuid.c: Likewise.
22010 * posix/sleep.c: Likewise.
22011 * posix/spawni.c: Likewise.
22012 * posix/sysconf.c: Likewise.
22013 * posix/times.c: Likewise.
22014 * posix/wait.c: Likewise.
22015 * posix/wait3.c: Likewise.
22016 * posix/wait4.c: Likewise.
22017 * posix/waitpid.c: Likewise.
22018 * resolv/gai_sigqueue.c: Likewise.
22019 * resource/getpriority.c: Likewise.
22020 * resource/getrlimit.c: Likewise.
22021 * resource/getrusage.c: Likewise.
22022 * resource/nice.c: Likewise.
22023 * resource/setpriority.c: Likewise.
22024 * resource/setrlimit.c: Likewise.
22025 * resource/ulimit.c: Likewise.
22026 * rt/aio_cancel.c: Likewise.
22027 * rt/aio_fsync.c: Likewise.
22028 * rt/aio_read.c: Likewise.
22029 * rt/aio_sigqueue.c: Likewise.
22030 * rt/aio_suspend.c: Likewise.
22031 * rt/aio_write.c: Likewise.
22032 * rt/clock_getres.c: Likewise.
22033 * rt/clock_gettime.c: Likewise.
22034 * rt/clock_nanosleep.c: Likewise.
22035 * rt/clock_settime.c: Likewise.
22036 * rt/lio_listio.c: Likewise.
22037 * rt/mq_close.c: Likewise.
22038 * rt/mq_getattr.c: Likewise.
22039 * rt/mq_notify.c: Likewise.
22040 * rt/mq_open.c: Likewise.
22041 * rt/mq_receive.c: Likewise.
22042 * rt/mq_send.c: Likewise.
22043 * rt/mq_setattr.c: Likewise.
22044 * rt/mq_timedreceive.c: Likewise.
22045 * rt/mq_timedsend.c: Likewise.
22046 * rt/mq_unlink.c: Likewise.
22047 * rt/shm_open.c: Likewise.
22048 * rt/shm_unlink.c: Likewise.
22049 * rt/timer_create.c: Likewise.
22050 * rt/timer_delete.c: Likewise.
22051 * rt/timer_getoverr.c: Likewise.
22052 * rt/timer_gettime.c: Likewise.
22053 * rt/timer_settime.c: Likewise.
22054 * setjmp/__longjmp.c: Likewise.
22055 * setjmp/setjmp.c: Likewise.
22056 * signal/kill.c: Likewise.
22057 * signal/killpg.c: Likewise.
22058 * signal/raise.c: Likewise.
22059 * signal/sigaction.c: Likewise.
22060 * signal/sigaltstack.c: Likewise.
22061 * signal/sigblock.c: Likewise.
22062 * signal/sigignore.c: Likewise.
22063 * signal/sigintr.c: Likewise.
22064 * signal/signal.c: Likewise.
22065 * signal/sigpause.c: Likewise.
22066 * signal/sigpending.c: Likewise.
22067 * signal/sigqueue.c: Likewise.
22068 * signal/sigreturn.c: Likewise.
22069 * signal/sigset.c: Likewise.
22070 * signal/sigsetmask.c: Likewise.
22071 * signal/sigstack.c: Likewise.
22072 * signal/sigsuspend.c: Likewise.
22073 * signal/sigtimedwait.c: Likewise.
22074 * signal/sigvec.c: Likewise.
22075 * signal/sigwait.c: Likewise.
22076 * signal/sigwaitinfo.c: Likewise.
22077 * signal/sysv_signal.c: Likewise.
22078 * socket/accept.c: Likewise.
22079 * socket/accept4.c: Likewise.
22080 * socket/bind.c: Likewise.
22081 * socket/connect.c: Likewise.
22082 * socket/getpeername.c: Likewise.
22083 * socket/getsockname.c: Likewise.
22084 * socket/getsockopt.c: Likewise.
22085 * socket/isfdtype.c: Likewise.
22086 * socket/listen.c: Likewise.
22087 * socket/recv.c: Likewise.
22088 * socket/recvfrom.c: Likewise.
22089 * socket/recvmsg.c: Likewise.
22090 * socket/send.c: Likewise.
22091 * socket/sendmsg.c: Likewise.
22092 * socket/sendto.c: Likewise.
22093 * socket/setsockopt.c: Likewise.
22094 * socket/shutdown.c: Likewise.
22095 * socket/sockatmark.c: Likewise.
22096 * socket/socket.c: Likewise.
22097 * socket/socketpair.c: Likewise.
22098 * stdio-common/ctermid.c: Likewise.
22099 * stdio-common/cuserid.c: Likewise.
22100 * stdio-common/remove.c: Likewise.
22101 * stdio-common/rename.c: Likewise.
22102 * stdio-common/renameat.c: Likewise.
22103 * stdio-common/tempname.c: Likewise.
22104 * stdlib/getcontext.c: Likewise.
22105 * stdlib/makecontext.c: Likewise.
22106 * stdlib/setcontext.c: Likewise.
22107 * stdlib/swapcontext.c: Likewise.
22108 * stdlib/system.c: Likewise.
22109 * streams/fattach.c: Likewise.
22110 * streams/fdetach.c: Likewise.
22111 * streams/getmsg.c: Likewise.
22112 * streams/getpmsg.c: Likewise.
22113 * streams/putmsg.c: Likewise.
22114 * streams/putpmsg.c: Likewise.
22115 * sysdeps/unix/bsd/getpt.c: Likewise.
22116 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
22117 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
22118 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
22119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
22121 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
22122 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
22123 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
22124 * sysvipc/msgctl.c: Likewise.
22125 * sysvipc/msgget.c: Likewise.
22126 * sysvipc/msgrcv.c: Likewise.
22127 * sysvipc/msgsnd.c: Likewise.
22128 * sysvipc/semctl.c: Likewise.
22129 * sysvipc/semget.c: Likewise.
22130 * sysvipc/semop.c: Likewise.
22131 * sysvipc/semtimedop.c: Likewise.
22132 * sysvipc/shmat.c: Likewise.
22133 * sysvipc/shmctl.c: Likewise.
22134 * sysvipc/shmdt.c: Likewise.
22135 * sysvipc/shmget.c: Likewise.
22136 * termios/tcdrain.c: Likewise.
22137 * termios/tcflow.c: Likewise.
22138 * termios/tcflush.c: Likewise.
22139 * termios/tcgetattr.c: Likewise.
22140 * termios/tcgetpgrp.c: Likewise.
22141 * termios/tcsendbrk.c: Likewise.
22142 * termios/tcsetattr.c: Likewise.
22143 * termios/tcsetpgrp.c: Likewise.
22144 * time/adjtime.c: Likewise.
22145 * time/clock.c: Likewise.
22146 * time/getitimer.c: Likewise.
22147 * time/gettimeofday.c: Likewise.
22148 * time/setitimer.c: Likewise.
22149 * time/settimeofday.c: Likewise.
22150 * time/stime.c: Likewise.
22151 * time/time.c: Likewise.
22153 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
22155 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
22158 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
22160 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
22162 2012-11-03 Joseph Myers <joseph@codesourcery.com>
22165 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
22166 FE_TONEAREST before applying Dekker multiplication and Knuth
22167 addition. Clear inexact exceptions and check for exact zero
22168 results afterwards.
22169 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22170 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
22171 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22172 * math/libm-test.inc (fma_test): Add more tests.
22173 (fma_test_towardzero): Likewise.
22174 (fma_test_downward): Likewise.
22175 (fma_test_upward): Likewise.
22176 * sysdeps/generic/math_private.h (default_libc_fesetround): New
22178 (libc_fesetround): New macro.
22179 (libc_fesetroundf): Likewise.
22180 (libc_fesetroundl): Likewise.
22181 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
22183 (libc_fesetround_387): Likewise.
22184 (libc_fesetroundf): New macro.
22185 (libc_fesetround): Likewise.
22186 (libc_fesetroundl): Likewise.
22187 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
22189 (libc_fesetroundf): New macro.
22190 (libc_fesetround): Likewise.
22191 (libc_fesetroundl): Likewise.
22192 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
22193 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
22194 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
22196 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
22197 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
22199 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
22200 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
22202 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
22206 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
22207 integer constant usable in #if and use that to give value to enum
22209 (FE_DIVBYZERO): Likewise.
22210 (FE_UNDERFLOW): Likewise.
22211 (FE_OVERFLOW): Likewise.
22212 (FE_INVALID): Likewise.
22213 (FE_INVALID_SNAN): Likewise.
22214 (FE_INVALID_ISI): Likewise.
22215 (FE_INVALID_IDI): Likewise.
22216 (FE_INVALID_ZDZ): Likewise.
22217 (FE_INVALID_IMZ): Likewise.
22218 (FE_INVALID_COMPARE): Likewise.
22219 (FE_INVALID_SOFTWARE): Likewise.
22220 (FE_INVALID_SQRT): Likewise.
22221 (FE_INVALID_INTEGER_CONVERSION): Likewise.
22222 (FE_TONEAREST): Likewise.
22223 (FE_TOWARDZERO): Likewise.
22224 (FE_UPWARD): Likewise.
22225 (FE_DOWNWARD): Likewise.
22226 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
22227 (FE_DIVBYZERO): Likewise.
22228 (FE_OVERFLOW): Likewise.
22229 (FE_UNDERFLOW): Likewise.
22230 (FE_INEXACT): Likewise.
22231 (FE_TONEAREST): Likewise.
22232 (FE_DOWNWARD): Likewise.
22233 (FE_UPWARD): Likewise.
22234 (FE_TOWARDZERO): Likewise.
22235 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
22236 (FE_UNDERFLOW): Likewise.
22237 (FE_OVERFLOW): Likewise.
22238 (FE_DIVBYZERO): Likewise.
22239 (FE_INVALID): Likewise.
22240 (FE_TONEAREST): Likewise.
22241 (FE_TOWARDZERO): Likewise.
22242 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
22243 (FE_OVERFLOW): Likewise.
22244 (FE_UNDERFLOW): Likewise.
22245 (FE_DIVBYZERO): Likewise.
22246 (FE_INEXACT): Likewise.
22247 (FE_TONEAREST): Likewise.
22248 (FE_TOWARDZERO): Likewise.
22249 (FE_UPWARD): Likewise.
22250 (FE_DOWNWARD): Likewise.
22251 * sysdeps/x86/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.
22261 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
22263 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
22265 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
22267 * scripts/cross-test-ssh.sh (command): Use newlines to separate
22268 commands. Quote $PWD.
22269 (blacklist_exports): Don't use remove_newlines. Replace "declare
22271 (remove_newlines): Remove.
22273 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
22275 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
22276 * stdlib/stdlib.h (atof): Moved to ...
22277 * include/bits/stdlib-float.h: Here. New file.
22278 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
22279 * stdlib/bits/stdlib-float.h: New file.
22280 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
22282 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
22285 2012-11-02 Joseph Myers <joseph@codesourcery.com>
22287 * conform/conformtest.pl (@headers): Add fenv.h.
22288 * conform/data/fenv.h-data: New file.
22289 * include/fenv.h [_ISOMAC]: Disable all contents of file except
22290 include of <math/fenv.h>.
22292 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
22293 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
22294 && !UNIX98]. Enables tests for XOPEN2K8.
22295 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
22296 POSIX2008]: Likewise.
22298 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
22299 (struct rusage): Do not expect type or its members.
22302 * math/math.h (FP_NAN): Define macro to integer constant usable in
22303 #if and use that to give value to enum constant.
22304 (FP_INFINITE): Likewise.
22305 (FP_ZERO): Likewise.
22306 (FP_SUBNORMAL): Likewise.
22307 (FP_NORMAL): Likewise.
22309 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
22311 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
22312 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
22315 2012-11-02 Roland McGrath <roland@hack.frob.com>
22317 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
22318 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
22319 autoconf-time if not.
22320 * configure.in: Remove AC_PREREQ.
22322 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22324 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
22325 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
22326 of the internal implementation.
22328 2012-11-02 Joseph Myers <joseph@codesourcery.com>
22330 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
22331 except include of <misc/sys/syslog.h>.
22333 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
22335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
22336 function returns with a NULL context exit with zero.
22338 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22340 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
22342 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
22344 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
22345 (run_program_cmd): This.
22346 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
22347 (tst_langinfo): New variable. Use it.
22349 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
22351 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
22352 floating point opcodes.
22354 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22356 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
22359 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
22361 * sysdeps/mach/hurd/powerpc: Remove directory.
22362 * sysdeps/mach/powerpc: Likewise.
22364 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
22366 * scripts/check-local-headers.sh: Ignore c++ headers.
22368 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22370 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
22371 __libc_cleanup_region_start argument.
22373 2012-11-01 Joseph Myers <joseph@codesourcery.com>
22377 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
22378 x * y using scaling, not as x * y + z.
22379 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22380 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22381 * math/libm-test.inc (fma_test): Add more tests.
22382 (fma_test_towardzero): Likewise.
22383 (fma_test_downward): Likewise.
22384 (fma_test_upward): Likewise.
22386 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22388 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
22390 2012-10-31 Joseph Myers <joseph@codesourcery.com>
22392 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
22395 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
22397 * rt/tst-shm.c (worker): Correct checking for mmap failure.
22399 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
22401 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22406 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22409 Fix the order of the list for glibc 2.17.
22410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22413 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
22415 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22417 2012-10-31 Joseph Myers <joseph@codesourcery.com>
22420 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
22421 for low part of x being zero before using __atanl (y).
22422 * math/libm-test.inc (atan2_test): Add another test.
22424 * manual/install.texi (Configuring and compiling): Document
22425 general use of test-wrapper and test-wrapper-env.
22426 * INSTALL: Regenerated.
22428 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
22429 (__fma): Do not extract and scale down low bits on after-rounding
22430 systems when result rounded to normal precision would have normal
22432 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
22433 (__fmal): Do not extract and scale down low bits on after-rounding
22434 systems when result rounded to normal precision would have normal
22436 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
22437 (__fmal): Do not extract and scale down low bits on after-rounding
22438 systems when result rounded to normal precision would have normal
22440 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
22442 (fma_test): Add more tests.
22443 (fma_test_towardzero): Likewise.
22444 (fma_test_downward): Likewise.
22445 (fma_test_upward): Likewise.
22447 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
22449 * sysdeps/i386/tininess.h: Renamed to ...
22450 * sysdeps/x86/tininess.h: This.
22451 * sysdeps/x86_64/tininess.h: Removed.
22453 2012-10-30 Joseph Myers <joseph@codesourcery.com>
22455 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
22456 input. Use $(build-program-cmd).
22457 ($(objpfx)tst-array1-static.out): Likewise.
22458 ($(objpfx)tst-array2.out): Likewise.
22459 ($(objpfx)tst-array3.out): Likewise.
22460 ($(objpfx)tst-array4.out): Likewise.
22461 ($(objpfx)tst-array5.out): Likewise.
22462 ($(objpfx)tst-array5-static.out): Likewise.
22464 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
22466 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
22469 * nss/nsswitch.h (nss_interface_function): Provide new
22470 macro for use with NSS functions.
22471 * grp/initgroups.c: Use new macro.
22472 * nss/getXXbyYY.c: Likewise.
22473 * nss/getXXbyYY_r.c: Likewise.
22474 * nss/getXXent.c: Likewise.
22475 * nss/getXXent_r.c: Likewise.
22476 * sysdeps/posix/getaddrinfo.c: Likewise.
22478 2012-10-30 Andreas Jaeger <aj@suse.de>
22480 * po/ru.po: Update Russion translation from translation project.
22482 2012-10-30 Joseph Myers <joseph@codesourcery.com>
22486 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
22487 result and shift together with sticky bit instead of replicating
22488 round-to-nearest rounding.
22489 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22490 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22491 * math/libm-test.inc (fma_test): Add more tests. Do not permit
22492 missing underflow exceptions.
22493 (fma_test_towardzero): Add more tests.
22494 (fma_test_downward): Likewise.
22495 (fma_test_upward): Likewise.
22498 * sysdeps/generic/tininess.h: New file.
22499 * sysdeps/i386/tininess.h: Likewise.
22500 * sysdeps/sh/tininess.h: Likewise.
22501 * sysdeps/x86_64/tininess.h: Likewise.
22502 * stdlib/tst-strtod-underflow.c: Likewise.
22503 * stdlib/tst-tininess.c: Likewise.
22504 * stdlib/strtod_l.c: Include <tininess.h>.
22505 (round_and_return): Do not set errno for exact underflow cases.
22506 Force an underflow exception when setting errno for underflow.
22507 Determine underflow based on rounding to normal precision if
22508 TININESS_AFTER_ROUNDING.
22509 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
22510 ERANGE for exact underflow cases.
22511 * stdlib/Makefile (tests): Add tst-tininess and
22512 tst-strtod-underflow.
22513 ($(objpfx)tst-tininess): Use $(link-libm).
22514 ($(objpfx)tst-strtod-underflow): Likewise.
22516 2012-10-30 Andreas Jaeger <aj@suse.de>
22519 * elf/Makefile (tests): Remove conditional for have-initfini-array
22520 since this is now always required and the variable does not exist
22522 (tests-static): Likewise.
22523 (modules-names): Likewise.
22525 * po/eo.po: Add Esperanto translation from translation project.
22527 * elf/tst-array1.c (fini_array): Make writeable so that it can be
22528 merged with constructor/destructor.
22529 (init_array): Likewise.
22530 * elf/tst-array2dep.c (fini_array): Likewise.
22531 (init_array): Likewise.
22533 2012-10-29 Mike Frysinger <vapier@gentoo.org>
22535 * manual/message.texi: Delete @cartouche tags.
22537 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
22539 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
22541 * sysdeps/mach/hurd/fsync.c: Likewise.
22543 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
22544 [_POSIX_REALTIME_SIGNALS]: Change condition to
22545 [_POSIX_REALTIME_SIGNALS > 0].
22547 2012-10-27 Andreas Jaeger <aj@suse.de>
22549 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
22550 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
22551 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
22552 [__WORDSIZE != 64]: Likewise.
22554 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
22556 * iconvdata/tst-table.sh: Remove ${SHELL}.
22557 * iconvdata/tst-tables.sh: Likewise.
22559 2012-10-25 David S. Miller <davem@davemloft.net>
22561 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22562 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
22565 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
22567 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22568 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
22569 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
22572 2012-10-25 Roland McGrath <roland@hack.frob.com>
22574 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22575 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
22578 2012-10-25 Joseph Myers <joseph@codesourcery.com>
22579 Jim Blandy <jimb@codesourcery.com>
22581 * scripts/cross-test-ssh.sh: New file.
22582 * manual/install.texi (Configuring and compiling): Document use of
22584 * INSTALL: Regenerated.
22586 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
22588 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
22591 2012-10-25 Joseph Myers <joseph@codesourcery.com>
22593 * Makeconfig (run-program-prefix): Fix comment.
22595 2012-10-24 Joseph Myers <joseph@codesourcery.com>
22596 Jim Blandy <jimb@codesourcery.com>
22598 * Makeconfig (test-wrapper): New variable,
22599 (test-wrapper-env): Likewise.
22600 [$(cross-compiling) = yes && $(test-wrapper) != ""]
22601 (run-built-tests): Define to yes.
22602 (run-program-prefix): Use $(test-wrapper).
22603 (built-program-cmd): Likewise.
22604 * Rules (make-test-out): Use $(test-wrapper-env) and
22605 $(host-built-program-cmd).
22606 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
22607 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
22609 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
22610 $(test-wrapper-env) to tst-rtld-load-self.sh.
22611 ($(objpfx)order2.out): Use $(test-wrapper).
22612 ($(objpfx)tst-initorder.out): Likewise.
22613 ($(objpfx)tst-initorder2.out): Likewise.
22614 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
22615 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
22616 (test_wrapper_env): New variable. Use it to run ld.so.
22617 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
22618 Use it to run ld.so.
22619 (test_wrapper_env): Likewise.
22620 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
22621 $(test-wrapper) to run-iconv-test.sh.
22622 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
22623 (ICONV): Use $test_wrapper.
22624 * posix/Makefile ($(objpfx)globtest.out): Pass
22625 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
22626 globtest.sh, not $(run-program-prefix).
22627 * posix/globtest.sh (run_via_rtld_prefix): New variable.
22628 (test_wrapper): Likewise.
22629 (test_wrapper_env): Likewise. Use it to run globtest with HOME
22630 set together with run_via_rtld_prefix.
22631 (run_program_prefix): Define in terms of test_wrapper and
22632 run_via_rtld_prefix.
22634 2012-10-24 Roland McGrath <roland@hack.frob.com>
22636 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
22637 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
22641 * include/time.h: Remove librt_hidden_proto (clock_gettime).
22642 Declare __clock_getres, __clock_gettime, __clock_settime,
22643 __clock_nanosleep, and __clock_getcpuclockid.
22644 * rt/clock_gettime.c: Define __clock_gettime as an alias.
22645 Remove librt_hidden_def (clock_gettime).
22646 * sysdeps/unix/clock_gettime.c: Likewise.
22647 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
22648 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
22649 * rt/clock_getres.c: Define __clock_getres as an alias.
22650 * sysdeps/posix/clock_getres.c: Likewise.
22651 * rt/clock_settime.c: Define __clock_settime as an alias.
22652 * sysdeps/unix/clock_settime.c: Likewise.
22653 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
22654 * sysdeps/unix/clock_nanosleep.c: Likewise.
22655 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
22656 * rt/clock-compat.c: New file.
22657 * rt/Makefile (librt-routines): Add clock-compat and move
22658 $(clock-routines) to ...
22659 (routines): ... here, new variable.
22660 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
22661 Don't add get_clockfreq here.
22662 * rt/Versions (libc: GLIBC_2.17): New version set.
22663 Add clock_* symbols here.
22664 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
22665 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
22666 (GLIBC_2.17): Add clock_* symbols.
22667 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
22668 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
22669 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
22670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22672 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22674 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
22675 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
22676 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
22677 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
22678 * NEWS: Mention the move.
22680 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
22681 Use __open, __read, __close rather than their public counterparts.
22682 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22683 (__get_clockfreq_via_cpuinfo): Likewise.
22684 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
22685 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
22687 * config.h.in (HAVE_IFUNC): New #undef.
22688 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
22690 * configure: Regenerated.
22692 2012-10-24 Mike Frysinger <vapier@gentoo.org>
22694 * configure.in: Move READELF check to start of file.
22695 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
22696 libc_cv_asm_gnu_indirect_function in the process.
22697 * configure: Regenerated.
22699 2012-10-24 Mike Frysinger <vapier@gentoo.org>
22701 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
22702 send the output to /dev/null.
22703 (libc_cv_cc_with_libunwind): Likewise.
22704 (libc_cv_as_noexecstack): Likewise.
22705 * configure: Regenerate.
22707 2012-10-24 Joseph Myers <joseph@codesourcery.com>
22709 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
22711 * posix/globtest.sh (TMPDIR): Do not set.
22712 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
22713 (testout): Likewise.
22715 2012-10-24 Andreas Jaeger <aj@suse.de>
22717 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
22718 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
22719 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
22720 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
22721 posix_fadvise64, posix_fallocate64.
22723 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
22724 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
22725 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
22727 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
22729 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
22731 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
22732 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
22733 <bits/fcntl-linux.h>.
22734 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
22736 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
22737 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
22738 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
22739 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
22740 [__WORDSIZE != 64]: Likewise.
22742 2012-10-23 Joseph Myers <joseph@codesourcery.com>
22744 * Makeconfig (run-built-tests): New variable.
22745 * Rules [$(cross-compiling) = yes]: Change condition to
22746 [$(run-built-tests) = no].
22747 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
22748 to [$(run-built-tests) = yes].
22749 * elf/Makefile [$(cross-compiling) = no]: Likewise
22750 * grp/Makefile [$(cross-compiling) = no]: Likewise.
22751 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
22752 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
22753 * intl/Makefile [$(cross-compiling) = no]: Likewise.
22754 * io/Makefile [$(cross-compiling) = no]: Likewise.
22755 * libio/Makefile [$(cross-compiling) = no]: Likewise.
22756 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
22757 * misc/Makefile [$(cross-compiling) = no]: Likewise.
22758 * posix/Makefile [$(cross-compiling) = no]: Likewise.
22759 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
22760 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
22761 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
22762 * string/Makefile [$(cross-compiling) = no]: Likewise.
22764 * posix/Makefile ($(objpfx)globtest.out): Pass
22765 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
22766 $(rtld-installed-name).
22767 * posix/globtest.sh (elf_objpfx): Remove variable.
22768 (rtld_installed_name): Likewise.
22769 (library_path): Likewise.
22770 (run_program_prefix): New variable. Use for running globtest
22773 2012-10-23 Jim Blandy <jimb@codesourcery.com>
22774 Joseph Myers <joseph@codesourcery.com>
22776 * Makeconfig (host-built-program-cmd): New variable.
22777 * elf/Makefile (tst-stackguard1-ARGS): Use
22778 $(host-built-program-cmd).
22779 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
22780 (tst-spawn-ARGS): Likewise.
22781 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
22783 2012-10-23 Joseph Myers <joseph@codesourcery.com>
22784 Jim Blandy <jimb@codesourcery.com>
22786 * Makeconfig (run-via-rtld-prefix): New variable.
22787 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
22788 (built-program-cmd): Likewise.
22790 2012-10-22 Andreas Jaeger <aj@suse.de>
22792 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
22793 __O_RSYNC if it exists, otherwise to O_SYNC.
22795 2012-10-22 Jim Blandy <jimb@codesourcery.com>
22796 Joseph Myers <joseph@codesourcery.com>
22798 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
22800 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
22802 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
22805 2012-10-22 Andreas Jaeger <aj@suse.de>
22807 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
22809 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
22811 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22812 bits/fcntl-linux.h.
22814 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
22815 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
22817 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
22819 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
22822 2012-10-21 Jim Blandy <jimb@codesourcery.com>
22823 Joseph Myers <joseph@codesourcery.com>
22825 * config.make.in (NM): New variable.
22827 2012-10-21 Andreas Jaeger <aj@suse.de>
22829 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
22830 definitions and declarations that are provided by
22831 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
22833 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
22836 * elf/Makefile (tests-static): Add tst-leaks1-static.
22837 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
22838 ($(objpfx)tst-leaks1-static): New rule.
22839 ($(objpfx)tst-leaks1-static-mem): Likewise.
22840 (tst-leaks1-static-ENV): New macro.
22841 * elf/dl-open.c (dl_open_worker): Check the main application
22842 only if SHARED is defined.
22843 * elf/tst-leaks1-static.c: New file.
22845 2012-10-20 Andreas Jaeger <aj@suse.de>
22847 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
22848 generic values for Linux.
22849 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
22850 and declarations that are provided by <bits/fcntl-linux.h> and
22851 include <bits/fcntl-linux.h>.
22852 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22853 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22855 2012-10-20 Roland McGrath <roland@hack.frob.com>
22857 * io/fcntl.h: Move include of <bits/types.h> to the top and
22858 include it unconditionally.
22860 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
22862 * wcsmbs/Makefile (tests-ifunc): New variable.
22863 (tests): Add $(tests-ifunc).
22864 * wcsmbs/test-wcschr-ifunc.c: New file.
22865 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
22866 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
22867 * wcsmbs/test-wcslen-ifunc.c: Likewise.
22868 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
22869 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
22871 * string/Makefile (tests-ifunc): New variable.
22872 (tests): Add $(tests-ifunc).
22873 * string/test-memccpy.c (TEST_NAME): New macro.
22874 * string/test-memchr.c (TEST_NAME): Likewise.
22875 * string/test-memcmp.c (TEST_NAME): Likewise.
22876 * string/test-memcpy.c (TEST_NAME): Likewise.
22877 * string/test-memmem.c (TEST_NAME): Likewise.
22878 * string/test-memmove.c (TEST_NAME): Likewise.
22879 * string/test-memset.c (TEST_NAME): Likewise.
22880 * string/test-rawmemchr.c (TEST_NAME): Likewise.
22881 * string/test-stpcpy.c (TEST_NAME): Likewise.
22882 * string/test-stpncpy.c (TEST_NAME): Likewise.
22883 * string/test-strcasecmp.c (TEST_NAME): Likewise.
22884 * string/test-strcasestr.c (TEST_NAME): Likewise.
22885 * string/test-strcat.c (TEST_NAME): Likewise.
22886 * string/test-strchr.c (TEST_NAME): Likewise.
22887 * string/test-strcmp.c(TEST_NAME): Likewise.
22888 * string/test-strcpy.c (TEST_NAME): Likewise.
22889 * string/test-strcspn.c (TEST_NAME): Likewise.
22890 * string/test-strlen.c (TEST_NAME): Likewise.
22891 * string/test-strncasecmp.c (TEST_NAME): Likewise.
22892 * string/test-strncmp.c (TEST_NAME): Likewise.
22893 * string/test-strncpy.c (TEST_NAME): Likewise.
22894 * string/test-strnlen.c (TEST_NAME): Likewise.
22895 * string/test-strpbrk.c (TEST_NAME): Likewise.
22896 * string/test-strrchr.c (TEST_NAME): Likewise.
22897 * string/test-strspn.c (TEST_NAME): Likewise.
22898 * string/test-strstr.c (TEST_NAME): Likewise.
22899 * string/test-bcopy-ifunc.c: New file.
22900 * string/test-bzero-ifunc.c: Likewise.
22901 * string/test-memccpy-ifunc.c: Likewise.
22902 * string/test-memchr-ifunc.c: Likewise.
22903 * string/test-memcmp-ifunc.c: Likewise.
22904 * string/test-memcpy-ifunc.c: Likewise.
22905 * string/test-memmem-ifunc.c: Likewise.
22906 * string/test-memmove-ifunc.c: Likewise.
22907 * string/test-mempcpy-ifunc.c: Likewise.
22908 * string/test-memset-ifunc.c: Likewise.
22909 * string/test-rawmemchr-ifunc.c: Likewise.
22910 * string/test-stpcpy-ifunc.c: Likewise.
22911 * string/test-stpncpy-ifunc.c: Likewise.
22912 * string/test-strcasecmp-ifunc.c: Likewise.
22913 * string/test-strcasestr-ifunc.c: Likewise.
22914 * string/test-strcat-ifunc.c: Likewise.
22915 * string/test-strchr-ifunc.c: Likewise.
22916 * string/test-strchrnul-ifunc.c: Likewise.
22917 * string/test-strcmp-ifunc.c: Likewise.
22918 * string/test-strcpy-ifunc.c: Likewise.
22919 * string/test-strcspn-ifunc.c: Likewise.
22920 * string/test-strlen-ifunc.c: Likewise.
22921 * string/test-strncasecmp-ifunc.c: Likewise.
22922 * string/test-strncat-ifunc.c: Likewise.
22923 * string/test-strncmp-ifunc.c: Likewise.
22924 * string/test-strncpy-ifunc.c: Likewise.
22925 * string/test-strnlen-ifunc.c: Likewise.
22926 * string/test-strpbrk-ifunc.c: Likewise.
22927 * string/test-strrchr-ifunc.c: Likewise.
22928 * string/test-strspn-ifunc.c: Likewise.
22929 * string/test-strstr-ifunc.c: Likewise.
22931 * debug/Makefile (tests-ifunc): New variable.
22932 (tests): Add $(tests-ifunc).
22933 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
22934 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
22935 * debug/test-stpcpy_chk-ifunc.c: New file.
22936 * debug/test-strcpy_chk-ifunc.c: Likewise.
22938 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
22941 * elf/dl-load.c (open_verify): Retry read if the entire ELF
22942 header is not read in.
22944 2012-10-19 Joseph Myers <joseph@codesourcery.com>
22946 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
22947 script to $(SHELL) as $<. Pass $(common-objpfx) to script
22948 directly. Pass built executable to script as
22949 $(built-program-cmd).
22950 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
22951 $testprogram without using LD_LIBRARY_PATH and $ldso.
22953 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
22954 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
22955 $(rtld-installed-name).
22956 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
22957 (rtld_installed_name): Likewise.
22958 (library_path): Likewise.
22959 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
22960 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
22961 $(run-program-prefix) to tst-tables.sh.
22962 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
22963 it to run tst-table-from and tst-table-to.
22964 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
22965 Pass it to tst-table.sh.
22966 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
22967 $(run-program-prefix) to tst-gettext.sh.
22968 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
22970 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
22972 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
22973 to run tst-gettext.
22974 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
22975 to run tst-gettext2.
22976 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
22977 to run tst-translit.
22978 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
22979 $(run-program-prefix) to tst-mtrace.sh.
22980 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
22982 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
22983 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
22984 $(rtld-installed-name).
22985 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
22986 (rtld_installed_name): Likewise.
22987 (run_program_prefix): New variable. Use it to run wordexp-test.
22989 * Makeconfig (ARCH): Remove all definitions.
22990 (machine): Likewise.
22991 [ARCH]: Remove conditional code.
22992 [!objdir]: Give error.
22993 [!objdir] (objpfx): Remove.
22994 [!objdir] (common-objpfx): Likewise.
22995 [!objdir] (common-objdir): Likewise.
22996 * configure.in (config_makefile): Remove. Hardcode Makefile in
22997 AC_CONFIG_FILES call.
22998 * configure: Regenerated.
23001 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
23003 (testout): Likewise.
23005 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
23006 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
23007 $(rtld-installed-name).
23008 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
23009 (rtld_installed_name): Likwise.
23010 (runit): Remove function.
23011 (run_getconf): New variable, Use it for running getconf binary.
23013 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
23016 * string/test-memmem.c (check_result): New function.
23017 (do_one_test): Use it.
23018 (check1): New function.
23019 (test_main): Use it.
23021 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
23023 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
23025 2012-10-18 Joseph Myers <joseph@codesourcery.com>
23027 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
23028 (_G_LSEEK64): Likewise.
23029 (_G_MMAP64): Likewise.
23030 (_G_FSTAT64): Likewise.
23031 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
23032 (_G_LSEEK64): Likewise.
23033 (_G_MMAP64): Likewise.
23034 (_G_FSTAT64): Likewise.
23035 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
23036 unconditional. Call __mmap64 directly.
23037 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
23038 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
23039 __lseek64 directly.
23040 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
23041 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
23043 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
23044 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
23045 __lseek64 directly.
23046 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
23047 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
23048 __lseek64 directly.
23049 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
23050 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
23051 __lseek64 directly.
23052 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
23053 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
23054 __fxstat64 directly.
23055 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
23056 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
23058 (freopen64) [!_G_OPEN64]: Remove conditional code.
23059 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
23061 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
23062 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
23064 (ftello64) [!_G_LSEEK64]: Remove conditional code.
23065 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
23067 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
23068 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
23070 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
23071 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
23073 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
23074 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
23076 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
23077 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
23079 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
23081 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
23084 * manual/memory.texi (Malloc Tunable Parameters): Add note
23085 about free list pointers overwriting some perturb bytes.
23086 Wording suggested by Roland McGrath.
23088 2012-10-17 Joseph Myers <joseph@codesourcery.com>
23090 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
23091 (lgamma_test): Likewise.
23092 (tgamma_test): Likewise.
23094 2012-10-16 Florian Weimer <fweimer@redhat.com>
23097 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
23098 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
23100 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
23102 * NEWS: Mention BZ #14716.
23103 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
23104 when removing AVAILABLE1_USES_J macro.
23106 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
23108 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
23109 (__bswap_64): __uint64_t for unsigned 64-bit int.
23111 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
23113 * include/string.h (memmem): Declare libc hidden alias.
23114 * string/memmem.c (memmem): Define libc hidden alias.
23115 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
23116 __read, __close instead of open, read, close.
23118 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
23120 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
23121 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
23123 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
23124 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
23125 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
23127 (__rawmemchr_sse2): Likewise.
23128 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
23129 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
23130 (__strchr_sse2): Likewise.
23131 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
23132 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
23133 (__strcasecmp_sse2): Likewise.
23134 (__strncasecmp_sse2): Likewise.
23135 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
23136 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
23137 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
23138 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
23139 (__strrchr_sse2): Likewise.
23140 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
23142 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
23143 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
23144 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
23145 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
23146 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
23147 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
23148 * sysdeps/x86_64/multiarch/memset.S: Likewise.
23149 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
23150 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
23151 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
23152 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
23153 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
23154 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
23155 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
23156 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
23157 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
23158 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
23159 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
23160 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
23161 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
23162 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
23163 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
23164 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
23165 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
23166 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
23167 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23168 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
23169 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
23170 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
23171 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
23173 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
23175 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
23176 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
23177 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
23178 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
23180 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
23182 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
23183 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
23184 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
23185 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
23187 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
23188 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
23189 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
23190 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
23191 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
23192 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
23193 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
23194 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
23195 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
23196 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
23197 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
23198 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
23199 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
23200 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
23201 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
23202 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
23203 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
23204 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
23205 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
23206 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
23207 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
23208 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
23209 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
23210 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
23211 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
23212 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
23213 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
23214 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
23215 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
23216 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
23217 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
23218 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
23219 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
23220 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
23221 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
23222 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
23223 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
23224 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
23225 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
23226 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
23227 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
23229 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
23230 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
23231 * include/ifunc-impl-list.h: New file.
23232 * misc/ifunc-impl-list.c: Likewise.
23233 * misc/Makefile (routines): Add ifunc-impl-list.
23234 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
23235 * string/test-string.h: Include <ifunc-impl-list.h>.
23236 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
23237 TEST_NAME]: New variables.
23238 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
23240 (test_init): Call __libc_ifunc_impl_list to initialize
23241 func_list if TEST_IFUNC and TEST_NAME are defined.
23243 * string/Makefile (strop-tests): Add bcopy and bzero.
23244 * string/test-bcopy.c: New file.
23245 * string/test-bzero.c: Likewise.
23246 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
23248 * string/test-memset.c: Support bzero test if TEST_BZERO is
23250 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
23252 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
23254 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
23257 2012-10-10 Joseph Myers <joseph@codesourcery.com>
23259 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
23260 * configure: Regenerated.
23262 * Makeconfig (+link-static-before-libc): Don't include
23263 $(link-static-libc).
23265 * libio/libio.h (_IO_pos_t): Remove.
23267 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
23269 * NEWS: Add note about FIPS mode. Wording suggested by Roland
23272 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
23274 * crypt/crypt-entry.c: Include fips-private.h.
23275 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
23276 * crypt/md5c-test.c (main): Tolerate disabled MD5.
23277 * sysdeps/unix/sysv/linux/fips-private.h: New file.
23278 * sysdeps/generic/fips-private.h: New file, dummy fallback.
23280 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
23282 * crypt/crypt-private.h: Include stdbool.h.
23283 (_ufc_setup_salt_r): Return bool.
23284 * crypt/crypt-entry.c: Include errno.h.
23285 (__crypt_r): Return NULL with EINVAL for bad salt.
23286 * crypt/crypt_util.c (bad_for_salt): New.
23287 (_ufc_setup_salt_r): Check that salt is long enough and within
23288 the specified alphabet.
23289 * crypt/badsalttest.c: New file.
23290 * crypt/Makefile (tests): Add it.
23291 ($(objpfx)badsalttest): New.
23293 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
23295 * NEWS: Add entry for BZ #14602.
23297 2012-10-09 Joseph Myers <joseph@codesourcery.com>
23299 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
23301 * math/libm-test.inc: Update comment listing what functions and
23303 (isgreater_test): New function.
23304 (isgreaterequal_test): Likewise.
23305 (isless_test): Likewise.
23306 (islessequal_test): Likewise.
23307 (islessgreater_test): Likewise.
23308 (isunordered_test): Likewise.
23309 (main): Call the new functions.
23311 2012-10-09 Roland McGrath <roland@hack.frob.com>
23313 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
23314 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
23315 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
23316 * sysdeps/i386/configure: Regenerated.
23317 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
23318 * sysdeps/mach/configure: Regenerated.
23319 * sysdeps/mach/hurd/configure: Regenerated.
23320 * sysdeps/powerpc/configure: Regenerated.
23321 * sysdeps/powerpc/powerpc32/configure: Regenerated.
23322 * sysdeps/powerpc/powerpc64/configure: Regenerated.
23323 * sysdeps/s390/s390-32/configure: Regenerated.
23324 * sysdeps/s390/s390-64/configure: Regenerated.
23325 * sysdeps/sh/configure: Regenerated.
23326 * sysdeps/sparc/configure: Regenerated.
23327 * sysdeps/unix/sysv/linux/configure: Regenerated.
23328 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
23329 * sysdeps/x86_64/configure: Regenerated.
23331 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
23332 defined. Don't check if MAP is NULL.
23334 2012-10-09 Joseph Myers <joseph@codesourcery.com>
23336 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
23337 (_G_stat64): Likewise.
23338 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
23339 (_G_stat64): Likewise.
23340 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
23341 instead of struct _G_stat64.
23342 * libio/fileops.c (mmap_remap_check): Likewise.
23343 (decide_maybe_mmap): Likewise.
23344 (_IO_new_file_seekoff): Likewise.
23345 (_IO_file_stat): Likewise.
23346 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
23348 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
23349 instead of struct _G_stat64.
23350 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
23352 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
23355 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23357 (CHECK_EOL): New macro.
23358 (two_way_short_needle): Check beginning of haystack for EOL. Use
23360 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23361 Replace with CHECK_EOL.
23362 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23363 Replace with CHECK_EOL.
23365 2012-10-08 Joseph Myers <joseph@codesourcery.com>
23367 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
23369 * math/libm-test.inc: Update comment listing what functions and
23371 (finite_test): New function.
23372 (isinf_test): Likewise.
23373 (isnan_test): Likewise.
23374 (fpclassify_test): Test subnormal input.
23375 (isfinite_test): Likewise.
23376 (isnormal_test): Likewise.
23377 (main): Call the new functions.
23379 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
23382 * Makerules (%.dynsym): Force C locale when running
23383 $(OBJDUMP) --dynamic-syms.
23385 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
23387 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
23390 2012-10-06 David S. Miller <davem@davemloft.net>
23392 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
23393 upper 32-bits of the length value in %o2 since we use branch-on-register
23394 tests which consider the entire 64-bit register.
23396 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
23398 * string/test-strstr.c (check2): Add a test for page boundary.
23400 2012-10-05 David S. Miller <davem@davemloft.net>
23402 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
23403 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
23405 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
23407 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
23408 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
23409 and bzero when HWCAP_SPARC_CRYPTO is present.
23411 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
23414 * string/test-strstr.c (check2): New function.
23415 (test_main): Call check2.
23417 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
23419 * string/bug-strcasestr1.c (do_test): Moved to ...
23420 * string/test-strcasestr.c (check1): Here. New function.
23421 (do_one_test): Break out result checking code into ...
23422 (check_result): This. New function.
23423 (do_one_test): Call check_result.
23424 (test_main): Call check1.
23425 * string/bug-strchr1.c (do_test): Moved to ...
23426 * string/test-strchr.c (check1): Here. New function.
23427 (do_one_test): Break out result checking code into ...
23428 (check_result): This. New function.
23429 (do_one_test): Call check_result.
23430 (test_main): Call check1.
23431 * string/bug-strstr1.c (main): Moved to ...
23432 * string/test-strstr.c (check1): Here. New function.
23433 (do_one_test): Break out result checking code into ...
23434 (check_result): This. New function.
23435 (do_one_test): Call check_result.
23436 (test_main): Call check1.
23437 * string/bug-strcasestr1.c: Removed.
23438 * string/bug-strchr1.c: Likewise.
23439 * string/bug-strstr1.c: Likewise.
23441 * elf/Makefile (dl-routines): Add hwcaps.
23442 * elf/dl-support.c (_dl_important_hwcaps): Removed.
23443 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
23444 (_dl_important_hwcaps): Moved to ...
23445 * elf/dl-hwcaps.c: Here. New file.
23446 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
23449 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
23450 if IS_IN_rtld isn't defined.
23452 * elf/dl-support.c (_dl_sysinfo_map): New.
23453 Include "get-dynamic-info.h" and "setup-vdso.h".
23454 (_dl_non_dynamic_init): Call setup_vdso.
23455 * elf/dynamic-link.h: Don't include <assert.h>.
23456 (elf_get_dynamic_info): Moved to ...
23457 * elf/get-dynamic-info.h: Here. New file.
23458 * elf/dynamic-link.h: Include "get-dynamic-info.h".
23459 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
23460 * elf/setup-vdso.h: Here. New file.
23461 * elf/rtld.c: Include "setup-vdso.h".
23462 (dl_main): Call setup_vdso.
23464 2012-10-05 Joseph Myers <joseph@codesourcery.com>
23466 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
23467 creal in comment listing functions tested. List finite, isinf,
23468 isnan, isless, islessequal, isgreater, isgreaterequal,
23469 islessgreater, isunordered, lgamma_r and pow10 as functions and
23470 macros not tested. Mention which functions not tested are aliases
23471 for other functions. Fix typo. Note that signs of NaNs are not
23474 * scripts/config.guess: Update from config.git.
23475 * scripts/config.sub: Likewise.
23477 2012-10-04 Roland McGrath <roland@hack.frob.com>
23479 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
23480 * misc/madvise.c (madvise): Renamed to __madvise.
23481 Make madvise a weak alias.
23482 * include/sys/mman.h: Declare __madvise.
23483 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
23484 * sysdeps/unix/syscalls.list
23485 (madvise): Make __madvise the strong name, and madvise a weak alias.
23486 * sysdeps/unix/sysv/linux/syscalls.list
23487 (madvise, mmap): Remove redundant entries.
23488 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
23489 * malloc/malloc.c (mtrim): Likewise.
23490 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
23492 2012-10-03 Roland McGrath <roland@hack.frob.com>
23494 * sysdeps/mach/hurd/dl-cache.c: File removed.
23495 * config.h.in (USE_LDCONFIG): New #undef.
23496 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
23497 * configure: Regenerated.
23498 * elf/Makefile (dl-routines): Add dl-cache only under
23499 [$(use-ldconfig) = yes].
23500 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
23501 cache on [USE_LDCONFIG].
23502 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
23504 * elf/rtld.c (dl_main): Likewise.
23506 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
23508 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
23509 _SC_LEVEL4_CACHE_LINESIZE.
23511 2012-10-03 Roland McGrath <roland@hack.frob.com>
23513 * sysdeps/unix/bsd/confstr.h: File removed.
23515 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
23517 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
23520 2012-10-02 Roland McGrath <roland@hack.frob.com>
23522 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
23523 Make 'mapoff' field ElfW(Off) rather than off_t.
23525 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
23527 * nscd/Makefile: Remove nscd-cflags and all its users.
23528 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
23529 (CFLAGS-nonlib): Add compiler flags for nscd modules.
23532 * malloc.c (malloc_printerr): Clarify error message.
23534 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
23537 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23538 Set bit_FMA_Usable if FMA is supported.
23539 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
23541 (bit_FMA4_Usable): Updated.
23542 (index_FMA_Usable): New macro.
23543 (CPUID_FMA): Likewise
23544 (HAS_FMA): Defined with bit_FMA_Usable.
23546 2012-10-01 Roland McGrath <roland@hack.frob.com>
23548 * bits/types.h (__swblk_t): Type removed.
23549 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
23550 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
23551 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23552 (__SWBLK_T_TYPE): Likewise.
23553 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
23554 (__SWBLK_T_TYPE): Likewise.
23555 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23556 (__SWBLK_T_TYPE): Likewise.
23557 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23558 (__SWBLK_T_TYPE): Likewise.
23560 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
23561 Honza Horak <hhorak@redhat.com>
23563 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
23564 (xdr_mapname): Use YPMAXMAP as maxsize.
23565 (xdr_peername): Use YPMAXPEER as maxsize.
23566 (xdr_keydat): Use YPAXRECORD as maxsize.
23567 (xdr_valdat): Use YPMAXRECORD as maxsize.
23569 2012-10-01 Roland McGrath <roland@hack.frob.com>
23571 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
23573 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
23574 * csu/init-first.c: ... here.
23575 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
23576 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
23577 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
23578 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
23579 * sysdeps/i386/init-first.c: File removed.
23580 * sysdeps/sh/init-first.c: File removed.
23582 2012-10-01 Joseph Myers <joseph@codesourcery.com>
23585 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
23586 if x * y might underflow to zero and z is zero.
23587 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23588 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23589 * math/libm-test.inc (min_subnorm_value): New variable.
23590 (fma_test): Add more tests.
23591 (fma_test_towardzero): Likewise.
23592 (fma_test_downward): Likewise
23593 (fma_test_upward): Likewise.
23594 (initialize): Set min_subnorm_value.
23596 2012-09-29 Joseph Myers <joseph@codesourcery.com>
23599 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
23601 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
23602 mode for addition resulting in exact zero.
23603 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
23604 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
23606 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23607 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23608 * math/libm-test.inc (fma_test): Add more tests.
23609 (fma_test_towardzero): New function.
23610 (fma_test_downward): Likewise.
23611 (fma_test_upward): Likewise.
23612 (main): Call the new functions.
23614 2012-09-28 David S. Miller <davem@davemloft.net>
23616 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
23618 2012-09-28 Roland McGrath <roland@hack.frob.com>
23620 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
23621 instead of SIGALRM.
23623 * sysdeps/gnu/_G_config.h: Moved to ...
23624 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
23625 * sysdeps/mach/hurd/_G_config.h: Moved to ...
23626 * sysdeps/generic/_G_config.h: ... here.
23628 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
23630 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
23632 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
23633 Conditionalize target on [libnss_test1.so-version].
23635 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
23637 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
23638 (elfobjdir): Move out of conditionals.
23640 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
23641 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
23642 (__nss_lookup_function): Conditionalize label remove_from_tree on
23643 [!DO_STATIC_NSS || SHARED], matching its only use.
23645 2012-09-28 David S. Miller <davem@davemloft.net>
23647 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
23648 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
23650 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
23652 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
23653 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
23654 when HWCAP_SPARC_CRYPTO is present.
23656 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23658 * io/tst-mknodat.c: Create a FIFO instead of a socket.
23660 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
23663 * stdio-common/vfprintf.c (process_string_arg): Revert
23666 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
23668 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
23670 * stdio-common/tst-sprintf.c: Include <locale.h>
23671 (main): Test sprintf's handling of incomplete multibyte
23674 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
23676 * elf/dl-runtime.c (VERSYMIDX): Removed.
23677 * elf/dl-version.c (VERSYMIDX): Likewise.
23678 * elf/do-rel.h (VERSYMIDX): Likewise.
23679 (VALIDX): Likewise.
23680 * elf/dynamic-link.h (VERSYMIDX): Likewise.
23681 * elf/rtld.c (VALIDX): Likewise.
23682 (ADDRIDX): Likewise.
23683 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
23684 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
23685 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
23686 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
23687 (VALIDX): Likewise.
23688 (ADDRIDX): Likewise.
23690 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23692 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
23694 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
23697 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
23699 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
23700 addresses are in the same scope as 192.0.2/24.
23701 * posix/gai.conf: Document new scope table defaults.
23703 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23706 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
23707 for ftell. Compute offsets from write pointers instead.
23708 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
23710 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23713 * libio/Makefile (tests): New test case tst-fseek.
23714 * libio/tst-fseek.c: New test case to verify that fseek/ftell
23715 combination works in wide mode.
23716 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
23717 state when the external buffer state changes.
23719 2012-09-27 David S. Miller <davem@davemloft.net>
23722 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
23723 pass reloc->r_addend in as the 'high' argument to
23724 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
23726 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23728 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23730 * rt/tst-aio2.c: Include <pthread.h>.
23731 * rt/tst-aio3.c: Likewise.
23733 2012-09-27 Steve Ellcey <sellcey@mips.com>
23735 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
23737 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
23739 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
23740 contents on [SHARED].
23742 2012-09-26 Marek Polacek <polacek@redhat.com>
23746 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
23747 for C++ and GCC <4.3 as well as for non GCC compilers.
23749 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
23751 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23753 2012-09-25 Roland McGrath <roland@hack.frob.com>
23755 * Makefile.in (all, install): Declare with .PHONY.
23756 Reported by Michael Hope <michael.hope@linaro.org>.
23758 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23760 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
23761 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
23763 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
23765 (sydep_routines): Add the new and the internal functions.
23766 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
23767 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
23768 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
23769 (GLIBC_2.17): Add the new function.
23770 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
23771 (GLIBC_2.17): Likewise.
23772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
23773 (GLIBC_2.17): Likewise.
23774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
23775 (GLIBC_2.17): Likewise.
23776 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
23778 2012-09-25 Alan Modra <amodra@gmail.com>
23780 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
23781 Add release barrier before setting once_control to say
23782 initialisation is done. Add hints on lwarx. Use macro in
23784 (clear_once_control): Add release barrier.
23786 2012-09-25 Joseph Myers <joseph@codesourcery.com>
23789 * math/s_clog.c (__clog): Handle more values close to |z| = 1
23791 * math/s_clog10.c (__clog10): Likewise.
23792 * math/s_clog10f.c (__clog10f): Likewise.
23793 * math/s_clog10l.c (__clog10l): Likewise.
23794 * math/s_clogf.c (__clogf): Likewise.
23795 * math/s_clogl.c (__clogl): Likewise.
23796 * math/Makefile (libm-calls): Add x2y2m1.
23797 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
23798 (__x2y2m1): Likewise.
23799 (__x2y2m1l): Likewise.
23800 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
23801 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
23802 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
23803 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
23804 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
23805 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
23806 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
23807 * sysdeps/i386/fpu/libm-test-ulps: Update.
23808 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23811 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
23812 int as type of variable DEPTH.
23813 (glob): Use size_t instead of int as type of variables NEWCOUNT
23816 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23818 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
23819 Add s_sincosf-sse2.
23820 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
23821 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
23822 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
23823 macros for using routine as __sincosf_ia32.
23824 Use macro for function declaration and weak_alias.
23825 * sysdeps/i386/fpu/libm-test-ulps: Update.
23827 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
23828 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23830 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
23831 subnormal argument.
23832 * math/s_cexpf.c (__cexpf): Likewise.
23833 * math/s_csinf.c (__csinf): Likewise.
23834 * math/s_csinhf.c (__csinhf): Likewise.
23835 * math/s_ctanf.c (__ctanf): Likewise.
23836 * math/s_ctanhf.c (__ctanhf): Likewise.
23837 * math/s_ccosh.c (__ccoshf): Likewise.
23838 * math/s_cexp.c (__cexpl): Likewise.
23839 * math/s_csin.c (__csin): Likewise.
23840 * math/s_csinh.c (__csinh): Likewise.
23841 * math/s_ctan.c (__ctan): Likewise.
23842 * math/s_ctanh.c (ctanh): Likewise.
23843 * math/s_ccoshl.c (__ccoshl): Likewise.
23844 * math/s_cexpl.c (__cexpl): Likewise.
23845 * math/s_csinl.c (__csinl): Likewise.
23846 * math/s_csinhl.c (__csinhl): Likewise.
23847 * math/s_ctanl.c (__ctanl): Likewise.
23848 * math/s_ctanhl.c (__ctanhl): Likewise.
23850 2012-09-25 Joseph Myers <joseph@codesourcery.com>
23852 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
23853 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
23854 (_IO_off_t): Define to __off_t, not _G_off_t.
23855 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
23856 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
23857 (_IO_wint_t): Define to wint_t, not _G_wint_t.
23858 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
23859 type of __dummy and __dummy2 fields.
23860 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
23861 (_G_ssize_t): Likewise.
23862 (_G_off_t): Likewise.
23863 (_G_pid_t): Likewise.
23864 (_G_uid_t): Likewise.
23865 (_G_wchar_t): Likewise.
23866 (_G_wint_t): Likewise.
23867 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
23868 (_G_ssize_t): Likewise.
23869 (_G_off_t): Likewise.
23870 (_G_pid_t): Likewise.
23871 (_G_uid_t): Likewise.
23872 (_G_wchar_t): Likewise.
23873 (_G_wint_t): Likewise.
23874 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
23875 (_G_ssize_t): Likewise.
23876 (_G_off_t): Likewise.
23877 (_G_pid_t): Likewise.
23878 (_G_uid_t): Likewise.
23879 (_G_wchar_t): Likewise.
23880 (_G_wint_t): Likewise.
23882 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23884 * malloc/arena.c: Include malloc-sysdep.h.
23885 (shrink_heap): Use check_may_shrink_heap to decide if madvise
23886 is sufficient to shrink the heap or an unmap is needed.
23887 * sysdeps/generic/malloc-sysdep.h: New file. Define
23888 new function check_may_shrink_heap.
23889 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
23890 new function check_may_shrink_heap.
23892 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23894 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
23897 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
23899 * catgets/test-gencat.sh: Add "set -e".
23900 * elf/tst-pathopt.sh: Likewise.
23901 * grp/tst_fgetgrent.sh: Likewise.
23902 * iconvdata/run-iconv-test.sh: Likewise.
23903 * intl/tst-gettext.sh: Likewise.
23904 * intl/tst-gettext2.sh: Likewise.
23905 * intl/tst-gettext4.sh: Likewise.
23906 * intl/tst-gettext6.sh: Likewise.
23907 * intl/tst-translit.sh: Likewise.
23908 * io/ftwtest-sh: Likewise.
23909 * libio/test-freopen.sh: Likewise.
23910 * malloc/tst-mtrace.sh: Likewise.
23911 * posix/globtest.sh: Likewise.
23912 * posix/tst-getconf.sh: Likewise.
23913 * posix/wordexp-tst.sh: Likewise.
23914 * stdio-common/tst-printf.sh: Likewise.
23915 * stdio-common/tst-unbputc.sh: Likewise.
23916 * stdlib/tst-fmtmsg.sh: Likewise.
23917 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
23918 * catgets/Makefile: Do not specify -e option when running
23919 testsuite shell scripts.
23920 * elf/Makefile: Likewise.
23921 * grp/Makefile: Likewise.
23922 * iconvdata/Makefile: Likewise.
23923 * intl/Makefile: Likewise.
23924 * io/Makefile: Likewise.
23925 * libio/Makefile: Likewise.
23926 * malloc/Makefile: Likewise.
23927 * posix/Makefile: Likewise.
23928 * stdio-common/Makefile: Likewise.
23929 * stdlib/Makefile: Likewise.
23930 * sysdeps/x86_64/Makefile: Likewise.
23932 * io/ftwtest-sh: Add copyright header.
23933 * posix/globtest.sh: Likewise.
23934 * posix/tst-getconf.sh: Likewise.
23935 * posix/wordexp-tst.sh: Likewise.
23936 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
23938 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
23941 * Makeconfig (+link): Defined as $(+link-static) if
23942 $(build-shared) isn't yes.
23943 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
23945 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
23947 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
23950 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
23951 new chunk size with MALLOC_ALIGN_MASK.
23953 2012-09-24 Joseph Myers <joseph@codesourcery.com>
23956 * stdio-common/printf_fphex.c: Include <stdbool.h> and
23958 (__printf_fphex): Determine rounding using get_rounding_mode and
23960 * stdio-common/tst-printf-round.c (struct hex_test): New
23962 (hex_tests): New variable.
23963 (test_hex_in_one_mode): New function.
23964 (do_test): Also run tests for hex float output.
23966 2012-09-21 Joseph Myers <joseph@codesourcery.com>
23968 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
23969 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
23970 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
23971 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
23972 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
23973 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
23974 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
23975 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
23977 2012-09-20 Joseph Myers <joseph@codesourcery.com>
23979 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
23980 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
23981 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
23982 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
23984 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
23987 * elf/rtld.c (dl_main): Limit the check for self loading to normal
23989 * elf/tst-rtld-load-self.sh: New test.
23990 * elf/Makefile: Run it.
23992 2012-09-18 Joseph Myers <joseph@codesourcery.com>
23994 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
23995 (tst-writev-ENV): Remove.
23996 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
23998 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
24000 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
24002 2012-09-17 Joseph Myers <joseph@codesourcery.com>
24004 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
24006 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
24008 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
24009 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
24010 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
24013 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
24016 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
24017 * config.make.in (have-cpp-asm-debuginfo): Removed.
24018 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
24019 * configure: Regenerated.
24021 2012-09-14 Joseph Myers <joseph@codesourcery.com>
24024 * stdio-common/printf_fp.c: Include <stdbool.h> and
24026 (___printf_fp): Determine rounding using get_rounding_mode and
24028 * stdio-common/tst-printf-round.c: New file.
24029 * stdio-common/Makefile (tests): Add tst-printf-round.
24030 (link-libm): New variable.
24031 ($(objpfx)tst-printf-round): Depend in $(link-libm).
24033 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
24036 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
24037 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
24039 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
24042 2012-09-13 Joseph Myers <joseph@codesourcery.com>
24044 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
24045 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
24046 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
24047 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
24049 2012-09-12 Joseph Myers <joseph@codesourcery.com>
24052 * include/rounding-mode.h: New file.
24053 * sysdeps/generic/get-rounding-mode.h: Likewise.
24054 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
24055 * stdlib/strtod_l.c: Include <rounding-mode.h>.
24056 (MAX_VALUE): New macro.
24057 (MIN_VALUE): Likewise.
24058 (overflow_value): New function.
24059 (underflow_value): Likewise.
24060 (round_and_return): Use overflow_value and underflow_value to
24061 determine return values in overflow and underflow cases. Use
24062 round_away to determine rounding depending on rounding mode.
24063 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
24064 determine return values in overflow and underflow cases.
24065 * stdlib/tst-strtod-round.c: Include <fenv.h>.
24066 (struct test_results): New structure.
24067 (struct test): Use struct test_results to store expected results
24068 for all rounding modes.
24069 (TEST): Include expected results for all rounding modes.
24070 (test_in_one_mode): New function.
24071 (do_test): Use test_in_one_mode to compute and check results.
24072 Check results for all rounding modes.
24073 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
24076 2012-12-09 Allan McRae <allan@archlinux.org>
24078 * sysdeps/i386/fpu/libm-test-ulps: Update
24080 2012-09-11 Joseph Myers <joseph@codesourcery.com>
24082 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
24083 (_G_int32_t): Likewise.
24084 (_G_uint16_t): Likewise.
24085 (_G_uint32_t): Likewise.
24086 (_G_HAVE_BOOL): Likewise.
24087 (_G_HAVE_ATEXIT): Likewise.
24088 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
24089 (_G_HAVE_IO_FILE_OPEN): Likewise.
24090 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
24091 (_G_int32_t): Likewise.
24092 (_G_uint16_t): Likewise.
24093 (_G_uint32_t): Likewise.
24094 (_G_HAVE_BOOL): Likewise.
24095 (_G_HAVE_ATEXIT): Likewise.
24096 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
24097 (_G_HAVE_IO_FILE_OPEN): Likewise.
24098 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
24099 (_G_int32_t): Likewise.
24100 (_G_uint16_t): Likewise.
24101 (_G_uint32_t): Likewise.
24102 (_G_HAVE_BOOL): Likewise.
24103 (_G_HAVE_ATEXIT): Likewise.
24104 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
24105 (_G_HAVE_IO_FILE_OPEN): Likewise.
24107 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
24109 * csu/libc-tls.c: Update copyright years.
24111 2012-09-10 Joseph Myers <joseph@codesourcery.com>
24113 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
24114 [!_G_USING_THUNKS]: Remove conditional code.
24115 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
24116 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
24118 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
24119 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
24120 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
24121 (_G_VTABLE_LABEL_PREFIX): Likewise.
24122 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
24123 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
24124 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
24125 (_G_VTABLE_LABEL_PREFIX): Likewise.
24126 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
24127 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
24128 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
24129 (_G_VTABLE_LABEL_PREFIX): Likewise.
24130 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
24132 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
24134 * libio/Makefile: Include ../Makeconfig before tests.
24135 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
24136 only if $(build-shared) is yes.
24138 * iconv/gconv_db.c: Update copyright years.
24140 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24142 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
24143 unwind info if defined PIC. Fix special cases description.
24144 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
24146 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
24148 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
24150 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
24152 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
24154 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
24157 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
24158 (LDLIBS-tst-chk4): This.
24159 (LDFLAGS-tst-chk5): Renamed to ...
24160 (LDLIBS-tst-chk5): This.
24161 (LDFLAGS-tst-chk6): Renamed to ...
24162 (LDLIBS-tst-chk6): This.
24163 (LDFLAGS-tst-lfschk4): Renamed to ...
24164 (LDLIBS-tst-lfschk4): This.
24165 (LDFLAGS-tst-lfschk5): Renamed to ...
24166 (LDLIBS-tst-lfschk5): This.
24167 (LDFLAGS-tst-lfschk6): Renamed to ...
24168 (LDLIBS-tst-lfschk6): This.
24170 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
24171 on $(common-objpfx)soversions.mk.
24173 2012-09-07 Joseph Myers <joseph@codesourcery.com>
24176 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
24179 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
24181 * malloc/arena.c (arena_get_retry): New function that gets
24182 another arena for the caller to try its request on.
24183 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
24184 current arena cannot fulfill the request.
24185 (__libc_memalign): Likewise.
24186 (__libc_memalign): Likewise.
24187 (__libc_pvalloc): Likewise.
24188 (__libc_calloc): Likewise.
24190 2012-09-05 John Tobey <john.tobey@gmail.com>
24193 * manual/arith.texi (Operations on Complex): Fix description
24194 of carg branch cut.
24196 2012-09-06 Joseph Myers <joseph@codesourcery.com>
24199 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
24203 * manual/memory.texi (Memory): Make order of menu items match
24206 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24208 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
24209 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
24210 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
24212 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24214 * csu/libc-tls.c (static_dtv): Renamed to ...
24215 (_dl_static_dtv): This. Make it global.
24216 (_dl_initial_dtv): Removed.
24217 (__libc_setup_tls): Updated.
24218 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
24219 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
24222 2012-09-06 Petr Machata <pmachata@redhat.com>
24224 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
24225 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
24226 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
24227 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
24229 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24232 * csu/libc-tls.c (_dl_initial_dtv): New variable.
24233 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
24236 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24239 * Makeconfig (link-static-before-libc): Replace $(+prector)
24241 (link-static-after-libc): Replace $(+postctor) with
24243 (link-bounded): Replace $(+prector)/$(+postctor) with
24244 $(+prectorT)/$(+postctorT).
24245 (+prectorT): New macro.
24246 (+postctorT): Likewise.
24248 2012-09-06 Joseph Myers <joseph@codesourcery.com>
24250 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
24251 (round_str): Handle values above the maximum for IBM long double
24253 * stdlib/tst-strtod-round.c (tests): Regenerated.
24255 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24257 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
24259 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
24260 zarch_nohighgprs around the zarch optimized routines.
24261 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
24262 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
24263 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
24266 2012-09-05 David S. Miller <davem@davemloft.net>
24268 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24270 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
24271 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
24272 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
24273 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
24276 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
24278 * malloc/arena.c: Fold copyright years.
24279 * malloc/mcheck.c, malloc/memusage.c: Likewise.
24281 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
24283 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
24285 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
24287 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
24289 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
24291 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
24292 change internal state upon failure.
24294 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
24296 * malloc/mcheck.c (mcheck_check_all): Fix typo.
24297 * malloc/memusage.c (mmap): Likewise.
24298 (mmap64, mremap): Likewise. Adjust name in comment.
24300 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
24302 * libio/fileops.c: Fix typos in comments.
24303 * libio/oldfileops.c: Likewise.
24304 * libio/wfileops.c: Likewise.
24306 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
24309 * malloc/Makefile (tests): Add tst-malloc-usable test case.
24310 (tst-malloc-usable-ENV): Set environment for test case.
24311 * malloc/hooks.c (malloc_check_get_size): New function to get
24313 * malloc/malloc.c (musable): Use malloc_check_get_size.
24314 * malloc/tst-malloc-usable.c: New test case.
24316 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
24318 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
24320 2012-09-05 Allan McRae <allan@archlinux.org>
24323 * configure.in (CXX_SYSINCLUDES): Use compiler output to
24324 determine header location.
24325 * configure: Regenerated.
24327 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
24329 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
24331 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
24332 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
24334 (test): Regenerate.
24336 2012-09-04 David S. Miller <davem@davemloft.net>
24338 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
24339 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
24340 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
24342 2012-09-04 Florian Weimer <fweimer@redhat.com>
24344 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
24347 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
24349 2012-09-04 Joseph Myers <joseph@codesourcery.com>
24352 * libio/iogetdelim.c: Include <limits.h>.
24353 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
24354 + len + 1 would overflow.
24356 2012-09-03 Andreas Jaeger <aj@suse.de>
24358 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24359 * sysdeps/i386/fpu/libm-test-ulps: Update.
24361 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24363 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
24364 Add s_sinf-sse2, s_conf-sse2.
24366 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
24367 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
24368 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
24369 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
24371 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
24372 for using routine as __sinf_ia32.
24373 Use macro for function declaration and weak_alias.
24374 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
24375 for using routine as __cosf_ia32.
24376 Use macro for function declaration and weak_alias.
24378 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
24379 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
24381 * sysdeps/x86_64/fpu/s_sinf.S: New file.
24382 * sysdeps/x86_64/fpu/s_cosf.S: New file.
24383 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24385 * math/libm-test.inc (cos_test): Add more test cases.
24386 (sin_test): Likewise.
24387 (sincos_test): Likewise.
24389 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24391 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
24392 (IFUNC_RESOLVE): Make pointers to the specialized implementations
24394 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
24396 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
24399 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
24400 first element of the GOT.
24401 (elf_machine_load_address): Return the difference between
24402 the runtime address of _DYNAMIC and elf_machine_dynamic ().
24404 2012-09-01 Allan McRae <allan@archlinux.org>
24407 * configure.in (AWK): Require gawk version 3.0 or later.
24408 * configure: Regenerated.
24410 2012-09-01 Joseph Myers <joseph@codesourcery.com>
24412 * sysdeps/unix/sysv/linux/kernel-features.h
24413 (__ASSUME_POSIX_CPU_TIMERS): Remove.
24414 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
24415 [__NR_clock_getres]: Make code unconditional.
24416 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
24417 (clock_getcpuclockid): Remove code left unreachable by removal of
24419 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
24420 code unconditional.
24421 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
24422 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24423 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
24424 Make code unconditional.
24425 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
24426 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24427 * sysdeps/unix/sysv/linux/clock_settime.c
24428 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
24430 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
24431 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24433 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
24436 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
24437 scripts/test-installation.pl.
24439 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
24440 and $ld_so_version if it is set.
24442 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
24445 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
24446 failure if reading from procfs failed.
24447 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
24449 2012-08-27 Joseph Myers <joseph@codesourcery.com>
24451 * sysdeps/unix/sysv/linux/kernel-features.h
24452 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
24453 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
24454 Remove conditional code.
24455 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24456 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
24457 Remove conditional code.
24458 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24459 * sysdeps/unix/sysv/linux/i386/fxstat.c
24460 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24461 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24462 * sysdeps/unix/sysv/linux/i386/fxstatat.c
24463 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24464 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24465 * sysdeps/unix/sysv/linux/i386/lxstat.c
24466 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24467 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24468 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
24469 Remove conditional code.
24470 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24471 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
24472 Remove conditional code.
24473 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24474 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
24475 <kernel-features.h>.
24476 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
24478 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
24479 Remove conditional code.
24480 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24481 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
24482 Remove conditional.
24484 2012-08-27 Mike Frysinger <vapier@gentoo.org>
24487 * NEWS: Add fixed bug number.
24489 2012-08-27 Joseph Myers <joseph@codesourcery.com>
24492 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
24493 underflowing exponent in case of negative sign.
24494 * stdlib/tst-strtod-round-data: Add more tests.
24495 * stdlib/tst-strtod-round.c (tests): Regenerated.
24498 * stdlib/strtod_l.c (NDIG): Remove.
24499 (HEXNDIG): Likewise.
24500 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
24501 smallest representable value.
24502 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
24503 lie within an exact representation of 1/2 ulp of the result.
24504 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
24506 (TENS_P9_IDX): Define unconditionally.
24507 (TENS_P9_SIZE): Likewise.
24508 (TENS_P10_IDX): Likewise.
24509 (TENS_P10_SIZE): Likewise.
24510 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
24511 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
24512 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
24513 entries for 10^2^13 and 10^2^14.
24514 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
24515 (TENS_P13_IDX): Define.
24516 (TENS_P13_SIZE): Likewise.
24517 (TENS_P14_IDX): Likewise.
24518 (TENS_P14_SIZE): Likewise.
24519 (_fpioconst_pow10): Change array size to
24520 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
24522 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
24523 1024]: Add entries for 10^2^13 and 10^2^14.
24524 [LAST_POW10 > _LAST_POW10]: Remove #error.
24525 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
24526 (_fpioconst_pow10): Change array size to
24527 FPIOCONST_POW10_ARRAY_SIZE.
24528 * stdlib/gen-fpioconst.c: New file.
24529 * stdlib/gen-tst-strtod-round.c: Likewise.
24530 * stdlib/tst-strtod-round-data: Likewise.
24531 * stdlib/tst-strtod-round.c: Likewise.
24532 * stdlib/Makefile (tests): Add tst-strtod-round.
24535 * stdlib/strtod_l.c: Include <stdint.h>.
24536 (NDEBUG): Do not define.
24537 (round_and_return): Change EXPONENT parameter to type intmax_t.
24538 Rearrange calculations to avoid internal overflow possibilities.
24539 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
24540 Rearrange calculations to avoid internal overflow possibilities.
24541 Assert that number fits inside MPNSIZE limbs.
24542 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
24543 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
24544 calculations and add assertions to avoid internal overflow
24545 possibilities. Add casts to avoid signed/unsigned operations.
24546 * stdlib/tst-strtod-overflow.c: New file.
24547 * stdlib/Makefile (tests): Add tst-strtod-overflow.
24549 2012-08-25 Marek Polacek <polacek@redhat.com>
24551 * time/time.h: Fix some typos in comments.
24553 2012-08-23 Roland McGrath <roland@hack.frob.com>
24555 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
24556 * posix/tst-rfc3484-2.c: Likewise.
24557 * posix/tst-rfc3484-3.c: Likewise.
24559 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
24561 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
24562 (EF_ARM_ABI_FLOAT_HARD): Likewise.
24564 2012-08-23 Joseph Myers <joseph@codesourcery.com>
24566 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
24567 #include of fxstatat64.c.
24569 2012-08-22 Roland McGrath <roland@hack.frob.com>
24571 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
24572 * shadow/getspent_r.c: Likewise.
24573 * shadow/getspnam.c: Likewise.
24574 * shadow/getspnam_r.c: Likewise.
24575 * gshadow/getsgent.c: Likewise.
24576 * gshadow/getsgent_r.c: Likewise.
24577 * gshadow/getsgnam.c: Likewise.
24578 * gshadow/getsgnam_r.c: Likewise.
24579 * inet/getnetbyad.c: Likewise.
24580 * inet/getnetbyad_r.c: Likewise.
24581 * inet/getnetbynm.c: Likewise.
24582 * inet/getnetbynm_r.c: Likewise.
24583 * inet/getnetent.c: Likewise.
24584 * inet/getnetent_r.c: Likewise.
24585 * inet/getproto.c: Likewise.
24586 * inet/getproto_r.c: Likewise.
24587 * inet/getprtent.c: Likewise.
24588 * inet/getprtent_r.c: Likewise.
24589 * inet/getprtname.c: Likewise.
24590 * inet/getprtname_r.c: Likewise.
24591 * inet/getrpcbyname.c: Likewise.
24592 * inet/getrpcbyname_r.c: Likewise.
24593 * inet/getrpcbynumber.c: Likewise.
24594 * inet/getrpcbynumber_r.c: Likewise.
24595 * inet/getrpcent.c: Likewise.
24596 * inet/getrpcent_r.c: Likewise.
24597 * inet/getaliasent.c: Likewise.
24598 * inet/getaliasent_r.c: Likewise.
24599 * inet/getaliasname.c: Likewise.
24600 * inet/getaliasname_r.c: Likewise.
24601 * nscd/getgrgid_r.c: Likewise.
24602 * nscd/getgrnam_r.c: Likewise.
24603 * nscd/gethstbyad_r.c: Likewise.
24604 * nscd/gethstbynm3_r.c: Likewise.
24605 * nscd/getpwnam_r.c: Likewise.
24606 * nscd/getpwuid_r.c: Likewise.
24607 * nscd/getsrvbynm_r.c: Likewise.
24608 * nscd/getsrvbypt_r.c: Likewise.
24609 * nscd/gai.c: Likewise.
24611 * configure.in (build_nscd): New substituted variable, set
24612 by --disable-build-nscd and defaults to $use_nscd.
24613 * configure: Regenerated.
24614 * config.make.in (build-nscd): New substituted variable.
24615 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
24616 Change conditional to require [$(build-nscd) = yes] as well.
24617 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
24620 * configure.in (use_nscd): New substituted variable, set by
24621 --disable-nscd. If enabled, define USE_NSCD.
24622 * configure: Regenerated.
24623 * config.h.in: Add USE_NSCD.
24624 * config.make.in (use-nscd): New substituted variable.
24625 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
24626 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
24627 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
24628 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
24629 (CFLAGS-getgrnam_r.c): Likewise.
24630 (CFLAGS-initgroups.c): Likewise.
24631 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
24632 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
24634 * inet/getnetgrent_r.c
24635 (nscd_setnetgrent): New function, broken out of ...
24636 (setnetgrent): ... here. Call it.
24637 (innetgr): Conditionalize nscd bits on [USE_NSCD].
24638 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
24639 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
24640 * nscd/Makefile (routines, aux): Move definitions after include of
24641 Makeconfig. Conditionalize on [$(use-nscd) != no].
24642 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
24643 Conditionalize on [USE_NSCD].
24644 (is_nscd, nscd_init_cb): Likewise.
24645 (nss_load_library): Conditionalize init callback on [USE_NSCD].
24646 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
24647 * nss/nss_db/db-init.c: Likewise.
24648 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
24650 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
24651 (make_request): Use it.
24652 (cache_valid_p): New function.
24653 (__check_pf): Use it.
24654 * NEWS: Add item for --disable-nscd.
24656 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
24658 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
24659 to support sed >= 4.2.1-20-ga9bf076.
24660 * configure: Regenerated.
24662 2012-08-22 Roland McGrath <roland@hack.frob.com>
24664 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
24665 Conditionalize whole body on [IREL].
24667 2012-08-22 Jeff Law <law@redhat.com>
24670 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
24671 if the family is PF_UNSPEC.
24673 2012-08-22 Mike Frysinger <vapier@gentoo.org>
24675 * Makerules (lib-version): Rename from V.
24676 (install-lib-nosubdir): Change V to lib-version.
24678 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
24681 * powerpc32/power6/wcschr.c: New file.
24682 * powerpc32/power6/wcscpy.c: New file.
24683 * powerpc32/power6/wcsrchr.c: New file.
24684 * powerpc64/power6/wcschr.c: New file.
24685 * powerpc64/power6/wcscpy.c: New file.
24686 * powerpc64/power6/wcsrchr.c: New file.
24688 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
24690 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
24691 (two_way_short_needle): Use it.
24692 * string/strstr.c (AVAILABLE1_USES_J): Define.
24693 * string/strcasestr.c: Likewise.
24695 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
24697 * string/strcasestr.c (TOLOWER): Make side-effect safe.
24700 * NEWS: Add an entry.
24701 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
24702 define their defaults.
24703 (two_way_short_needle): Detect end-of-string on-the-fly.
24704 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
24705 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
24706 * string/bug-strcasestr1.c: New test.
24707 * string/Makefile: Run it.
24709 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
24712 * string/str-two-way.h (two_way_short_needle): Optimize matching of
24713 the first character.
24715 2012-08-21 Roland McGrath <roland@hack.frob.com>
24717 * csu/elf-init.c (__libc_csu_irel): Function removed.
24718 * csu/libc-start.c (apply_irel): New function.
24719 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
24721 2012-08-21 Joseph Myers <joseph@codesourcery.com>
24723 * sysdeps/unix/sysv/linux/kernel-features.h
24724 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
24725 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
24726 <kernel-features.h>.
24727 [__NR_fadvise64_64]: Make code unconditional.
24728 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
24729 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
24730 !__NR_fadvise64_64)]: Likewise.
24731 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
24732 !__NR_fadvise64_64))]: Likewise.
24733 [__NR_fadvise64]: Make code unconditional.
24734 [!__NR_fadvise64]: Remove conditional code.
24735 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
24736 <kernel-features.h>.
24737 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24739 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
24742 not include <kernel-features.h>.
24743 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24745 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24747 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
24748 include <kernel-features.h>.
24749 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24751 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24754 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
24756 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
24757 slight instruction rearrangements per scrollpipe analysis.
24758 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
24760 2012-08-20 Roland McGrath <roland@hack.frob.com>
24762 * manual/syslog.texi (syslog; vsyslog, closelog):
24763 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
24764 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
24766 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
24767 DSOCAPS to match condition on defining it.
24769 2012-08-20 Joseph Myers <joseph@codesourcery.com>
24771 * sysdeps/unix/sysv/linux/kernel-features.h
24772 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
24773 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
24774 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24775 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24776 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
24777 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24778 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24779 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
24780 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24781 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24783 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
24784 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
24786 * sysdeps/unix/sysv/linux/kernel-features.h
24787 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
24788 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
24790 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24791 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
24792 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
24793 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24794 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
24795 Make code unconditional.
24796 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24797 (__mmap64) [!__NR_mmap2]: Likewise.
24798 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
24799 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
24800 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24801 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
24802 [__NR_mmap2]: Make code unconditional.
24803 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24804 (__mmap64) [!__NR_mmap2]: Likewise.
24806 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24808 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
24810 2012-08-18 Andreas Jaeger <aj@suse.de>
24812 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
24814 2012-08-18 Mike Frysinger <vapier@gentoo.org>
24816 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
24817 * include/unistd.h (__have_sock_cloexec): Likewise.
24818 (__have_pipe2): Likewise.
24819 (__have_dup3): Likewise.
24821 2012-08-18 Mike Frysinger <vapier@gentoo.org>
24824 * include/unistd.h (__have_pipe2): Change define into an extern int.
24825 (__have_dup3): Likewise.
24826 * socket/have_sock_cloexec.c: Include fcntl.h.
24827 (__have_pipe2): New variable.
24828 (__have_dup3): Likewise.
24830 2012-08-17 Mike Frysinger <vapier@gentoo.org>
24832 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
24834 2012-08-17 Marek Polacek <polacek@redhat.com>
24836 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
24837 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
24839 2012-08-17 Roland McGrath <roland@hack.frob.com>
24841 * configure.in: Add AC_SUBST for sysheaders.
24842 * configure: Regenerated.
24843 * config.make.in (sysheaders): New substituted variable.
24845 * sysdeps/unix/mkfifo.c: Moved ...
24846 * sysdeps/posix/mkfifo.c: ... here.
24847 * sysdeps/unix/mkfifoat.c: Moved ...
24848 * sysdeps/posix/mkfifoat.c: ... here.
24850 * sysdeps/unix/utime.c: Moved ...
24851 * sysdeps/posix/utime.c: ... here.
24853 * sysdeps/unix/time.c: Moved ...
24854 * sysdeps/posix/time.c: ... here.
24855 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
24856 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
24858 * sysdeps/unix/nice.c: Moved ...
24859 * sysdeps/posix/nice.c: ... here.
24861 * sysdeps/unix/alarm.c: Moved ...
24862 * sysdeps/posix/alarm.c: ... here.
24864 * intl/Makefile ($(codeset_mo)): Depend on the input file.
24866 2012-08-17 Jeff Law <law@redhat.com>
24868 * intl/Makefile (codeset_mo): New variable.
24869 ($(codeset_mo)): New target.
24870 (tst-codeset.out): Depend on that. Remove explicit rule.
24871 (tst-gettext3.out, tst-gettext5.out): Likewise.
24872 (LOCPATH-ENV, tst-codeset-ENV): New variables.
24873 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
24874 * intl/tst-codeset.sh: Remove.
24875 * intl/tst-gettext3.sh: Likewise.
24876 * intl/tst-gettext5.sh: Likewise.
24878 2012-08-17 Roland McGrath <roland@hack.frob.com>
24880 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
24881 * sysdeps/unix/syscalls.list: ... here.
24883 * sysdeps/posix/getaddrinfo.c
24884 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
24885 (gaiconf_init, gaiconf_reload): Use them.
24886 [!_STATBUF_ST_NSEC]
24887 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
24888 Define using time_t rather than struct timespec.
24890 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
24891 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
24893 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
24895 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
24896 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
24899 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
24900 __libc_cleanup_push argument.
24902 * bits/param.h: New file.
24903 * misc/sys/param.h: New file.
24904 * include/sys/param.h: New file.
24905 * misc/Makefile (headers): Add bits/param.h.
24906 * sysdeps/generic/sys/param.h: File removed.
24907 * sysdeps/unix/sysv/linux/bits/param.h: New file.
24908 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
24909 * sysdeps/mach/hurd/bits/param.h: New file.
24910 * sysdeps/mach/hurd/sys/param.h: File removed.
24912 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
24915 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
24917 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
24918 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
24921 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
24922 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
24923 rather than -D_IO_MTSAFE_IO conditionally.
24924 * stdio-common/Makefile (CPPFLAGS): Likewise.
24925 * wcsmbs/Makefile (CPPFLAGS): Likewise.
24926 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
24927 Use $(libio-mtsafe).
24928 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
24929 of -D_IO_MTSAFE_IO.
24930 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
24931 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
24932 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
24933 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
24934 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
24935 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
24936 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
24937 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
24938 (CFLAGS-fread_u_chk.c): Likewise.
24939 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
24940 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
24941 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
24942 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
24943 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
24944 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
24945 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
24946 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
24947 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
24949 * libio/Makefile: Test [$(libc-reentrant) = yes]
24950 instead of [$(filter %REENTRANT, $(defines)) nonempty].
24953 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
24954 * sysdeps/pthread/configure: File removed.
24955 * sysdeps/pthread/Makeconfig: New file.
24956 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
24957 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
24959 2012-08-16 Gary Benson <gbenson@redhat.com>
24961 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
24962 unmapping the first object in a namespace.
24964 2012-08-16 Roland McGrath <roland@hack.frob.com>
24966 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
24967 (__internal_setnetgrent): ... this. Add internal_function to
24968 definition. Add libc_hidden_def.
24969 (setnetgrent): Update caller.
24970 (internal_endnetgrent): Renamed to ...
24971 (__internal_endnetgrent): ... this. Add internal_function to
24972 definition. Add libc_hidden_def.
24973 (endnetgrent): Update caller.
24974 (internal_getnetgrent_r): Renamed to ...
24975 (__internal_getnetgrent_r): ... this. Add internal_function to
24976 definition. Add libc_hidden_def.
24977 (__getnetgrent_r): Update caller.
24978 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
24980 2012-08-16 Joseph Myers <joseph@codesourcery.com>
24982 * stdlib/longlong.h: Update from GCC.
24984 2012-08-16 Roland McGrath <roland@hack.frob.com>
24986 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
24987 on _QL, which is set by umul_ppmm but never used.
24988 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
24989 variables, which are set by GMP macros but never used.
24990 * stdio-common/_itowa.c (_itowa): Likewise.
24991 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
24992 * stdlib/mod_1.c (mpn_mod_1): Likewise.
24994 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
24996 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
24997 struct La_sh_regs is not constant.
24998 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
24999 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
25000 and struct La_sparc64_regs are not constant.
25002 2012-08-16 Joseph Myers <joseph@codesourcery.com>
25004 * sysdeps/unix/sysv/linux/kernel-features.h
25005 (__ASSUME_POSIX_TIMERS): Remove.
25006 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
25007 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25008 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
25009 Make code unconditional.
25010 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25011 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
25012 Make code unconditional.
25013 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25014 * sysdeps/unix/sysv/linux/clock_nanosleep.c
25015 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
25016 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25017 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
25018 Make code unconditional.
25019 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25020 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
25021 (__libc_missing_posix_timers): Remove.
25023 2012-08-15 Roland McGrath <roland@hack.frob.com>
25025 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
25026 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
25028 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
25030 * elf/dl-sym.c: Include <stdlib.h>.
25032 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
25033 constants, which avoids warnings in 32-bit builds.
25035 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
25036 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
25038 * misc/lseek.c: File moved to ...
25039 * io/lseek.c: ... here.
25041 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
25043 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
25044 shifting LEN more than 31 bits at once.
25046 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25049 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
25050 segmentation fault for a case of two empty input strings.
25051 * string/test-strncasecmp.c (check1): Renamed to...
25052 (bz12205): ...this.
25053 (bz14195): Add new testcase for two empty input strings and N > 0.
25054 (test_main): Call new testcase, adapt for renamed function.
25056 2012-08-15 Andreas Jaeger <aj@suse.de>
25059 * crypt/md5test2.c: New test, based on test supplied by Serge
25060 Belyshev <belyshev@depni.sinp.msu.ru>.
25061 * crypt/Makefile (xtests): Add md5test-giant..
25062 * crypt/Makefile ($(objpfx)md5test-giant): Add.
25064 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
25067 * crypt/md5.c (md5_process_block): Don't assume the buffer
25068 length is less than 2**32.
25069 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
25070 length is less than 2**64.
25072 2012-08-15 Roland McGrath <roland@hack.frob.com>
25074 * string/str-two-way.h: Include <sys/param.h>.
25075 (MAX): Macro removed.
25077 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
25078 Move #define and #undef of memmove to just before and after
25079 including <string.h>.
25081 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
25082 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
25083 and after including <string.h>. Move declarations of
25084 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
25085 to before #include "string/memmove.c".
25087 * include/dirent.h: Declare __getdirentries.
25089 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
25090 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
25092 2012-08-14 Mike Frysinger <vapier@gentoo.org>
25094 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
25095 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
25096 * sysdeps/i386/configure: Regenerated.
25097 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
25098 STABS_CURRENT_FILE, and STABS_FUN.
25099 (END): Remove call to STABS_FUN_END.
25100 (STABS_CURRENT_FILE1): Delete.
25101 (STABS_CURRENT_FILE): Likewise.
25102 (STABS_FUN): Likewise.
25103 (STABS_FUN_END): Likewise.
25104 (STABS_FUN2): Likewise.
25105 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
25106 * sysdeps/x86_64/configure: Regenerated.
25108 2012-08-14 Roland McGrath <roland@hack.frob.com>
25110 * elf/dl-open.c: Include <atomic.h>.
25111 * elf/dl-lookup.c: Likewise.
25113 2012-08-14 Joseph Myers <joseph@codesourcery.com>
25115 * sysdeps/unix/sysv/linux/kernel-features.h
25116 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
25117 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
25119 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
25121 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
25122 condition on __ASSUME_CLONE_THREAD_FLAGS.
25124 2012-08-14 Andreas Jaeger <aj@suse.de>
25126 * sysdeps/i386/fpu/libm-test-ulps: Update.
25128 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
25130 * include/atomic.h (atomic_exchange_and_add): Split into ...
25131 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
25134 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
25136 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25138 2012-08-13 Jeff Law <law@redhat.com>
25140 * manual/stdio.texi (snprintf): Clarify handling of the trailing
25141 null byte in the output string.
25143 2012-08-10 Joseph Myers <joseph@codesourcery.com>
25145 * sysdeps/unix/sysv/linux/kernel-features.h
25146 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
25147 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
25148 (__ASSUME_ARG_MAX_STACK_BASED): Define.
25149 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
25150 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
25151 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
25152 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
25154 2012-08-09 Jeff Law <law@redhat.com>
25157 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
25158 When avoid_arena is set, don't retry in the that arena. Pick the
25159 next one, whatever it might be.
25160 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
25161 (arena_lock): Pass in new parameter to arena_get2.
25162 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
25164 (__libc_malloc): Unify retrying after main arena failure with
25165 __libc_memalign version.
25166 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
25168 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
25171 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
25172 to __redirect_strstr.
25173 (__strstr_sse42): Use typeof __redirect_strstr.
25174 (__strstr_ia32): Likewise.
25175 (__libc_strstr): New prototype.
25176 (strstr): Renamed to ...
25177 (__libc_strstr): This.
25178 (strstr): New strong alias of __libc_strstr.
25179 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
25180 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
25183 (__libc_time): New prototype.
25184 (time_ifunc): Replace time with __libc_time.
25185 (time): New strong alias and hidden definition of __libc_time.
25186 (__GI_time): Remove strong alias.
25187 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
25188 Include <stddef.h>.
25189 (memmove): Redefined to __redirect_memmove.
25190 (__memmove_sse2): Use typeof __redirect_memmove.
25191 (__memmove_ssse3): Likewise.
25192 (__memmove_ssse3_back): Likewise.
25193 (__libc_memmove): New prototype.
25194 (memmove): Renamed to ...
25195 (__libc_memmove): This.
25196 (memmove): New strong alias of __libc_memmove.
25198 2012-08-08 Mark Salter <msalter@redhat.com>
25201 (R_MN10300_TLS_GD): Define.
25202 (R_MN10300_TLS_LD): Likewise.
25203 (R_MN10300_TLS_LDO): Likewise.
25204 (R_MN10300_TLS_GOTIE): Likewise.
25205 (R_MN10300_TLS_IE): Likewise.
25206 (R_MN10300_TLS_LE): Likewise.
25207 (R_MN10300_TLS_DTPMOD): Likewise.
25208 (R_MN10300_TLS_DTPOFF): Likewise.
25209 (R_MN10300_TLS_TPOFF): Likewise.
25210 (R_MN10300_SYM_DIFF): Likewise.
25211 (R_MN10300_ALIGN): Likewise.
25212 (R_MN10300_NUM): Update.
25214 2012-08-08 Joseph Myers <joseph@codesourcery.com>
25216 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
25219 2012-08-08 Roland McGrath <roland@hack.frob.com>
25221 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
25223 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
25224 sysdeps/unix -> sysdeps/posix move.
25225 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
25227 2012-08-07 Allan McRae <allan@archlinux.org>
25230 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
25231 (SUNOS_CPP): Likewise.
25232 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
25234 (open_input): Call CPP using execvp.
25236 2012-08-07 Joseph Myers <joseph@codesourcery.com>
25238 * sysdeps/unix/sysv/linux/kernel-features.h
25239 (__ASSUME_PROT_GROWSUPDOWN): Remove.
25240 (__ASSUME_NO_CLONE_DETACHED): Likewise.
25241 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
25242 (__ASSUME_WAITID_SYSCALL): Likewise.
25243 * sysdeps/unix/sysv/linux/dl-execstack.c
25244 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
25245 code unconditional.
25246 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
25248 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
25249 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
25250 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
25252 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
25254 [__ASSUME_WAITID_SYSCALL]: Likewise.
25255 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
25257 2012-08-07 Roland McGrath <roland@hack.frob.com>
25259 * sysdeps/unix/closedir.c: Renamed to ...
25260 * sysdeps/posix/closedir.c: ... here.
25261 * sysdeps/unix/dirfd.c: Renamed to ...
25262 * sysdeps/posix/dirfd.c: ... here.
25263 * sysdeps/unix/dirstream.h: Renamed to ...
25264 * sysdeps/posix/dirstream.h: ... here.
25265 * sysdeps/unix/fdopendir.c: Renamed to ...
25266 * sysdeps/posix/fdopendir.c: ... here.
25267 * sysdeps/unix/opendir.c: Renamed to ...
25268 * sysdeps/posix/opendir.c: ... here.
25269 * sysdeps/unix/readdir.c: Renamed to ...
25270 * sysdeps/posix/readdir.c: ... here.
25271 * sysdeps/unix/readdir_r.c: Renamed to ...
25272 * sysdeps/posix/readdir_r.c: ... here.
25273 * sysdeps/unix/rewinddir.c: Renamed to ...
25274 * sysdeps/posix/rewinddir.c: ... here.
25275 * sysdeps/unix/seekdir.c: Renamed to ...
25276 * sysdeps/posix/seekdir.c: ... here.
25277 * sysdeps/unix/telldir.c: Renamed to ...
25278 * sysdeps/posix/telldir.c: ... here.
25279 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
25280 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
25281 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
25282 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
25284 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
25285 * bits/fcntl.h: ... here.
25287 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
25289 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
25290 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
25291 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
25292 (struct flock): Move l_start, l_len to the beginning.
25293 Use __pid_t for l_pid.
25294 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
25295 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
25296 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
25297 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
25298 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
25299 [__USE_LARGEFILE64] (struct flock64): New type.
25300 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
25302 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
25303 * bits/dirent.h: ... here.
25305 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
25306 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
25308 2012-08-07 Joseph Myers <joseph@codesourcery.com>
25310 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25311 Change from 2.6.0 to 2.6.16.
25312 * sysdeps/unix/sysv/linux/configure: Regenerated.
25313 * sysdeps/unix/sysv/linux/kernel-features.h
25314 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
25315 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
25317 (__ASSUME_UTIMES): Likewise.
25318 (__ASSUME_CLONE_STOPPED): Remove.
25319 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
25320 architectures, not kernel version.
25321 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
25322 (__ASSUME_NO_CLONE_DETACHED): Likewise.
25323 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
25324 (__ASSUME_WAITID_SYSCALL): Likewise.
25325 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
25326 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
25327 * README: State 2.6.16 as minimum Linux kernel version. Do not
25328 refer to older versions.
25330 2012-08-06 Roland McGrath <roland@hack.frob.com>
25332 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
25333 Define alphasort64 as an alias.
25334 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
25335 Define versionsort64 as an alias.
25336 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
25337 Define scandir64 as an alias.
25338 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
25339 Define scandirat64 as an alias.
25340 * dirent/alphasort64.c (alphasort64):
25341 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
25342 * dirent/versionsort64.c: Likewise.
25343 * dirent/scandir64.c: Likewise.
25344 * dirent/scandirat64.c: Likewise.
25345 * sysdeps/wordsize-64/alphasort.c: File removed.
25346 * sysdeps/wordsize-64/alphasort64.c: File removed.
25347 * sysdeps/wordsize-64/scandir.c: File removed.
25348 * sysdeps/wordsize-64/scandir64.c: File removed.
25349 * sysdeps/wordsize-64/scandirat.c: File removed.
25350 * sysdeps/wordsize-64/scandirat64.c: File removed.
25351 * sysdeps/wordsize-64/versionsort.c: File removed.
25352 * sysdeps/wordsize-64/versionsort64.c: File removed.
25353 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
25354 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
25355 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
25356 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
25357 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
25358 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
25359 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
25360 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
25362 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
25363 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
25364 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
25365 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25366 [defined __arch64__ || defined __sparcv9]
25367 (__INO_T_MATCHES_INO64_T): New macro.
25368 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25369 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
25370 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
25371 * sysdeps/unix/sysv/linux/bits/dirent.h
25372 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
25373 (_DIRENT_MATCHES_DIRENT64): New macro.
25375 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
25376 Define lockf64 as an alias.
25377 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
25378 Define fseeko64 as an alias.
25379 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
25380 Define ftello64 as an alias.
25381 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
25382 Define _IO_fgetpos64 and fgetpos64 as aliases.
25383 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
25384 Define _IO_fsetpos64 and fsetpos64 as aliases.
25385 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
25386 Conditionalize body on this.
25387 * libio/fseeko64.c: Likewise.
25388 * libio/ftello64.c: Likewise.
25389 * libio/iofgetpos64.c: Likewise.
25390 * libio/iofsetpos64.c: Likewise.
25391 * sysdeps/wordsize-64/lockf.c: File removed.
25392 * sysdeps/wordsize-64/lockf64.c: File removed.
25393 * sysdeps/wordsize-64/fseeko.c: File removed.
25394 * sysdeps/wordsize-64/fseeko64.c: File removed.
25395 * sysdeps/wordsize-64/ftello.c: File removed.
25396 * sysdeps/wordsize-64/ftello64.c: File removed.
25397 * sysdeps/wordsize-64/iofgetpos.c: File removed.
25398 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
25399 * sysdeps/wordsize-64/iofsetpos.c: File removed.
25400 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
25401 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
25402 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
25403 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
25404 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
25405 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
25406 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
25407 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
25408 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
25409 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
25410 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
25412 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
25413 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
25414 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
25415 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25416 [defined __arch64__ || defined __sparcv9]
25417 (__OFF_T_MATCHES_OFF64_T): New macro.
25418 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25419 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
25420 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25421 (__OFF_T_MATCHES_OFF64_T): New macro.
25423 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
25425 * stdlib/secure-getenv.c (__secure_getenv): Replace
25426 GLIBC_2_16 with GLIBC_2_17.
25428 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
25430 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
25431 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
25433 2012-08-03 David S. Miller <davem@davemloft.net>
25435 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25437 2012-08-03 Joseph Myers <joseph@codesourcery.com>
25439 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
25441 (__ASSUME_CORRECT_SI_PID): Likewise.
25442 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
25443 (__ASSUME_TMPFS_NAME): Likewise.
25444 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
25445 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
25446 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
25447 (HAVE_AUX_SECURE): Make definition unconditional.
25448 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
25449 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
25451 2012-08-03 Roland McGrath <roland@hack.frob.com>
25453 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
25454 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
25455 * sysdeps/mach/hurd/eloop-threshold.h: New file.
25456 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
25457 __eloop_threshold instead of SYMLOOP_MAX.
25459 * sysdeps/generic/eloop-threshold.h: New file.
25460 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
25462 * elf/chroot_canon.c (chroot_canon): Likewise.
25464 2012-08-03 Joseph Myers <joseph@codesourcery.com>
25467 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25468 Change to 2.6.0 everywhere.
25469 * sysdeps/unix/sysv/linux/configure: Regenerated.
25470 * sysdeps/unix/sysv/linux/kernel-features.h
25471 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
25472 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
25474 (__ASSUME_POSIX_TIMERS): Define unconditionally.
25475 (__ASSUME_FUTEX_REQUEUE): Remove.
25476 (__ASSUME_STATFS64): Define unconditionally.
25477 (__ASSUME_AT_SECURE): Likewise.
25478 (__ASSUME_CORRECT_SI_PID): Likewise.
25479 (__ASSUME_TGKILL): Define without depending on kernel version for
25481 (__ASSUME_UTIMES): Likewise.
25482 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
25484 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
25485 (__ASSUME_TMPFS_NAME): Likewise.
25486 * README: Update reference to Linux kernel versions.
25488 2012-08-02 Marek Polacek <polacek@redhat.com>
25491 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
25492 libc_cv_asm_type_prefix with %.
25493 * configure: Regenerated.
25494 * include/libc-symbols.h: Remove comment about
25495 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
25496 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
25497 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
25498 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
25499 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
25500 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
25501 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
25502 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
25503 * elf/tst-unique2mod1.c: Likewise.
25504 * elf/tst-unique1mod2.c: Likewise.
25505 * elf/tst-unique1mod1.c: Likewise.
25506 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
25507 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
25508 Replace ASM_TYPE_DIRECTIVE with .type.
25509 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25510 * sysdeps/i386/sysdep.h: Likewise.
25511 * sysdeps/x86_64/sysdep.h: Likewise.
25512 * sysdeps/sh/sysdep.h: Likewise.
25513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
25514 Do not define ASM_TYPE_DIRECTIVE.
25515 * sysdeps/powerpc/sysdep.h: Likewise.
25516 * sysdeps/powerpc/powerpc32/sysdep.h:
25517 Replace ASM_TYPE_DIRECTIVE with .type.
25518 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
25519 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
25520 * sysdeps/i386/fpu/e_powf.S: Likewise.
25521 * sysdeps/i386/fpu/e_expl.S: Likewise.
25522 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
25523 * sysdeps/i386/fpu/e_acosh.S: Likewise.
25524 * sysdeps/i386/fpu/e_pow.S: Likewise.
25525 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
25526 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
25527 * sysdeps/i386/fpu/s_expm1.S: Likewise.
25528 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
25529 * sysdeps/i386/fpu/e_log2.S: Likewise.
25530 * sysdeps/i386/fpu/e_log2l.S: Likewise.
25531 * sysdeps/i386/fpu/e_scalb.S: Likewise.
25532 * sysdeps/i386/fpu/e_powl.S: Likewise.
25533 * sysdeps/i386/fpu/e_log10f.S: Likewise.
25534 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
25535 * sysdeps/i386/fpu/e_logl.S: Likewise.
25536 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
25537 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
25538 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
25539 * sysdeps/i386/fpu/e_log2f.S: Likewise.
25540 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
25541 * sysdeps/i386/fpu/e_log.S: Likewise.
25542 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
25543 * sysdeps/i386/fpu/e_logf.S: Likewise.
25544 * sysdeps/i386/fpu/e_log10l.S: Likewise.
25545 * sysdeps/i386/fpu/e_atanh.S: Likewise.
25546 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
25547 * sysdeps/i386/fpu/e_log10.S: Likewise.
25548 * sysdeps/i386/fpu/s_frexp.S: Likewise.
25549 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
25550 * sysdeps/i386/fpu/s_asinh.S: Likewise.
25551 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
25552 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
25553 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
25554 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
25555 * sysdeps/i386/i686/strtok.S: Likewise.
25556 * sysdeps/i386/i386-mcount.S: Likewise.
25557 * sysdeps/i386/strtok.S: Likewise.
25558 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
25559 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
25560 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
25561 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
25562 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
25563 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
25564 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
25565 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
25566 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
25567 * sysdeps/x86_64/_mcount.S: Likewise.
25568 * sysdeps/x86_64/strtok.S: Likewise.
25569 * sysdeps/sh/_mcount.S: Likewise.
25571 2012-08-01 Roland McGrath <roland@hack.frob.com>
25573 * libio/iofopen.c: Include <fcntl.h>.
25574 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
25575 (_IO_fopen64, fopen64): Define as aliases.
25576 * libio/iofopen64.c: Include <fcntl.h>.
25577 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
25578 Conditionalize body on this.
25579 * sysdeps/wordsize-64/iofopen.c: File removed.
25580 * sysdeps/wordsize-64/iofopen64.c: File removed.
25582 2012-08-01 Marek Polacek <polacek@redhat.com>
25584 * libc/Makeconfig: Use elf in place of binfmt-subdir.
25585 Use dlfcn directly instead of a variable.
25586 (binfmt-subdir): Do not define.
25589 2012-08-01 Joseph Myers <joseph@codesourcery.com>
25591 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
25592 Remove all definitions.
25593 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
25594 <kernel-features.h>.
25595 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
25596 (miss_F_GETOWN_EX): Remove all definitions.
25597 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
25599 [!__ASSUME_FCNTL64]: Remove conditional code.
25600 [__ASSUME_FCNTL64]: Make code unconditional.
25601 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
25602 <kernel-features.h>.
25603 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
25604 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
25605 (lockf64) [__NR_fcntl64]: Make code unconditional.
25606 (lockf64) [__ASSUME_FCNTL64]: Likewise.
25608 * sysdeps/unix/sysv/linux/kernel-features.h
25609 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
25610 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
25611 Make code unconditional.
25612 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25613 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
25615 [__NR_vfork]: Make code unconditional.
25616 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25617 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
25619 [__NR_vfork]: Make code unconditional.
25620 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25621 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25623 2012-08-01 Roland McGrath <roland@hack.frob.com>
25625 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
25626 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
25628 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25629 Define mkstemp64 as an alias.
25630 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25631 Define mkstemps64 as an alias.
25632 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25633 Define mkostemp64 as an alias.
25634 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25635 Define mkostemps64 as an alias.
25636 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
25637 Conditionalize body on this.
25638 * misc/mkostemp64.c: Likewise.
25639 * misc/mkostemps64.c: Likewise.
25640 * misc/mkstemps64.c: Likewise.
25641 * sysdeps/wordsize-64/mkstemp64.c: File removed.
25642 * sysdeps/wordsize-64/mkostemp64.c: File removed.
25643 * sysdeps/wordsize-64/mkostemp.c: File removed.
25644 * sysdeps/wordsize-64/mkstemp.c: File removed.
25645 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
25646 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
25647 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
25648 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
25651 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
25652 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
25653 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
25654 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
25656 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
25657 compat_symbol macros from <shlib-compat.h> rather than the underlying
25658 default_symbol_version and symbol_version macros, so that DEFAULT
25659 lines in shlib-versions are respected.
25660 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
25662 2012-08-01 Florian Weimer <fweimer@redhat.com>
25664 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
25665 Declare with warn_unused_result.
25666 (setgid, setregid, setegid, setresgid): Likewise.
25667 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
25669 * WUR-REPORT: Remove set*id functions.
25671 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
25673 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
25675 2012-07-31 Roland McGrath <roland@hack.frob.com>
25678 * include/sys/socket.h (__libc_accept, __libc_accept4):
25679 Add attribute_hidden.
25680 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
25682 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
25684 * inet/getnetgrent_r.c (setup): Likewise.
25686 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
25688 2012-07-31 David S. Miller <davem@davemloft.net>
25690 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25692 2012-07-31 Joseph Myers <joseph@codesourcery.com>
25695 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
25696 value between 1.0 and 2.0 and smaller part has absolute value less
25698 * math/s_clog10.c (__clog10): Likewise.
25699 * math/s_clog10f.c (__clog10f): Likewise.
25700 * math/s_clog10l.c (__clog10l): Likewise.
25701 * math/s_clogf.c (__clogf): Likewise.
25702 * math/s_clogl.c (__clogl): Likewise.
25703 * math/libm-test.inc (clog_test): Add more tests.
25704 (clog10_test): Likewise.
25705 * sysdeps/i386/fpu/libm-test-ulps: Update.
25706 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25708 2012-07-31 Florian Weimer <fweimer@redhat.com>
25710 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
25711 Exit with zero in case no suitable GID is found, and write a
25712 message to standard error.
25714 2012-07-30 Roland McGrath <roland@hack.frob.com>
25716 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
25718 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
25719 (MAXPATHLEN): Removed.
25720 (NOGROUP, NODEV): New macros.
25721 (setbit, clrbit, isset, isclr): New macros.
25722 (howmany, roundup, powerof2): New macros.
25723 (DEV_BSIZE): New macro.
25725 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
25726 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
25728 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
25729 definition on [!__NO_LONG_DOUBLE_MATH].
25731 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
25732 PTR_MANGLE and PTR_DEMANGLE.
25734 * socket/accept4.c (accept4): Rename to __libc_accept4.
25735 Define accept4 as a weak alias.
25737 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
25738 on [_DIRENT_HAVE_D_TYPE].
25739 * io/ftw.c (ftw_dir): Likewise.
25741 * io/xmknod.c (__xmknod): Don't check PATH for being null.
25743 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
25745 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
25746 Use the BSD numbers rather than the arbitrary ones we had.
25747 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
25748 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
25749 (SIGXCPU, SIGXFSZ): New macros.
25752 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
25753 initializer on [_LIBC_REENTRANT].
25755 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
25756 definitions inside [_POSIX_MAPPED_FILES].
25758 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
25760 * dirent/opendir.c: Include <fcntl.h>.
25762 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
25763 (__libc_getspecific): Likewise.
25764 (__libc_key_create): Likewise.
25766 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
25767 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
25768 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
25769 (tmpfile64): Define as alias.
25770 * sysdeps/wordsize-64/tmpfile.c: File removed.
25771 * sysdeps/wordsize-64/tmpfile64.c: File removed.
25772 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
25773 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
25775 * stdio-common/vfscanf.c: Include <stdbool.h>.
25776 * nss/makedb.c: Likewise.
25777 * stdio-common/_i18n_number.h: Likewise.
25778 * argp/argp-help.c: Likewise.
25779 * posix/wordexp.c: Likewise.
25780 * sysdeps/posix/spawni.c: Likewise.
25781 * nss/nss_files/files-initgroups.c: Likewise.
25782 * stdio-common/reg-modifier.c: Include <stdlib.h>.
25783 * nss/nss_files/files-initgroups.c: Likewise.
25784 * nss/nss_db/db-netgrp.c: Likewise.
25785 * nss/nss_db/db-initgroups.c: Likewise.
25786 * io/fchmodat.c: Include <sys/stat.h>.
25788 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
25789 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
25791 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
25794 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
25795 Add multiple inclusion protection.
25797 2012-07-27 David S. Miller <davem@davemloft.net>
25799 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25801 2012-07-27 Gary Benson <gbenson@redhat.com>
25804 * elf/rtld.c: Include <stap-probe.h>.
25805 (dl_main): Added static probes "init_start" and "init_complete".
25806 * elf/dl-load.c: Include <stap-probe.h>.
25807 (lose): Take new parameter "nsid".
25808 Added static probe "map_failed".
25809 (_dl_map_object_from_fd): Pass namespace id to lose.
25810 Added static probe "map_start".
25811 (open_verify): Pass namespace id to lose.
25812 * elf/dl-open.c: Include <stap-probe.h>.
25813 (dl_open_worker) Added static probes "map_complete", "reloc_start"
25814 and "reloc_complete".
25815 * elf/dl-close.c: Include <stap-probe.h>.
25816 (_dl_close_worker): Added static probes "unmap_start" and
25818 * elf/rtld-debugger-interface.txt: New file documenting the above.
25820 2012-07-26 Roland McGrath <roland@hack.frob.com>
25822 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
25823 rather than a string variable.
25824 * sunrpc/rpc_main.c (h_output): Likewise.
25825 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
25827 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
25829 * inet/check_native.c: New file.
25831 2012-07-26 Joseph Myers <joseph@codesourcery.com>
25834 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
25835 if larger part has absolute value 1.0.
25836 * math/s_clog10.c (__clog10): Likewise.
25837 * math/s_clog10f.c (__clog10f): Likewise.
25838 * math/s_clog10l.c (__clog10l): Likewise.
25839 * math/s_clogf.c (__clogf): Likewise.
25840 * math/s_clogl.c (__clogl): Likewise.
25841 * math/libm-test.inc (clog_test): Add more tests.
25842 (clog10_test): Likewise.
25843 * sysdeps/i386/fpu/libm-test-ulps: Update.
25844 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25846 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
25847 (pltexit): Likewise.
25848 (La_regs): Likewise.
25849 (La_retval): Likewise.
25850 (int_retval): Likewise.
25851 Update #error for removed macros to refer only to definitions in
25853 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
25855 (pltexit): Likewise.
25856 (La_regs): Likewise.
25857 (La_retval): Likewise.
25858 (int_retval): Likewise.
25859 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
25861 (pltexit): Likewise.
25862 (La_regs): Likewise.
25863 (La_retval): Likewise.
25864 (int_retval): Likewise.
25865 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
25867 (pltexit): Likewise.
25868 (La_regs): Likewise.
25869 (La_retval): Likewise.
25870 (int_retval): Likewise.
25871 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
25873 (pltexit): Likewise.
25874 (La_regs): Likewise.
25875 (La_retval): Likewise.
25876 (int_retval): Likewise.
25877 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
25879 (pltexit): Likewise.
25880 (La_regs): Likewise.
25881 (La_retval): Likewise.
25882 (int_retval): Likewise.
25883 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
25885 (pltexit): Likewise.
25886 (La_regs): Likewise.
25887 (La_retval): Likewise.
25888 (int_retval): Likewise.
25889 * sysdeps/generic/tst-audit.h: Update comment to refer only to
25890 macro definitions in tst-audit.h.
25891 * sysdeps/i386/tst-audit.h: New file.
25892 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
25893 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
25894 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
25895 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
25896 * sysdeps/sh/tst-audit.h: Likewise.
25897 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
25898 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
25899 * sysdeps/x86_64/tst-audit.h: Likewise.
25901 2012-07-26 Andreas Jaeger <aj@suse.de>
25903 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
25906 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
25907 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
25908 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
25910 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
25911 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
25912 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
25914 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
25917 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
25919 (si_call_addr, si_syscall, si_arch): Define new macro.
25920 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
25922 (si_call_addr, si_syscall, si_arch): Define new marcro.
25923 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
25925 (si_call_addr, si_syscall, si_arch): Define new macro.
25926 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
25928 (si_call_addr, si_syscall, si_arch): Define new macro.
25930 2012-07-25 Joseph Myers <joseph@codesourcery.com>
25933 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25934 Change to 2.4.21 where previously 2.4.1.
25935 * sysdeps/unix/sysv/linux/configure: Regenerated.
25936 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
25937 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
25938 Linux kernel version.
25939 (__ASSUME_STD_AUXV): Remove.
25940 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
25942 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
25943 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
25944 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
25945 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
25946 (__ASSUME_NETLINK_SUPPORT): Likewise.
25947 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
25948 (__no_netlink_support): Remove conditional definition.
25949 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
25951 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
25952 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
25953 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
25954 (if_nameindex_ioctl): Remove.
25955 (if_nameindex_netlink): Do not handle __no_netlink_support.
25956 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
25958 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
25959 Remove conditional code.
25960 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
25962 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
25964 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
25965 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
25966 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
25968 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
25969 [!__ASSUME_STD_AUXV]: Remove conditional code.
25970 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
25971 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
25972 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
25973 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
25974 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
25975 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
25977 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
25978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
25979 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
25980 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
25982 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
25983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
25984 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
25986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
25987 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
25989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
25990 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
25991 code unconditional.
25992 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25994 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25996 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
25999 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26001 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
26004 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
26005 code unconditional.
26006 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26008 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26010 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
26013 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
26014 code unconditional.
26015 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26017 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26019 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26022 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
26024 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
26025 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
26026 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
26027 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
26028 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
26029 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
26030 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
26031 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
26032 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
26033 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
26034 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
26035 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
26036 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
26037 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
26038 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
26039 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
26040 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
26041 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
26042 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
26043 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
26044 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
26045 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
26046 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
26048 2012-07-25 Florian Weimer <fweimer@redhat.com>
26050 * Versions.def: Add GLIBC_2.17.
26051 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
26052 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
26053 Introduce __libc_secure_getenv.
26054 * stdlib/Versions (2.17): Add secure_getenv
26055 (GLIBC_PRIVATE): Add __libc_secure_getenv.
26056 * stdlib/secure-getenv.c: Rename __secure_getenv to
26057 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
26058 symbol __secure_getenv for GLIBC_2.0.
26059 * stdlib/tst-secure-getenv.c: New.
26060 * stdlib/Makefile (tests): Add testcase.
26061 * manual/startup.texi (Environment Access): Document
26063 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
26064 __libc_secure_getenv.
26065 * inet/ruserpass.c (ruserpass): Likewise.
26066 * malloc/mtrace.c (mtrace): Likewise.
26067 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
26068 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
26069 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
26070 * sysdeps/posix/tempname.c: Likewise. Evaluate
26071 HAVE_SECURE_GETENV.
26072 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
26073 __secure_getenv to __libc_secure_getenv.
26074 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
26075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26079 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
26080 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
26081 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
26082 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
26083 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
26084 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
26085 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
26087 2012-07-25 Joseph Myers <joseph@codesourcery.com>
26089 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
26090 (struct La_i86_retval): Likewise.
26091 (struct La_x86_64_regs): Likewise.
26092 (struct La_x86_64_retval): Likewise.
26093 (struct La_x32_regs): Likewise.
26094 (struct La_x32_retval): Likewise.
26095 (struct La_ppc32_regs): Likewise.
26096 (struct La_ppc32_retval): Likewise.
26097 (struct La_ppc64_regs): Likewise.
26098 (struct La_ppc64_retval): Likewise.
26099 (struct La_sh_regs): Likewise.
26100 (struct La_sh_retval): Likewise.
26101 (struct La_s390_32_regs): Likewise.
26102 (struct La_s390_32_retval): Likewise.
26103 (struct La_s390_64_regs): Likewise.
26104 (struct La_s390_64_retval): Likewise.
26105 (struct La_sparc32_regs): Likewise.
26106 (struct La_sparc32_retval): Likewise.
26107 (struct La_sparc64_regs): Likewise.
26108 (struct La_sparc64_retval): Likewise.
26109 (struct audit_ifaces): Remove architecture-specific pltenter and
26111 * sysdeps/i386/ldsodefs.h: New file.
26112 * sysdeps/powerpc/ldsodefs.h: Likewise.
26113 * sysdeps/s390/ldsodefs.h: Likewise.
26114 * sysdeps/sh/ldsodefs.h: Likewise.
26115 * sysdeps/sparc/ldsodefs.h: Likewise.
26116 * sysdeps/x86_64/ldsodefs.h: Likewise.
26118 2012-07-25 Marek Polacek <polacek@redhat.com>
26121 * math/libm-test.inc (yn_test): Add another test.
26122 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
26123 to ERANGE when the result is +-Inf.
26124 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
26125 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
26126 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
26127 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
26129 2012-07-24 Joseph Myers <joseph@codesourcery.com>
26131 * conform/data/time.h-data (NULL): Use macro-constant. Require
26133 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
26135 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
26137 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
26139 * configure.in <sysdeps resolving>: Correct printing
26141 * configure: Regenerate.
26143 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
26145 * math/w_ilogb.c: Include <limits.h>.
26146 * math/w_ilogbl.c: Likewise.
26148 2012-07-20 Joseph Myers <joseph@codesourcery.com>
26150 * manual/lang.texi (__va_copy): Document primarily as ISO C99
26151 va_copy. Document allowing for unavailable va_copy only as
26152 pre-C99 compatibility.
26153 * manual/string.texi (Copying and Concatenation): Use va_copy
26154 instead of __va_copy in concat example.
26156 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
26158 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
26159 (__sendto): Use create_address_port. Initialize APORT and deallocate
26162 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
26163 with O_NOLINK passed to __file_name_lookup.
26165 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
26166 with O_NOLINK passed to __file_name_lookup.
26168 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
26169 negative N or less than NGIDS.
26171 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
26172 type to string_t. Set ERANGE as errno and return it if NAME is not big
26173 enough. Use memcpy instead of strncpy.
26175 2012-07-20 Joseph Myers <joseph@codesourcery.com>
26177 * elf/Makefile (check-data): Remove.
26178 (localplt.data): New vpath directive.
26179 ($(objpfx)check-localplt.out): Use localplt.data from vpath
26180 instead of $(check-data).
26181 * scripts/data/localplt-generic.data: Move to ...
26182 * sysdeps/generic/localplt.data: ... here.
26183 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
26184 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
26185 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
26186 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
26188 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
26189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
26191 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
26192 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
26194 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
26195 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
26197 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
26198 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
26200 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
26201 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
26204 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26206 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
26207 PPC32 and PPC64 files.
26208 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
26209 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
26211 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26213 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
26214 __makecontext_ret to ...
26215 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
26216 ... here and call exit if uc_link is NULL. New file.
26217 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
26218 __makecontext_ret.S.
26219 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
26220 __makecontext_ret to ...
26221 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
26222 ... here and call exit if uc_link is NULL. New file.
26223 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
26224 __makecontext_ret.S.
26226 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26228 * elf/elf.h (R_390_IRELATIVE): New definition.
26229 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
26230 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
26231 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
26232 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
26233 (elf_machine_lazy_rel): Likewise.
26234 * sysdeps/s390/dl-irel.h: New file.
26235 * sysdeps/s390/s390-64/memcpy.S: New asm code.
26236 * sysdeps/s390/s390-64/memset.S: New asm code.
26237 * sysdeps/s390/s390-64/memcmp.S: New asm code.
26238 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
26239 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
26240 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
26241 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
26242 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
26243 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
26244 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
26245 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
26246 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
26247 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
26248 * sysdeps/s390/s390-32/memcpy.S: New asm code.
26249 * sysdeps/s390/s390-32/memset.S: New asm code.
26250 * sysdeps/s390/s390-32/memcmp.S: New asm code.
26252 2012-07-17 Marek Polacek <polacek@redhat.com>
26255 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
26256 * sysdeps/s390/s390-64/configure.in: Likewise.
26257 * sysdeps/sparc/configure.in: Likewise.
26258 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
26259 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
26260 * sysdeps/i386/configure.in: Likewise.
26261 * sysdeps/x86_64/configure.in: Likewise.
26262 * sysdeps/sh/configure.in: Likewise.
26263 * sysdeps/s390/s390-32/configure: Regenerated.
26264 * sysdeps/s390/s390-64/configure: Likewise.
26265 * sysdeps/x86_64/configure: Likewise.
26266 * sysdeps/sh/configure: Likewise.
26267 * sysdeps/powerpc/powerpc64/configure: Likewise.
26268 * sysdeps/powerpc/powerpc32/configure: Likewise.
26269 * sysdeps/sparc/configure: Likwise.
26270 * sysdeps/i386/configure: Likewise.
26272 * elf/dl-open.c: Comment fixes.
26274 2012-07-17 Joseph Myers <joseph@codesourcery.com>
26276 * Makefile [CXX] (check-data): Remove.
26277 [CXX] (c++-types.data): New vpath directive.
26278 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
26279 vpath. Do not allow for C++ type data being missing.
26280 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
26281 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
26282 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
26283 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
26284 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
26285 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
26286 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
26287 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
26289 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
26290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
26292 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
26293 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
26295 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
26296 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
26298 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
26299 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
26301 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
26302 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
26304 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
26305 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
26307 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
26308 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
26310 * elf/tls-macros.h (TLS_LE): Move architecture-specific
26311 definitions to architecture-specific files.
26312 (TLS_IE): Likewise.
26313 (TLS_LD): Likewise.
26314 (TLS_GD): Likewise.
26315 * sysdeps/i386/tls-macros.h: New file.
26316 * sysdeps/powerpc/tls-macros.h: Likewise.
26317 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
26318 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
26319 * sysdeps/sh/tls-macros.h: Likewise.
26320 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
26321 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
26322 * sysdeps/x86_64/tls-macros.h: Likewise.
26324 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
26326 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
26327 zero value for regular exit case.
26329 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
26330 (__start_context): Preserve zero value for regular exit case.
26332 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
26333 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26335 * manual/setjmp.texi (setcontext): Clarify normal process
26336 termination when uc_link is the null pointer.
26337 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
26340 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
26342 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
26343 preprocessor. Test for each exception mask separately.
26345 2012-07-16 Andreas Jaeger <aj@suse.de>
26347 * po/ru.po: Update from translation team.
26349 2012-07-15 Joseph Myers <joseph@codesourcery.com>
26351 * conform/data/string.h-data (NULL): Use macro-constant. Require
26353 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
26354 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
26355 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
26356 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
26357 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26359 2012-07-13 Andreas Jaeger <aj@suse.de>
26361 * po/fr.po: Update from translation team.
26363 2012-07-12 Marek Polacek <polacek@redhat.com>
26366 * math/libm-test.inc (yn_test): Add test for BZ #14173.
26367 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
26370 2012-07-12 Joseph Myers <joseph@codesourcery.com>
26373 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26374 Change to 2.4.1 where previously 2.4.0.
26375 * sysdeps/unix/sysv/linux/configure: Regenerated.
26376 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
26377 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
26379 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
26380 (__ASSUME_AT_CLKTCK): Remove.
26381 (__ASSUME_AT_PAGESIZE): Likewise.
26382 (__ASSUME_AT_XID): Likewise.
26383 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
26384 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
26385 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
26387 (HAVE_AUX_PAGESIZE): Likewise.
26388 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
26389 [__ASSUME_AT_CLKTCK]: Make code unconditional.
26390 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
26392 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
26395 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
26396 the temporary buffer used to invoke __gethostbyname2_r,
26397 __gethostbyaddr_r and gethostbyname4_r to make room for struct
26398 host_data / struct gaih_addrtuple.
26399 * resolv/nss_dns/dns-host.c (global scope): Move definition of
26400 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
26401 header file nss/nsswitch.h.
26402 * nss/nsswitch.h (global scope): Add definition of implementation
26403 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
26404 resolv/nss_dns/dns-host.c).
26406 2012-07-11 Andreas Jaeger <aj@suse.de>
26408 * po/fr.po: Update from translation team.
26410 * po/sv.po: Update from translation team
26411 * po/fr.po: Another update from translation team.
26413 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26415 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
26416 for subnormals or multiply small sinh result by itself.
26417 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
26418 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26420 2012-07-11 David S. Miller <davem@davemloft.net>
26422 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26424 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
26427 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
26428 (INTERNAL_MARK): Shift it here.
26430 2012-07-10 Marek Polacek <polacek@redhat.com>
26433 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
26434 libc_cv_asm_global_directive with .globl.
26435 * configure: Regenerated.
26436 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
26438 * sysdeps/i386/configure: Regenerated.
26439 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
26441 * sysdeps/x86_64/configure: Regenerated.
26442 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
26443 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
26444 * elf/tst-unique2mod2.c: Likewise.
26445 * elf/tst-unique2mod1.c: Likewise.
26446 * elf/tst-unique1mod2.c: Likewise.
26447 * elf/tst-unique1mod1.c: Likewise.
26448 * sysdeps/s390/s390-32/sysdep.h: Likewise.
26449 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
26450 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26451 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
26452 * sysdeps/mach/sysdep.h: Likewise.
26453 * sysdeps/i386/sysdep.h: Likewise.
26454 * sysdeps/i386/i386-mcount.S: Likewise.
26455 * sysdeps/x86_64/_mcount.S: Likewise.
26456 * sysdeps/x86_64/sysdep.h: Likewise.
26457 * sysdeps/sh/_mcount.S: Likewise.
26458 * sysdeps/sh/sysdep.h: Likewise.
26459 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
26460 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
26461 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
26462 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
26463 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
26464 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
26465 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
26466 * locale/localeinfo.h: Likewise.
26467 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
26468 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
26470 2012-07-09 Roland McGrath <roland@hack.frob.com>
26473 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
26475 * manual/message.texi (The Uniforum approach): Likewise.
26476 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
26477 (glibc iconv Implementation): Likewise.
26479 2012-07-09 Joseph Myers <joseph@codesourcery.com>
26482 * math/s_clog.c (__clog): Avoid scaling a value down where that
26483 could result in underflow.
26484 * math/s_clog10.c (__clog10): Likewise.
26485 * math/s_clog10f.c (__clog10f): Likewise.
26486 * math/s_clog10l.c (__clog10l): Likewise.
26487 * math/s_clogf.c (__clogf): Likewise.
26488 * math/s_clogl.c (__clogl): Likewise.
26489 * math/libm-test.inc (clog_test): Add more tests.
26490 (clog10_test): Likewise.
26491 * sysdeps/i386/fpu/libm-test-ulps: Update.
26492 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26494 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
26497 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
26498 by 7 not 8 to examine high bit of fractional part.
26501 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
26502 for call to __mcount_internal.
26503 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
26504 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
26505 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
26507 2012-07-06 Joseph Myers <joseph@codesourcery.com>
26510 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
26511 approximation for values within 0x1p-13f of an odd multiple of
26513 * math/libm-test.inc (tan_test): Do not allow spurious underflow
26514 exception. Add more tests.
26515 * sysdeps/i386/fpu/libm-test-ulps: Update.
26518 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
26519 inputs and return -1 for them. Do not check for +Inf in case not
26520 reachable for +Inf.
26521 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
26522 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
26523 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
26524 and return -1 for them. Do not check for +Inf in case not
26525 reachable for +Inf.
26526 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
26528 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
26529 and return -1 for them. Do not check for +Inf in case not
26530 reachable for +Inf.
26531 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
26532 spurious underflow.
26533 * sysdeps/i386/fpu/libm-test-ulps: Update.
26534 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26536 2012-07-06 Mike Frysinger <vapier@gentoo.org>
26538 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
26540 2012-07-05 Joseph Myers <joseph@codesourcery.com>
26544 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
26545 could result in spurious underflow. Scale down values above
26546 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
26547 * math/s_csqrtf.c (__csqrtf): Likewise.
26548 * math/s_csqrtl.c (__csqrtl): Likewise.
26549 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
26550 spurious underflow.
26551 * sysdeps/i386/fpu/libm-test-ulps: Update.
26552 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26554 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
26556 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
26558 * catgets/xopen-msg.awk: New file.
26559 * catgets/xopen-msg.sed: Removed.
26561 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
26563 * intl/po2test.awk: New file.
26564 * intl/po2test.sed: Removed.
26566 2012-07-04 Joseph Myers <joseph@codesourcery.com>
26569 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
26570 or multiply small sinh result by itself.
26571 * math/s_ctanf.c (__ctanf): Likewise.
26572 * math/s_ctanh.c (__ctanh): Likewise.
26573 * math/s_ctanhf.c (__ctanhf): Likewise.
26574 * math/s_ctanhl.c (__ctanhl): Likewise.
26575 * math/s_ctanl.c (__ctanl): Likewise.
26576 * math/libm-test.inc (ctan_test_tonearest): New function.
26577 (ctan_test_towardzero): Likewise.
26578 (ctan_test_downward): Likewise.
26579 (ctan_test_upward): Likewise.
26580 (ctanh_test_tonearest): Likewise.
26581 (ctanh_test_towardzero): Likewise.
26582 (ctanh_test_downward): Likewise.
26583 (ctanh_test_upward): Likewise.
26584 (main): Call these new functions.
26585 * sysdeps/i386/fpu/libm-test-ulps: Update.
26586 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26588 2012-07-03 Mike Frysinger <vapier@gentoo.org>
26590 * .gitignore: Delete /ports entry.
26592 2012-07-03 Andreas Jaeger <aj@suse.de>
26594 * po/bg.po: Update from translation team.
26595 * po/cs.po: Likewise.
26596 * po/de.po: Likewise.
26597 * po/hr.po: Likewise.
26598 * po/nl.pl: Likewise.
26599 * po/pl.po: Likewise.
26600 * po/vi.po: Likewise.
26602 2012-07-03 Joseph Myers <joseph@codesourcery.com>
26604 * Makeconfig [!+link] (+link-before-libc): New variable.
26605 [!+link] (+link-after-libc): Likewise.
26606 [!+link] (+link-tests): Likewise.
26607 [!+link] (+link): Define in terms of $(+link-before-libc) and
26608 $(+link-after-libc).
26609 [!+link-static] (+link-static-before-libc): New variable.
26610 [!+link-static] (+link-static-after-libc): Likewise.
26611 [!+link-static] (+link-static-tests): Likewise.
26612 [!+link-static] (+link-static): Define in terms of
26613 $(+link-static-before-libc) and $(+link-static-after-libc).
26614 [build-shared] (link-libc-before-gnulib): New variable.
26615 [build-shared] (link-libc-tests): Likewise.
26616 [build-shared] (link-libc): Define in terms of
26617 $(link-libc-before-gnulib).
26618 [!build-shared] (link-libc-tests): New variable.
26619 (link-libc-static-tests): New variable.
26620 [!gnulib] (gnulib-arch): New variable.
26621 [!gnulib] (gnulib-tests): Likewise.
26622 [!gnulib] (static-gnulib-arch): Likewise.
26623 [!gnulib] (static-gnulib-tests): Likewise.
26624 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
26625 Define with "=" instead of ":=".
26626 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
26627 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
26628 * Rules (binaries-all-notests): New variable.
26629 (binaries-all-tests): Likewise.
26630 (binaries-static-notests): Likewise.
26631 (binaries-static-tests): Likewise.
26632 (binaries-all): Define using $(binaries-all-notests) and
26633 $(binaries-all-tests).
26634 (binaries-static): Define using $(binaries-static-notests) and
26635 $(binaries-static-tests).
26636 (binaries-shared-tests): New variable.
26637 (binaries-shared-notests): Likewise.
26638 (binaries-shared): Remove variable.
26639 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
26640 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
26641 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
26642 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
26643 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
26644 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
26645 * elf/Makefile (sln-modules): New variable.
26646 (extra-objs): Add $(sln-modules:=.o).
26647 (ldconfig-modules): Add static-stubs.
26648 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
26649 * elf/static-stubs.c: New file.
26652 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
26653 by 7 not 8 to examine high bit of fractional part. Use volatile
26654 variables when splitting into final array of floats if
26655 __FLT_EVAL_METHOD__ != 0.
26656 * math/libm-test.inc (cos_test): Add another test.
26657 (sin_test): Likewise.
26658 * sysdeps/i386/fpu/libm-test-ulps: Update.
26661 * math/libm-test.inc (cosh_test): Add more tests.
26663 * version.h (RELEASE): Set to "development".
26664 (VERSION): Set to "2.16.90".
26666 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
26668 * NEWS: Update copyright. Remove last-updated date.
26669 Mention math library bug fixes and timezone data changes.
26670 * README: Mention GNU/Hurd, x32, and HPPA support status.
26672 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
26674 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
26676 2012-06-27 Andreas Jaeger <aj@suse.de>
26678 * manual/contrib.texi (Contributors): Add Samuel Thibault.
26680 2012-06-25 Andreas Jaeger <aj@suse.de>
26682 * sysdeps/s390/fpu/libm-test-ulps: Update.
26684 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
26685 Thomas Schwinge <thomas@codesourcery.com>
26687 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
26688 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
26689 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
26692 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
26694 * sysdeps/mach/start.c: Remove file.
26695 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
26696 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
26697 * sysdeps/sh/init-first.c: Likewise.
26699 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
26700 registers for frame unwinding purposes, add CFI directives.
26701 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
26702 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
26703 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
26706 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
26707 __fortify_fail returning.
26708 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
26710 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
26711 sysdeps/sh/____longjmp_chk.S.
26712 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
26713 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
26714 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
26715 (gen-as-const-headers): Append sigaltstack-offsets.sym.
26717 * sysdeps/sh/abort-instr.h: New file.
26718 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
26719 process in case exit returns.
26721 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
26722 initialize the GOT register before use.
26724 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
26725 calculation of ARGC > 4.
26727 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
26728 meaningful names to some local labels.
26730 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26731 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26733 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
26734 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
26735 (__arch_compare_and_exchange_val_16_acq): Likewise.
26736 (__arch_compare_and_exchange_val_32_acq): Likewise.
26737 (atomic_exchange_and_add): Fix gUSA sequence.
26738 (atomic_add): Likewise.
26739 (atomic_add_negative): Likewise.
26740 (atomic_add_zero): Likewise.
26741 (atomic_bit_test_set): Likewise.
26743 2012-06-22 Andreas Schwab <schwab@redhat.com>
26746 * include/link.h (struct link_map): Add l_free_initfini.
26747 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
26749 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
26750 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
26751 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
26754 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
26756 * configure.in: Use AC_LANG_SOURCE.
26757 * configure: Regenerate.
26759 2012-06-22 Roland McGrath <roland@hack.frob.com>
26761 * configure.in (libc_cv_localstatedir): New substituted variable.
26762 * configure: Regenerated.
26763 * config.make.in (localstatedir): New variable, substituted from
26764 libc_cv_localstatedir.
26765 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
26766 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
26767 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
26768 * sysdeps/gnu/configure: Regenerated.
26770 2012-06-21 Jeff Law <law@redhat.com>
26773 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
26774 free. Simplify list management for _LIBC case.
26776 2012-06-21 Joseph Myers <joseph@codesourcery.com>
26779 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
26780 Clear sign bit of 64-bit integer value before comparing against
26783 * sysdeps/mach/configure: Regenerated.
26785 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
26788 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
26790 2012-06-21 Jeff Law <law@redhat.com>
26793 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
26794 uint16_t for elements in the "seen" array to avoid char overflows.
26795 * elf/dl-fini.c (_dl_sort_fini): Likewise.
26796 * elf/dl-open.c (dl_open_worker): Likewise.
26798 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
26800 * scripts/list-sources.sh: Scan PORTS for translations.
26801 * po/libc.pot: Regenerated.
26803 2012-06-21 Andreas Jaeger <aj@suse.de>
26806 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
26808 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
26809 * bits/byteswap-16.h (__bswap_16): Likewise.
26810 * bits/byteswap.h (__bswap_constant_16): Likewise.
26812 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
26815 * sysdeps/i386/fpu_control.h: Removed.
26816 * sysdeps/x86_64/fpu_control.h: Moved to ...
26817 * sysdeps/x86/fpu_control.h: Here.
26819 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
26820 (_FPU_SETCW): Likewise.
26822 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
26825 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
26826 * sysdeps/x86/fpu/bits/mathinline.h: This.
26827 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
26831 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
26832 functions if __x86_64__ is defined.
26834 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
26836 * string/endian.h: Add !__ASSEMBLER__ condition for including
26837 conversion interfaces.
26839 2012-06-15 Joseph Myers <joseph@codesourcery.com>
26842 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
26843 of ABS(x) in calculating zero to negative powers other than odd
26845 * math/libm-test.inc (pow_test): Add more tests.
26847 2012-06-15 Andreas Jaeger <aj@suse.de>
26849 * manual/contrib.texi (Contributors): Update entry of Liubov
26850 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
26853 2012-06-15 Cyril Hrubis <metan@ucw.cz>
26855 * string/string.h: Add __wur to GNU version of strerror_r.
26857 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
26860 * string/Makefile (tests): Add tst-strtok_r.
26861 * string/tst-strtok_r.c: New file.
26862 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
26863 RAX_LP/RDX_LP on SAVE_PTR.
26865 2012-06-14 Roland McGrath <roland@hack.frob.com>
26867 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
26869 2012-06-14 Joseph Myers <joseph@codesourcery.com>
26871 * libm_test.inc (csqrt_test): Allow more spurious underflow
26873 (j0_test): Likewise.
26874 (j1_test): Likewise.
26875 (y0_test): Likewise.
26876 (y1_test): Likewise.
26878 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
26880 * po/Makefile (libc.pot): Use UTF-8 charset.
26882 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
26885 Suppress sign-conversion warning from FD_SET.
26886 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
26887 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
26888 not unsigned long int.
26889 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
26891 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
26895 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
26896 __extern_always_inline instead of __extern_inline.
26897 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
26898 (__signbit): Likewise.
26899 (__signbitl): Support C++ namespace.
26900 (lrintf): New inline function.
26902 (llrintf): Likewise.
26903 (llrint): Likewise.
26913 (floorf): Likewise.
26914 (nearbyint): Likewise.
26915 (nearbyintf): Likewise.
26917 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
26919 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
26920 non-default versions.
26922 2012-06-11 Roland McGrath <roland@hack.frob.com>
26925 * manual/argp.texi (Argp): Reword argp_parse description slightly.
26927 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
26929 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
26930 (FE_UPWARD, FE_DOWNWARD): Don't define.
26931 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
26932 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
26934 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
26936 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
26937 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
26939 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26941 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
26942 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
26943 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
26944 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
26946 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
26949 * sysdeps/i386/fpu/bits/fenv.h: Removed.
26950 * sysdeps/i386/fpu/Implies: New file.
26951 * sysdeps/x86_64/fpu/Implies: Likewise.
26952 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
26953 * sysdeps/x86/fpu/bits/fenv.h: This.
26955 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
26958 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
26961 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
26962 character 0xffff that matches the last element of the
26965 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26967 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
26970 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26972 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
26973 values higher than 25.6283.
26975 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26977 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
26978 subnormal exponent extraction and add some __builtin_expect.
26979 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
26980 Fix for subnormal mantissa calculation.
26982 2012-06-04 Mike Frysinger <vapier@gentoo.org>
26984 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
26985 cpu2 is -1 and errno is not ENOSYS.
26987 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
26990 * sysdeps/i386/i486/bits/string.h: Renamed to ...
26991 * sysdeps/x86/bits/string.h: This.
26992 * sysdeps/x86_64/bits/string.h: Removed.
26994 * sysdeps/i386/i486/bits/string.h: Define inline functions only
26995 if not compiling for x86-64, but compiling for >= i486.
26997 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
26998 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
27000 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
27001 New macro from Linux kernel 3.4.0.
27002 (FP_XSTATE_MAGIC2): Likewise.
27003 (FP_XSTATE_MAGIC2_SIZE): Likewise.
27004 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
27005 (struct _fpx_sw_bytes): New struct.
27006 (struct _xsave_hdr): Likewise.
27007 (struct _ymmh_state): Likewise.
27008 (struct _xstate): Likewise.
27010 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
27011 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
27012 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
27013 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
27014 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
27015 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
27017 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
27018 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
27019 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
27020 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
27021 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
27022 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
27024 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27027 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
27028 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
27029 (sysdep_headers): Include sys/platform/ppc.h.
27030 * sysdeps/powerpc/test-gettimebase.c: Test for
27031 __ppc_get_timebase() to catch future ISA opcode/insn changes.
27032 * manual/Makefile (appendices): Include platform.texi.
27033 * manual/contrib.texi (Contributors): Update @node pointers.
27034 * manual/maint.texi (Maintenance): Likewise.
27035 (Platform): New node.
27036 * manual/platform.texi: New file. Document the new features.
27038 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
27039 Jakub Jelinek <jakub@redhat.com>
27042 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
27043 where __builtin_expect is unavailable.
27045 2012-06-03 David S. Miller <davem@davemloft.net>
27047 * stdlib/longlong.h: Updated from GCC.
27049 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
27052 * sysdeps/powerpc/powerpc32/mcount.c: New file.
27053 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
27055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
27056 (GLIBC_2.16): Likewise.
27058 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
27060 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
27062 2012-06-01 Joseph Myers <joseph@codesourcery.com>
27064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
27065 (default-abi): New variable.
27066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
27067 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
27069 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
27071 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
27073 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
27076 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
27077 definition. Document in comment.
27079 2012-06-01 David S. Miller <davem@davemloft.net>
27081 * stdlib/longlong.h: Updated from GCC.
27083 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
27086 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
27087 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
27088 sys/debugreg.h sys/io.h here.
27089 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
27090 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
27092 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
27093 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
27094 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
27095 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
27096 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
27097 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
27099 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
27100 Define only if __x86_64__ is defined.
27102 2012-06-01 Joseph Myers <joseph@codesourcery.com>
27105 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
27106 Use int64_t for variable i.
27107 * math/libm-test.inc (fmod_test): Add more tests.
27109 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
27110 z computation is not scheduled after fetestexcept.
27111 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
27112 Use math_force_eval instead of asm to ensure calculation scheduled
27113 before exception test.
27114 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
27115 Ensure a1 + u.d computation is not scheduled after fetestexcept.
27117 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
27119 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
27120 computation is not scheduled after fetestexcept.
27122 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
27125 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
27126 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
27128 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27130 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
27131 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
27133 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
27136 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
27138 (__WCHAR_MIN): Support __WORDSIZE == 64.
27139 (__WCHAR_MAX): Likewise.
27141 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
27142 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
27145 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
27146 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
27149 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
27150 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
27152 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
27153 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
27155 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
27156 Defined to 1 if __x86_64__ isn't defined.
27157 (_STAT_VER_LINUX_OLD): New.
27158 (st_atime): Remove duplicate.
27159 (st_mtime): Likewise.
27160 (st_ctime): Likewise.
27162 2012-05-31 David S. Miller <davem@davemloft.net>
27164 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
27167 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
27169 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
27173 * elf/dl-reloc.c: Include <_itoa.h>.
27174 (_dl_reloc_bad_type): Remove use of INTUSE.
27175 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
27176 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
27177 * stdio-common/psiginfo.c (psiginfo): Likewise.
27178 * stdio-common/psignal.c (psignal): Likewise.
27179 * string/strsignal.c (strsignal): Likewise.
27180 * include/signal.h (_sys_siglist): Declare hidden proto.
27181 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
27182 INTVARDEF with libc_hidden_data_def.
27183 * stdio-common/itoa-udigits.c: Likewise.
27184 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
27185 (_itoa_lower_digits_internal): Remove declaration.
27186 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
27187 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
27188 (_sys_sigabbrev_internal): Remove aliases.
27189 (_sys_siglist): Define hidden alias.
27191 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
27193 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27196 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
27199 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
27200 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
27202 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
27203 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
27204 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
27205 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
27206 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
27207 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
27209 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
27210 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
27211 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
27213 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
27221 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
27222 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
27223 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
27225 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
27226 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
27227 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
27228 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
27229 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
27230 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
27232 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
27233 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
27235 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
27236 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
27238 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
27239 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
27240 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
27242 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
27243 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
27245 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
27247 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
27248 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
27249 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
27251 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
27253 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
27255 2012-05-31 Joseph Myers <joseph@codesourcery.com>
27257 * math/math.h (M_El): Use two more decimal places.
27258 (M_LOG2El): Likewise.
27259 (M_LOG10El): Likewise.
27260 (M_LN2l): Likewise.
27261 (M_LN10l): Likewise.
27263 (M_PI_2l): Likewise.
27264 (M_PI_4l): Likewise.
27265 (M_1_PIl): Likewise.
27266 (M_2_PIl): Likewise.
27267 (M_2_SQRTPIl): Likewise.
27268 (M_SQRT2l): Likewise.
27269 (M_SQRT1_2l): Likewise.
27271 2012-05-31 David S. Miller <davem@davemloft.net>
27273 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
27274 values between float registers.
27275 * sysdeps/sparc/sparc64/memset.S: Likewise.
27276 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
27278 2012-05-31 Mike Frysinger <vapier@gentoo.org>
27280 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
27281 -D_FORTIFY_SOURCE=1.
27282 (CPPFLAGS-tst-longjmp_chk.c): Define.
27283 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
27284 (CPPFLAGS-tst-longjmp_chk2.c): Define.
27285 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
27286 CFLAGS-tst-wchar-h.c.
27288 2012-05-31 Marek Polacek <polacek@redhat.com>
27291 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
27292 __endmntent_internal): Remove declaration.
27293 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
27294 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
27295 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
27297 2012-05-30 David S. Miller <davem@davemloft.net>
27299 * sysdeps/sparc/sparc32/soft-fp/q_util.c
27300 (___Q_simulate_exceptions): Use real FP ops rather than writing
27302 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
27305 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27308 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
27309 * sysdeps/x86/bits/xtitypes.h: This.
27311 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
27312 * sysdeps/x86/bits/wordsize.h: This.
27314 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
27315 * sysdeps/x86/bits/huge_vall.h: This.
27317 * sysdeps/i386/bits/select.h: Removed.
27318 * sysdeps/x86_64/bits/select.h: Renamed to ...
27319 * sysdeps/x86/bits/select.h: This.
27321 * sysdeps/i386/bits/setjmp.h: Removed.
27322 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
27323 * sysdeps/x86/bits/setjmp.h: This.
27325 * sysdeps/i386/bits/mathdef.h: Removed.
27326 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
27327 * sysdeps/x86/bits/mathdef.h: This.
27329 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
27332 * include/sys/socket.h (__connect_internal)
27333 (__libc_sa_len_internal): Remove declaration.
27334 (__connect, __libc_sa_len): Declare hidden_proto.
27335 (SA_LEN): Remove use of INTUSE.
27336 * socket/connect.c: Add libc_hidden_def.
27337 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
27338 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
27339 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
27341 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
27342 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
27343 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
27344 of adding _internal alias.
27346 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27349 * sysdeps/i386/bits/link.h: Removed.
27350 * sysdeps/i386/bits/linkmap.h: Likewise.
27351 * sysdeps/x86_64/bits/link.h: Renamed to ...
27352 * sysdeps/x86/bits/link.h: This.
27353 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
27354 * sysdeps/x86/bits/linkmap.h: This.
27356 * sysdeps/i386/bits/endian.h: Removed.
27357 * sysdeps/x86_64/bits/endian.h: Renamed to ...
27358 * sysdeps/x86/bits/endian.h: This.
27360 * sysdeps/i386/bits/byteswap.h: Removed.
27361 * sysdeps/i386/bits/byteswap-16.h: Likewise.
27362 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
27363 * sysdeps/x86/bits/byteswap.h: This.
27364 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
27365 * sysdeps/x86/bits/byteswap-16.h: This.
27366 * sysdeps/i386/Implies: Add x86.
27367 * sysdeps/x86_64/Implies: Likewise.
27369 2012-05-30 David S. Miller <davem@davemloft.net>
27371 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
27372 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
27373 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
27374 (FP_TRAPPING_EXCEPTIONS): Define.
27375 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
27376 (FP_TRAPPING_EXCEPTIONS): Define.
27377 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
27378 subnormals only when inexact has been signalled or underflow
27379 exceptions are enabled.
27380 (_FP_PACK_CANONICAL): Likewise.
27382 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27385 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
27386 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
27388 2012-05-30 Richard Henderson <rth@twiddle.net>
27390 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
27391 with #ifndef NOT_IN_libc.
27393 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
27394 marked to avoid plt entry.
27396 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27399 * Makeconfig (default-abi): New macro.
27400 (abi-includes): Likewise.
27401 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
27402 $(abi-$(default-abi)-lib-soname) for soname if defined.
27403 ($(common-objpfx)gnu/lib-names.stmp): Generate from
27405 * Makefile (installed-stubs): Likewise.
27406 * include/stubs-biarch.h: Removed.
27407 * scripts/lib-names.awk: Only handle one library at a time.
27408 * scripts/soversions.awk: Remove WORDSIZE support.
27409 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
27411 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
27413 (syscall-list-default-condition): Likewise.
27414 (syscall-list-default-condition): Likewise.
27415 (syscall-list-includes): Likewise.
27416 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
27417 syscall-list-* with abi-*. Handle undefined abi-variants.
27418 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
27419 * sysdeps/unix/sysv/linux/i386/Implies: New file.
27420 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
27421 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
27422 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
27423 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
27425 (syscall-list-32-options): Likewise.
27426 (syscall-list-32-condition): Likewise.
27427 (syscall-list-64-options): Likewise.
27428 (syscall-list-64-condition): Likewise.
27429 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
27431 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
27434 (abi-64-ld-soname): New macro.
27435 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
27436 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
27439 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
27440 * sysdeps/x86_64/x32/shlib-versions: Likewise.
27442 2012-05-30 Joseph Myers <joseph@codesourcery.com>
27444 * sysdeps/unix/sysv/linux/kernel-features.h
27445 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
27446 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
27447 include <kernel-features.h>.
27448 [!__NR_ftruncate64]: Remove conditional code.
27449 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27450 [__NR_ftruncate64]: Make code unconditional.
27451 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27452 * sysdeps/unix/sysv/linux/truncate64.c: Do not
27453 include <kernel-features.h>.
27454 [!__NR_ftruncate64]: Remove conditional code.
27455 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27456 [__NR_ftruncate64]: Make code unconditional.
27457 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27458 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
27459 include <kernel-features.h>.
27460 [!__NR_ftruncate64]: Remove conditional code.
27461 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27462 [__NR_ftruncate64]: Make code unconditional.
27463 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
27465 include <kernel-features.h>.
27466 [!__NR_ftruncate64]: Remove conditional code.
27467 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27468 [__NR_ftruncate64]: Make code unconditional.
27469 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27471 * configure.in (libc_cv_fpie): Weaken to a compile test using
27472 LIBC_TRY_CC_OPTION.
27473 * configure: Regenerated.
27475 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27477 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
27478 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
27479 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
27480 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
27482 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
27483 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
27484 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
27485 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
27486 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
27487 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
27490 2012-05-27 David S. Miller <davem@davemloft.net>
27492 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
27494 (__Q_simulate_exceptions): Return void. Change to simulate
27495 exceptions by writing into the %fsr.
27496 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
27497 (__Qp_handle_exceptions): Likewise.
27499 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
27500 __Qp_handle_exceptions.
27501 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
27502 __Qp_handle_exceptions.
27503 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
27504 as unused and give dummy FP_RND_NEAREST initializer.
27505 (FP_INHIBIT_RESULTS): Define.
27506 (___Q_simulate_exceptions): Update declaration.
27507 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
27509 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
27510 as unused and give dummy FP_RND_NEAREST initializer.
27511 (__Qp_handle_exceptions): Update declaration.
27512 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
27515 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
27517 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
27518 the temporary FPU control word.
27519 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
27520 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
27521 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
27522 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
27523 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
27524 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
27525 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
27526 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
27527 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
27528 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
27529 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
27531 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27533 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
27536 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
27538 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
27539 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
27540 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
27541 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
27543 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
27544 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
27547 2012-05-27 Ulrich Drepper <drepper@gmail.com>
27549 * po/h.po: Update from translation team.
27551 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
27553 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
27555 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
27556 handling of denormals.
27557 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
27558 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
27559 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
27560 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
27561 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
27562 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
27563 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
27566 2012-05-26 Marek Polacek <polacek@redhat.com>
27569 * math/libm-test.inc (fma_test): Don't always expect underflow
27572 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
27575 * elf/tst-execstack.c: Include stackinfo.h.
27576 (do_test): Adjust test case to ensure that pthread_getattr_np
27577 behaviour remains the same after marking stack executable.
27579 2012-05-25 Joseph Myers <joseph@codesourcery.com>
27581 * sysdeps/unix/sysv/linux/kernel-features.h
27582 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
27583 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
27585 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
27586 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
27587 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
27589 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
27590 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
27592 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
27594 * configure.in: Define the default includes to being none.
27595 * configure: Regenerated.
27597 2012-05-25 Roland McGrath <roland@hack.frob.com>
27599 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
27600 * sysdeps/x86_64/setjmp.S: Likewise.
27601 * sysdeps/i386/bsd-setjmp.S: Likewise.
27602 * sysdeps/i386/bsd-_setjmp.S: Likewise.
27603 * sysdeps/i386/setjmp.S: Likewise.
27604 * sysdeps/i386/__longjmp.S: Likewise.
27605 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
27606 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
27608 * include/stap-probe.h: New file.
27609 * configure.in: Handle --enable-systemtap.
27610 * configure: Regenerated.
27611 * config.h.in (USE_STAP_PROBE): New #undef.
27612 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
27613 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
27614 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
27616 2012-05-25 Joseph Myers <joseph@codesourcery.com>
27619 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
27620 to 2.4.0 where earlier.
27621 * sysdeps/unix/sysv/linux/configure: Regenerated.
27622 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
27623 <kernel-features.h>.
27624 [__ASSUME_32BITUIDS]: Make code unconditional.
27625 [!__ASSUME_32BITUIDS]: Remove conditional code.
27626 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
27627 <kernel-features.h>.
27628 [__ASSUME_32BITUIDS]: Make code unconditional.
27629 [!__ASSUME_32BITUIDS]: Remove conditional code.
27630 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
27631 [__ASSUME_32BITUIDS]: Make code unconditional.
27632 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
27633 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
27634 <kernel-features.h>.
27635 [__ASSUME_32BITUIDS]: Make code unconditional.
27636 [!__ASSUME_32BITUIDS]: Remove conditional code.
27637 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
27638 <kernel-features.h>.
27639 [__ASSUME_32BITUIDS]: Make code unconditional.
27640 [!__ASSUME_32BITUIDS]: Remove conditional code.
27641 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
27642 <kernel-features.h>.
27643 [__ASSUME_32BITUIDS]: Make code unconditional.
27644 [!__ASSUME_32BITUIDS]: Remove conditional code.
27645 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
27646 <kernel-features.h>.
27647 [__ASSUME_32BITUIDS]: Make code unconditional.
27648 [!__ASSUME_32BITUIDS]: Remove conditional code.
27649 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
27650 <kernel-features.h>.
27651 [__ASSUME_32BITUIDS]: Make code unconditional.
27652 [!__ASSUME_32BITUIDS]: Remove conditional code.
27653 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
27654 <kernel-features.h>.
27655 [__ASSUME_32BITUIDS]: Make code unconditional.
27656 [!__ASSUME_32BITUIDS]: Remove conditional code.
27657 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
27658 <kernel-features.h>.
27659 [__ASSUME_32BITUIDS]: Make code unconditional.
27660 [!__ASSUME_32BITUIDS]: Remove conditional code.
27661 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
27662 <kernel-features.h>.
27663 [__ASSUME_32BITUIDS]: Make code unconditional.
27664 [!__ASSUME_32BITUIDS]: Remove conditional code.
27665 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
27666 <kernel-features.h>.
27667 [__ASSUME_32BITUIDS]: Make code unconditional.
27668 [!__ASSUME_32BITUIDS]: Remove conditional code.
27669 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
27670 <kernel-features.h>.
27671 [__ASSUME_32BITUIDS]: Make code unconditional.
27672 [!__ASSUME_32BITUIDS]: Remove conditional code.
27673 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
27674 <kernel-features.h>.
27675 [__NR_setresgid] (__setresgid): Do not declare.
27676 [__ASSUME_32BITUIDS]: Make code unconditional.
27677 [!__ASSUME_32BITUIDS]: Remove conditional code.
27678 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
27679 <kernel-features.h>.
27680 [__NR_setresuid] (__setresuid): Do not declare.
27681 [__ASSUME_32BITUIDS]: Make code unconditional.
27682 [!__ASSUME_32BITUIDS]: Remove conditional code.
27683 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
27684 <kernel-features.h>.
27685 [__ASSUME_32BITUIDS]: Make code unconditional.
27686 [!__ASSUME_32BITUIDS]: Remove conditional code.
27687 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
27688 <kernel-features.h>.
27689 [__ASSUME_32BITUIDS]: Make code unconditional.
27690 [!__ASSUME_32BITUIDS]: Remove conditional code.
27691 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
27692 <kernel-features.h>.
27693 [__ASSUME_32BITUIDS]: Make code unconditional.
27694 [!__ASSUME_32BITUIDS]: Remove conditional code.
27695 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
27696 <kernel-features.h>.
27697 [__ASSUME_32BITUIDS]: Make code unconditional.
27698 [!__ASSUME_32BITUIDS]: Remove conditional code.
27699 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
27700 <kernel-features.h>.
27701 [__ASSUME_32BITUIDS]: Make code unconditional.
27702 [!__ASSUME_32BITUIDS]: Remove conditional code.
27703 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
27704 <kernel-features.h>.
27705 [__ASSUME_32BITUIDS]: Make code unconditional.
27706 [!__ASSUME_32BITUIDS]: Remove conditional code.
27707 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
27708 <kernel-features.h>.
27709 [__ASSUME_32BITUIDS]: Make code unconditional.
27710 [!__ASSUME_32BITUIDS]: Remove conditional code.
27711 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
27712 <kernel-features.h>.
27713 [__ASSUME_32BITUIDS]: Make code unconditional.
27714 [!__ASSUME_32BITUIDS]: Remove conditional code.
27715 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
27716 <kernel-features.h>.
27717 [__ASSUME_32BITUIDS]: Make code unconditional.
27718 [!__ASSUME_32BITUIDS]: Remove conditional code.
27719 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
27720 <kernel-features.h>.
27721 [__ASSUME_32BITUIDS]: Make code unconditional.
27722 [!__ASSUME_32BITUIDS]: Remove conditional code.
27723 * sysdeps/unix/sysv/linux/kernel-features.h
27724 (__ASSUME_SETRESUID_SYSCALL): Remove.
27725 (__ASSUME_SETRESGID_SYSCALL): Likewise.
27726 (__ASSUME_32BITUIDS): Likewise.
27727 (__ASSUME_LDT_WORKS): Likewise.
27728 (__ASSUME_O_DIRECTORY): Likewise.
27729 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
27730 architecture but not kernel version.
27731 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
27732 (__ASSUME_MMAP2_SYSCALL): Likewise.
27733 (__ASSUME_STAT64_SYSCALL): Likewise.
27734 (__ASSUME_IPC64): Likewise.
27735 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
27736 <kernel-features.h>.
27737 [__ASSUME_32BITUIDS]: Make code unconditional.
27738 [!__ASSUME_32BITUIDS]: Remove conditional code.
27739 * sysdeps/unix/sysv/linux/opendir.c: Do not include
27740 <kernel-features.h>.
27741 [__ASSUME_O_DIRECTORY]: Make code unconditional.
27742 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
27743 132096]: Remove conditional code.
27744 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
27745 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
27746 <kernel-features.h>.
27747 [__ASSUME_32BITUIDS]: Make code unconditional.
27748 [!__ASSUME_32BITUIDS]: Remove conditional code.
27749 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
27750 <kernel-features.h>.
27751 [__ASSUME_32BITUIDS]: Make code unconditional.
27752 [!__ASSUME_32BITUIDS]: Remove conditional code.
27753 * sysdeps/unix/sysv/linux/setegid.c: Do not include
27754 <kernel-features.h>.
27755 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
27757 (__setresgid): Do not declare.
27758 [__ASSUME_32BITUIDS]: Make code unconditional.
27759 [!__ASSUME_32BITUIDS]: Remove conditional code.
27760 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
27761 <kernel-features.h>.
27762 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
27764 (__setresuid): Do not declare.
27765 [__ASSUME_32BITUIDS]: Make code unconditional.
27766 [!__ASSUME_32BITUIDS]: Remove conditional code.
27767 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
27768 <kernel-features.h>.
27769 [__ASSUME_32BITUIDS]: Make code unconditional.
27770 [!__ASSUME_32BITUIDS]: Remove conditional code.
27771 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
27772 <kernel-features.h>.
27773 [__ASSUME_32BITUIDS]: Make code unconditional.
27774 [!__ASSUME_32BITUIDS]: Remove conditional code.
27776 2012-05-25 Richard Henderson <rth@twiddle.net>
27778 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
27779 dl_hwcap to ifunc resolver.
27780 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
27782 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
27783 dl_hwcap to ifunc resolver.
27784 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
27786 2012-05-24 Joseph Myers <joseph@codesourcery.com>
27789 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
27790 for |x| <= 2**-26, not 2**-57.
27791 * math/libm-test.inc (acos_test): Do not allow spurious underflow
27794 2012-05-24 Jeff Law <law@redhat.com>
27796 * stdio-common/Makefile (tests): Add bug25.
27797 * stdio-common/bug25.c: New test.
27799 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
27802 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
27803 multiple of MALLOC_ALIGNMENT in size.
27804 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
27806 2012-05-24 Joseph Myers <joseph@codesourcery.com>
27808 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
27810 (FILENAME_MAX): Use macro-int-constant.
27811 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
27812 (_IOFBF): Use macro-int-constant.
27813 (_IOLBF): Likewise.
27814 (_IONBF): Likewise.
27815 (SEEK_CUR): Likewise.
27816 (SEEK_END): Likewise.
27817 (SEEK_SET): Likewise.
27818 (TMP_MAX): Likewise.
27819 (EOF): Use macro-int-constant. Require < 0.
27820 (NULL): Use macro-constant. Require == 0.
27821 (stdin): Require type to be FILE *.
27822 (stdout): Likewise.
27823 (stderr): Likewise.
27824 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
27825 macro-int-constant.
27826 (EXIT_SUCCESS): Likewise.
27827 (NULL): Use macro-constant. Require == 0.
27828 (RAND_MAX): Use macro-int-constant.
27829 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
27830 [C99-based standards] (strtof): Require function.
27831 [C99-based standards] (strtold): Likewise.
27832 [C99-based standards] (strtoll): Likewise.
27833 [C99-based standards] (strtoull): Likewise.
27834 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
27835 [ISO || ISO99 || ISO11] (limits.h): Likewise.
27836 [ISO || ISO99 || ISO11] (math.h): Likewise.
27837 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
27838 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
27839 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27841 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
27844 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
27845 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
27846 * intl/dgettext.c (DCGETTEXT): Likewise.
27847 * intl/gettext.c (DCGETTEXT): Likewise.
27848 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
27849 * posix/regex_internal.h (gettext): Likewise.
27850 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
27851 Remove declaration.
27852 * include/argz.h (__argz_count_internal)
27853 (__argz_stringify_internal): Remove declaration.
27854 (__argz_count, __argz_stringify): Declare hidden proto.
27855 * intl/dcgettext.c: Remove use of INTDEF.
27856 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
27857 * string/argz-stringify.c: Likewise.
27858 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
27859 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
27860 Declare hidden proto.
27861 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
27862 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
27863 Declare hidden proto.
27864 * include/stdio.h (__asprintf_internal): Don't declare.
27865 (__asprintf): Don't define as macro. Declare hidden proto.
27866 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
27867 (__fsetlocking): Declare hidden proto.
27868 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
27869 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
27871 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
27872 (_IO_setlinebuf): Remove use of INTUSE.
27873 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
27874 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
27875 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
27876 Remove declaration.
27877 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
27878 (_IO_do_flush): Remove use of INTUSE.
27879 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
27880 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
27881 (_IO_adjust_column, _IO_least_wmarker)
27882 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
27883 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
27884 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
27885 (_IO_default_doallocate, _IO_wdefault_doallocate)
27886 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
27887 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
27888 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
27889 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
27890 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
27891 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
27892 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
27893 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
27894 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
27895 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
27896 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
27897 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
27898 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
27900 (_IO_flush_all_internal, _IO_adjust_column_internal)
27901 (_IO_default_uflow_internal, _IO_default_finish_internal)
27902 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
27903 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
27904 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
27905 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
27906 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
27907 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
27908 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
27909 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
27910 (_IO_file_close_internal, _IO_file_close_it_internal)
27911 (_IO_file_underflow_internal, _IO_file_overflow_internal)
27912 (_IO_file_init_internal, _IO_file_attach_internal)
27913 (_IO_file_fopen_internal, _IO_file_read_internal)
27914 (_IO_file_sync_internal, _IO_file_seek_internal)
27915 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
27916 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
27917 (_IO_str_underflow_internal, _IO_str_overflow_internal)
27918 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
27919 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
27920 (_IO_list_all_internal, _IO_link_in_internal)
27921 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
27922 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
27923 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
27924 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
27925 (_IO_do_write_internal, _IO_padn_internal)
27926 (_IO_getline_info_internal, _IO_getline_internal)
27927 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
27928 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
27929 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
27930 (_IO_vfscanf_internal, _IO_vfprintf_internal)
27931 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
27932 (_IO_init_internal, _IO_un_link_internal): Don't declare.
27933 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
27934 with libc_hidden_ver, remove use of INTUSE.
27935 * libio/genops.c: Likewise.
27936 * libio/freopen.c: Likewise.
27937 * libio/freopen64.c: Likewise.
27938 * libio/iofclose.c: Likewise.
27939 * libio/iofdopen.c: Likewise.
27940 * libio/iofflush.c: Likewise.
27941 * libio/iofflush_u.c: Likewise.
27942 * libio/iofgets.c: Likewise.
27943 * libio/iofgets_u.c: Likewise.
27944 * libio/iofopen.c: Likewise.
27945 * libio/iofopncook.c: Likewise.
27946 * libio/iofread.c: Likewise.
27947 * libio/iofread_u.c: Likewise.
27948 * libio/ioftell.c: Likewise.
27949 * libio/iofwrite.c: Likewise.
27950 * libio/iogetline.c: Likewise.
27951 * libio/iogets.c: Likewise.
27952 * libio/iogetwline.c: Likewise.
27953 * libio/iopadn.c: Likewise.
27954 * libio/iopopen.c: Likewise.
27955 * libio/ioseekoff.c: Likewise.
27956 * libio/ioseekpos.c: Likewise.
27957 * libio/iosetbuffer.c: Likewise.
27958 * libio/iosetvbuf.c: Likewise.
27959 * libio/ioungetc.c: Likewise.
27960 * libio/ioungetwc.c: Likewise.
27961 * libio/iovdprintf.c: Likewise.
27962 * libio/iovsprintf.c: Likewise.
27963 * libio/iovsscanf.c: Likewise.
27964 * libio/memstream.c: Likewise.
27965 * libio/obprintf.c: Likewise.
27966 * libio/oldfileops.c: Likewise.
27967 * libio/oldiofclose.c: Likewise.
27968 * libio/oldiofdopen.c: Likewise.
27969 * libio/oldiofopen.c: Likewise.
27970 * libio/oldiopopen.c: Likewise.
27971 * libio/oldstdfiles.c: Likewise.
27972 * libio/putc.c: Likewise.
27973 * libio/setbuf.c: Likewise.
27974 * libio/setlinebuf.c: Likewise.
27975 * libio/stdfiles.c: Likewise.
27976 * libio/strops.c: Likewise.
27977 * libio/vasprintf.c: Likewise.
27978 * libio/vscanf.c: Likewise.
27979 * libio/vsnprintf.c: Likewise.
27980 * libio/vswprintf.c: Likewise.
27981 * libio/wfiledoalloc.c: Likewise.
27982 * libio/wfileops.c: Likewise.
27983 * libio/wgenops.c: Likewise.
27984 * libio/wmemstream.c: Likewise.
27985 * libio/wstrops.c: Likewise.
27986 * libio/__fpurge.c: Likewise.
27987 * libio/__fsetlocking.c: Likewise.
27988 * assert/assert.c: Likewise.
27989 * debug/fgets_chk.c: Likewise.
27990 * debug/fgets_u_chk.c: Likewise.
27991 * debug/fread_chk.c: Likewise.
27992 * debug/fread_u_chk.c: Likewise.
27993 * debug/gets_chk.c: Likewise.
27994 * debug/obprintf_chk.c: Likewise.
27995 * debug/vasprintf_chk.c: Likewise.
27996 * debug/vdprintf_chk.c: Likewise.
27997 * debug/vsnprintf_chk.c: Likewise.
27998 * debug/vsprintf_chk.c: Likewise.
27999 * malloc/mtrace.c: Likewise.
28000 * misc/error.c: Likewise.
28001 * misc/syslog.c: Likewise.
28002 * stdio-common/asprintf.c: Likewise.
28003 * stdio-common/fxprintf.c: Likewise.
28004 * stdio-common/getw.c: Likewise.
28005 * stdio-common/isoc99_fscanf.c: Likewise.
28006 * stdio-common/isoc99_scanf.c: Likewise.
28007 * stdio-common/isoc99_vfscanf.c: Likewise.
28008 * stdio-common/isoc99_vscanf.c: Likewise.
28009 * stdio-common/isoc99_vsscanf.c: Likewise.
28010 * stdio-common/printf-prs.c: Likewise.
28011 * stdio-common/printf_fp.c: Likewise.
28012 * stdio-common/printf_fphex.c: Likewise.
28013 * stdio-common/printf_size.c: Likewise.
28014 * stdio-common/putw.c: Likewise.
28015 * stdio-common/scanf.c: Likewise.
28016 * stdio-common/sprintf.c: Likewise.
28017 * stdio-common/tmpfile.c: Likewise.
28018 * stdio-common/vfprintf.c: Likewise.
28019 * stdio-common/vfscanf.c: Likewise.
28020 * stdlib/strfmon_l.c: Likewise.
28021 * sunrpc/openchild.c: Likewise.
28022 * sunrpc/xdr_stdio.c: Likewise.
28023 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
28024 * sysdeps/mach/hurd/tmpfile.c: Likewise.
28026 2012-05-24 Roland McGrath <roland@hack.frob.com>
28028 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
28030 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
28031 in the third column, to generate for the shared library an IFUNC
28032 that uses _dl_vdso_vsym.
28033 * Makerules (COMPILE.c, compile-stdin.c): New variables.
28034 * Makeconfig (object-suffixes-noshared): New variable.
28036 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
28037 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
28038 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
28039 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
28042 * include/sys/time.h (__gettimeofday): Remove macro.
28043 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
28044 * time/gettimeofday.c (__gettimeofday): Remove #undef.
28046 (__gettimeofday): Add libc_hidden_def.
28047 (gettimeofday): Add libc_hidden_weak.
28048 * sysdeps/mach/gettimeofday.c: Likewise.
28049 * sysdeps/posix/gettimeofday.c: Likewise.
28050 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
28051 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
28052 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
28053 (__gettimeofday_internal): Remove strong_alias.
28054 (__gettimeofday): Add libc_hidden_def.
28055 (gettimeofday): Add libc_hidden_weak.
28056 * sysdeps/unix/syscalls.list (gettimeofday):
28057 Remove __gettimeofday_internal alias.
28059 2012-05-24 Daniel Jacobowitz <drow@false.org>
28060 H.J. Lu <hongjiu.lu@intel.com>
28063 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
28064 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
28065 (largebin_index_32_big): New.
28066 (largebin_index): Use it for 16-byte alignment.
28067 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
28068 correction with front_misalign.
28070 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
28072 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
28073 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
28075 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
28077 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
28079 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
28081 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
28083 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
28085 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
28087 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
28089 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
28091 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
28093 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
28095 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
28098 * scripts/data/c++-types-x32-linux-gnu.data: New file.
28099 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
28101 2012-05-24 Joseph Myers <joseph@codesourcery.com>
28105 * math/libm-test.inc (exp_test): Add test from bug 14036.
28106 (pow_test): Add test from bug 10846.
28108 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
28110 (special_function): Do not include flags in test name.
28111 (parse_args): Likewise.
28112 * sysdeps/i386/fpu/libm-test-ulps: Update.
28113 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28114 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
28115 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
28116 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28118 * math/gen-libm-test.pl (%beautify): Add entries for underflow
28120 * math/libm-test.inc ("Philosophy"): Update comment about
28122 (UNDERFLOW_EXCEPTION): New macro.
28123 (UNDERFLOW_EXCEPTION_OK): Likewise.
28124 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
28125 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
28126 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
28127 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
28128 (INVALID_EXCEPTION_OK): Update value.
28129 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
28130 (OVERFLOW_EXCEPTION_OK): Likewise.
28131 (IGNORE_ZERO_INF_SIGN): Likewise.
28132 (test_exceptions): Handle underflow exceptions.
28133 (acos_test): Update for underflow exception expectations.
28134 (cexp_test): Likewise.
28135 (clog_test): Likewise.
28136 (clog10_test): Likewise.
28137 (csqrt_test): Likewise.
28138 (ctan_test): Likewise.
28139 (ctanh_test): Likewise.
28140 (exp_test): Likewise.
28141 (exp10_test): Likewise.
28142 (exp2_test): Likewise.
28143 (expm1_test): Likewise.
28144 (fma_test): Likewise.
28145 (j0_test): Likewise.
28146 (jn_test): Likewise.
28147 (nexttoward_test): Likewise.
28148 (pow_test): Likewise.
28149 (scalbn_test): Likewise.
28150 (scalbln_test): Likewise.
28151 (tan_test): Likewise.
28152 (y1_test): Likewise.
28153 * sysdeps/i386/fpu/libm-test-ulps: Update.
28154 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28156 2012-05-23 David S. Miller <davem@davemloft.net>
28158 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
28159 (__libc_sigaction): Remove unused local variables.
28161 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28163 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
28165 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
28167 mktime: avoid signed integer overflow
28168 * time/mktime.c (__mktime_internal): Do not mishandle the case
28169 where diff == INT_MIN.
28171 mktime: simplify computation of average
28172 * time/mktime.c (ranged_convert): Use new time_t_avg function
28173 instead of rolling our own (probably-slower) code.
28175 mktime: do not assume signed right shift propagates sign bit
28176 * time/mktime.c (isdst_differ): New static function.
28177 (__mktime_internal): No need to normalize tm_isdst now.
28178 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
28181 mktime: merge another wrapv change from gnulib
28182 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
28183 from some compilers.
28185 mktime: remove incorrect attempt at unusual arithmetics
28186 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
28187 The code didn't really work on such machines anyway.
28188 (TYPE_MINIMUM): Assume two's complement.
28189 (twos_complement_arithmetic): Verify that long_int and time_t
28190 are two's complement (or unsigned, in the latter case).
28192 mktime: check signed shifts on long_int and time_t, too
28193 * time/mktime.c (SHR): Check that shifts work as desired
28194 on the types long_int and time_t too, as SHR is used on
28197 mktime: do not assume 'long' is wide enough
28198 * time/mktime.c (verify): Move decl up.
28199 (long_int): New type.
28200 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
28201 to remove assumption in the code that 'long' is wide enough to
28202 store year values. This assumption is not true on x32 and on
28203 some non-glibc platforms.
28205 mktime: merge wrapv change from gnulib
28206 * time/mktime.c (WRAPV): New macro.
28207 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
28208 (guess_time_tm, __mktime_internal): Do not assume that signed
28209 integer overflow wraps around; modern compilers generate code
28210 where this assumption is no longer valid.
28212 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28214 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
28215 Replace "jmp L(pseudo_end)" with "ret".
28216 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
28219 2012-05-23 Andreas Jaeger <aj@suse.de>
28221 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
28222 * sysdeps/unix/sysv/linux/poll.c: Remove file.
28224 2012-05-23 Andreas Jaeger <aj@suse.de>
28225 Maximilian Attems <max@stro.at>
28227 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
28230 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28232 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
28233 code so that pseudo_end is just ret and the stack pointer is
28234 correct also for static library in error case.
28236 2012-05-23 Joseph Myers <joseph@codesourcery.com>
28238 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
28239 move to syscalls.list.
28240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
28241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
28242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
28243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
28245 * manual/install.texi (Running make install): Do not mention Linux
28246 kernel version for which pt_chown is not needed.
28247 (Linux): Do not mention problems with nscd with 2.0 kernels.
28248 * INSTALL: Regenerated.
28250 2012-05-23 Andreas Jaeger <aj@suse.de>
28252 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
28253 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
28255 * sysdeps/unix/sysv/linux/s390/bits/mman.h
28256 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28257 * sysdeps/unix/sysv/linux/sh/bits/mman.h
28258 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28259 * sysdeps/unix/sysv/linux/i386/bits/mman.h
28260 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28261 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
28262 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28263 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
28264 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28265 * sysdeps/unix/sysv/linux/bits/in.h
28266 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
28268 2012-05-22 Roland McGrath <roland@hack.frob.com>
28270 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
28271 (PREPARE_VERSION): Just use assert instead, it will be elided
28272 under [NDEBUG] anyway.
28274 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28276 * sysdeps/unix/sysv/linux/Makefile: Include
28277 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
28278 (sysdep_routines): Remove sysctl.
28279 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
28280 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
28281 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
28282 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
28283 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
28285 2012-05-22 Andreas Jaeger <aj@suse.de>
28287 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
28288 that pseudo_end is just ret and the stack pointer is correct also
28289 for static library in error case.
28291 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
28294 * nss/nsswitch.c (defconfig_entries): New variable.
28295 (__nss_database_lookup): Don't leak defconfig entries.
28296 (nss_parse_service_list): Don't leak on error paths.
28297 (free_database_entries): New function.
28298 (free_defconfig): New function.
28299 (free_mem): Move common code to free_database_entries.
28301 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28303 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
28305 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
28307 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
28308 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
28309 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
28311 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
28312 (INTERNAL_SYSCALL_TYPES): Likewise.
28313 (LOAD_ARGS_TYPES_[1-6]): Likewise.
28314 (LOAD_REGS_TYPES_[1-6]): Likewise.
28315 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
28316 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
28318 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28320 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
28321 copysignl for GLIBC_2_0.
28322 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
28323 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
28324 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
28325 logbl for GLIBC_2_0.
28326 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
28327 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
28329 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28331 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
28332 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
28334 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
28337 * time/mktime.c: Update copyright years.
28339 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
28341 mktime: merge comment-quoting-style change from gnulib
28342 * time/mktime.c: Quote 'like this' in comments.
28343 The GNU coding standards suggest that we no longer quote `like this',
28344 as "`" and "'" are typically rendered asymmetrically nowadays.
28345 The typical gnulib style is to quote 'like this' when quoting
28346 code, and "like this" when quoting English.
28348 * time/mktime.c (compile-command): Add "-I.".
28350 mktime: merge mktime-internal.h change from gnulib
28351 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
28353 mktime: merge time_r change from gnulib
28354 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
28356 mktime: merge DEBUG change from gnulib
28357 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
28358 case system <time.h> has a #define.
28360 mktime: merge <sys/types.h> change from gnulib
28361 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
28362 since <time.t> is now guaranteed to define time_t.
28364 mktime: merge HAVE_CONFIG_H change from gnulib
28365 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
28367 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28369 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
28372 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
28374 (struct rusage): Use anonymous union to pad each field to
28377 2012-05-21 David S. Miller <davem@davemloft.net>
28379 * Makefules (o-iterator): Remove .s cases.
28380 (compile-command.s): Delete.
28381 (COMPILE.s): Delete.
28382 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
28384 2012-05-21 Joseph Myers <joseph@codesourcery.com>
28386 * configure.in (libc_cv_predef_stack_protector): Only consider
28387 "foobar" and "__stack_chk_fail" lines in libc_undefs.
28388 * configure: Regenerated.
28390 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28392 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
28393 New macro. Use R*LP on int and pointer.
28394 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
28395 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
28396 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
28397 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
28399 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
28400 [__WORDSIZE_TIME64_COMPAT32] instead of
28401 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
28402 (struct utmp): Likewise.
28403 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
28404 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
28406 (__WORDSIZE_TIME64_COMPAT32): This.
28407 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
28408 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
28409 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
28410 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
28411 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
28412 (__WORDSIZE_TIME64_COMPAT32): New macro.
28414 2012-05-21 Andreas Jaeger <aj@suse.de>
28416 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
28417 only if [SHARED]. Add prototype for __wcschr_ia32.
28419 2012-05-21 Roland McGrath <roland@hack.frob.com>
28421 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
28422 of %rbp unmolested in the jmp_buf while mangling the low bits.
28423 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
28424 unmolested high bits of %rbp while demangling the low bits.
28425 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
28427 2012-05-21 Andreas Jaeger <aj@suse.de>
28429 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
28430 * sunrpc/svc_simple.c: Use it for registerrpc.
28431 * sunrpc/xcrypt.c: Use it for passwd2des.
28433 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
28435 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28437 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
28438 Don't define if [__SYSCALL_WORDSIZE != 32].
28439 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
28442 2012-05-21 Bruno Haible <bruno@clisp.org>
28443 Andreas Jaeger <aj@suse.de>
28445 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
28446 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
28447 inptr and inend for must_buffer_ch.
28448 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
28449 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
28450 * stdio-common/Makefile (tests): Remove bug15.
28451 (bug15-ENV): Remove macro.
28452 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
28455 2012-05-19 Andreas Jaeger <aj@suse.de>
28456 Roland McGrath <roland@hack.frob.com>
28458 * manual/contrib.texi: Completely rewritten. It contains now an
28459 alphabetical list of contributors and their contributions.
28461 2012-05-21 Richard Henderson <rth@twiddle.net>
28463 * misc/getauxval.c (__getauxval): Use unsigned long int.
28464 * misc/sys/auxv.h: Include <sys/cdefs.h>.
28465 (getauxval): Use unsigned long int.
28467 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28469 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
28471 2012-05-21 Roland McGrath <roland@hack.frob.com>
28473 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
28474 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
28475 __alignof__ (long double).
28477 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28479 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28481 2012-05-20 Richard Henderson <rth@twiddle.net>
28483 * misc/getauxval.c: New file.
28484 * misc/sys/auxv.h: New file.
28485 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
28486 (routines): Add getauxval.
28487 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
28488 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
28489 * elf/dl-sysdep.c (_dl_auxv): Remove.
28490 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
28491 * elf/dl-support.c (_dl_auxv): New variable.
28492 (_dl_aux_init): Initialize it.
28493 * manual/startup.texi (Auxiliary Vector): New node.
28494 * sysdeps/generic/bits/hwcap.h: New file.
28495 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
28496 * sysdeps/powerpc/sysdep.h: ... here. Include it.
28497 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
28498 * sysdeps/sparc/sysdep.h: ... here. Include it.
28499 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
28500 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
28501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
28504 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
28505 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
28506 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
28507 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
28508 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
28509 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
28510 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
28512 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28514 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28516 2012-05-19 David S. Miller <davem@davemloft.net>
28518 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28520 2012-05-19 Joseph Myers <joseph@codesourcery.com>
28523 * math/s_ccosh.c: Include <float.h>
28524 (__ccosh): Avoid internal overflow calculating sinh and cosh
28525 values before multiplying by sin and cos values.
28526 * math/s_ccoshf.c: Likewise.
28527 * math/s_ccoshl.c: Likewise.
28528 * math/s_csin.c: Likewise.
28529 * math/s_csinf.c: Likewise.
28530 * math/s_csinl.c: Likewise.
28531 * math/s_csinh.c: Likewise.
28532 * math/s_csinhf.c: Likewise.
28533 * math/s_csinhl.c: Likewise.
28534 * math/libm-test.inc (ccos_test): Add more tests.
28535 (ccosh_test): Likewise.
28536 (csin_test): Likewise.
28537 (csinh_test): Likewise.
28538 * sysdeps/i386/fpu/libm-test-ulps: Update.
28539 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28541 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
28543 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
28544 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
28546 * sysdeps/x86_64/x32/_itoa.h: Add comment.
28548 2012-05-19 Joseph Myers <joseph@codesourcery.com>
28550 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
28551 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
28552 * sysdeps/powerpc/soft-fp/Versions: Likewise.
28553 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
28554 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
28555 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
28556 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
28557 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
28558 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
28559 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
28560 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
28561 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
28562 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
28563 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
28564 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
28565 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
28566 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
28567 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
28568 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
28569 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
28570 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
28571 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
28572 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
28573 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
28574 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
28575 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
28576 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
28577 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
28578 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
28579 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
28580 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
28582 2012-05-18 Andreas Jaeger <aj@suse.de>
28584 * csu/.gitignore: Delete.
28586 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28588 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
28589 (timex): Use __syscall_slong_t.
28591 2012-05-18 Andreas Jaeger <aj@suse.de>
28592 Carlos O'Donell <carlos_odonell@mentor.com>
28594 * manual/install.texi (Configuring and compiling): Update
28595 description about files modified in the source directory.
28596 * INSTALL: Regenerated.
28598 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28600 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
28601 value. Use "or" to set return value to -1.
28602 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
28603 negate return value.
28605 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28607 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
28608 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
28609 failure if the compiler has Graphite support disabled.
28610 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
28612 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
28613 (CFLAGS-memmove.c): Likewise.
28614 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
28617 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28619 * sysdeps/x86_64/x32/_itoa.h: New file.
28621 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
28622 getdents system call only if kernel and user dirents have the
28623 same d_ino and d_off.
28625 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
28626 LLONG_MAX != LONG_MAX.
28627 (_itoa_word): Use _ITOA_WORD_TYPE on value.
28628 (_fitoa_word): Likewise.
28630 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
28632 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
28633 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
28634 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
28636 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
28637 include <bits/wordsize.h>. Check __x86_64__ instead of
28639 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
28640 if __x86_64__ is defined. Use anonymous union on fpstate.
28642 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
28645 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
28647 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
28648 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
28649 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
28650 Refer to _rtld_local_ro instead of _rtld_global_ro.
28651 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
28653 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
28655 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
28657 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
28658 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
28659 of _rtld_global, and rtld_progname instead of _dl_argv[0].
28661 * sysdeps/powerpc/powerpc32/dl-machine.c
28662 (__elf_machine_runtime_setup) [PROF]: Don't reference
28665 2012-05-18 Andreas Jaeger <aj@suse.de>
28667 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
28668 function only available for GCCs before 3.4 since GCC 3.4
28669 introduced a builtin.
28671 (llrintf): Likewise.
28672 (llrint): Likewise.
28679 (nearbyint): Likewise.
28680 (nearbyintf): Likewise.
28684 (floorf): Likewise.
28686 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28688 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
28689 on both fields and cast pointer to __syscall_ulong_t.
28691 * bits/types.h (__fsword_t): New type.
28692 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
28693 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
28694 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28695 (__FSWORD_T_TYPE): Likewise.
28696 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28697 (__FSWORD_T_TYPE): Likewise.
28698 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28699 (__FSWORD_T_TYPE): Likewise.
28700 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
28701 (__FSWORD_T_TYPE): Likewise.
28702 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
28703 __SWORD_TYPE with __fsword_t.
28704 (statfs64): Likewise.
28706 2012-05-17 David S. Miller <davem@davemloft.net>
28708 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
28710 2012-05-17 Andreas Jaeger <aj@suse.de>
28712 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
28715 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28717 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
28719 2012-05-17 Andreas Jaeger <aj@suse.de>
28721 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
28724 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
28726 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
28728 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28730 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
28731 * sysdeps/x86_64/tst-mallocalign1.c: New file.
28733 2012-05-17 Andreas Jaeger <aj@suse.de>
28734 Carlos O'Donell <carlos_odonell@mentor.com>
28737 * sysdeps/x86_64/multiarch/init-arch.h
28738 (bit_YMM_Usable): Rename to...
28739 (bit_AVX_Usable): ... this.
28740 (bit_FMA4_Usable): New macro.
28741 (bit_XMM_state): New macro.
28742 (bit_YMM_state): New macro.
28743 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
28744 [__ASSEMBLER__] (index_AVX_Usable): ... this.
28745 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
28746 (CPUID_OSXSAVE): New macro.
28747 (CPUID_AVX): New macro.
28748 (CPUID_FMA4): New macro.
28749 (index_YMM_Usable): Rename to...
28750 (index_AVX_Usable): ... this.
28751 (HAS_AVX): Use HAS_ARCH_FEATURE.
28752 (HAS_FMA4): Likewise.
28753 (HAS_YMM_USABLE): Remove.
28754 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28755 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
28757 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
28758 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
28759 * sysdeps/x86_64/multiarch/Makefile: Likewise.
28760 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
28761 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
28763 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
28765 * math/libm-test.c: Support platforms without multiple rounding modes.
28766 * math/bug-nextafter.c: Support platforms without FP exceptions.
28767 * math/bug-nexttoward.c: Likewise.
28768 * math/test-fenv.c: Likewise.
28769 * math/test-misc.c: Likewise.
28770 * stdlib/bug-getcontext.c: Likewise.
28772 2012-05-17 Andreas Jaeger <aj@suse.de>
28774 * manual/examples/search.c (critter_cmp): Change signature to
28776 * manual/string.texi (Collation Functions): Likewise.
28778 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28780 * bits/types.h: Fold copyright years.
28781 * bits/typesizes.h: Likewise.
28782 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
28783 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
28784 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
28785 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
28786 * time/time.h: Likewise.
28788 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
28791 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
28792 in instead of returning them. Return void.
28793 (__libc_mallinfo): Accumulate over all arenas.
28794 (__malloc_stats): Adjust for change in int_mallinfo interface.
28796 2012-05-16 Roland McGrath <roland@hack.frob.com>
28799 * configure.in (NM): Add AC_CHECK_TOOL for it.
28800 (libc_extra_cflags): New substituted variable.
28801 Check for -fstack-protector being used implicitly.
28802 * configure: Regenerated.
28803 * config.make.in (config-extra-cflags): New variable,
28804 gets @libc_extra_cflags@.
28805 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
28808 * configure.in: Check for _FORTIFY_SOURCE being predefined.
28809 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
28810 * configure: Regenerated.
28811 * config.make.in (CPPUNDEFS): New substituted variable.
28812 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
28813 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
28814 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
28816 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28818 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
28819 (mq_attr): Use __syscall_slong_t.
28821 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28823 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
28824 Check __x86_64__ instead of __WORDSIZE.
28825 (_STAT_VER_LINUX): Likewise.
28826 (stat): Check __x86_64__ instead of __WORDSIZE. Use
28827 __syscall_ulong_t and __syscall_slong_t.
28828 (stat64): Likewise.
28830 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28832 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
28834 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28836 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
28838 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28840 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
28843 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
28844 include <bits/wordsize.h>. Check __x86_64__ instead of
28846 (greg_t): Use "__extension__ long long int" if __x86_64__ is
28848 (mcontext_t): Replace "unsigned long" with "unsigned long long".
28850 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
28851 include <bits/wordsize.h>. Check __x86_64__ instead of
28853 (user_regs_struct): Use "__extension__ unsigned long long"
28854 instead of "unsigned long" if __x86_64__ is defined.
28855 (user): Likewise. Pad after pointer field if __ILP32__ is
28858 2012-05-16 Joseph Myers <joseph@codesourcery.com>
28860 * configure.in (makeinfo): Require version 4.5 or later. Allow
28862 * configure: Regenerated.
28863 * manual/install.texi (texinfo): Increase version requirement to
28865 * INSTALL: Regenerated.
28867 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
28869 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28871 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
28873 * sysdeps/x86_64/x32/ffs.c: New file.
28875 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
28877 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
28878 defined. Use __syscall_ulong_t.
28879 (shminfo): Use __syscall_ulong_t.
28880 (shm_info): Likewise.
28882 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
28885 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
28887 (msgqnum_t): Use __syscall_ulong_t.
28888 (msglen_t): Likewise.
28889 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
28892 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
28893 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
28895 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
28897 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
28898 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
28900 * sysvipc/sys/msg.h (msgbuf): Replace long int with
28903 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
28904 include <bits/wordsize.h>. Check __x86_64__ instead of
28907 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
28908 "unsigned long long int" if __x86_64__ is defined.
28909 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
28911 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
28912 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
28913 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
28915 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
28917 (GET_PC): Cast to uintptr_t first.
28918 (GET_FRAME): Likewise.
28919 (GET_STACK): Likewise.
28921 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
28922 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
28923 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
28924 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
28925 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
28926 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
28927 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
28928 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
28929 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
28930 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
28931 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
28932 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
28933 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
28934 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
28935 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
28936 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
28937 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
28938 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
28939 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
28940 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
28941 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
28942 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
28943 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
28944 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
28945 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
28946 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
28947 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
28948 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
28949 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
28951 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
28953 * Makerules (+depfiles): Also collect depfiles from .oS in
28955 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
28956 .oS, $(libnldbl-routines)).
28958 * Makerules (native-compile-mkdep-flags): Define.
28959 * sunrpc/Makefile (extra-objs): Add $(addprefix
28960 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
28961 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
28962 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
28963 calling $(make-target-directory).
28965 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28967 * bits/types.h (__snseconds_t): Removed.
28968 * time/time.h (struct timespec): Replace __snseconds_t with
28970 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
28971 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
28973 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28974 (__SNSECONDS_T_TYPE): Likewise.
28975 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28976 (__SNSECONDS_T_TYPE): Likewise.
28977 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28978 (__SNSECONDS_T_TYPE): Likewise.
28980 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28982 * sysdeps/mach/hurd/bits/typesizes.h
28983 (__SYSCALL_SLONG_TYPE): New macro.
28984 (__SYSCALL_ULONG_TYPE): Likewise.
28986 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28988 * bits/types.h (__syscall_slong_t): New type.
28989 (__syscall_ulong_t): Likewise.
28991 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
28992 (__SYSCALL_ULONG_TYPE): Likewise.
28993 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28994 (__SYSCALL_SLONG_TYPE): Likewise.
28995 (__SYSCALL_ULONG_TYPE): Likewise.
28996 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28997 (__SYSCALL_SLONG_TYPE): Likewise.
28998 (__SYSCALL_ULONG_TYPE): Likewise.
28999 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29000 (__SYSCALL_SLONG_TYPE): Likewise.
29001 (__SYSCALL_ULONG_TYPE): Likewise.
29003 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29005 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
29006 Add sigaltstack-offsets.sym.
29007 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
29008 <sigaltstack-offsets.h>.
29009 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
29010 longjmp_msg pointer.
29011 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
29012 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
29014 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
29016 2012-05-15 Joseph Myers <joseph@codesourcery.com>
29018 * elf/stackguard-macros.h: Remove file.
29019 * sysdeps/generic/stackguard-macros.h: New file.
29020 * sysdeps/i386/stackguard-macros.h: Likewise.
29021 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
29022 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
29023 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
29024 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
29025 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
29026 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
29027 * sysdeps/x86_64/stackguard-macros.h: Likewise.
29028 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
29029 <elf/stackguard-macros.h>.
29032 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
29033 __aligned__ in attribute.
29034 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
29035 (gregset_t): Likewise.
29037 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29039 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
29040 * sysdeps/x86_64/64/Implies-after: Here. New file.
29041 * sysdeps/x86_64/x32/Implies-after: New file.
29043 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29045 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
29046 and access return value for _dl_profile_fixup. Use R10_LP to
29049 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29051 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
29053 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29055 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
29056 * sysdeps/x86_64/x32/sysdep.h: New file.
29058 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29060 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
29061 * sysdeps/x86_64/setjmp.S: Likewise.
29063 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29065 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
29066 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
29067 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
29068 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
29069 remove unused global constant.
29071 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
29073 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
29074 include of <not-cancel.h>.
29076 2012-05-15 Roland McGrath <roland@hack.frob.com>
29078 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
29080 2012-05-15 Jeff Law <law@redhat.com>
29081 Andreas Jaeger <aj@suse.de>
29084 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
29086 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
29087 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
29088 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
29089 code changing __hst_map_handle.map.
29091 2012-05-15 Roland McGrath <roland@hack.frob.com>
29093 * configure.in (sysnames): Look for Implies-before and Implies-after
29095 * configure: Regenerated.
29097 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29099 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
29100 8-byte data alignment with LP_SIZE alignment.
29102 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29104 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
29107 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29109 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
29111 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29113 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
29114 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
29115 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
29117 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
29119 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29121 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
29122 (stackinfo_sub_sp): Likewise.
29124 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29126 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
29129 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29131 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
29134 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29136 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
29139 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29141 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
29143 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29145 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
29146 into R11_LP and load __x86_64_shared_cache_size_half into
29149 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29151 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
29154 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29156 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
29158 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
29160 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
29162 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
29163 powerpc32/power7/fpu/s_logb.c via #include.
29164 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
29165 powerpc32/power7/fpu/s_logbf.c via #include.
29166 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
29167 powerpc32/power7/fpu/s_logbl.c via #include.
29169 2012-05-15 Joseph Myers <joseph@codesourcery.com>
29171 * README.libm: Remove file.
29173 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29175 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
29176 count for x32. Use R*_LP and omit operand-size suffix.
29178 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29180 * shlib-versions: Move x86_64-.*-linux.* entries to ...
29181 * sysdeps/x86_64/64/shlib-versions: Here. New file.
29182 * sysdeps/x86_64/x32/shlib-versions: New file.
29184 2012-05-14 Roland McGrath <roland@hack.frob.com>
29186 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
29187 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
29188 Use _dl_fatal_printf instead.
29190 2012-05-14 Joseph Myers <joseph@codesourcery.com>
29192 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
29193 set if not set by the user. Do not allow for being unset.
29194 * sysdeps/unix/sysv/linux/configure: Regenerated.
29196 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29198 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
29199 the `q' suffix from lea and replace .quad with ASM_ADDR.
29201 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29203 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
29204 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
29206 (PTR_DEMANGLE): Likewise.
29208 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29210 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
29212 (ASM_ADDR): Likewise.
29213 (RAX_LP): Likewise.
29214 (RBP_LP): Likewise.
29215 (RBX_LP): Likewise.
29216 (RCX_LP): Likewise.
29217 (RDI_LP): Likewise.
29218 (RSI_LP): Likewise.
29219 (RSP_LP): Likewise.
29222 (R10_LP): Likewise.
29223 (R10_LP): Likewise.
29224 (R11_LP): Likewise.
29225 (R12_LP): Likewise.
29226 (R13_LP): Likewise.
29227 (R14_LP): Likewise.
29228 (R15_LP): Likewise.
29230 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29232 * sysdeps/x86_64/x32/dl-machine.h: New file.
29234 2012-05-14 Andreas Jaeger <aj@suse.de>
29236 * manual/Makefile (subdir): Remove export of subdir.
29237 (all): Remove target.
29238 (.PHONY): Remove all from list.
29239 (mkinstalldirs): Remove.
29240 (.PHONY): Remove installdirs from list.
29241 ($(inst_infodir)/libc.info): Use make-target-directory.
29242 (installdirs): Remove.
29243 (subdir_%): Remove.
29244 (glibc-targets): Remove.
29247 ($(objpfx)stubs ../po/manual.pot): Remove.
29248 ($(objpfx)stamp%): Remove.
29249 (make-target-directory): Remove.
29250 (subdir_install): Remove.
29251 (routines): Remove.
29258 * manual/.gitignore: Remove, it's not needed anymore.
29259 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
29261 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
29263 (texis): Renamed to $(objpfx)texis.
29264 (texis-path): New, contains path to generated files.
29265 (chapters.%): Use texis-path for complete path, add extra argument
29267 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
29268 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
29269 (summary,texi, stamp-summary): Use complete path of
29270 files. Generate files in build dir.
29271 (dir-add.texi): Build in build dir.
29272 (libm-err.texi,stamp-libm-err): Likewise.
29273 (version.texi, stamp-version): Likewise.
29274 (.%c.texi): Likewise.
29275 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
29276 (mostlyclean): Remove target.
29277 (realclean): Remove target.
29278 (generated): Add new variable with contents from mostlyclean and
29279 realclean, remove entries duplicated in common-mostlyclean, add
29280 stamp-libm-err and stamp-version.
29281 (generated-dirs): Add libc directory.
29282 ($(inst_infodir)/libc.info): Install files from build dir.
29284 * manual/install.texi (Configuring and compiling): Adjust since
29285 the info files are not part of the tar ball anymore.
29287 2012-05-14 Andreas Jaeger <aj@suse.de>
29289 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
29292 2012-05-14 Joseph Myers <joseph@codesourcery.com>
29295 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
29296 to 2.2.0 where earlier.
29297 * sysdeps/unix/sysv/linux/configure: Regenerated.
29298 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
29299 Remove conditional code.
29300 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
29301 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
29302 Remove conditional code.
29303 [!__NR_lchown]: Likewise.
29304 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29305 [__NR_lchown]: Likewise.
29306 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
29307 comment referencing __ASSUME_LCHOWN_SYSCALL.
29308 * sysdeps/unix/sysv/linux/i386/sigaction.c
29309 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29310 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29311 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
29312 Remove conditional code.
29313 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
29314 (__protocol_available): Remove #if 0 code.
29315 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
29317 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
29318 * sysdeps/unix/sysv/linux/kernel-features.h
29319 (__ASSUME_GETCWD_SYSCALL): Don't define.
29320 (__ASSUME_REALTIME_SIGNALS): Likewise.
29321 (__ASSUME_PREAD_SYSCALL): Likewise.
29322 (__ASSUME_PWRITE_SYSCALL): Likewise.
29323 (__ASSUME_POLL_SYSCALL): Likewise.
29324 (__ASSUME_LCHOWN_SYSCALL): Likewise.
29325 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
29327 (__ASSUME_SIOCGIFNAME): Don't define.
29328 (__ASSUME_MSG_NOSIGNAL): Likewise.
29329 (__ASSUME_SENDFILE): Define unconditionally.
29330 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
29331 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
29333 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
29334 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
29335 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
29336 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29337 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
29338 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
29339 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29340 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
29341 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29342 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
29344 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29345 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29346 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
29347 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29348 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29349 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
29350 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29351 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
29353 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29354 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
29356 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29357 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
29359 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29360 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
29362 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29363 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29364 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
29365 Remove conditional code.
29366 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29367 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
29368 Remove conditional code.
29369 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29370 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
29371 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
29372 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
29373 Remove conditional code.
29374 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29375 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
29376 Remove conditional code.
29377 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29378 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
29379 Remove conditional code.
29380 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29381 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
29382 Remove conditional code.
29383 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29384 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
29385 Remove conditional code.
29386 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29387 * sysdeps/unix/sysv/linux/sh/pwrite64.c
29388 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29389 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29390 * sysdeps/unix/sysv/linux/sigaction.c
29391 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29392 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29393 * sysdeps/unix/sysv/linux/sigpending.c
29394 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29395 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29396 * sysdeps/unix/sysv/linux/sigprocmask.c
29397 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29398 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29399 * sysdeps/unix/sysv/linux/sigsuspend.c
29400 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29401 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29402 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
29403 (__libc_missing_rt_sigs): Remove.
29404 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
29405 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
29406 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
29407 Remove conditional code.
29408 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
29409 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
29411 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
29412 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
29413 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
29414 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
29416 2012-05-14 Andreas Jaeger <aj@suse.de>
29418 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
29419 it's not used in glibc.
29420 (__coshm1): Likewise.
29421 (__acosh1p): Likewise.
29424 * manual/string.texi (Copying and Concatenation): Add missing
29425 variable in concat example.
29426 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
29428 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29431 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
29432 __builtin_clzl with __builtin_clzll.
29434 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29437 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
29440 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29442 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
29443 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
29444 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
29445 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
29447 2012-05-14 Mike Frysinger <vapier@gentoo.org>
29449 * NEWS: Update ia64 info.
29451 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
29453 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
29456 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
29458 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
29459 * sysdeps/unix/syscalls.list (dup3): Likewise.
29460 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
29461 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
29463 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
29465 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
29466 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
29468 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
29470 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
29472 (TLS_IE): Use mov/add instead of movq/addq to load thread
29474 (TLS_GD_PREFIX): New.
29477 2012-05-11 David S. Miller <davem@davemloft.net>
29479 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
29480 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
29481 (_FPU_SETCW): Likewise.
29483 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29485 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
29486 is 32-byte aligned.
29488 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
29491 * iconvdata/gb18030.c: Update tables.
29492 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
29493 characters specially.
29494 (BODY for TO_LOOP): Add encoding of missing ranges.
29496 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
29499 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
29500 * sysdeps/mach/hurd/dup3.c: Likewise.
29501 * sysdeps/mach/hurd/readlinkat.c: Likewise.
29502 * sysdeps/powerpc/memmove.c:: Likewise.
29504 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29506 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
29507 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
29509 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29511 * elf/elf.h (R_X86_64_RELATIVE64): New.
29512 (R_X86_64_NUM): Updated.
29513 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
29514 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
29515 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
29516 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
29517 tst-quad1pie tst-quad2pie
29518 (modules-names): Add tst-quadmod1 tst-quadmod2.
29519 ($(objpfx)tst-quad1): New dependency.
29520 ($(objpfx)tst-quad2): Likewise.
29521 ($(objpfx)tst-quad1pie): Likewise.
29522 ($(objpfx)tst-quad2pie): Likewise.
29523 * sysdeps/x86_64/tst-quad1.c: New file.
29524 * sysdeps/x86_64/tst-quad1pie.c: New file.
29525 * sysdeps/x86_64/tst-quad2.c: Likewise.
29526 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
29527 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
29528 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
29529 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
29530 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
29532 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29534 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
29535 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
29536 * streams/stropts.h (t_scalar_t): Define type.
29538 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
29539 (_PATH_PRESERVE): Set to "/var/lib".
29540 (_PATH_RWHODIR): Set to "/var/spool/rwho".
29542 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
29545 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
29546 if __dir_mkfile succeeded.
29548 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
29549 checking for _hurd_dtablesize. Unlock it right after having
29550 finished _hurd_dtable allocation.
29552 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29554 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
29555 * sysdeps/mach/hurd/configure: Regenerated.
29556 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
29557 special-casing to...
29558 * sysdeps/gnu/configure.in: ... this new file.
29559 * sysdeps/unix/sysv/linux/configure: Regenerated.
29560 * sysdeps/gnu/configure: New generated file.
29562 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
29563 for Linux: use nsec instead of usec, as well as:
29564 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
29565 members of type struct timespec.
29566 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
29568 (struct stat64): Likewise.
29569 (_STATBUF_ST_NSEC): New macro.
29570 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
29572 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
29573 __strtoul_internal rather than strtoul.
29575 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29577 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
29580 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29582 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
29583 which preserves existing values.
29584 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
29586 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29588 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
29589 TIMEOUT values. Return EINVAL for NFDS values either negative or
29590 greater than FD_SETSIZE.
29592 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29594 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
29595 allocated, call __vm_protect to finish enabling the existing space, and
29596 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
29597 allocate the remainder.
29599 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29601 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
29602 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
29604 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29606 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
29607 sysdeps/mach/hurd/readlink.c.
29609 * posix/tst-sysconf.c (posix_options): Only use
29610 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
29611 _POSIX_SYNCHRONIZED_IO when they are defined
29612 * sysdeps/mach/hurd/bits/posix_opt.h:
29613 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
29614 (_XOPEN_REALTIME): Undefine macro.
29615 (_XOPEN_REALTIME_THREADS): Undefine macro.
29616 (_XOPEN_SHM): Undefine macro.
29617 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
29619 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
29621 (_POSIX_ASYNC_IO): Undefine macro.
29622 (_POSIX_PRIORITIZED_IO): Undefine macro.
29623 (_POSIX_SPIN_LOCKS): Define macro to -1.
29625 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
29626 SA_NODEFER, SA_RESETHAND.
29627 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
29628 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
29631 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29633 * elf/Makefile (pldd-modules): Define unconditionally.
29635 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29637 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
29639 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29641 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
29642 Return ENOENT when name is empty.
29643 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
29645 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29647 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
29649 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
29651 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29653 Fix mlock in all cases except non-readable pages.
29654 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
29655 instead of VM_PROT_ALL as parameter to __vm_wire function.
29657 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
29658 (__mkdir): When path is `/', just fail with EEXIST.
29659 * sysdeps/mach/hurd/mkdirat.c: Likewise.
29661 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29663 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
29664 <sys/uio.h> (for writev).
29665 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
29666 and <sys/param.h> (for MIN).
29668 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29670 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
29671 REQUESTED_TIME. Properly set the remaining time and return EINTR
29674 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29676 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
29677 Depend on against $(link-rpcuserlibs).
29679 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29681 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
29682 (__libc_stack_end): Do not use attribute_relro.
29683 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
29684 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
29685 to libthread-provided value.
29686 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
29689 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29692 * bits/libc-lock.h (__libc_once_get): New macro.
29693 * sysdeps/mach/bits/libc-lock.h: Likewise.
29694 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
29695 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
29696 instead of using implementation details.
29698 * libio/fileops.c: Unconditionally include <kernel-features.h>.
29699 * libio/freopen.c: Likewise.
29700 * libio/freopen64.c: Likewise.
29701 * misc/syslog.c: Likewise.
29702 * nscd/connections.c: Likewise.
29703 * nscd/netgroupcache.c: Likewise.
29704 * sysdeps/posix/getcwd.c: Likewise.
29706 2012-05-10 Roland McGrath <roland@hack.frob.com>
29708 * math/w_ilogbf.c: Add #include <limits.h>.
29710 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29712 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
29713 path instead of returning without unlocking.
29715 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
29716 immediate-write ioctls.
29717 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
29719 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29721 * sysdeps/mach/hurd/i386/init-first.c (init): Use
29722 __builtin_frame_address instead of making assumptions about the
29723 location of the return address relative to DATA. Force early load of
29724 the return address.
29725 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
29726 __builtin_frame_address.
29729 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
29730 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
29731 implement dup3 and do some further code clean-ups.
29732 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
29733 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
29735 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29737 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
29739 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
29740 HURD_CRITICAL_END around holding _hurd_dtable_lock.
29741 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
29742 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
29743 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
29746 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
29747 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
29748 when handler == SIG_ERR, not when handler != SIG_ERR.
29750 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29752 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
29753 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
29756 accept4 for GNU Hurd.
29757 * include/sys/socket.h (__libc_accept4): New prototype.
29758 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
29759 to implement __libc_accept4.
29760 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
29762 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
29764 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
29765 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
29766 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
29767 signal-defines.sym.
29769 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29771 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
29773 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29775 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
29776 assertion on O_CLOEXEC flag.
29777 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
29778 * hurd/intern-fd.c: Likewise.
29779 * hurd/port2fd.c: Likewise.
29781 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29784 * bits/in.h (IPV6_PKTINFO): Define new macro.
29785 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
29787 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29792 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
29793 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
29794 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
29795 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
29796 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29797 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
29798 * math/libm-test.inc (logb_test) : Additional logb tests.
29800 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
29801 Andreas Jaeger <aj@suse.de>
29803 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
29804 * configure: Regenerated.
29805 * config.h.in (LINK_OBSOLETE_RPC): New macro.
29806 * config.make.in (link-obsolete-rpc): New substituted variable.
29807 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
29808 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
29809 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
29810 (shared-only-routines): Don't set it under [link-obsolete-rpc],
29811 so that libc.a contains the symbols.
29812 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
29813 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
29814 * sunrpc/auth_none.c: Likewise.
29815 * sunrpc/auth_unix.c: Likewise.
29816 * sunrpc/authdes_prot.c: Likewise.
29817 * sunrpc/authuxprot.c: Likewise.
29818 * sunrpc/clnt_gen.c: Likewise.
29819 * sunrpc/clnt_perr.c: Likewise.
29820 * sunrpc/clnt_raw.c: Likewise.
29821 * sunrpc/clnt_simp.c: Likewise.
29822 * sunrpc/clnt_tcp.c: Likewise.
29823 * sunrpc/clnt_udp.c: Likewise.
29824 * sunrpc/clnt_unix.c: Likewise.
29825 * sunrpc/des_crypt.c: Likewise.
29826 * sunrpc/des_soft.c: Likewise.
29827 * sunrpc/get_myaddr.c: Likewise.
29828 * sunrpc/key_call.c: Likewise.
29829 * sunrpc/key_prot.c: Likewise.
29830 * sunrpc/netname.c: Likewise.
29831 * sunrpc/pm_getmaps.c: Likewise.
29832 * sunrpc/pm_getport.c: Likewise.
29833 * sunrpc/pmap_clnt.c: Likewise.
29834 * sunrpc/pmap_prot.c: Likewise.
29835 * sunrpc/pmap_prot2.c: Likewise.
29836 * sunrpc/pmap_rmt.c: Likewise.
29837 * sunrpc/publickey.c: Likewise.
29838 * sunrpc/rpc_cmsg.c: Likewise.
29839 * sunrpc/rpc_common.c: Likewise.
29840 * sunrpc/rpc_dtable.c: Likewise.
29841 * sunrpc/rpc_prot.c: Likewise.
29842 * sunrpc/rpc_thread.c: Likewise.
29843 * sunrpc/rtime.c: Likewise.
29844 * sunrpc/svc.c: Likewise.
29845 * sunrpc/svc_auth.c: Likewise.
29846 * sunrpc/svc_raw.c: Likewise.
29847 * sunrpc/svc_run.c: Likewise.
29848 * sunrpc/svc_tcp.c: Likewise.
29849 * sunrpc/svc_udp.c: Likewise.
29850 * sunrpc/svc_unix.c: Likewise.
29851 * sunrpc/svcauth_des.c: Likewise.
29852 * sunrpc/xcrypt.c: Likewise.
29853 * sunrpc/xdr.c: Likewise.
29854 * sunrpc/xdr_array.c: Likewise.
29855 * sunrpc/xdr_float.c: Likewise.
29856 * sunrpc/xdr_intXX_t.c: Likewise.
29857 * sunrpc/xdr_mem.c: Likewise.
29858 * sunrpc/xdr_rec.c: Likewise.
29859 * sunrpc/xdr_ref.c: Likewise.
29860 * sunrpc/xdr_sizeof.c: Likewise.
29861 * sunrpc/xdr_stdio.c: Likewise.
29863 2012-05-10 Roland McGrath <roland@hack.frob.com>
29865 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
29866 change. Update copyright years.
29868 2012-05-10 Joseph Myers <joseph@codesourcery.com>
29870 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
29872 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
29873 Joseph Myers <joseph@codesourcery.com>
29874 Paul Pluzhnikov <ppluzhnikov@google.com>
29877 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
29879 [cross-compiling] (extra-libs): Likewise.
29880 [cross-compiling] (extra-libs-others): Likewise.
29881 [cross-compiling] (librpcsvc-routines): Likewise.
29882 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
29883 [cross-compiling] (omit-deps): Likewise.
29884 (sunrpc-CPPFLAGS): New variable.
29885 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
29886 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
29887 (cross-rpcgen-objs): New variable.
29888 (extra-objs): Append $(cross-rpcgen-objs).
29889 ($(cross-rpcgen-objs)): New rule.
29890 ($(objpfx)cross-rpcgen): Likewise.
29891 (rpcgen-cmd): Define to use $(built-program-file). Expand
29893 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
29894 ($(objpfx)x%.stmp): Likewise.
29895 * sunrpc/proto.h [IS_IN_build] (_): Define.
29896 [IS_IN_build] (_libc_intl_domainname): Likewise.
29898 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29900 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
29901 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
29902 and R_X86_64_TPOFF64.
29904 2012-05-10 Joseph Myers <joseph@codesourcery.com>
29906 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
29907 sysdeps/unix/sysv/syscalls.list.
29910 * sysdeps/unix/sysv/syscalls.list: Remove file.
29912 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
29915 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
29916 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
29917 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
29918 (__LC_IDENTIFICATION): Make these macros useful in #if
29919 expressions, as required by C99.
29921 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
29923 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
29924 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
29927 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
29929 * stdlib/longlong.h: Updated from GCC.
29931 2012-05-09 Andreas Jaeger <aj@suse.de>
29933 * nscd/nscd.c (run_modes): Make named enum, reorder so that
29934 default is first entry.
29935 (run_mode): Set type.
29936 (main): Remove informal message about syslog.
29937 (options): Fix typo.
29940 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
29943 (llrintf): Likewise.
29944 (llrint): Likewise.
29947 (nearbyint): Likewise.
29948 (nearbyintf): Likewise.
29950 2012-05-09 Andreas Jaeger <aj@suse.de>
29951 Pedro Alves <palves@redhat.com>
29953 * nscd/nscd.c (run_mode): Use enum.
29954 (main): Cleanup coding style issue.
29956 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
29957 Andreas Jaeger <aj@suse.de>
29959 * nscd/nscd.c (go_background): Replaced with...
29960 (run_mode): ... this.
29961 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
29962 (options): Add -F --foreground.
29963 (main): Implement it.
29964 (parse_opt): Parse it.
29966 2012-05-09 Andreas Jaeger <aj@suse.de>
29969 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
29970 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
29971 -Wconversion warning.
29972 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
29975 2012-05-09 Joseph Myers <joseph@codesourcery.com>
29977 * conform/data/locale.h-data (NULL): Use macro-constant. Require
29979 (LC_ALL): Use macro-int-constant.
29980 (LC_COLLATE): Likewise.
29981 (LC_CTYPE): Likewise.
29982 (LC_MESSAGES): Likewise.
29983 (LC_MONETARY): Likewise.
29984 (LC_NUMERIC): Likewise.
29985 (LC_TIME): Likewise.
29986 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
29987 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
29988 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29989 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
29991 [C99-based standards] (float_t): Expect type.
29992 [C99-based standards] (double_t): Expect type.
29993 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
29995 [C99-based standards] (HUGE_VALL): Likewise.
29996 [C99-based standards] (INFINITY): Likewise.
29997 [C99-based standards] (NAN): Likewise.
29998 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
29999 [C99-based standards] (FP_NAN): Likewise.
30000 [C99-based standards] (FP_NORMAL): Likewise.
30001 [C99-based standards] (FP_SUBNORMAL): Likewise.
30002 [C99-based standards] (FP_ZERO): Likewise.
30003 [C99-based standards] (FP_FAST_FMA): Use
30004 optional-macro-int-constant. Specify type. Require == 1.
30005 [C99-based standards] (FP_FAST_FMAF): Likewise.
30006 [C99-based standards] (FP_FAST_FMAL): Likewise.
30007 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
30008 [C99-based standards] (FP_ILOGBNAN): Likewise.
30009 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
30011 [C99-based standards] (MATH_ERREXCEPT): Likewise.
30012 [C99-based standards] (math_errhandling): Specify type.
30013 [ISO99 || ISO11] (signgam): Do not allow.
30014 [non-C99-based standards] (copysignf): Do not allow.
30015 [non-C99-based standards] (exp2f): Likewise.
30016 [non-C99-based standards] (log2f): Likewise.
30017 [non-C99-based standards] (modff): Allow.
30018 [non-C99-based standards] (erff): Do not allow.
30019 [non-C99-based standards] (erfcf): Likewise.
30020 [non-C99-based standards] (gammaf): Likewise.
30021 [non-C99-based standards] (hypotf): Likewise.
30022 [non-C99-based standards] (j0f): Likewise.
30023 [non-C99-based standards] (j1f): Likewise.
30024 [non-C99-based standards] (jnf): Likewise.
30025 [non-C99-based standards] (lgammaf): Likewise.
30026 [non-C99-based standards] (tgammaf): Likewise.
30027 [non-C99-based standards] (y0f): Likewise.
30028 [non-C99-based standards] (y1f): Likewise.
30029 [non-C99-based standards] (ynf): Likewise.
30030 [non-C99-based standards] (isnanf): Likewise.
30031 [non-C99-based standards] (acoshf): Likewise.
30032 [non-C99-based standards] (asinhf): Likewise.
30033 [non-C99-based standards] (atanhf): Likewise.
30034 [non-C99-based standards] (cbrtf): Likewise.
30035 [non-C99-based standards] (expm1f): Likewise.
30036 [non-C99-based standards] (ilogbf): Likewise.
30037 [non-C99-based standards] (log1pf): Likewise.
30038 [non-C99-based standards] (logbf): Likewise.
30039 [non-C99-based standards] (nextafterf): Likewise.
30040 [non-C99-based standards] (remainderf): Likewise.
30041 [non-C99-based standards] (rintf): Likewise.
30042 [non-C99-based standards] (scalbf): Likewise.
30043 [non-C99-based standards] (copysignl): Likewise.
30044 [non-C99-based standards] (exp2l): Likewise.
30045 [non-C99-based standards] (log2l): Likewise.
30046 [non-C99-based standards] (modfl): Allow.
30047 [non-C99-based standards] (erfl): Do not allow.
30048 [non-C99-based standards] (erfcl): Likewise.
30049 [non-C99-based standards] (gammal): Likewise.
30050 [non-C99-based standards] (hypotl): Likewise.
30051 [non-C99-based standards] (j0l): Likewise.
30052 [non-C99-based standards] (j1l): Likewise.
30053 [non-C99-based standards] (jnl): Likewise.
30054 [non-C99-based standards] (lgammal): Likewise.
30055 [non-C99-based standards] (tgammal): Likewise.
30056 [non-C99-based standards] (y0l): Likewise.
30057 [non-C99-based standards] (y1l): Likewise.
30058 [non-C99-based standards] (ynl): Likewise.
30059 [non-C99-based standards] (isnanl): Likewise.
30060 [non-C99-based standards] (acoshl): Likewise.
30061 [non-C99-based standards] (asinhl): Likewise.
30062 [non-C99-based standards] (atanhl): Likewise.
30063 [non-C99-based standards] (cbrtl): Likewise.
30064 [non-C99-based standards] (expm1l): Likewise.
30065 [non-C99-based standards] (ilogbl): Likewise.
30066 [non-C99-based standards] (log1pl): Likewise.
30067 [non-C99-based standards] (logbl): Likewise.
30068 [non-C99-based standards] (nextafterl): Likewise.
30069 [non-C99-based standards] (remainderl): Likewise.
30070 [non-C99-based standards] (rintl): Likewise.
30071 [non-C99-based standards] (scalbl): Likewise.
30072 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30073 [non-C99-based standards] (FP_*): Do not allow.
30074 [C99-based standards] (FP_*): Change to
30075 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
30076 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30078 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
30079 (SIG_ERR): Likewise.
30080 [X/Open-based standards] (SIG_HOLD): Likewise.
30081 (SIG_IGN): Likewise.
30082 (SIGABRT): Use macro-int-constant. Specify type. Require
30084 (SIGFPE): Likewise.
30085 (SIGILL): Likewise.
30086 (SIGINT): Likewise.
30087 (SIGSEGV): Likewise.
30088 (SIGTER): Likewise.
30089 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
30090 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
30091 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
30092 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
30093 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
30094 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
30095 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
30096 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
30097 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
30098 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
30099 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
30100 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
30101 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
30102 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
30103 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
30104 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
30105 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
30106 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
30107 [X/Open-based standards] (SIGTRAP): Likewise.
30108 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
30109 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
30110 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
30111 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
30112 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30115 2012-05-08 Ian Wienand <ianw@vmware.com>
30118 * time/tzset.c (__tzset_parse_tz): Update default rules for
30119 daylight time changes in the Energy Policy Act of 2005.
30121 2012-05-09 Andreas Jaeger <aj@suse.de>
30124 * elf/ldconfig.c (parse_conf): Change string to make clear that
30125 ldconfig only issued a warning if ld.so.conf does not exist.
30127 2012-05-08 David S. Miller <davem@davemloft.net>
30129 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
30130 movxtod instead of popping the value on the stack.
30132 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30134 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
30136 * config.h.in: Add HAVE_ARM_PCS_VFP.
30138 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
30141 * include/features.h: Warn if user requests __FORTIFY_SOURCE
30142 checking but the checks are disabled for any reason.
30144 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
30146 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
30147 and ELF64_R_TYPE with ELFW(R_TYPE).
30149 2012-05-08 Joseph Myers <joseph@codesourcery.com>
30151 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
30152 (ulimit): Likewise.
30154 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
30155 (settimeofday): Likewise.
30157 2012-05-08 Mike Frysinger <vapier@gentoo.org>
30159 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
30160 a struct th_u2 inside the union, and move tu_block/tu_code into
30161 a new th_u3 union of tu_block/tu_code inside of that. Move
30162 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
30163 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
30164 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
30165 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
30166 (th_stuff): Change to th_u1.tu_stuff.
30168 (th_msg): Change to th_u1.th_u2.tu_data.
30170 2012-05-07 David S. Miller <davem@davemloft.net>
30172 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30175 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
30176 (SETUP_PIC_REG): Use it.
30177 (SETUP_PIC_REG_LEAF): Use it.
30179 2012-05-07 Joseph Myers <joseph@codesourcery.com>
30183 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30185 (EXPL_FINITE): Likewise.
30186 (FLDLOG): Likewise.
30187 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
30188 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
30190 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30192 (EXPL_FINITE): Likewise.
30193 (FLDLOG): Likewise.
30194 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
30195 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
30197 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
30198 test of -max_value argument for long double.
30199 * sysdeps/i386/fpu/libm-test-ulps: Update.
30200 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30202 2012-05-06 David S. Miller <davem@davemloft.net>
30204 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
30205 quad soft-float symbols whose references which are compiler
30207 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
30209 2012-05-06 Joseph Myers <joseph@codesourcery.com>
30213 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30215 (EXPL_FINITE): Likewise.
30216 (FLDLOG): Likewise.
30219 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
30220 Adjust comments for base varying.
30221 (__expl_finite): Change alias to EXPL_FINITE.
30222 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
30224 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
30225 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
30226 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
30227 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
30228 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30230 (EXPL_FINITE): Likewise.
30231 (FLDLOG): Likewise.
30234 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
30235 Adjust comments for base varying.
30236 (__expl_finite): Change alias to EXPL_FINITE.
30237 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
30239 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30242 * math/libm-test.inc (check_float_internal): Correct ulp
30243 calculation for subnormal expected results.
30245 2012-05-06 Andreas Jaeger <aj@suse.de>
30247 * Makeconfig (+math-flags): New, set to -frounding-math.
30248 (+cflags): Add +math-flags so that all of glibc gets compiled with
30251 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
30253 2012-05-05 Joseph Myers <joseph@codesourcery.com>
30255 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
30261 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
30262 (__ieee754_expl): Allow for and saturate large arguments.
30263 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
30264 (u_threshold): Likewise.
30265 (__exp): Call __ieee754_exp before checking for overflow and
30267 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
30268 (u_threshold): Likewise.
30269 (__expf): Call __ieee754_expf before checking for overflow and
30271 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
30272 (u_threshold): Likewise.
30273 (__expl): Call __ieee754_expl before checking for overflow and
30275 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
30276 (__ieee754_expl): Allow for and saturate large arguments.
30277 * math/libm-test.inc (exp_test): Add another test. Do not allow
30278 missing overflow exception on overflow.
30279 (expm1_test): Do not allow missing overflow exception on overflow.
30281 * sysdeps/i386/fpu/e_expl.c: Move to ...
30282 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
30283 rather than using inline asm.
30284 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
30285 * sysdeps/x86_64/fpu/e_expl.S: Copy from
30286 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
30288 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
30291 (signal): Likewise.
30295 2012-05-04 Joseph Myers <joseph@codesourcery.com>
30297 * sysdeps/unix/syscalls.list (adjtime): Add entry from
30298 sysdeps/unix/common/syscalls.list.
30299 (fchmod): Likewise.
30300 (fchown): Likewise.
30301 (ftruncate): Likewise.
30302 (getrusage): Likewise.
30303 (gettimeofday): Likewise.
30304 (setpgid): Likewise.
30305 (setregid): Likewise.
30306 (setreuid): Likewise.
30307 (sigaction): Likewise.
30308 (truncate): Likewise.
30309 (vhangup): Likewise.
30310 * sysdeps/unix/common/syscalls.list: Remove file.
30311 * sysdeps/unix/bsd/Implies: Don't include unix/common.
30312 * sysdeps/unix/sysv/linux/Implies: Likewise.
30314 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
30316 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
30317 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
30318 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
30320 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
30322 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
30324 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
30325 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
30327 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
30328 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
30330 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
30331 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
30333 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
30334 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
30336 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
30337 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
30339 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
30340 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
30342 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
30344 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
30346 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
30348 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
30350 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
30351 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
30353 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
30355 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
30357 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
30359 2012-05-04 Joseph Myers <joseph@codesourcery.com>
30361 * sysdeps/unix/common/bits/dirent.h: Remove file.
30362 * sysdeps/unix/common/bits/fcntl.h: Likewise.
30364 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
30365 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
30366 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
30367 * sysdeps/unix/bsd/isatty.c: Likewise.
30368 * sysdeps/unix/bsd/tcdrain.c: Likewise.
30369 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
30370 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
30372 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30375 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
30376 long double comparison inaccuracies.
30377 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
30378 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30380 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
30382 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
30383 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
30385 2012-05-04 Joseph Myers <joseph@codesourcery.com>
30388 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
30389 nonzero digits before rounding a hex value.
30390 * stdlib/tst-strtod.c (tests): Add another test.
30392 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30394 * sysdeps/s390/fpu/libm-test-ulps: Update.
30396 2012-05-03 Andreas Jaeger <aj@suse.de>
30398 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
30399 does not get optimized out.
30400 (malloc_opt_barrier): New.
30402 2012-05-03 Andreas Jaeger <aj@suse.de>
30403 Roland McGrath <roland@hack.frob.com>
30405 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
30406 intermediate file deletion.
30407 (generated): Add .symlist files.
30409 2012-05-03 Joseph Myers <joseph@codesourcery.com>
30412 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
30413 Redirect under this condition.
30414 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
30415 [__USE_GNU] (__dprintf_chk): Not under this condition.
30416 [__USE_GNU] (__vdprintf_chk): Likewise.
30417 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
30418 under this condition.
30419 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
30420 [__USE_XOPEN2K8] (dprintf): Define under this condition.
30421 [__USE_XOPEN2K8] (vdprintf): Likewise.
30422 [__USE_GNU] (__dprintf_chk): Not under this condition.
30423 [__USE_GNU] (__vdprintf_chk): Likewise.
30424 [__USE_GNU] (dprintf): Likewise.
30425 [__USE_GNU] (vdprintf): Likewise.
30427 2012-05-03 Roland McGrath <roland@hack.frob.com>
30429 * elf/Makefile (common-generated): Set this instead of generated for
30430 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
30431 $(all-built-dso)-derived lists.
30433 2012-05-03 Andreas Jaeger <aj@suse.de>
30435 * sysdeps/i386/fpu/libm-test-ulps: Update.
30438 * FAQ.in: Likewise.
30439 * scripts/gen-FAQ.pl: Likewise.
30440 * manual/install.texi (Installation): Point to online location of
30442 * Makefile (files-for-dist): Remove FAQ.
30445 2012-05-02 Allan McRae <allan@archlinux.org>
30447 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
30448 (LDFLAGS-reldepmod5.so): Likewise.
30449 (LDFLAGS-reldep6mod1.so): Likewise.
30450 (LDFLAGS-reldep6mod4.so): Likewise.
30451 (LDFLAGS-reldep8mod3.so): Likewise.
30452 (LDFLAGS-unload4mod1.so): Likewise.
30453 (LDFLAGS-unload4mod2.so): Likewise.
30454 (LDFLAGS-tst-initorder): Likewise.
30455 (LDFLAGS-tst-initordera2.so): Likewise.
30456 (LDFLAGS-tst-initordera3.so): Likewise.
30457 (LDFLAGS-tst-initordera4.so): Likewise.
30458 (LDFLAGS-tst-initorderb2.so): Likewise.
30459 (LDFLAGS-noload): Likewise.
30460 (LDFLAGS-next): Likewise.
30461 (LDFLAGS-order2mod1.so): Likewise.
30462 (LDFLAGS-order2mod2.so): Likewise.
30463 (LDFLAGS-tst-initorder2): Likewise.
30464 (LDFLAGS-tst-initorder2a.so): Likewise.
30465 (LDFLAGS-tst-initorder2b.so): Likewise.
30466 (LDFLAGS-tst-initorder2c.so): Likewise.
30467 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
30469 2012-05-02 David S. Miller <davem@davemloft.net>
30471 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30473 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
30476 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
30478 2012-05-02 Andreas Jaeger <aj@suse.de>
30480 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
30481 since we manipulate rounding mode.
30482 (CPPFLAGS-test-idouble.c): Likewise.
30483 (CPPFLAGS-test-ifloat.c): Likewise.
30484 (CFLAGS-test-ldouble.c): Likewise.
30485 (CFLAGS-test-double.c): Likewise.
30486 (CFLAGS-test-float.c): Likewise.
30487 (CFLAGS-test-misc.c): Likewise.
30488 (CFLAGS-test-test-fenv.c): Likewise.
30490 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30494 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
30495 comparisons to determine direction to adjust input.
30497 2012-05-01 Roland McGrath <roland@hack.frob.com>
30499 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
30500 output to the target.
30502 * scripts/localplt.awk: New file.
30503 * elf/Makefile ($(objpfx)check-localplt): Target removed.
30504 (check-localplt-CFLAGS): Variable removed.
30505 ($(all-built-dso:=.jmprel)): New static pattern rule.
30506 (generated): Add those targets.
30507 (localplt-built-dso): New variable.
30508 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
30510 * elf/check-localplt.c: File removed.
30512 * scripts/check-execstack.awk: New file.
30513 * elf/Makefile ($(objpfx)check-execstack): Target removed.
30514 (check-execstack-CFLAGS): Variable removed.
30515 ($(objpfx)check-execstack.h): Target removed.
30516 ($(objpfx)execstack-default): New target.
30517 (generated): Add that instead of check-execstack.h.
30518 ($(all-built-dso:=.phdr)): New static pattern rule.
30519 (generated): Add those targets.
30520 * elf/check-execstack.c: File removed.
30522 * scripts/check-textrel.awk: New file.
30523 * elf/Makefile ($(objpfx)check-textrel): Target removed.
30524 (check-textrel-CFLAGS): Variable removed.
30525 (all-built-dso): Use := to define.o
30526 ($(all-built-dso:=.dyn)): New static pattern rule.
30527 (generated): Add those targets.
30528 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
30529 * config.make.in (READELF): New substituted variable.
30530 * elf/check-textrel.c: File removed.
30532 2012-05-01 Joseph Myers <joseph@codesourcery.com>
30534 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30536 * conform/data/ctype.h-data [C99-based standards] (isblank):
30538 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
30539 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
30540 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30541 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
30542 Specify type. Require positive value.
30543 (EILSEQ): Likewise.
30544 (ERANGE): Likewise.
30545 [ISO || POSIX] (EILSEQ): Do not expect.
30546 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
30547 Specify type. Require positive value.
30548 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
30549 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
30550 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
30551 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
30552 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
30553 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
30554 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
30555 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
30556 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
30557 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
30558 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
30559 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
30560 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
30561 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
30562 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
30563 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
30564 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
30565 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
30566 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
30567 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
30568 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
30569 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
30570 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
30571 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
30572 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
30573 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
30574 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
30575 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
30576 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
30577 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
30578 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
30579 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
30580 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
30581 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
30582 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
30583 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
30584 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
30585 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
30586 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
30587 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
30588 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
30589 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
30590 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
30591 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
30592 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
30593 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
30594 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
30595 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
30596 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
30597 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
30598 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
30599 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
30600 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
30601 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
30602 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
30603 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
30604 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
30605 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
30606 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
30607 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
30608 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
30609 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
30610 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
30611 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
30612 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
30613 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
30614 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
30615 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
30616 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
30617 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
30618 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
30619 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
30620 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
30621 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
30622 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
30623 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
30624 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
30626 (FLT_ROUNDS): Expect as macro, not constant.
30627 (FLT_MANT_DIG): Use macro-int-constant.
30628 (DBL_MANT_DIG): Likewise.
30629 (LDBL_MANT_DIG): Likewise.
30630 (FLT_DIG): Likewise.
30631 (DBL_DIG): Likewise.
30632 (LDBL_DIG): Likewise.
30633 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
30634 (DBL_MIN_EXP): Likewise.
30635 (LDBL_MIN_EXP): Likewise.
30636 (FLT_MAX_EXP): Use macro-int-constant.
30637 (DBL_MAX_EXP): Likewise.
30638 (LDBL_MAX_EXP): Likewise.
30639 (FLT_MAX_10_EXP): Likewise.
30640 (DBL_MAX_10_EXP): Likewise.
30641 (LDBL_MAX_10_EXP): Likewise.
30642 (FLT_MAX): Use macro-constant.
30643 (DBL_MAX): Likewise.
30644 (LDBL_MAX): Likewise.
30645 (FLT_EPSILON): Use macro-constant. Give upper bound.
30646 (DBL_EPSILON): Likewise.
30647 (LDBL_EPSILON): Likewise.
30648 (FLT_MIN): Likewise.
30649 (DBL_MIN): Likewise.
30650 (LDBL_MIN): Likewise.
30651 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
30652 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
30653 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
30654 [ISO11] (FLT_HAS_SUBNORM): Likewise.
30655 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
30656 [ISO11] (DBL_DECIMAL_DIG): Likewise.
30657 [ISO11] (FLT_DECIMAL_DIG): Likewise.
30658 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
30659 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
30660 [ISO11] (FLT_TRUE_MIN): Likewise.
30661 [ISO11] (LDBL_TRUE_MIN): Likewise.
30662 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30663 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
30664 (SCHAR_MIN): Use macro-int-constant. Specify type.
30665 (SCHAR_MAX): Likewise.
30666 (UCHAR_MAX): Likewise.
30667 (CHAR_MIN): Likewise.
30668 (CHAR_MAX): Likewise.
30669 (MB_LEN_MAX): Use macro-int-constant.
30670 (SHRT_MIN): Use macro-int-constant. Specify type.
30671 (SHRT_MAX): Likewise.
30672 (USHRT_MAX): Likewise.
30673 (INT_MAX): Likewise.
30674 (INT_MIN): Use macro-int-constant. Specify type. Make upper
30676 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
30678 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
30680 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
30681 bound negative. Suffix upper bound with "L".
30682 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
30684 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
30686 [C99-based standards] (LLONG_MAX): Likewise.
30687 [C99-based standards] (ULLONG_MAX): Likewise.
30688 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
30690 [ISO11] (max_align_t): Require type.
30691 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30693 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
30694 from $CFLAGS, without defining away __attribute__ calls.
30695 (checknamespace): Use $CFLAGS_namespace.
30697 * conform/conformtest.pl (@keywords): Only include C99 keywords
30698 for standards based on C99 or C11.
30700 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
30702 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
30705 * conform/conformtest.pl: Handle "macro-int-constant" and test for
30706 usability of symbols in #if.
30708 * conform/conformtest.pl: If macro or constant types start
30709 "promoted:", expect the symbol to be of the following type
30710 promoted by the integer promotions.
30712 * conform/conformtest.pl: Parse all "constant" and "macro" lines
30713 in one place. Also handle "macro-constant".
30715 * conform/conformtest.pl: Only accept expected macro values with
30716 "==". Parse all "macro" lines in one place.
30717 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
30719 * conform/conformtest.pl: Handle braced types on "constant" lines
30720 instead of handling "typed-constant".
30721 * conform/data/signal.h-data: Use "constant" instead of
30724 * conform/conformtest.pl: Handle "optional-" at start of lines in
30725 one place rather than duplicating several cases. Handle each
30726 format of "macro" line with initial "optional-".
30728 * conform/conformtest.pl: Only accept expected constant or
30729 optional-constant values with "==". Parse all "constant" lines in
30730 one place. Parse all "optional-constant" lines in one place.
30731 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
30732 * conform/data/fmtmsg.h-data: Likewise.
30733 * conform/data/netinet/in.h-data: Likewise.
30734 * conform/data/tar.h-data: Likewise.
30735 * conform/data/limits.h-data: Use "==" form on "constant" and
30736 "optional-constant" lines.
30738 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
30739 Use -std=c99 for XOPEN2K.
30740 (@knownproblems): Remove.
30741 (newtoken): Don't check %isknown.
30743 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
30744 Do not expect macro.
30745 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
30746 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
30747 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
30748 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
30749 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
30750 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
30751 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
30752 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
30753 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
30754 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
30755 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
30756 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
30757 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
30758 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
30759 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
30760 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
30761 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
30762 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
30763 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
30764 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
30765 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
30766 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
30767 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
30768 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
30769 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
30770 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
30771 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
30772 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
30773 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
30774 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
30775 [XPG3] (acosh): Likewise.
30776 [XPG3] (asinh): Likewise.
30777 [XPG3] (atanh): Likewise.
30778 [XPG3] (cbrt): Likewise.
30779 [XPG3] (expm1): Likewise.
30780 [XPG3] (ilogb): Likewise.
30781 [XPG3] (log1p): Likewise.
30782 [XPG3] (logb): Likewise.
30783 [XPG3] (nextafter): Likewise.
30784 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
30785 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
30786 [XPG3] (remainder): Likewise.
30787 [XPG3] (rint): Likewise.
30788 [XPG3 || XPG4 || UNIX98] (round): Likewise.
30789 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
30790 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
30791 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
30792 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
30793 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
30794 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
30795 [UNIX98 || XOPEN2K] (scalb): Expect.
30796 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
30797 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
30798 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
30799 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
30800 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
30801 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
30802 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
30803 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
30804 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
30805 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
30806 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
30807 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
30808 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
30809 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
30810 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
30811 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
30812 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
30813 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
30814 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
30815 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
30816 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
30817 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
30818 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
30819 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
30820 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
30821 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
30822 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
30823 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
30824 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
30825 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
30826 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
30827 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
30828 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
30829 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
30830 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
30831 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
30832 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
30833 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
30834 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
30835 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
30836 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
30837 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
30838 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
30839 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
30840 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
30841 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
30842 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
30843 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
30844 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
30845 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
30846 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
30847 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
30848 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
30849 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
30850 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
30851 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
30852 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
30853 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
30854 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
30855 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
30856 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
30857 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
30858 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
30859 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
30860 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
30861 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
30862 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
30863 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
30864 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
30865 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
30866 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
30867 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
30868 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
30869 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
30870 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
30871 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
30872 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
30873 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
30874 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
30875 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
30876 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
30877 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
30878 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
30879 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
30880 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
30881 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
30882 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
30883 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
30884 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
30885 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
30886 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
30887 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
30888 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
30889 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
30890 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
30891 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
30892 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
30893 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
30894 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
30895 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
30896 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
30897 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
30898 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
30899 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
30900 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
30901 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
30902 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
30903 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
30904 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
30905 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
30906 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
30907 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
30908 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
30909 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
30910 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
30911 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
30912 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
30913 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
30914 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
30915 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
30916 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
30917 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
30918 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
30919 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
30920 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
30921 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
30922 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
30923 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
30924 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
30925 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
30926 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
30927 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
30928 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
30929 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
30930 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
30931 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
30932 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
30934 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
30935 _XOPEN_SOURCE_EXTENDED for XPG4.
30937 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
30939 * Makeconfig (localtime): Remove variable.
30940 (inst_localtime-file): Likewise.
30942 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
30944 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
30946 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
30950 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
30952 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
30954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
30956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
30960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
30963 2012-05-01 Joseph Myers <joseph@codesourcery.com>
30967 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
30968 comparisons to determine direction to adjust input.
30969 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
30970 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
30971 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
30973 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
30975 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
30977 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
30978 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
30980 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
30982 * math/libm-test.inc (nexttoward_test): Add more tests.
30984 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
30987 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
30988 in version GLIBC_2.1, not GLIBC_2.0.
30989 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
30992 2012-04-30 Joseph Myers <joseph@codesourcery.com>
30995 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
30997 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
30998 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
30999 * math/libm-test.inc (acos_test): Add more tests.
31000 (asin_test): Likewise.
31001 * sysdeps/i386/fpu/libm-test-ulps: Update.
31002 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31005 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
31007 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
31008 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
31009 * math/libm-test.inc (acos_test_tonearest): New function.
31010 (acos_test_towardzero): Likewise.
31011 (acos_test_downward): Likewise.
31012 (acos_test_upward): Likewise.
31013 (asin_test_tonearest): Likewise.
31014 (asin_test_towardzero): Likewise.
31015 (asin_test_downward): Likewise.
31016 (asin_test_upward): Likewise.
31017 (main): Call the new functions.
31018 * sysdeps/i386/fpu/libm-test-ulps: Update.
31019 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31023 * math/e_exp10.c: Include <float.h>.
31024 (__ieee754_exp10): Handle underflow here rather than multiplying
31025 large negative argument by M_LN10.
31026 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
31028 * math/e_exp10l.c: Include <float.h>.
31029 (__ieee754_exp10l): Handle underflow here rather than multiplying
31030 large negative argument by M_LN10l.
31031 * math/libm-test.inc (exp10_test): Add another test. Do not allow
31032 spurious overflow exception on underflow.
31034 2012-04-29 Marek Polacek <polacek@redhat.com>
31036 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
31037 (__fortify_function): New macro.
31038 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
31039 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
31040 __extern_always_inline.
31041 * libio/bits/stdio2.h: Likewise.
31042 * libio/bits/stdio.h: Likewise.
31043 * string/string.h: Likewise.
31044 * string/bits/string3.h: Likewise.
31045 * include/stdio.h: Likewise.
31046 * stdlib/bits/stdlib.h: Likewise.
31047 * stdlib/stdlib.h: Likewise.
31048 * rt/bits/mqueue2.h: Likewise.
31049 * rt/mqueue.h: Likewise.
31050 * posix/bits/unistd.h: Likewise.
31051 * posix/unistd.h: Likewise.
31052 * io/bits/poll2.h: Likewise.
31053 * io/bits/fcntl2.h: Likewise.
31054 * io/fcntl.h: Likewise.
31055 * io/sys/poll.h: Likewise.
31056 * misc/bits/syslog.h: Likewise.
31057 * misc/bits/syslog-ldbl.h: Likewise.
31058 * misc/sys/syslog.h: Likewise.
31059 * socket/bits/socket2.h: Likewise.
31060 * socket/sys/socket.h: Likewise.
31061 * debug/tst-chk1.c: Likewise.
31062 * wcsmbs/bits/wchar2.h: Likewise.
31063 * wcsmbs/bits/wchar-ldbl.h: Likewise.
31064 * wcsmbs/wchar.h: Likewise.
31066 2012-04-29 Andreas Jaeger <aj@suse.de>
31068 * Makerules (tests): Remove enable-check-abi protection.
31069 (check-abi-warn): Remove.
31070 (check-abi-%): Remove check-abi-warn usage.
31072 * configure.in: Remove check-abi configure option.
31073 * configure: Regenerated.
31074 * config.make.in (enable-check-abi): Remove.
31076 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
31079 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
31080 double functions to double *_finite functions.
31083 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
31084 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
31086 * stdio-common/Makefile (tests): Add tst-sprintf3.
31087 * stdio-common/tst-sprintf3.c: New file.
31089 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
31090 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
31092 2012-04-28 Joseph Myers <joseph@codesourcery.com>
31094 * conform/conformtest.pl: Remove duplicate typed-constant
31097 2012-04-28 David S. Miller <davem@davemloft.net>
31099 * Makerules (%.abilist): Add vpath on sysdep_dirs.
31100 (check-abi-%): Remove AWK script prerequisite and explicit
31102 (check-abi): Rewrite to just diff the symlist with the abilist.
31103 (config-tls, config-abi-config): Delete, no longer used.
31104 (update-abi-%): Remove AWK script and explicit abilist directory.
31105 (update-abi): Rewrite to simply compare and conditionally copy the
31106 symlist and the sysdep abilist file. Remove update-abi-config
31108 * abilist/ld.abilist: Remove.
31109 * abilist/libBrokenLocale.abilist: Remove.
31110 * abilist/libanl.abilist: Remove.
31111 * abilist/libcrypt.abilist: Remove.
31112 * abilist/libdl.abilist: Remove.
31113 * abilist/librt.abilist: Remove.
31114 * abilist/libthread_db.abilist: Remove.
31115 * abilist/libutil.abilist: Remove.
31116 * scripts/extract-abilist.awk: Remove.
31117 * scripts/merge-abilist.awk: Remove.
31118 * sysdeps/generic/libcidn.abilist: New file.
31119 * sysdeps/generic/libnss_compat.abilist: New file.
31120 * sysdeps/generic/libnss_db.abilist: New file.
31121 * sysdeps/generic/libnss_dns.abilist: New file.
31122 * sysdeps/generic/libnss_files.abilist: New file.
31123 * sysdeps/generic/libnss_hesiod.abilist: New file.
31124 * sysdeps/generic/libnss_nis.abilist: New file.
31125 * sysdeps/generic/libnss_nisplus.abilist: New file.
31126 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
31127 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
31128 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
31130 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
31131 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
31132 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
31133 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
31134 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
31135 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
31136 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
31137 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
31138 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
31140 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
31141 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
31142 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
31143 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
31145 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
31146 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
31147 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
31148 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
31149 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
31150 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
31152 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
31153 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
31154 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
31156 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
31157 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
31159 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
31161 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
31163 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
31165 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
31167 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
31169 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
31171 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
31173 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
31175 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
31177 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
31179 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
31181 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
31183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
31185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
31187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
31189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
31191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
31193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
31195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
31197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
31199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
31201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
31203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
31205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
31207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
31209 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
31210 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
31212 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
31214 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
31216 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
31218 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
31220 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
31222 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
31224 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
31226 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
31228 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
31230 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
31232 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
31234 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
31235 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
31237 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
31239 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
31241 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
31243 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
31245 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
31247 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
31249 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
31251 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
31253 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
31255 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
31257 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
31259 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
31260 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
31261 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
31263 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
31264 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
31265 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
31266 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
31267 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
31268 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
31269 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
31270 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
31271 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
31272 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
31273 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
31274 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
31276 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
31278 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
31280 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
31282 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
31284 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
31286 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
31288 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
31290 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
31292 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
31294 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
31296 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
31298 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
31299 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
31301 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
31303 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
31305 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
31307 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
31309 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
31311 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
31313 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
31315 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
31317 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
31319 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
31321 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
31324 2012-04-28 Joseph Myers <joseph@codesourcery.com>
31326 * conform/conformtest.pl: Fix typo in handling typed-constant from
31329 2012-04-27 Joseph Myers <joseph@codesourcery.com>
31331 * README: Cut down references to pre-2.6 Linux kernels and
31332 Linuxthreads. Update lists of configurations in libc and ports
31333 and sort alphabetically. Say "or newer" with Linux kernel version
31336 * config.h.in [IS_IN_build]: Allow compiling without optimization.
31338 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
31341 * math/libm-test.inc (logb_test_downward): New test to expose
31342 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
31345 2012-04-27 Joseph Myers <joseph@codesourcery.com>
31348 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
31350 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
31351 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
31353 2012-04-26 Joseph Myers <joseph@codesourcery.com>
31355 * sysdeps/unix/i386/brk.S: Remove file.
31356 * sysdeps/unix/i386/dl-brk.S: Likewise.
31357 * sysdeps/unix/i386/pipe.S: Likewise.
31358 * sysdeps/unix/i386/sigreturn.S: Likewise.
31359 * sysdeps/unix/i386/syscall.S: Likewise.
31360 * sysdeps/unix/i386/vfork.S: Likewise.
31361 * sysdeps/unix/i386/wait.S: Likewise.
31363 * sysdeps/unix/common/tcsendbrk.c: Move to ...
31364 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
31366 * configure.in (arm*-none*): Do not allow without
31367 --enable-hacker-mode.
31368 (netbsd*): Remove case setting base_os.
31369 (386bsd*): Likewise.
31370 (freebsd*): Likewise.
31373 (sunos*): Likewise.
31374 (ultrix*): Likewise.
31375 (newsos*): Likewise.
31376 (dynix*): Likewise.
31382 (minix*): Likewise.
31383 (irix4*): Likewise.
31384 (irix6*): Likewise.
31385 (solaris[2-9]*): Likewise.
31387 * configure: Regenerated.
31389 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31392 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
31393 overflow or cancellation in calculating denominator.
31394 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
31395 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
31396 down expression to avoid unexpected rounding in newer GCCs.
31397 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
31399 2012-04-26 David S. Miller <davem@davemloft.net>
31401 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
31402 long-double compat symbols.
31403 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
31404 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
31405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
31406 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
31407 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
31408 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
31409 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
31410 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
31411 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
31412 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
31413 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
31414 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
31415 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
31417 2012-04-25 David S. Miller <davem@davemloft.net>
31419 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
31420 HWCAP_* values only after the memory barriers have been defined.
31421 (atomic_full_barrier): Define.
31422 (atomic_read_barrier): Define.
31423 (atomic_write_barrier): Define.
31425 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
31427 * shlib-versions: Add libgcc_s version information.
31428 * sysdeps/generic/libgcc_s.h: Remove.
31429 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
31431 * sysdeps/gnu/unwind-resume.c: Likewise.
31432 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
31434 2012-04-25 David S. Miller <davem@davemloft.net>
31436 * sysdeps/unix/sparc/brk.S: Delete.
31437 * sysdeps/unix/sparc/dl-brk.S: Delete.
31438 * sysdeps/unix/sparc/pipe.S: Delete.
31439 * sysdeps/unix/sparc/sysdep.S: Delete.
31440 * sysdeps/unix/sparc/sysdep.h: Delete.
31441 * sysdeps/unix/sparc/vfork.S: Delete.
31442 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
31443 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
31444 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
31445 (ret_ERRVAL, r0, r1, MOVE): Define.
31446 (JUMPTARGET): Remove.
31447 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
31448 sysdeps/unix/sparc/sysdep.h
31449 (ENTRY, END): Remove.
31450 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31452 2012-04-25 Joseph Myers <joseph@codesourcery.com>
31454 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
31455 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
31458 * timezone/README: Update upstream location and email address for
31460 * timezone/zdump.c: Update from tzcode 2012b.
31461 * timezone/zic.c: Likewise.
31463 * configure.in (libc_cv_as_needed): Remove test.
31464 * configure: Regenerated.
31465 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
31466 conditional definition.
31467 [$(have-as-needed) != yes] (no-as-needed): Likewise.
31468 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
31469 * config.make.in (have-as-needed): Remove variable.
31471 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
31472 Paul Pluzhnikov <ppluzhnikov@google.com>
31474 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
31477 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
31479 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
31480 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
31481 * sysdeps/sh/strlen.S: Likewise.
31483 2012-04-24 Joseph Myers <joseph@codesourcery.com>
31485 * sysdeps/unix/fork.S: Remove file.
31486 * sysdeps/unix/i386/fork.S: Likewise.
31487 * sysdeps/unix/sparc/fork.S: Likewise.
31489 * sysdeps/unix/system.c: Remove file.
31490 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
31492 * sysdeps/unix/getegid.S: Remove file.
31493 * sysdeps/unix/geteuid.S: Likewise.
31495 2012-04-24 Roland McGrath <roland@hack.frob.com>
31497 * scripts/check-localplt.awk: New file.
31498 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
31500 * scripts/data/localplt-generic.data: Add a comment.
31502 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
31503 NODE when __dir_mkfile failed.
31504 * sysdeps/mach/hurd/symlinkat.c: Likewise.
31505 Reported by Ludovic Courtès <ludo@gnu.org>.
31507 2012-04-24 Andreas Jaeger <aj@suse.de>
31509 * Makerules (common-clean): Also remove gen-as-const-headers
31512 2012-04-24 Joseph Myers <joseph@codesourcery.com>
31514 * Makerules (native-compile): Do not change working directory for
31515 build. Use $(OUTPUT_OPTION) in command.
31516 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
31518 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31521 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
31522 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
31523 * math/libm-test.inc (floor_test): Add more tests.
31524 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
31526 2012-04-24 Joseph Myers <joseph@codesourcery.com>
31528 * sysdeps/unix/getdents.c: Remove file.
31529 * sysdeps/unix/sysv/getdents.c: Likewise.
31530 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
31532 * sysdeps/unix/syscalls.list (madvise): Add syscall from
31533 sysdeps/unix/mman/syscalls.list.
31535 (mprotect): Likewise.
31537 (munmap): Likewise.
31538 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
31539 * sysdeps/unix/mman/syscalls.list: Remove.
31540 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
31542 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
31543 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
31544 * configure: Regenerated.
31545 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
31546 $(libgcc_s_suffix).
31547 * config.make.in (libgcc_s_suffix): Remove variable.
31549 2012-04-23 Joseph Myers <joseph@codesourcery.com>
31551 * sysdeps/unix/sysv/gethostname.c: Move to ...
31552 * sysdeps/posix/gethostname.c: ... here.
31554 * sysdeps/unix/execve.S: Remove file.
31556 * sysdeps/unix/_exit.S: Remove file.
31558 2012-04-23 Andreas Jaeger <aj@suse.de>
31561 * manual/Makefile: Remove make dist support, there's no
31562 need for a stand-alone documentation tar ball.
31563 (TEXI2DVI): Define always, it's not in Makeconfig.
31566 (edition): Removed.
31567 (glibc-doc-$(edition).tar): Removed
31571 (ETAGS): Remove, it's in Makeconfig.
31572 (move-if-change): Remove, it's in Makeconfig.
31574 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
31577 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
31578 (strtod, strtof, strtold, strtol, strtoul, strtoq)
31579 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
31580 (strtod_l, strtof_l, strtold_l): Remove __wur.
31581 It is not necessarily an error to ignore strtol's return value.
31582 One can reliably look at the stored endptr to decide whether
31583 the number had valid syntax.
31585 2012-04-21 Andreas Jaeger <aj@suse.de>
31588 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
31590 2012-04-21 Joseph Myers <joseph@codesourcery.com>
31592 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
31593 * sysdeps/unix/sysv/Versions: Remove file.
31595 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
31598 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31600 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
31603 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
31604 version from __vm86.
31606 2012-04-20 Joseph Myers <joseph@codesourcery.com>
31608 * sysdeps/unix/common/lxstat.c: Remove file.
31609 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
31611 * sysdeps/unix/sysv/Makefile: Remove file.
31613 * sysdeps/unix/sysv/direct.h: Remove file.
31615 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
31616 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
31617 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
31618 * sysdeps/unix/sysv/bits/signum.h: Likewise.
31619 * sysdeps/unix/sysv/bits/stat.h: Likewise.
31620 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
31621 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
31623 * sysdeps/unix/sysv/setrlimit.c: Remove file.
31625 * sysdeps/unix/xmknod.c: Remove file.
31626 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
31628 * sysdeps/unix/sysv/settimeofday.c: Remove file.
31630 * sysdeps/unix/sysv/i386/time.S: Remove file.
31632 * sysdeps/unix/fxstat.c: Remove file.
31633 * sysdeps/unix/xstat.c: Likewise.
31634 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
31636 * sysdeps/unix/sysv/sigaction.c: Remove file.
31638 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
31639 (sysdep_headers): Remove variable.
31640 [termio.h not in sysdep_headers] (generated): Likewise.
31641 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
31642 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
31643 * sysdeps/unix/sysv/tcdrain.c: Likewise.
31644 * sysdeps/unix/sysv/tcflow.c: Likewise.
31645 * sysdeps/unix/sysv/tcflush.c: Likewise.
31646 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
31647 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
31648 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
31649 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
31650 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
31652 * sysdeps/unix/siglist.c: Remove file.
31654 * sysdeps/unix/getppid.S: Remove file.
31656 * sysdeps/unix/mkdir.c: Remove file.
31657 * sysdeps/unix/rmdir.c: Likewise.
31659 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
31661 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
31663 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
31664 errlist-compat value.
31666 2012-04-18 David S. Miller <davem@davemloft.net>
31668 * sysdeps/generic/memcopy.h (reg_char): Delete.
31669 * debug/strcat_chk.c: Use char, not reg_char.
31670 * debug/strcpy_chk.c: Likewise.
31671 * debug/strncat_chk.c: Likewise.
31672 * debug/strncpy_chk.c: Likewise.
31673 * string/memchr.c: Likewise.
31674 * string/memrchr.c: Likewise.
31675 * string/rawmemchr.c: Likewise.
31676 * string/strcat.c: Likewise.
31677 * string/strchr.c: Likewise.
31678 * string/strchrnul.c: Likewise.
31679 * string/strcmp.c: Likewise.
31680 * string/strcpy.c: Likewise.
31681 * string/strncat.c: Likewise.
31682 * string/strncmp.c: Likewise.
31683 * string/strncpy.c: Likewise.
31685 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31687 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
31688 __builtin_memcopy is called when src and dest ranges are known to not
31691 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31693 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
31694 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
31695 fwd_align_merge macro call.
31696 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
31697 bwd_align_merge macro call.
31698 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31700 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31702 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
31703 bwd_align_merge macros.
31704 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
31705 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
31706 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31708 2012-04-18 David S. Miller <davem@davemloft.net>
31710 * sysdeps/sparc/sparc64/memcopy.h: Delete.
31712 2012-04-18 Andreas Jaeger <aj@suse.de>
31715 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
31716 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
31717 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31719 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
31720 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
31721 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31723 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
31724 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
31725 Adjust for changed ldbl-128 files.
31727 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
31728 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
31729 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31731 2012-04-17 David S. Miller <davem@davemloft.net>
31733 * sysdeps/sparc/sparc32/memcopy.h: Delete.
31735 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
31737 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
31738 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
31739 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
31740 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
31741 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
31742 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
31744 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31747 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
31748 * math/libm-test.inc: Add ilogb errno and exception tests.
31749 * math/w_ilogb.c: New file: ilogb wrapper.
31750 * math/w_ilogbf.c: New file: ilogbf wrapper.
31751 * math/w_ilogbl.c: New file: ilogbl wrapper.
31752 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
31753 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
31754 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
31755 exception being thrown with 0.0 as argument.
31756 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
31757 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
31758 exception being thrown with 0.0 as argument.
31759 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
31760 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
31761 exception being thrown with 0.0 as argument.
31762 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
31763 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
31764 exception being thrown with 0.0 as argument.
31765 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
31766 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
31767 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
31768 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
31769 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
31770 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
31771 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
31772 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
31773 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
31775 2012-04-17 Petr Baudis <pasky@ucw.cz>
31777 * include/sys/uio.h: Change __vector to __iovec to avoid clash
31780 2012-04-16 Marek Polacek <polacek@redhat.com>
31782 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
31784 2012-04-16 Marek Polacek <polacek@redhat.com>
31786 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
31787 operands of fdivp instruction.
31789 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
31791 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
31792 * elf/tst-auditmod3b.c: Likewise.
31793 * elf/tst-auditmod4b.c: Likewise.
31794 * elf/tst-auditmod5b.c: Likewise.
31795 * elf/tst-auditmod6b.c: Likewise.
31796 * elf/tst-auditmod6c.c: Likewise.
31797 * elf/tst-auditmod7b.c: Likewise.
31798 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
31799 * sysdeps/x86_64/preconfigure.in: Likewise.
31800 * sysdeps/x86_64/preconfigure: Regenerated.
31802 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
31804 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
31807 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
31809 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31810 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
31812 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
31815 * locale/iso-639.def: Fix gl language name. Spotted by
31818 2012-04-12 Roland McGrath <roland@hack.frob.com>
31821 * libio/libio.h (__io_write_fn): Update comment.
31823 2012-04-12 Petr Baudis <pasky@ucw.cz>
31826 * stdio.texi (Hook Functions): The user provided writer function
31827 is not allowed to return -1.
31829 2012-04-11 David S. Miller <davem@davemloft.net>
31831 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31833 2012-04-11 Mike Frysinger <vapier@gentoo.org>
31835 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
31836 Add a leading slash to rtkaio.
31838 2012-04-11 Jim Meyering <meyering@redhat.com>
31841 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
31842 It is not necessarily an error to ignore fwrite's return
31843 value. One can reliably use ferror to test for errors after
31846 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
31848 * bits/types.h (__snseconds_t): New type.
31849 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
31851 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
31852 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31853 (__SNSECONDS_T_TYPE): Likewise.
31854 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31855 (__SNSECONDS_T_TYPE): Likewise.
31856 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31857 (__SNSECONDS_T_TYPE): Likewise.
31859 2012-04-10 Andreas Jaeger <aj@suse.de>
31862 * manual/time.texi (Processor Time): Return type of times is
31863 elapsed real time since an arbitrary point in the past.
31864 (CPU Time): Move CLK_TCK from here...
31865 (Processor Time): ...to here. Correct description.
31866 * manual/conf.texi (Constants for Sysconf): Correct description of
31869 2012-04-10 David S. Miller <davem@davemloft.net>
31872 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
31873 where the is a gap between DT_REL(A) and DT_JMPREL.
31875 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
31877 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
31878 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
31879 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
31881 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
31883 * elf/dl-support.c (_dl_inhibit_cache): New variable.
31884 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
31885 (dl_main): Handle --inhibit-cache.
31886 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
31888 * elf/dl-load.c (_dl_map_object): Use it.
31889 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
31891 2012-04-09 Joseph Myers <joseph@codesourcery.com>
31894 * sysdeps/i386/fpu/e_powl.S (p78): New object.
31895 (__ieee754_powl): Saturate large exponents rather than testing for
31896 overflow of y*log2(x).
31897 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31898 * math/libm-test.inc (pow_test): Do not permit spurious overflow
31902 * math/s_ctan.c: Include <float.h>.
31903 (__ctan): Avoid internal overflow or cancellation in calculating
31905 * math/s_ctanf.c: Likewise.
31906 * math/s_ctanl.c: Likewise.
31907 * math/s_ctanh.c: Likewise.
31908 * math/s_ctanhf.c: Likewise.
31909 * math/s_ctanhl.c: Likewise.
31910 * math/libm-test.inc (ctan_test): Add more tests.
31911 (ctanh_test): Likewise.
31912 * sysdeps/i386/fpu/libm-test-ulps: Update.
31913 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31915 2012-04-09 Andreas Jaeger <aj@suse.de>
31918 * manual/filesys.texi (Directory Entries): Mention that d_namlen
31919 is an optional BSD extension.
31922 * manual/stdio.texi (Opening Streams): Document additional fopen
31925 2012-04-09 Roland McGrath <roland@hack.frob.com>
31927 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
31928 %eax without telling the compiler.
31930 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
31933 * manual/install.texi: Use sourceware.org.
31935 2012-04-09 Joseph Myers <joseph@codesourcery.com>
31938 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
31939 (__ieee754_pow): Generate overflow and underflow using huge*huge
31940 and tiny*tiny rather than just returning constant infinity or zero
31941 for large exponents.
31942 * math/libm-test.inc (pow_test): Require overflow exceptions for
31943 applicable cases of large exponents.
31946 * sysdeps/i386/fpu/e_pow.S (p10): New object.
31947 (__ieee754_pow): Use iterative multiplication algorithm only for
31948 integer exponents with absolute value below 1024. Check for odd
31949 integer exponents when using algorithm for real exponents.
31950 * math/libm-test.inc (pow_test): Add more tests.
31951 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31953 2012-04-08 Joseph Myers <joseph@codesourcery.com>
31956 * math/libm-test.inc (exp_test): Do not allow overflow exception
31959 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
31962 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
31963 instead of __kernel_standard_f.
31965 2012-04-08 Mike Frysinger <vapier@gentoo.org>
31967 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
31968 * sysdeps/x86_64/memset_chk.S: Likewise.
31970 2012-04-08 Andreas Jaeger <aj@suse.de>
31973 * manual/startup.texi (Environment Access): Describe return value
31974 for putenv and setenv.
31977 * manual/filesys.texi (Directory Entries): Add description for
31981 * manual/filesys.texi (Directory Entries): Clarify that it's file
31982 system not operating system in the description of DT_UNKNOWN.
31985 * manual/syslog.texi (closelog): Fix reference, it's openlog.
31987 2012-04-08 Stephen Compall <s11@member.fsf.org>
31990 * manual/llio.texi (Opening and Closing Files): Add cross
31991 reference to explain mode argument.
31993 2012-04-07 Mike Frysinger <vapier@gentoo.org>
31995 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
31996 * sysdeps/x86_64/memset_chk.S: Likewise.
31998 2012-04-07 David S. Miller <davem@davemloft.net>
32000 * elf/elf.h (R_SPARC_WDISP10): Define.
32001 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
32003 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
32004 R_SPARC_SIZE64 and R_SPARC_H34.
32006 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
32008 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
32009 conditions and remove no longer applicable assertion.
32011 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
32013 * bits/byteswap.h: Include <features.h>.
32014 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
32015 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
32017 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
32019 * bits/byteswap.h (__bswap_16): Removed.
32020 Include <bits/byteswap-16.h> to get __bswap_16.
32021 * sysdeps/i386/bits/byteswap.h: Likewise.
32022 * sysdeps/s390/bits/byteswap.h: Likewise.
32023 * sysdeps/x86_64/bits/byteswap.h: Likewise.
32024 * bits/byteswap-16.h: New file.
32025 * sysdeps/i386/bits/byteswap-16.h: Likewise.
32026 * sysdeps/s390/bits/byteswap-16.h: Likewise.
32027 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
32028 * string/Makefile (headers): Add bits/byteswap-16.h.
32030 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
32033 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
32035 * nss/Makefile (tests-static, tests): Add tst-nss-static.
32036 * nss/tst-nss-static.c: New.
32038 2012-04-06 Robert Millan <rmh@gnu.org>
32041 * manual/llio.texi (File Position Primitive): lseek
32042 refers to WHENCE when it really means OFFSET.
32044 2012-04-06 Andreas Jaeger <aj@suse.de>
32046 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
32047 strncmp declarations.
32049 * abilist/libc.abilist: Add __poll and __ppoll.
32051 2012-04-05 David S. Miller <davem@davemloft.net>
32053 * scripts/check-local-headers.sh: Accept a host triplet in the
32054 path matched by the exclude regexp.
32056 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
32058 * sysdeps/powerpc/powerpc32/dl-machine.h
32059 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
32060 * sysdeps/s390/s390-32/dl-machine.h
32061 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
32062 * sysdeps/sparc/sparc32/dl-machine.h
32063 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
32064 * sysdeps/sparc/sparc64/dl-machine.h
32065 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
32067 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
32069 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
32070 undefined symbol errors.
32072 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
32075 2012-04-05 Michael Matz <matz@suse.de>
32078 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
32080 2012-04-05 Andreas Jaeger <aj@suse.de>
32083 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
32086 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32088 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
32089 which ROUND is no valid rounding mode.
32091 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32093 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
32095 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
32097 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32099 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
32100 an exception using FPU order intentionally.
32102 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32104 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
32105 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
32106 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
32107 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
32109 2012-04-05 Simon Josefsson <simon@josefsson.org>
32112 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
32113 EINVAL when BUFLEN is too smal.
32115 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
32118 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
32119 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
32121 2012-04-03 Andreas Jaeger <aj@suse.de>
32124 * manual/setjmp.texi (System V contexts): Fix sentence.
32127 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
32128 New macro for this case.
32129 [!__GNUC__] (__bswap_64): New inline function for this case.
32130 * sysdeps/x86_64/bits/byteswap.h: Likewise.
32131 * bits/byteswap.h: Likewise.
32132 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
32133 ull, guard with __GLIBC_HAVE_LONG_LONG.
32135 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
32136 __GLIBC_HAVE_LONG_LONG.
32138 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
32139 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
32141 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32144 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
32145 inptr and inend, rather than using last_ch.
32147 2012-04-02 David S. Miller <davem@davemloft.net>
32149 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
32150 * stdio-common/printf-parse.h (read_int): Change return type to
32151 'int', return -1 on INT_MAX overflow.
32152 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
32153 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
32154 overflows INT_MAX. Check for overflow of in-format-string precision
32155 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
32156 SIZE_MAX not INT_MAX for integer overflow test.
32157 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
32158 skip the construct in the format string but do not record anything.
32159 * stdio-common/bug22.c: Adjust to test both width/prevision
32160 INT_MAX overflow as well as total length INT_MAX overflow. Check
32161 explicitly for proper errno values.
32163 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
32165 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
32167 * string/test-strcmp.c [! WIDE]: Likewise.
32168 * time/tst-mktime2.c: Likewise for INT_MAX.
32169 * string/test-string.h: #include <sys/param.h> for MIN.
32171 * csu/init-first.c (__libc_init_first): Call __ctype_init.
32172 * sysdeps/i386/init-first.c (init): Likewise.
32173 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
32174 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
32175 * sysdeps/sh/init-first.c (init): Likewise.
32177 2012-04-01 Ulrich Drepper <drepper@gmail.com>
32179 * po/ru.po: Update from translation team.
32180 * po/vi.po: Likewise.
32182 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
32184 * resolv/nss_dns/dns-host.c: Merge copyright years.
32186 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32188 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
32189 Optimize memcpy with prefetch if
32190 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
32191 src, dst pointers have unequal 16 byte alignments.
32193 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
32196 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
32197 from a CNAME entry and return the minimum ttl for the query.
32198 (gaih_getanswer_slice): Likewise.
32200 2012-03-30 Jeff Law <law@redhat.com>
32202 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
32204 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
32205 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
32207 * resolv/nss_dns/dns-host.c: Update copyright year.
32209 2012-03-30 Ulrich Drepper <drepper@gmail.com>
32211 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
32212 requests to save a system call. Fix check that all bytes are sent.
32214 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
32215 comments for sendmmsg.
32217 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32220 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
32221 with only 1 character between 0x0041 and 0x01b0.
32222 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
32223 * wcsmbs/tst-mbsnrtowcs.c: New file.
32225 2012-03-29 David S. Miller <davem@davemloft.net>
32227 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
32228 small copies by hand.
32230 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32233 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
32234 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
32237 2012-03-28 David S. Miller <davem@davemloft.net>
32239 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
32240 that branches into memcpy.
32241 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
32242 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
32243 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
32244 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
32245 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
32247 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
32248 implementation too.
32249 * sysdeps/sparc/mempcpy.S: New file.
32251 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
32252 the IFUNC routine in the libc case.
32253 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
32255 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
32256 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
32257 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
32258 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
32259 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
32260 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
32261 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
32262 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
32264 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
32265 loop to 256 bytes instead of 64 bytes and fix test signedness.
32267 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
32268 * sysdeps/sparc/sparc32/Makefile: rather than here...
32269 * sysdeps/sparc/sparc64/Makefile: and here.
32271 2012-03-28 Ulrich Drepper <drepper@gmail.com>
32273 * malloc/mallocbug.c: Avoid warnings about unused variables.
32275 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
32278 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
32279 in the right place. Discard and retry query if response is
32280 larger than input buffer size.
32282 2012-03-28 Joseph Myers <joseph@codesourcery.com>
32287 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
32288 x for large integer exponent.
32289 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
32290 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
32291 sign of result as needed afterwards.
32292 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
32293 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
32294 result for underflowing pow the same as for overflow.
32295 (__kernel_standard_l): Handle powl overflow and underflow here
32296 rather than calling __kernel_standard.
32297 * math/libm-test.inc (pow_test): Add more tests.
32312 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
32313 * sysdeps/ieee754/k_standard.c: Include <float.h>.
32314 (__kernel_standard_l): New function.
32315 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
32317 * math/w_acosl.c (__acosl): Likewise.
32318 * math/w_asinl.c (__asinl): Likewise.
32319 * math/w_atan2l.c (__atan2l): Likewise.
32320 * math/w_atanhl.c (__atanhl): Likewise.
32321 * math/w_coshl.c (__coshl): Likewise.
32322 * math/w_exp10l.c (__exp10l): Likewise.
32323 * math/w_exp2l.c (__exp2l): Likewise.
32324 * math/w_fmodl.c (__fmodl): Likewise.
32325 * math/w_hypotl.c (__hypotl): Likewise.
32326 * math/w_j0l.c (__j0l, __y0l): Likewise.
32327 * math/w_j1l.c (__j1l, __y1l): Likewise.
32328 * math/w_jnl.c (__jnl, __ynl): Likewise.
32329 * math/w_lgammal.c (__lgammal): Likewise.
32330 * math/w_log10l.c (__log10l): Likewise.
32331 * math/w_log2l.c (__log2l): Likewise.
32332 * math/w_logl.c (__logl): Likewise.
32333 * math/w_powl.c (__powl): Likewise.
32334 * math/w_remainderl.c (__remainderl): Likewise.
32335 * math/w_scalbl.c (sysv_scalbl): Likewise.
32336 * math/w_sinhl.c (__sinhl): Likewise.
32337 * math/w_sqrtl.c (__sqrtl): Likewise.
32338 * math/w_tgammal.c (__tgammal): Likewise.
32339 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
32340 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
32341 * math/libm-test.inc (acos_test): Add more tests.
32342 (acosh_test): Likewise.
32343 (asin_test): Likewise.
32344 (atanh_test): Likewise.
32345 (exp_test): Likewise.
32346 (exp10_test): Likewise.
32347 (exp2_test): Likewise.
32348 (expm1_test): Likewise.
32349 (lgamma_test): Likewise.
32350 (log_test): Likewise.
32351 (log10_test): Likewise.
32352 (log1p_test): Likewise.
32353 (log2_test): Likewise.
32354 (pow_test): Do not allow some spurious overflow exceptions.
32355 (sqrt_test): Add more tests.
32356 (tgamma_test): Likewise.
32357 (y0_test): Likewise.
32358 (y1_test): Likewise.
32359 (yn_test): Likewise.
32361 2012-03-27 Anton Blanchard <anton@samba.org>
32363 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
32365 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
32366 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
32367 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
32369 2012-03-27 David S. Miller <davem@davemloft.net>
32371 * conform/Makefile: Run run-conformtest.sh using $(BASH).
32373 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
32374 have-as-vis3 check.
32376 2012-03-27 Andreas Jaeger <aj@suse.de>
32378 * sysdeps/x86_64/elf/configure.in: Moved to ...
32379 * sysdeps/x86_64/configure.in: ... here.
32380 * sysdeps/x86_64/elf/start.S: Moved to ...
32381 * sysdeps/x86_64/start.S: ... here.
32382 * sysdeps/x86_64/elf/configure: Delete.
32384 * sysdeps/x86_64/configure.in: Merge contents from
32385 sysdeps/i386/configure.in (without i686 check).
32387 * sysdeps/i386/elf/Versions: Merge into ...
32388 * sysdeps/i386/Versions: ... this.
32389 * sysdeps/i386/elf/Versions: Delete file.
32390 * sysdeps/i386/elf/start.S: Moved to ...
32391 * sysdeps/i386/start.S: ...here.
32392 * sysdeps/i386/elf/configure.in: Merge into...
32393 * sysdeps/i386/configure.in: ...here.
32394 * sysdeps/i386/elf/configure.in: Delete file.
32395 * sysdeps/i386/elf/configure: Delete file.
32397 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
32398 * debug/backtracesyms.c: ... here.
32399 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
32400 * debug/backtracesymsfd.c: ... here.
32401 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
32402 * sysdeps/generic/ifunc-sel.h: ... here.
32404 * sysdeps/unix/i386/start.c: Delete file.
32405 * sysdeps/unix/sparc/start.c: Delete file.
32406 * sysdeps/unix/start.c: Delete file.
32408 * sysdeps/sh/elf/configure.in: Moved to ...
32409 * sysdeps/sh/configure.in: ... here.
32410 * sysdeps/sh/elf/start.S: Moved to ...
32411 * sysdeps/sh/start.S: ... here.
32412 * sysdeps/sh/elf/configure: Delete file.
32414 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
32415 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
32416 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
32417 * sysdeps/powerpc/powerpc64/entry.h: ... here.
32418 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
32419 * sysdeps/powerpc/powerpc64/start.S: here.
32420 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
32421 * sysdeps/powerpc/powerpc64/Makefile: ... this.
32422 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
32423 * sysdeps/powerpc/powerpc64/configure.in: ... this.
32424 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
32426 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
32427 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
32428 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
32429 * sysdeps/powerpc/powerpc32/start.S: ... here.
32430 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
32431 * sysdeps/powerpc/powerpc32/configure.in: ... this.
32432 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
32434 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
32435 * sysdeps/powerpc/ifunc-sel.h: ... here.
32436 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
32437 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
32439 * sysdeps/sparc/elf/configure.in: Moved to ...
32440 * sysdeps/sparc/configure.in: ... here.
32441 * sysdeps/sparc/elf/configure: Delete file.
32442 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
32443 * sysdeps/sparc/sparc32/start.S: ... here.
32444 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
32445 * sysdeps/sparc/sparc64/start.S: ... here.
32446 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
32447 * sysdeps/sparc/sparc32/Makefile: ... this.
32448 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
32449 * sysdeps/sparc/sparc64/Makefile: ... this.
32451 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
32452 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
32453 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
32454 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
32455 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
32456 * sysdeps/s390/s390-32/setjmp.S: ... here.
32457 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
32458 * sysdeps/s390/s390-32/configure.in: ... here.
32459 * sysdeps/s390/s390-32/elf/configure: Delete file.
32460 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
32461 * sysdeps/s390/s390-32/start.S: ... here.
32463 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
32464 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
32465 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
32466 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
32467 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
32468 * sysdeps/s390/s390-64/setjmp.S: ... here.
32469 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
32470 * sysdeps/s390/s390-64/configure.in: ... here
32471 * sysdeps/s390/s390-64/elf/configure: Delete file.
32472 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
32473 * sysdeps/s390/s390-64/start.S: ... here.
32474 * sysdeps/s390/s390-64/elf/configure: Delete.
32476 * configure.in: Remove support for elf directories in sysdeps.
32478 * configure: Regenerated.
32479 * sysdeps/i386/configure: Regenerated.
32480 * sysdeps/powerpc/powerpc32/configure: Regenerated.
32481 * sysdeps/powerpc/powerpc64/configure: Regenerated.
32482 * sysdeps/s390/s390-32/configure: Regenerated.
32483 * sysdeps/s390/s390-64/configure: Regenerated.
32484 * sysdeps/sh/configure: Regenerated.
32485 * sysdeps/sparc/configure: Regenerated.
32486 * sysdeps/x86_64/configure: Regenerated.
32488 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
32490 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32492 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
32493 denormal result into account.
32495 2012-03-25 Roland McGrath <roland@hack.frob.com>
32497 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
32498 Reported by Allan McRae <allan@archlinux.org>.
32500 2012-03-23 Jeff Law <law@redhat.com>
32502 * nss/getnssent.c (__nss_getent): Fix typo.
32504 2012-03-23 David S. Miller <davem@davemloft.net>
32506 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32508 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
32510 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
32511 to pad to uint64_t for each field.
32512 (dl_tls_index): Replace unsigned long with uint64_t.
32514 2012-03-23 Daniel Jacobowitz <dmj@google.com>
32515 Paul Pluzhnikov <ppluzhnikov@google.com>
32518 * grp/Makefile (otherlibs): Don't set it.
32519 * inet/Makefile (otherlibs): Likewise.
32520 * login/Makefile (otherlibs): Likewise.
32521 * nscd/Makefile (otherlibs): Likewise.
32522 * posix/Makefile (otherlibs): Likewise.
32523 * pwd/Makefile (otherlibs): Likewise.
32524 * rt/Makefile (otherlibs): Likewise.
32525 * sunrpc/Makefile (otherlibs): Likewise.
32526 * nss/Makefile (otherlibs): Likewise.
32527 Add libnss_files to routines and static-only-routines.
32528 ($(objpfx)getent): Remove rule.
32529 * resolv/Makefile: Add libnss_dns and libresolv to routines and
32530 static-only-routines.
32532 2012-03-22 Joseph Myers <joseph@codesourcery.com>
32535 * math/s_cexp.c: Include <float.h>.
32536 (__cexp): Handle exp result overflowing not necessarily
32537 overflowing both real and imaginary parts of result.
32538 * math/s_cexpf.c: Likewise.
32539 * math/s_cexpl.c: Likewise.
32540 * math/libm-test.inc (cexp_test): Add more tests.
32541 * sysdeps/i386/fpu/libm-test-ulps: Update.
32542 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32544 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32546 * include/link.h (ELFW): New macro.
32547 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
32548 Replace ELF64_R_TYPE with ELFW(R_TYPE).
32550 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32552 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
32555 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32557 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
32559 (struct La_x32_retval): Likewise.
32561 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32563 * sysdeps/x86_64/preconfigure.in: New file.
32564 * sysdeps/x86_64/preconfigure: New generated file.
32566 2012-03-22 Joseph Myers <joseph@codesourcery.com>
32569 * math/e_exp2l.c: Include <float.h>.
32570 (__ieee754_exp2l): Handle overflow and underflow cases
32571 separately. Only pass fractional part of argument to
32573 * math/libm-test.inc (exp2_test): Add more tests.
32575 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
32576 negating x to take absolute value.
32577 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
32579 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
32580 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
32582 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
32583 computing low part if x was negated.
32584 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
32586 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32588 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
32589 la_x32_gnu_pltexit.
32590 (pltexit): Cast int_retval to ptrdiff_t.
32591 * elf/tst-auditmod3b.c: Likewise.
32592 * elf/tst-auditmod4b.c: Likewise.
32593 * elf/tst-auditmod5b.c: Likewise.
32594 * elf/tst-auditmod6b.c: Likewise.
32595 * elf/tst-auditmod6c.c: Likewise.
32596 * elf/tst-auditmod7b.c: Likewise.
32598 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
32599 and x32_gnu_pltexit.
32601 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
32602 __ELF_NATIVE_CLASS.
32603 (La_x32_regs): New macro.
32604 (La_x32_retval): Likewise.
32605 (la_x32_gnu_pltenter): New function prototype.
32606 (la_x32_gnu_pltexit): Likewise.
32608 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
32610 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
32613 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32615 * configure.in (libc_cv_cc_nofma): Check for option to disable
32616 generation of FMA instructions.
32617 * configure: Regenerate.
32618 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
32619 * sysdeps/ieee754/dbl-64/Makefile: New file.
32620 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
32621 Remove brandred-fma4.
32622 (CFLAGS-brandred-fma4.c): Remove.
32623 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
32624 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
32626 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
32629 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32631 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
32632 LLONG_MAX != LONG_MAX.
32633 (_itoa_word): Use _ITOA_WORD_TYPE on value.
32634 (_fitoa_word): Likewise.
32635 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
32636 LLONG_MAX != LONG_MAX.
32637 * stdio-common/_itowa.h: Include <_itoa.h>.
32638 (_itowa_word): Use _ITOA_WORD_TYPE on value.
32639 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
32640 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
32641 only if not defined.
32642 (_ITOA_WORD_TYPE): Likewise.
32643 (_itoa_word): Use _ITOA_WORD_TYPE on value.
32644 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
32646 2012-03-21 David S. Miller <davem@davemloft.net>
32648 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32650 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32652 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
32653 of x86_64 when setting libc_cv_slibdir, libdir and
32655 * sysdeps/unix/sysv/linux/configure: Regenerated.
32657 2012-03-21 Joseph Myers <joseph@codesourcery.com>
32659 * manual/lang.texi (Old Varargs): Remove section.
32660 (How Variadic): Update menu.
32661 (va_start): Do not mention varargs.h.
32663 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
32664 Joseph Myers <joseph@codesourcery.com>
32666 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
32668 * configure: Regenerated.
32670 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
32672 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
32673 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
32676 2012-03-21 Joseph Myers <joseph@codesourcery.com>
32679 * Makefile (files-for-dist): Remove NOTES.
32680 (NOTES): Remove rule.
32681 * README: Don't refer to NOTES.
32682 * manual/creature.texi: Don't include macros.texi.
32683 * manual/intro.texi (creature.texi): Remove comment referring to
32686 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
32687 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
32688 * configure: Regenerated.
32689 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
32690 LIBC_TRY_CC_OPTION.
32691 (libc_cv_as_i686): Likewise.
32692 (libc_cv_cc_avx): Likewise.
32693 (libc_cv_cc_sse2avx): Likewise.
32694 (libc_cv_cc_fma4): Likewise.
32695 (libc_cv_cc_novzeroupper): Likewise.
32696 * sysdeps/i386/configure: Regenerated.
32699 * sysdeps/i386/fpu/s_cexp.S: Remove.
32700 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
32701 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
32702 * math/libm-test.inc (cexp_test): Add more tests.
32703 * sysdeps/i386/fpu/libm-test-ulps: Update.
32704 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32706 2012-03-21 Allan McRae <allan@archlinux.org>
32708 * timezone/Makefile: Do not install iso3166.tab and zone.tab
32710 2012-03-21 Joseph Myers <joseph@codesourcery.com>
32713 * math/w_exp2.c: Do not include <float.h>.
32714 (o_threshold, u_threshold): Remove.
32715 (__exp2): Calculate result before checking finiteness and calling
32717 * math/w_exp2f.c: Likewise.
32718 * math/w_exp2l.c: Likewise.
32719 * math/libm-test.inc (exp2_test): Require overflow exception for
32723 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
32724 range of signed 64-bit integers before using fistpll. Remove
32725 checks for whether integers fit in mantissa bits.
32726 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
32727 the range of signed 32-bit integers before using fistpl. Remove
32728 checks for whether integers fit in mantissa bits.
32729 * sysdeps/i386/fpu/e_powl.S (p64): New object.
32730 (__ieee754_powl): Test for y outside the range of signed 64-bit
32731 integers before using fistpll. Reduce 64-bit values to 63-bit
32733 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
32734 divide-by-zero is raised for zero to large negative powers.
32735 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
32736 (__ieee754_powl): Test for y outside the range of signed 64-bit
32737 integers before using fistpll. Reduce 64-bit values to 63-bit
32739 * math/libm-test.inc (pow_test): Add more tests.
32741 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32743 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
32744 <stdio-common/_itoa.h>.
32745 * debug/segfault.c: Likewise.
32746 * elf/dl-cache.c: Likewise.
32747 * elf/dl-minimal.c: Likewise.
32748 * elf/dl-misc.c: Likewise.
32749 * elf/dl-sysdep.c: Likewise.
32750 * elf/dl-version.c: Likewise.
32751 * elf/rtld.c: Likewise.
32752 * hurd/hurdsock.c: Likewise.
32753 * hurd/lookup-retry.c: Likewise.
32754 * malloc/malloc.c: Likewise.
32755 * malloc/mtrace.c: Likewise.
32756 * nscd/nscd_getgr_r.c: Likewise.
32757 * nscd/nscd_getpw_r.c: Likewise.
32758 * nscd/nscd_getserv_r.c: Likewise.
32759 * posix/getopt_init.c: Likewise.
32760 * posix/wordexp.c: Likewise.
32761 * stdio-common/_itoa.c: Likewise.
32762 * stdio-common/printf_fphex.c: Likewise.
32763 * stdio-common/vfprintf.c: Likewise.
32764 * string/_strerror.c: Likewise.
32765 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
32766 * sysdeps/i386/i686/hp-timing.h: Likewise.
32767 * sysdeps/mach/_strerror.c: Likewise.
32768 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
32769 * sysdeps/mach/hurd/sethostid.c: Likewise.
32770 * sysdeps/mach/hurd/xmknodat.c: Likewise.
32771 * sysdeps/mach/xpg-strerror.c: Likewise.
32772 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
32773 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
32774 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
32775 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
32776 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
32777 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
32778 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
32779 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
32780 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
32781 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
32782 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
32783 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
32784 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
32785 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
32786 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
32787 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
32788 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
32789 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
32790 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
32791 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
32792 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
32794 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
32796 * stdio-common/_itoa.h: Moved to ...
32797 * sysdeps/generic/_itoa.h: Here.
32799 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
32801 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
32802 instead of "_itoa.h" and "_itowa.h".
32803 * stdio-common/vfprintf.: Likewise.
32805 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32807 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
32809 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
32810 (__signbit): Likwise.
32811 (llrintf): Likwise.
32814 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32816 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
32819 2012-03-20 Joseph Myers <joseph@codesourcery.com>
32821 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
32822 OVERFLOW_EXCEPTION_OK.
32823 * math/libm-test.inc ("Philosophy"): Update comment about
32825 (OVERFLOW_EXCEPTION): Define.
32826 (OVERFLOW_EXCEPTION_OK): Likewise.
32827 (INVALID_EXCEPTION_OK): Renumber.
32828 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
32829 (IGNORE_ZERO_INF_SIGN): Likewise.
32830 (test_exceptions): Handle FE_OVERFLOW.
32831 (exp10_test): Expect overflow exceptions.
32832 (exp2_test): Likewise.
32833 (expm1_test): Likewise.
32834 (nextafter_test): Likewise.
32835 (pow_test): Likewise.
32836 (scalbn_test): Likewise.
32837 (scalbln_test): Likewise.
32839 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32841 * sysdeps/x86_64/bits/atomic.h
32842 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
32844 (atomic_exchange_acq): Likewise.
32845 (__arch_exchange_and_add_body): Likewise.
32846 (__arch_add_body): Likewise.
32847 (atomic_add_negative): Likewise.
32848 (atomic_add_zero): Likewise.
32850 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32852 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
32853 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
32855 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32857 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
32858 Check __x86_64__ instead of __WORDSIZE.
32860 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32862 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
32864 2012-03-19 David S. Miller <davem@davemloft.net>
32866 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32868 * sysdeps/sparc/fpu/fenv_private.h: New file.
32869 * sysdeps/sparc/fpu/math_private.h: Use it.
32870 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
32872 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
32873 (libc_feholdexcept_setroundl): Remove.
32874 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
32876 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
32877 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
32879 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32881 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
32882 int64_t instead of long int.
32883 (INSERT_WORDS64): Likwise.
32885 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32887 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
32888 _Unwind_GetCFA return to _Unwind_Ptr first.
32890 2012-03-19 Joseph Myers <joseph@codesourcery.com>
32893 * math/s_clog.c: Include <float.h>.
32894 (__clog): Scale large or subnormal inputs.
32895 * math/s_clogf.c: Likewise.
32896 * math/s_clogl.c: Likewise.
32897 * math/s_clog10.c: Include <float.h>.
32898 (M_LOG10_2): Define.
32899 (__clog10): Scale large or subnormal inputs.
32900 * math/s_clog10f.c: Likewise.
32901 * math/s_clog10l.c: Likewise.
32902 * math/libm-test.inc (clog_test): Add more tests.
32903 (clog10_test): Likewise.
32904 * sysdeps/i386/fpu/libm-test-ulps: Update.
32905 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32908 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
32910 * math/libm-test.inc (atan2_test): Add another test.
32912 * Makerules (common-objdir-compile): Remove.
32913 * sysdeps/unix/Makefile (config-generated): Do not add
32914 $(unix-generated) to variable.
32915 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
32916 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
32918 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
32920 [generic bits/local_lim.h] (before-compile): Do not append to
32922 [generic bits/local_lim.h] (common-generated): Likewise.
32923 [generic sys/param.h] (before-compile): Do not append to variable.
32924 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
32925 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
32926 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
32927 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
32929 [generic sys/param.h] (sys/param.h-includes): Remove variable.
32930 [generic sys/param.h] (sys/param.h-includes): Remove rule.
32931 [generic sys/param.h] ($(addprefix
32932 $(common-objpfx),$(sys/param.h-includes))): Likewise.
32933 [generic sys/param.h] (common-generated): Do not append to
32935 [generic sys/param.h] (sysdep_headers): Likewise.
32936 [generic bits/errno.h] (before-compile): Do not append to
32938 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
32940 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
32941 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
32942 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
32943 [generic bits/errno.h] (common-generated): Do not append to
32945 [generic bits/ioctls.h] (before-compile): Do not append to
32947 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
32949 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
32950 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
32951 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
32953 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
32954 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
32955 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
32956 [generic bits/ioctls.h] (common-generated): Do not append to
32958 [generic sys/syscall.h] (syscall.h): Remove variable.
32959 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
32961 [generic sys/syscall.h] (before-compile): Do not append to
32963 [generic sys/syscall.h] (common-generated): Likewise.
32964 * sysdeps/unix/errnos-tmpl.c: Remove file.
32965 * sysdeps/unix/errnos.awk: Likewise.
32966 * sysdeps/unix/ioctls-tmpl.c: Likewise.
32967 * sysdeps/unix/ioctls.awk: Likewise.
32968 * sysdeps/unix/mk-local_lim.c: Likewise.
32969 * sysdeps/unix/snarf-ioctls: Likewise.
32971 2012-03-19 Richard Henderson <rth@twiddle.net>
32973 * sysdeps/i386/fpu/fenv_private.h: New file.
32974 * sysdeps/i386/fpu/math_private.h: Use it.
32975 (math_opt_barrier, math_force_eval): Remove.
32976 (libc_feholdexcept_setround_53bit): Remove.
32977 (libc_feupdateenv_53bit): Remove.
32978 * sysdeps/x86_64/fpu/math_private.h: Likewise.
32979 (math_opt_barrier, math_force_eval): Remove.
32980 (libc_feholdexcept): Remove.
32981 (libc_feholdexcept_setround): Remove.
32982 (libc_fetestexcept, libc_fesetenv): Remove.
32983 (libc_feupdateenv_test): Remove.
32984 (libc_feupdateenv, libc_feholdsetround): Remove.
32985 (libc_feresetround): Remove.
32987 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
32988 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
32990 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
32991 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
32992 (libc_feupdateenv_testl): New.
32993 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
32994 (libc_feupdateenv_testf): New.
32995 (libc_feupdateenv): Use libc_feupdateenv_test.
32996 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
32997 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
32999 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
33000 (libc_feholdsetroundf, libc_feholdsetroundl): New.
33001 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
33002 (libc_feresetround_noex): New.
33003 (libc_feresetround_noexf): New.
33004 (libc_feresetround_noexl): New.
33005 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
33006 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
33007 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
33008 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
33010 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
33011 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
33013 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
33014 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
33015 SET_RESTORE_ROUND_NOEX.
33016 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
33017 SET_RESTORE_ROUND_NOEXF.
33018 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
33019 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
33020 (libc_feholdsetroundf): New.
33021 (libc_feresetround, libc_feresetroundf): New.
33023 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
33024 (libc_feholdexcept_setround_53bit): Convert from macro to function.
33025 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
33027 * sysdeps/generic/math_private.h: Include <fenv.h>.
33028 (default_libc_feholdexcept): New.
33029 (default_libc_feholdexcept_setround): New.
33030 (default_libc_fesetenv, default_libc_feupdateenv): New.
33031 (libc_feholdexcept): Only define if undefined.
33032 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
33033 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
33034 (libc_feholdexcept_setroundl): Likewise.
33035 (libc_feholdexcept_setround_53bit): Likewise.
33036 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
33037 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
33038 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
33039 (libc_feupdateenv_53bit): Likewise.
33040 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
33041 (libc_feholdexcept): Convert from macro to inline function.
33042 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
33043 (libc_fesetenv, libc_feupdateenv): Likewise.
33045 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
33046 not previously defined.
33047 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
33048 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
33049 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
33050 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
33051 * sysdeps/ieee754/flt-32/math_private.h: New file.
33052 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
33053 math_private.h below SET_FLOAT_WORD.
33054 (__isnan, __isinf_ns, __finite): Remove.
33055 (__isnanf, __isinf_nsf, __finitef): Remove.
33057 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
33059 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33061 2012-03-17 David S. Miller <davem@davemloft.net>
33064 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
33067 2012-03-16 David S. Miller <davem@davemloft.net>
33069 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
33073 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
33075 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
33076 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
33077 sysdep_routines when subdir is sysvipc.
33078 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
33079 __getshmlba helper.
33081 * sysdeps/sparc/fpu/libm-test/ulps: Update.
33083 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33085 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
33088 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33090 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
33091 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
33092 (__lround): Renamed to ...
33093 (__llround): This. Replace long int with long long int.
33094 Define lround functions as aliases of llround functions.
33095 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
33097 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33099 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
33100 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
33101 adresses to uintptr_t. Replace "long int" and "unsigned long
33102 int" with "greg_t" on va_arg.
33104 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33106 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
33107 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
33109 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
33110 Move e_machine check before EI_CLASS check. Handle x32
33111 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
33112 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
33113 SKIP_EM_IA_64 and include
33114 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
33116 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
33117 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
33118 (add_system_dir): New macro.
33120 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
33121 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
33123 2012-03-16 Joseph Myers <joseph@codesourcery.com>
33134 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
33136 * math/w_j0f.c (j0f): Likewise.
33138 * math/w_j0l.c (__j0l): Likewise.
33140 * math/w_j1.c (j1): Likewise.
33142 * math/w_j1f.c (j1f): Likewise.
33144 * math/w_j1l.c (__j1l): Likewise.
33146 * math/w_jn.c (jn): Likewise.
33148 * math/w_jnf.c (jnf): Likewise.
33150 * math/w_jnl.c (__jnl): Likewise.
33152 * math/libm-test.inc (j0_test): Add more tests.
33153 (j1_test): Likewise.
33154 (jn_test): Likewise. Add trailing semicolon to existing test.
33155 (y0_test): Likewise.
33156 (y1_test): Likewise.
33157 * sysdeps/i386/fpu/libm-test-ulps: Update.
33158 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33162 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
33163 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
33164 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
33165 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
33166 (__tanl): Set errno for infinite argument.
33167 * sysdeps/i386/fpu/mptan.c: Remove.
33168 * sysdeps/i386/fpu/s_tan.S: Likewise.
33169 * sysdeps/i386/fpu/s_tanl.S: Likewise.
33170 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
33171 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
33172 * math/libm-test.inc (tan_test): Add more tests and enable more
33173 tests for double and long double.
33174 * sysdeps/i386/fpu/libm-test-ulps: Update.
33175 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33177 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
33179 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
33180 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
33182 2012-03-16 Roland McGrath <roland@hack.frob.com>
33184 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
33185 * configure.in: Use it for both main tree and add-ons.
33186 * configure: Regenerated.
33188 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33190 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
33192 2012-03-16 Joseph Myers <joseph@codesourcery.com>
33194 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
33198 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
33199 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
33200 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
33201 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
33202 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
33204 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
33205 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
33206 != 0 for prec == 2.
33207 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
33208 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
33209 * sysdeps/i386/fpu/s_cosl.S: Likewise.
33210 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
33211 * sysdeps/i386/fpu/s_sinl.S: Likewise.
33212 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
33213 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
33214 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
33215 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
33216 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
33217 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
33218 * math/libm-test.inc (cos_test): Add more tests and enable more
33219 tests for long double.
33220 (sin_test): Likewise.
33221 (sincos_test): Likewise.
33222 * sysdeps/i386/fpu/libm-test-ulps: Update.
33223 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33225 2012-03-16 David S. Miller <davem@davemloft.net>
33227 * sysdeps/sparc/fpu/math_private.h: New file.
33229 2012-03-15 David S. Miller <davem@davemloft.net>
33231 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
33233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
33234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
33236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
33237 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
33238 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
33239 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
33240 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
33241 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
33243 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
33245 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
33246 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
33248 * sysdeps/sparc/sparc-ifunc.h: New file.
33249 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
33251 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
33252 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
33254 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
33256 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
33257 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
33258 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
33259 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
33261 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
33262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
33263 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
33264 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
33265 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
33267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
33269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
33270 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
33271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
33272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
33273 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
33274 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
33275 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
33276 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
33277 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
33278 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
33279 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
33280 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
33281 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
33282 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
33283 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
33284 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
33285 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
33286 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
33287 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
33288 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
33289 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
33290 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
33291 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
33292 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
33294 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
33296 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
33298 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33300 2012-03-15 Andreas Jaeger <aj@suse.de>
33303 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
33304 ieee754/flt-32 implementation for sin, cos and sincos.
33305 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
33306 * sysdeps/i386/fpu/s_cosf.S: Likewise.
33307 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
33308 * sysdeps/i386/fpu/s_sinf.S: Likewise.
33309 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
33310 ieee754/flt-32 implementation for tan.
33312 * math/libm-test.inc (cos_test): Enable some large input tests for
33314 (sin_test): Likewise.
33315 (sincos_test): Likewise.
33316 (tan_test): Add tests for large input.
33318 * sysdeps/i386/fpu/libm-test-ulps: Update.
33320 2012-03-15 Andreas Jaeger <aj@suse.de>
33323 * math/libm-test.inc (cos_test): Add more test cases.
33324 (sin_test): Likewise.
33325 (sincos_test): Likewise.
33327 2012-03-15 Andreas Jaeger <aj@suse.de>
33330 * math/libm-test.inc (cos_test): Add a test case for large input
33332 (sin_test): Likewise.
33333 (sincos_test): Likewise.
33335 2012-03-15 Andreas Jaeger <aj@suse.de>
33336 Joseph Myers <joseph@codesourcery.com>
33339 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
33340 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
33341 * sysdeps/i386/fpu/branred.c: Likewise.
33342 * sysdeps/i386/fpu/dosincos.c: Likewise.
33343 * sysdeps/i386/fpu/mpa.c: Likewise.
33344 * sysdeps/i386/fpu/s_cos.S: Likewise.
33345 * sysdeps/i386/fpu/s_sin.S: Likewise.
33346 * sysdeps/i386/fpu/s_sincos.S: Likewise.
33347 * sysdeps/i386/fpu/sincos32.c: Likewise.
33349 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
33351 (libc_feupdateenv_53bit): Define.
33352 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
33354 (libc_feupdateenv_53bit): Define.
33356 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
33357 53 bit (without extend i386 double precision).
33359 * math/libm-test.inc (sincos_test): Add tests for large input.
33363 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
33365 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
33367 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33369 2012-03-15 David S. Miller <davem@davemloft.net>
33371 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
33372 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
33373 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
33374 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
33375 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
33376 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
33377 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
33378 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
33379 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
33380 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
33381 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
33382 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
33383 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
33384 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
33385 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
33386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
33388 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
33389 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
33391 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
33392 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
33394 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
33395 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
33397 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
33398 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
33399 fmin/fmax sysdep routines.
33400 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
33402 2012-03-14 David S. Miller <davem@davemloft.net>
33404 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
33405 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
33406 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
33407 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
33408 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
33409 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
33410 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
33411 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
33412 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
33413 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
33414 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
33415 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
33416 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
33417 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
33418 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
33419 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
33420 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
33421 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
33422 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
33423 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
33424 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
33425 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
33426 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
33427 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
33428 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
33429 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
33430 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
33431 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
33432 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
33434 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
33436 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
33437 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
33439 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
33440 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
33442 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
33443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
33445 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
33446 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
33448 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
33449 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
33451 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
33453 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
33455 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
33457 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
33459 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
33461 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
33463 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
33464 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
33466 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
33467 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
33469 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
33470 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
33472 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
33473 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
33476 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
33479 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33481 * sysdeps/sparc/configure.in: New file.
33482 * sysdeps/sparc/configure: Generate.
33483 * configure.in (libc_cv_sparc_as_vis3): Substitute.
33484 * configure: Regenerate.
33485 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
33486 * config.make.in (have-as-vis3): New.
33487 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
33488 available use -Av9d instead of -Av9a.
33489 * sysdeps/sparc/sparc64/Makefile: Likewise.
33490 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
33491 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
33493 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
33495 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
33497 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
33499 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
33500 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
33501 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
33502 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
33503 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
33505 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
33506 fzeros/fnegs to load 0x80000000 into a float register instead of
33508 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
33510 2012-03-14 Joseph Myers <joseph@codesourcery.com>
33512 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33514 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
33515 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
33516 ($(inst_includedir)/bits/syscall.h): Remove rule.
33517 ($(objpfx)bits/syscall.d): Include instead of
33518 $(objpfx)syscall-list.d.
33519 (generated): Change syscall-list.h and syscall-list.d to
33520 bits/syscall.h and bits/syscall.d.
33522 2012-03-14 Roland McGrath <roland@hack.frob.com>
33525 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
33527 2012-03-14 Joseph Myers <joseph@codesourcery.com>
33530 * math/s_csqrt.c: Include <float.h>.
33531 (__csqrt): Scale large or subnormal inputs.
33532 * math/s_csqrtf.c: Likewise.
33533 * math/s_csqrtl.c: Likewise.
33534 * math/libm-test.inc (csqrt_test): Add more tests.
33535 * sysdeps/i386/fpu/libm-test-ulps: Update.
33536 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33539 * math/libm-test.inc (hypot_test): Add more tests.
33541 2012-03-13 David S. Miller <davem@davemloft.net>
33544 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
33545 double-precision for the calculation instead of scaling.
33547 2012-03-13 Joseph Myers <joseph@codesourcery.com>
33549 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
33550 manipulate bits before adding and subtracting TWO52[sx].
33551 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
33552 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
33554 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
33556 2012-03-13 David S. Miller <davem@davemloft.net>
33558 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
33559 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
33560 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
33561 rtld-global-offsets.h
33562 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
33564 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
33567 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
33569 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
33570 'err' in the ifdef scope in which it is actually used.
33572 * nss/nss_db/db-init.c: Include string.h
33574 2012-03-12 David S. Miller <davem@davemloft.net>
33576 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
33577 masking out of the most significant byte of random value used.
33578 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33579 Fix coding style in previous change.
33581 * sysdeps/unix/sysv/linux/kernel-features.h
33582 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
33583 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
33585 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
33588 2012-03-11 David S. Miller <davem@davemloft.net>
33590 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
33591 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
33592 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
33593 for 'resultvar' otherwise things get truncated on 64-bit.
33595 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33596 Fix masking out of the most significant byte of random value used.
33598 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33600 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
33602 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33604 2012-03-09 David S. Miller <davem@davemloft.net>
33606 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
33607 variables with appropriate CPP guards.
33608 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
33609 from the frame pointer, not the stack pointer. Correct layout
33610 comments. Fix test on resulting framesize and the management of
33611 the outregs buffer for pltexit. Preserve floating point return
33612 values across _dl_call_pltexit call.
33613 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
33614 framesize and the management of the outregs buffer for pltexit.
33615 Preserve floating point return values across _dl_call_pltexit
33617 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
33618 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
33619 (la_sparc64_gnu_pltexit): New functions.
33620 (print_exit): Fix format string for return register value.
33622 2012-03-10 Joseph Myers <joseph@codesourcery.com>
33624 * sunrpc/Makefile (others): Add rpcgen.
33625 ($(objpfx)rpcgen): Remove special build rule and dependency on
33627 * sunrpc/rpcgen.c: New file.
33629 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
33632 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
33633 * stdio-common/bug-vfprintf-nargs.c: Likewise.
33634 * sysdeps/i386/crti.S: Likewise.
33635 * sysdeps/i386/crtn.S: Likewise.
33636 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
33637 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
33638 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
33639 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
33640 * sysdeps/sh/crti.S: Likewise.
33641 * sysdeps/sh/crtn.S: Likewise.
33642 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
33645 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
33647 * locale/programs/locfile-kw.gperf: Likewise.
33648 * locale/programs/charmap-kw.h: Regenerated.
33649 * locale/programs/locfile-kw.h: Likewise.
33652 * intl/plural.y: Replace FSF snail mail address with URL.
33653 * intl/plural.c: Regenerated.
33655 2012-03-09 Richard Henderson <rth@twiddle.net>
33657 * include/math_private.h: Remove file.
33658 * math/math_private.h: Move file ...
33659 * sysdeps/generic/math_private.h: ... here.
33661 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
33662 * sysdeps/powerpc/fpu/math_private.h: Likewise.
33663 * sysdeps/x86_64/fpu/math_private.h: Likewise.
33665 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33666 and <math_private.h>.
33667 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
33668 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
33669 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
33670 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
33671 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
33672 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
33673 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
33674 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33675 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
33676 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33677 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33678 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
33679 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
33680 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33681 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
33682 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
33683 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
33684 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
33685 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
33686 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
33687 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33688 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
33689 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
33690 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33691 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
33692 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33693 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
33694 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33695 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33696 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
33697 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
33698 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33699 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
33700 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
33701 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
33702 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
33703 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
33704 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
33705 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
33706 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
33707 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
33708 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
33709 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
33710 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
33711 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
33712 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
33713 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
33714 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
33715 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
33716 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
33717 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
33718 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
33719 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
33720 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
33721 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
33722 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
33723 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
33724 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
33725 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
33726 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
33727 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
33728 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
33729 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33730 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
33731 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
33732 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
33733 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
33734 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
33735 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
33736 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
33737 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
33738 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
33739 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
33740 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
33741 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
33742 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
33743 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
33744 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
33745 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
33746 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
33747 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
33748 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
33749 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
33750 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
33751 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
33752 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
33753 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
33754 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
33755 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
33756 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
33757 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
33758 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
33759 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33760 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
33761 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
33762 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
33763 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
33764 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
33765 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33766 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
33767 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
33768 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
33769 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
33770 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
33771 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
33772 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
33773 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
33774 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
33775 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
33776 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
33777 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
33778 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
33779 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
33780 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
33781 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
33782 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
33783 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
33784 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
33785 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
33786 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
33787 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
33788 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
33789 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
33790 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
33791 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
33792 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
33793 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
33794 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
33795 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
33796 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
33797 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
33798 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
33799 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
33800 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
33801 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
33802 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
33803 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
33804 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
33805 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
33806 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
33807 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
33808 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
33809 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
33810 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
33811 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
33812 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
33813 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
33814 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
33815 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
33816 * sysdeps/ieee754/k_standard.c: Likewise.
33817 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
33818 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
33819 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
33820 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
33821 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
33822 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
33823 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
33824 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
33825 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
33826 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
33827 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33828 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
33829 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
33830 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
33831 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
33832 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
33833 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
33834 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
33835 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
33836 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
33837 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
33838 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
33839 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
33840 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
33841 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
33842 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
33843 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
33844 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
33845 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
33846 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
33847 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
33848 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
33849 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
33850 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
33851 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
33852 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
33853 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
33854 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
33855 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
33856 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
33857 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
33858 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
33859 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
33860 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
33861 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
33862 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
33863 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
33864 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
33865 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
33866 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
33867 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
33868 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
33869 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
33870 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
33871 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
33872 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
33873 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
33874 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
33875 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
33876 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
33877 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
33878 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
33879 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
33880 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
33881 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
33882 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
33883 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
33884 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
33885 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
33886 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
33887 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
33888 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
33889 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
33890 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
33891 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
33892 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
33893 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
33894 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
33895 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33896 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
33897 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
33898 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
33899 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
33900 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
33901 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
33902 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
33903 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
33904 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
33905 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
33906 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
33907 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
33908 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
33909 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
33910 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
33911 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
33912 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
33913 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
33914 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
33915 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
33916 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
33917 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
33918 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
33919 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
33920 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
33921 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
33922 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
33923 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
33924 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
33925 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
33926 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
33927 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
33928 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
33929 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
33930 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
33931 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
33932 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
33933 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
33934 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
33935 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
33936 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
33937 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33938 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
33939 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
33940 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
33941 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
33942 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
33943 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
33944 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
33945 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
33946 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
33947 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
33948 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
33949 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
33950 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
33951 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
33952 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
33953 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
33954 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
33955 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
33956 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
33957 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
33958 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
33959 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
33960 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
33961 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
33962 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
33963 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
33964 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
33965 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
33966 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
33967 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
33968 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
33969 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
33970 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
33971 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
33972 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
33973 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
33974 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
33975 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
33976 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
33977 * sysdeps/ieee754/s_lib_version.c: Likewise.
33978 * sysdeps/ieee754/s_matherr.c: Likewise.
33979 * sysdeps/ieee754/s_signgam.c: Likewise.
33980 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
33981 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33982 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
33983 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
33984 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
33985 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
33986 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
33987 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
33988 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
33989 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
33990 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
33991 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
33992 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
33993 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
33994 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
33995 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
33996 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
33997 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
33998 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
33999 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
34000 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
34002 2012-03-09 Joseph Myers <joseph@codesourcery.com>
34004 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
34005 * sunrpc/rpc_main.c: Likewise.
34006 * sunrpc/rpc_svcout.c: Likewise.
34008 2012-03-09 David S. Miller <davem@davemloft.net>
34010 * include/math_private.h: New file.
34012 2012-03-09 Joseph Myers <joseph@codesourcery.com>
34014 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
34015 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
34016 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
34017 from <bits/socket_type.h>.
34018 (enum __socket_type): Don't define here.
34019 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
34020 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34021 bits/socket_type.h.
34024 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
34025 checking __USE_GNU.
34027 * Makerules ($(inst_includedir)/%.h): New rule.
34028 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
34029 (install-others): Remove variable setting.
34030 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
34032 2012-03-08 Richard Henderson <rth@twiddle.net>
34034 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
34035 from macro to inline function; merge with the
34036 !__LIBC_INTERNAL_MATH_INLINES version.
34037 (__ieee754_sqrtf): Likewise.
34039 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
34040 to inline function.
34041 (__rintf, __floor, __floorf): Likewise.
34043 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
34044 macro to inline function.
34045 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
34047 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
34048 not <math/math_private.h>.
34050 2012-03-08 David S. Miller <davem@davemloft.net>
34052 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
34054 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
34056 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
34058 * resolv/gai_misc.c (handle_requests): Fix struct timespec
34060 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
34061 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
34063 2012-03-08 Ulrich Drepper <drepper@gmail.com>
34065 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
34066 be defined individually, they must be defined as a block. Define
34067 S for printing a string instead of hidint the different by using a
34068 macro for adding the 'l'.
34069 * stdio-common/tst-fphex-wide.c: Adjust.
34071 2012-03-07 Marek Polacek <polacek@redhat.com>
34073 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
34075 2012-03-08 Marek Polacek <polacek@redhat.com>
34078 * stdio-common/Makefile (tests): Add tst-fphex-wide.
34079 * stdio-common/tst-fphex.c: Define a few macros to make the
34080 test reusable. Use them.
34081 * stdio-common/tst-fphex-wide.c: New file.
34083 2012-03-08 Joseph Myers <joseph@codesourcery.com>
34086 * manual/macros.texi (gnusystems): New macro.
34087 (nongnusystems): Likewise.
34088 (gnulinuxhurdsystems): Likewise.
34089 (gnuhurdsystems): Likewise..
34090 (gnulinuxsystems): Likewise.
34091 * manual/charset.texi: Use new macros or @theglibc{} to refer to
34092 variants of the GNU system, not "GNU system".
34093 * manual/conf.texi: Likewise.
34094 * manual/errno.texi: Likewise. Update example of errno macro
34096 * manual/filesys.texi: Likewise.
34097 (getumask): Document as specific to GNU/Hurd.
34098 * manual/install.texi: Likewise. Reword some references to
34100 * manual/intro.texi: Likewise.
34101 * manual/io.texi: Likewise.
34102 (File Name Portability): Detail which constraints are inapplicable
34103 to all GNU systems and which are only inapplicable to GNU/Hurd.
34104 * manual/job.texi: Likewise.
34105 * manual/llio.texi: Likewise.
34106 (O_NOCTTY): Document as present on GNU/Linux.
34107 * manual/maint.texi: Likewise.
34108 * manual/memory.texi: Likewise.
34109 * manual/pattern.texi: Likewise.
34110 * manual/pipe.texi: Likewise.
34111 * manual/process.texi: Likewise.
34112 * manual/resource.texi: Likewise.
34113 (RUSAGE_CHILDREN): Remove statement about specifying a particular
34115 * manual/setjmp.texi: Likewise.
34116 * manual/signal.texi: Likewise.
34117 * manual/startup.texi: Likewise.
34118 * manual/stdio.texi: Likewise.
34119 * manual/terminal.texi: Likewise.
34120 (ONLCR): Document as POSIX.
34121 (OXTABS): Document availability on GNU/Linux as XTABS.
34122 (ONOEOT): Document availability separately from other bits.
34123 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
34124 * manual/time.texi: Likewise.
34125 * manual/users.texi: Likewise.
34126 * INSTALL: Regenerated.
34127 * sysdeps/gnu/errlist.c: Regenerated.
34129 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
34130 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
34131 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
34133 * configure: Regenerated.
34135 2012-03-07 Joseph Myers <joseph@codesourcery.com>
34137 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
34138 default includes instead of AC_HEADER_CHECK.
34139 * sysdeps/i386/configure: Regenerated.
34142 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
34143 * math/s_cacoshf.c (__cacoshf): Likewise.
34144 * math/s_cacoshl.c (__cacoshl): Likewise.
34145 * math/s_casinh.c (__casinh): Set signs of result from argument.
34146 * math/s_casinhf.c (__casinhf): Likewise.
34147 * math/s_casinhl.c (__casinhl): Likewise.
34148 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
34149 (casinh_test): Add more tests.
34150 * sysdeps/i386/fpu/libm-test-ulps: Update.
34151 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34153 2012-03-07 Ulrich Drepper <drepper@gmail.com>
34155 * po/zh_TW.po: Update from translation team.
34157 * login/Makefile (distribute): Remove variable.
34158 * catgets/Makefile: Likewise.
34159 * mach/Makefile: Likewise.
34160 * malloc/Makefile: Likewise.
34161 * misc/Makefile: Likewise.
34162 * iconv/Makefile: Likewise.
34163 * nscd/Makefile: Likewise.
34164 * hurd/Makefile: Likewise.
34165 * manual/Makefile: Likewise.
34166 * locale/Makefile: Likewise.
34167 * intl/Makefile: Likewise.
34168 * conform/Makefile: Likewise.
34169 * nss/Makefile: Likewise.
34170 * time/Makefile: Likewise.
34171 * soft-fp/Makefile: Likewise.
34172 * dirent/Makefile: Likewise.
34173 * gmon/Makefile: Likewise.
34174 * po/Makefile: Likewise.
34175 * rt/Makefile: Likewise.
34176 * socket/Makefile: Likewise.
34177 * math/Makefile: Likewise.
34178 * signal/Makefile: Likewise.
34179 * debug/Makefile: Likewise.
34180 * elf/Makefile: Likewise.
34181 * timezone/Makefile: Likewise.
34182 * stdlib/Makefile: Likewise.
34183 * iconvdata/Makefile: Likewise.
34184 * sunrpc/Makefile: Likewise.
34185 * io/Makefile: Likewise.
34186 * argp/Makefile: Likewise.
34187 * inet/Makefile: Likewise.
34188 * hesiod/Makefile: Likewise.
34189 * grp/Makefile: Likewise.
34190 * csu/Makefile: Likewise.
34191 * wctype/Makefile: Likewise.
34192 * crypt/Makefile: Likewise.
34193 * libio/Makefile: Likewise.
34194 * string/Makefile: Likewise.
34195 * nis/Makefile: Likewise.
34196 * resolv/Makefile: Likewise.
34197 * stdio-common/Makefile: Likewise.
34198 * wcsmbs/Makefile: Likewise.
34199 * dlfcn/Makefile: Likewise.
34200 * posix/Makefile: Likewise.
34203 * timezone/Makefile: Don't install timezone files, just the programs
34206 2012-03-06 Ulrich Drepper <drepper@gmail.com>
34208 * nss/databases.def: Add missing gshadow entry.
34210 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
34212 2012-03-06 Marek Polacek <polacek@redhat.com>
34215 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
34216 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
34217 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
34218 * stdio-common/tst-long-dbl-fphex.c: New file.
34220 2012-03-06 David S. Miller <davem@davemloft.net>
34222 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34223 (set_obp_int): New function.
34224 (get_obp_int): New function.
34225 (__get_clockfreq_via_dev_openprom): Likewise.
34226 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
34227 Avoid unused variable warnings on 'val' and use builtin_expect.
34228 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
34230 (INLINE_CLONE_SYSCALL): Likewise.
34232 2012-03-05 David S. Miller <davem@davemloft.net>
34234 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34236 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
34238 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34240 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
34241 only for |x| >= 40.
34242 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
34244 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
34246 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
34247 Replace gettimeofday with __vdso_gettimeofday.
34249 * sysdeps/unix/sysv/linux/x86_64/init-first.c
34250 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
34251 __vdso_clock_gettime and __vdso_getcpu.
34253 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
34254 time with __vdso_time.
34256 2012-03-05 Joseph Myers <joseph@codesourcery.com>
34258 * manual/lang.texi (size_t): Note types to which size_t may be
34259 equivalent with the GNU C Library, but do not describe when
34260 differences between them are significant.
34262 2012-03-05 Andreas Jaeger <aj@suse.de>
34264 * sysdeps/i386/fpu/libm-test-ulps: Update.
34266 2012-03-05 Joseph Myers <joseph@codesourcery.com>
34269 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
34270 (__ieee754_pow): Save and restore rounding mode and use
34271 round-to-nearest for main computations.
34272 * math/libm-test.inc (pow_test_tonearest): New function.
34273 (pow_test_towardzero): Likewise.
34274 (pow_test_downward): Likewise.
34275 (pow_test_upward): Likewise.
34276 (main): Call the new functions.
34277 * sysdeps/i386/fpu/libm-test-ulps: Update.
34278 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34281 * math/libm-test.inc (cosh_test_tonearest): New function.
34282 (cosh_test_towardzero): Likewise.
34283 (cosh_test_downward): Likewise.
34284 (cosh_test_upward): Likewise.
34285 (sinh_test_tonearest): Likewise.
34286 (sinh_test_towardzero): Likewise.
34287 (sinh_test_downward): Likewise.
34288 (sinh_test_upward): Likewise.
34289 (main): Call the new functions.
34290 * sysdeps/i386/fpu/libm-test-ulps: Update.
34291 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34293 2012-03-05 Tom de Vries <tom@codesourcery.com>
34295 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
34296 default stack guard is set in last bytes.
34297 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
34299 2012-03-05 Kees Cook <keescook@chromium.org>
34301 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
34304 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
34305 possibly allocate from heap instead of stack.
34306 * stdio-common/bug-vfprintf-nargs.c: New file.
34307 * stdio-common/Makefile (tests): Add nargs overflow test.
34309 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
34311 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34313 2012-03-03 Marek Polacek <polacek@redhat.com>
34315 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
34316 * math/math_private.h: Likewise.
34317 * stdlib/tst-strtod.c: Likewise.
34318 * sysdeps/i386/i486/bits/atomic.h: Likewise.
34319 * sysdeps/x86_64/bits/atomic.h: Likewise.
34321 2012-03-02 David S. Miller <davem@davemloft.net>
34323 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
34324 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
34325 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
34326 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
34327 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
34328 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
34329 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
34330 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
34332 2012-03-02 Roland McGrath <roland@hack.frob.com>
34335 * manual/examples/README: New file, says the example source files
34336 can be used under GPL>=2.
34337 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
34338 line containing just "*/".
34339 * manual/examples/add.c: Add copyright header (GPL>=2).
34340 * manual/examples/argp-ex1.c: Likewise.
34341 * manual/examples/argp-ex2.c: Likewise.
34342 * manual/examples/argp-ex3.c: Likewise.
34343 * manual/examples/argp-ex4.c: Likewise.
34344 * manual/examples/atexit.c: Likewise.
34345 * manual/examples/db.c: Likewise.
34346 * manual/examples/dir.c: Likewise.
34347 * manual/examples/dir2.c: Likewise.
34348 * manual/examples/execinfo.c: Likewise.
34349 * manual/examples/filecli.c: Likewise.
34350 * manual/examples/filesrv.c: Likewise.
34351 * manual/examples/fmtmsgexpl.c: Likewise.
34352 * manual/examples/genpass.c: Likewise.
34353 * manual/examples/inetcli.c: Likewise.
34354 * manual/examples/inetsrv.c: Likewise.
34355 * manual/examples/isockad.c: Likewise.
34356 * manual/examples/longopt.c: Likewise.
34357 * manual/examples/memopen.c: Likewise.
34358 * manual/examples/memstrm.c: Likewise.
34359 * manual/examples/mkfsock.c: Likewise.
34360 * manual/examples/mkisock.c: Likewise.
34361 * manual/examples/mygetpass.c: Likewise.
34362 * manual/examples/pipe.c: Likewise.
34363 * manual/examples/popen.c: Likewise.
34364 * manual/examples/rprintf.c: Likewise.
34365 * manual/examples/search.c: Likewise.
34366 * manual/examples/select.c: Likewise.
34367 * manual/examples/setjmp.c: Likewise.
34368 * manual/examples/sigh1.c: Likewise.
34369 * manual/examples/sigusr.c: Likewise.
34370 * manual/examples/stpcpy.c: Likewise.
34371 * manual/examples/strdupa.c: Likewise.
34372 * manual/examples/strftim.c: Likewise.
34373 * manual/examples/strncat.c: Likewise.
34374 * manual/examples/subopt.c: Likewise.
34375 * manual/examples/swapcontext.c: Likewise.
34376 * manual/examples/termios.c: Likewise.
34377 * manual/examples/testopt.c: Likewise.
34378 * manual/examples/testpass.c: Likewise.
34379 * manual/examples/timeval_subtract.c: Likewise.
34382 * manual/time.texi (Elapsed Time): Move timeval_subtract example
34384 * manual/timeval_subtract.c.texi: ... here, new file.
34386 2012-03-02 David S. Miller <davem@davemloft.net>
34388 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
34390 2012-03-02 Joseph Myers <joseph@codesourcery.com>
34393 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
34394 (__sin): Save and restore rounding mode and use round-to-nearest
34395 for all computations.
34396 (__cos): Save and restore rounding mode and use round-to-nearest
34397 for all computations.
34398 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
34400 (tan): Save and restore rounding mode and use round-to-nearest for
34402 * math/libm-test.inc (cos_test_tonearest): New function.
34403 (cos_test_towardzero): Likewise.
34404 (cos_test_downward): Likewise.
34405 (cos_test_upward): Likewise.
34406 (sin_test_tonearest): Likewise.
34407 (sin_test_towardzero): Likewise.
34408 (sin_test_downward): Likewise.
34409 (sin_test_upward): Likewise.
34410 (tan_test_tonearest): Likewise.
34411 (tan_test_towardzero): Likewise.
34412 (tan_test_downward): Likewise.
34413 (tan_test_upward): Likewise.
34414 (main): Call the new functions.
34415 * sysdeps/i386/fpu/libm-test-ulps: Update.
34416 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34419 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
34420 small n, then large n, before computing and testing k+n.
34421 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
34422 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
34424 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
34426 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
34427 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
34428 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
34429 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
34430 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
34431 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
34432 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
34433 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
34434 * math/libm-test.inc (scalbn_test): Add more tests.
34435 (scalbln_test): Likewise.
34437 * manual/filesys.texi (mode_t): Describe constraints on size and
34438 signedness, not exact equivalence to a particular type.
34440 (ino64_t): Likewise.
34442 (nlink_t): Likewise.
34443 (blkcnt_t): Likewise.
34444 (blkcnt64_t): Likewise.
34445 * manual/llio.texi (off_t): Likewise.
34448 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
34449 (__ieee754_exp): Save and restore rounding mode and use
34450 round-to-nearest for all computations.
34451 * math/libm-test.inc (exp_test_tonearest): New function.
34452 (exp_test_towardzero): Likewise.
34453 (exp_test_downward): Likewise.
34454 (exp_test_upward): Likewise.
34455 (main): Call the new functions.
34456 * sysdeps/i386/fpu/libm-test-ulps: Update.
34457 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34459 2012-03-01 Chris Demetriou <cgd@google.com>
34461 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
34462 have predictable order.
34464 2012-03-01 David S. Miller <davem@davemloft.net>
34466 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
34468 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
34469 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
34470 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
34471 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
34473 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
34474 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
34475 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
34476 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
34477 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
34478 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
34479 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
34480 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
34481 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
34483 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34485 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
34486 * sysdeps/sparc/fpu/libm-test-ulps: to here.
34487 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
34489 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
34490 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
34491 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
34492 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
34493 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
34494 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
34495 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
34496 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
34497 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
34498 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
34499 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
34500 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
34501 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
34502 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
34503 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
34504 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34505 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
34506 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
34507 * sysdeps/sparc/elf/configure: Regenerated.
34509 2012-03-01 Joseph Myers <joseph@codesourcery.com>
34511 * configure.in (AS, LD): Require binutils 2.20 or later.
34512 * configure: Regenerated.
34513 * manual/install.texi (Tools for Compilation): Give binutils 2.20
34514 as required minimum version.
34515 * INSTALL: Regenerated.
34519 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
34520 before squaring exponent.
34521 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
34522 bottom long double and 27 bits of top long double before squaring
34524 * math/libm-test.inc (erfc_test): Add more tests.
34525 * sysdeps/i386/fpu/libm-test-ulps: Update.
34526 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34527 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34529 2012-03-01 Kai Tietz <ktietz@redhat.com>
34531 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
34532 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
34533 containing bit-fields.
34534 * soft-fp/extended.h (_FP_UNION_E): Likewise.
34535 * soft-fp/single.h (_FP_UNION_S): Likewise.
34536 * soft-fp/double.h (_FP_UNION_D): Likewise.
34538 2012-02-29 Joseph Myers <joseph@codesourcery.com>
34541 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
34542 not include ../strcmp.S.
34543 [USE_AS_STRNCASECMP_L]: Likewise.
34544 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
34545 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
34546 * sysdeps/i386/i686/multiarch/strncase_l-c.c
34547 (__strncasecmp_l_ia32): Define as alias to
34548 __strncasecmp_l_nonascii.
34551 * math/libm-test.inc (expm1_test): Add test for bug 5794.
34552 * sysdeps/i386/fpu/libm-test-ulps: Update.
34553 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34555 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
34556 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34558 2012-02-29 Jeff Law <law@redhat.com>
34560 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
34561 out of bounds read.
34563 2012-02-29 Marek Polacek <polacek@redhat.com>
34566 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
34567 * elf/Makefile: Add rules to run tst-unused-dep.out.
34569 2012-02-28 David S. Miller <davem@davemloft.net>
34571 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
34572 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
34573 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
34574 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
34575 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
34576 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
34578 2012-02-29 Joseph Myers <joseph@codesourcery.com>
34580 * math/libm-test.inc (llround_test): Move one test from
34581 lround_test. Use TEST_f_L in moved test.
34582 (lround_test): Move misplaced test to llround_test. Add testcase
34585 2012-02-28 Ulrich Drepper <drepper@gmail.com>
34587 * sysdeps/x86_64/fpu/e_expf.S: New file.
34588 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
34590 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
34593 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
34594 of remain_len that may cause incomplete multi-byte character and
34596 * posix/bug-regex33.c: New file.
34597 * posix/Makefile (tests): Add bug-regex33.
34599 2012-02-28 Joseph Myers <joseph@codesourcery.com>
34601 * manual/macros.texi: New file.
34602 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
34603 * manual/libc.texinfo: Include macros.texi.
34604 * manual/creatute.texi: Likewise.
34605 * manual/install.texi: Likewise.
34606 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
34607 @glibcadj{} in references to the GNU C Library.
34608 * manual/charset.texi: Likewise.
34609 * manual/conf.texi: Likewise.
34610 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
34611 when not using those macros.
34612 * manual/creature.texi: Likewise.
34613 * manual/crypt.texi: Likewise.
34614 * manual/errno.texi: Likewise.
34615 * manual/filesys.texi: Likewise.
34616 * manual/header.texi: Likewise.
34617 * manual/install.texi: Likewise.
34618 * manual/intro.texi: Likewise.
34619 * manual/io.texi: Likewise.
34620 * manual/job.texi: Likewise.
34621 * manual/lang.texi: Likewise.
34622 * manual/libc.texiinfo: Likewise.
34623 * manual/llio.texi: Likewise.
34624 * manual/locale.texi: Likewise.
34625 * manual/maint.texi: Likewise.
34626 * manual/math.texi: Likewise.
34627 * manual/memory.texi: Likewise.
34628 * manual/message.texi: Likewise.
34629 * manual/nss.texi: Likewise.
34630 * manual/pattern.texi: Likewise.
34631 * manual/process.texi: Likewise.
34632 * manual/resource.texi: Likewise.
34633 * manual/search.texi: Likewise.
34634 * manual/setjmp.texi: Likewise.
34635 * manual/signal.texi: Likewise.
34636 * manual/socket.texi: Likewise.
34637 * manual/startup.texi: Likewise.
34638 * manual/stdio.texi: Likewise.
34639 * manual/string.texi: Likewise.
34640 * manual/sysinfo.texi: Likewise.
34641 * manual/syslog.texi: Likewise.
34642 * manual/terminal.texi: Likewise.
34643 * manual/time.texi: Likewise.
34644 * manual/users.texi: Likewise.
34645 * INSTALL: Regenerated.
34646 * NOTES: Regenerated.
34647 * sysdeps/gnu/errlist.c: Regenerated.
34649 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
34651 * include/dirent.h: Include <dirstream.h> before
34654 2012-02-28 David S. Miller <davem@davemloft.net>
34656 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
34657 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
34658 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
34659 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
34661 2012-02-27 David S. Miller <davem@davemloft.net>
34663 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
34664 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
34665 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
34666 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
34668 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
34669 frame pointer instead of stack pointer relative arg slot.
34670 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
34671 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
34672 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
34674 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
34677 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
34679 2012-02-27 David S. Miller <davem@davemloft.net>
34681 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
34682 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
34683 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
34684 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
34685 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
34686 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
34687 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
34688 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
34690 2012-02-27 Joseph Myers <joseph@codesourcery.com>
34692 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
34693 later. Allow versions 5-9.
34694 * configure: Regenerated.
34695 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
34696 required minimum version and 4.6 as recommended version. Do not
34697 mention bugs in GCC 2.7 and 2.8.
34698 * INSTALL: Regenerated.
34700 2012-02-27 David S. Miller <davem@davemloft.net>
34702 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
34703 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
34704 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
34705 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
34706 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
34707 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
34708 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
34709 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
34711 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
34712 manipulate bits before adding and subtracting TWO112[sx].
34713 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
34715 2012-02-27 Roland McGrath <roland@hack.frob.com>
34718 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
34719 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
34720 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
34721 being in POSIX, because they are in 1003.1-2008.
34723 * rt/tst-aio.c: Include <fcntl.h>.
34724 * rt/tst-aio7.c: Likewise.
34725 * rt/tst-aio64.c: Likewise.
34727 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
34729 2012-02-27 Joseph Myers <joseph@codesourcery.com>
34731 * manual/install.texi (--with-headers): Describe headers as
34732 interface headers, not private headers.
34733 (Specific advice for GNU/Linux systems): Describe use of headers
34734 from "make headers_install", not private headers from older
34736 * INSTALL: Regenerated.
34737 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
34739 * sysdeps/unix/sysv/linux/configure: Regenerated.
34741 * manual/llio.texi (fclean): Remove documentation.
34743 * manual/Makefile (libc-texi-generated): New variable. Include
34745 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
34746 $(libc-texi-generated), not duplicated list of files.
34747 (version.texi, stamp-version): New rules.
34748 (realclean): Remove $(libc-texi-generated), not individual files
34749 from that list. Do not remove dir-add.texinfo.
34750 * manual/libc.texinfo: Comment out uses of edition numbers and
34751 references to printed manual. Remove last-updated dates.
34752 (EDITION): Comment out.
34754 (VERSION, UPDATED): Remove.
34755 (version.texi): Include.
34757 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
34759 * sysdeps/posix/spawni.c: Include <signal.h>.
34760 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
34761 * sysdeps/pthread/aio_fsync.c: Likewise.
34763 2012-02-26 Ulrich Drepper <drepper@gmail.com>
34765 * conform/Makefile (tests): Run only when not cross-compiling and
34766 when fast-check is not defined.
34768 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
34769 * conform/data/limits.h-data: Fixes for POSIX2008.
34770 * conform/run-conformtest.sh: Run all tests.
34771 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
34773 * include/bits/dlfcn.h: Likewise.
34774 * include/langinfo.h: Likewise.
34775 * include/monetary.h: Likewise.
34776 * include/sys/poll.h: Likewise.
34778 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
34780 * posix/spawn.h: Define __need_sigset_t.
34781 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
34782 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
34783 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
34784 to get sigevent_t only.
34785 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
34786 only for __USE_GNU.
34787 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
34788 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
34789 process_vm_writev only for __USE_GNU.
34790 * termios/termios.h: Declare tcgetsid also for POSIX2008.
34792 * conform/Makefile: For now ignore errors from run-conformtest.
34793 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
34794 POSIX to avoid namespace pollution. Don't prepend headers.
34795 * conform/data/aio.h-data: Fixes for POSIX testing.
34796 * conform/data/fcntl.h-data: Likewise.
34797 * conform/data/glob.h-data: Likewise.
34798 * conform/data/grp.h-data: Likewise.
34799 * conform/data/pthread.h-data: Likewise.
34800 * conform/data/pwd.h-data: Likewise.
34801 * conform/data/signal.h-data: Likewise.
34802 * conform/data/spawn.h-data: Likewise.
34803 * conform/data/stdio.h-data: Likewise.
34804 * conform/data/stdlib.h-data: Likewise.
34805 * conform/data/stropts.h-data: Likewise.
34806 * conform/data/sys/mman.h-data: Likewise.
34807 * conform/data/sys/stat.h-data: Likewise.
34808 * conform/data/sys/types.h-data: Likewise.
34809 * conform/data/sys/wait.h-data: Likewise.
34810 * conform/data/time.h-data: Likewise.
34811 * conform/data/unistd.h-data: Likewise.
34812 * conform/data/utime.h-data: Likewise.
34814 * io/sys/stat.h: fchmod was always in POSIX.
34815 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
34816 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
34817 * rt/aio.h: Define __need_timespec before including <time.h>.
34818 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
34819 struct. Add forward declaration of pthread_attr_t and use it in
34821 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
34822 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
34823 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
34824 always remove CLK_TCK definition.
34826 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
34828 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
34830 2012-02-25 Ulrich Drepper <drepper@gmail.com>
34832 * conform/run-conformtest.sh: New file.
34833 * conform/Makefile: Run run-conformtest for tests.
34834 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
34837 * conform/data/uchar.h-data: New file.
34838 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
34839 * conform/data/arpa/inet.h-data: Likewise.
34840 * conform/data/assert.h-data: Likewise.
34841 * conform/data/complex.h-data: Likewise.
34842 * conform/data/cpio.h-data: Likewise.
34843 * conform/data/ctype.h-data: Likewise.
34844 * conform/data/dirent.h-data: Likewise.
34845 * conform/data/dlfcn.h-data: Likewise.
34846 * conform/data/errno.h-data: Likewise.
34847 * conform/data/fcntl.h-data: Likewise.
34848 * conform/data/float.h-data: Likewise.
34849 * conform/data/fmtmsg.h-data: Likewise.
34850 * conform/data/fnmatch.h-data: Likewise.
34851 * conform/data/ftw.h-data: Likewise.
34852 * conform/data/glob.h-data: Likewise.
34853 * conform/data/grp.h-data: Likewise.
34854 * conform/data/iconv.h-data: Likewise.
34855 * conform/data/inttypes.h-data: Likewise.
34856 * conform/data/langinfo.h-data: Likewise.
34857 * conform/data/libgen.h-data: Likewise.
34858 * conform/data/limits.h-data: Likewise.
34859 * conform/data/locale.h-data: Likewise.
34860 * conform/data/math.h-data: Likewise.
34861 * conform/data/monetary.h-data: Likewise.
34862 * conform/data/mqueue.h-data: Likewise.
34863 * conform/data/ndbm.h-data: Likewise.
34864 * conform/data/net/if.h-data: Likewise.
34865 * conform/data/netdb.h-data: Likewise.
34866 * conform/data/netinet/in.h-data: Likewise.
34867 * conform/data/nl_types.h-data: Likewise.
34868 * conform/data/poll.h-data: Likewise.
34869 * conform/data/pthread.h-data: Likewise.
34870 * conform/data/pwd.h-data: Likewise.
34871 * conform/data/regex.h-data: Likewise.
34872 * conform/data/sched.h-data: Likewise.
34873 * conform/data/search.h-data: Likewise.
34874 * conform/data/semaphore.h-data: Likewise.
34875 * conform/data/setjmp.h-data: Likewise.
34876 * conform/data/signal.h-data: Likewise.
34877 * conform/data/spawn.h-data: Likewise.
34878 * conform/data/stdarg.h-data: Likewise.
34879 * conform/data/stdio.h-data: Likewise.
34880 * conform/data/stdlib.h-data: Likewise.
34881 * conform/data/string.h-data: Likewise.
34882 * conform/data/strings.h-data: Likewise.
34883 * conform/data/stropts.h-data: Likewise.
34884 * conform/data/sys/ipc.h-data: Likewise.
34885 * conform/data/sys/mman.h-data: Likewise.
34886 * conform/data/sys/msg.h-data: Likewise.
34887 * conform/data/sys/resource.h-data: Likewise.
34888 * conform/data/sys/select.h-data: Likewise.
34889 * conform/data/sys/sem.h-data: Likewise.
34890 * conform/data/sys/shm.h-data: Likewise.
34891 * conform/data/sys/socket.h-data: Likewise.
34892 * conform/data/sys/stat.h-data: Likewise.
34893 * conform/data/sys/statvfs.h-data: Likewise.
34894 * conform/data/sys/time.h-data: Likewise.
34895 * conform/data/sys/timeb.h-data: Likewise.
34896 * conform/data/sys/times.h-data: Likewise.
34897 * conform/data/sys/types.h-data: Likewise.
34898 * conform/data/sys/uio.h-data: Likewise.
34899 * conform/data/sys/un.h-data: Likewise.
34900 * conform/data/sys/utsname.h-data: Likewise.
34901 * conform/data/sys/wait.h-data: Likewise.
34902 * conform/data/syslog.h-data: Likewise.
34903 * conform/data/tar.h-data: Likewise.
34904 * conform/data/termios.h-data: Likewise.
34905 * conform/data/utime.h-data: Likewise.
34906 * conform/data/utmpx.h-data: Likewise.
34907 * conform/data/varargs.h-data: Likewise.
34908 * conform/data/wchar.h-data: Likewise.
34909 * conform/data/wctype.h-data: Likewise.
34910 * conform/data/wordexp.h-data: Likewise.
34912 * include/stropts.h: New file.
34913 * include/uchar.h: New file.
34914 * include/aio.h: Changes to allow conformtest.pl to use the headers.
34915 * include/assert.h: Likewise.
34916 * include/ctype.h: Likewise.
34917 * include/dirent.h: Likewise.
34918 * include/dlfcn.h: Likewise.
34919 * include/fcntl.h: Likewise.
34920 * include/fnmatch.h: Likewise.
34921 * include/glob.h: Likewise.
34922 * include/grp.h: Likewise.
34923 * include/libio.h: Likewise.
34924 * include/locale.h: Likewise.
34925 * include/math.h: Likewise.
34926 * include/net/if.h: Likewise.
34927 * include/netdb.h: Likewise.
34928 * include/netinet/in.h: Likewise.
34929 * include/pthread.h: Likewise.
34930 * include/pwd.h: Likewise.
34931 * include/regex.h: Likewise.
34932 * include/sched.h: Likewise.
34933 * include/search.h: Likewise.
34934 * include/setjmp.h: Likewise.
34935 * include/signal.h: Likewise.
34936 * include/stdio.h: Likewise.
34937 * include/stdlib.h: Likewise.
34938 * include/string.h: Likewise.
34939 * include/sys/cdefs.h: Likewise.
34940 * include/sys/mman.h: Likewise.
34941 * include/sys/msg.h: Likewise.
34942 * include/sys/resource.h: Likewise.
34943 * include/sys/select.h: Likewise.
34944 * include/sys/socket.h: Likewise.
34945 * include/sys/stat.h: Likewise.
34946 * include/sys/statvfs.h: Likewise.
34947 * include/sys/time.h: Likewise.
34948 * include/sys/times.h: Likewise.
34949 * include/sys/uio.h: Likewise.
34950 * include/sys/utsname.h: Likewise.
34951 * include/sys/wait.h: Likewise.
34952 * include/termios.h: Likewise.
34953 * include/time.h: Likewise.
34954 * include/ulimit.h: Likewise.
34955 * include/unistd.h: Likewise.
34956 * include/utime.h: Likewise.
34957 * include/wchar.h: Likewise.
34958 * include/wctype.h: Likewise.
34959 * include/wordexp.h: Likewise.
34961 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
34963 * time/time.h: TIME_UTC must be a macro.
34964 Make timespec_get available for ISO C11 only as well.
34966 2012-02-24 Ulrich Drepper <drepper@gmail.com>
34968 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
34969 Reported by Peng Haitao <penght@cn.fujitsu.com>.
34971 2012-02-24 Joseph Myers <joseph@codesourcery.com>
34973 * configure.in: Use -o not -a in test for unsupported multi-arch.
34975 2012-02-24 Joseph Myers <joseph@codesourcery.com>
34977 * manual/texinfo.tex: Update to version 2012-01-19.16.
34979 2012-02-24 Joseph Myers <joseph@codesourcery.com>
34981 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
34983 2012-02-24 Roland McGrath <roland@hack.frob.com>
34986 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
34987 * manual/fdl-1.3.texi: New file.
34988 * manual/fdl-1.1.texi: File removed.
34991 * manual/libc.texinfo (FDL_VERSION): New @set.
34992 Use it for mention of FDL in cover text.
34993 (Documentation License): Use it in @include file name.
34995 2012-02-22 Joseph Myers <joseph@codesourcery.com>
34996 Roland McGrath <roland@hack.frob.com>
34999 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
35000 (not LONG_LONG_MAX and LONG_LONG_MIN.
35001 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
35002 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
35004 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
35006 2012-02-22 Joseph Myers <joseph@codesourcery.com>
35010 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
35011 manipulate bits before adding and subtracting TWO23[sx].
35012 * math/libm-test.inc (nearbyint_test): Add more tests.
35014 2012-02-22 Joseph Myers <joseph@codesourcery.com>
35017 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
35018 bits before adding and subtracting TWO23[sx].
35019 * math/libm-test.inc (rint_test): Add more tests.
35020 (rint_test_tonearest): Likewise.
35021 (rint_test_towardzero): Likewise.
35022 (rint_test_downward): Likewise.
35023 (rint_test_upward: Likewise.
35025 2012-02-22 Joseph Myers <joseph@codesourcery.com>
35028 * include/stdc-predef.h: New file. Extracted from features.h.
35029 * include/features.h: Include stdc-predef.h.
35030 * Makefile (headers): Add stdc-predef.h.
35031 * CONFORMANCE (Compiler limitations): Update.
35033 2012-02-22 Joseph Myers <joseph@codesourcery.com>
35035 * manual/libc.texinfo (VERSION, UPDATED): Revert.
35037 2012-02-21 David S. Miller <davem@davemloft.net>
35039 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
35040 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
35042 2012-02-20 David S. Miller <davem@davemloft.net>
35044 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
35045 using a normal save/restore sequence, rather than allocating a
35046 dummy stack frame just to store a frame pointer and restore.
35047 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
35049 2012-02-21 Joseph Myers <joseph@codesourcery.com>
35051 * manual/install.texi: Fix stray word in line-wrapped comment.
35053 2012-02-20 David S. Miller <davem@davemloft.net>
35055 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
35056 both binutils and gcc support GOTDATA.
35058 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
35059 "rd %pc" in the PIC register setup sequences.
35061 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
35062 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
35063 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
35064 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
35065 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
35066 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
35067 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
35068 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
35069 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
35070 (SYSCALL_ERROR_HANDLER): Likewise.
35071 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
35072 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
35073 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
35074 (SYSCALL_ERROR_HANDLER): Likewise.
35076 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
35077 (HAVE_GCC_GOTDATA): New.
35078 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
35079 relocation support in both binutils and gcc.
35080 * sysdeps/sparc/elf/configure: Regenerate.
35082 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
35083 * sysdeps/sparc/sparc32/elf/configure: Delete.
35084 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
35085 * sysdeps/sparc/sparc64/elf/configure: Delete.
35086 * sysdeps/sparc/elf/configure.in: New file.
35087 * sysdeps/sparc/elf/configure: Generate.
35089 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
35090 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
35091 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
35092 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
35093 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
35095 2012-02-21 Joseph Myers <joseph@codesourcery.com>
35097 * manual/install.texi: Do not mention specific glibc version
35099 * manual/libc.texinfo (VERSION, UPDATED): Update.
35100 (@copying): Use @copyright{} and range of years.
35102 2012-02-21 Joseph Myers <joseph@codesourcery.com>
35105 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
35106 [crti.S not in sysdirs] (generated): Do not append.
35107 [crti.S not in sysdirs] (omit-deps): Likewise.
35108 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
35109 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
35110 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
35111 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
35112 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
35114 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
35115 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
35116 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
35117 * csu/defs.awk: Remove file.
35118 * sysdeps/generic/initfini.c: Likewise.
35119 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
35121 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
35124 2012-02-20 Joseph Myers <joseph@codesourcery.com>
35126 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
35127 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
35128 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
35129 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
35130 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
35131 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
35133 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
35134 (__EPOLL_PACKED): Define to empty if not defined by
35136 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
35137 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35140 2012-02-20 Joseph Myers <joseph@codesourcery.com>
35142 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
35143 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
35144 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
35145 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
35147 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
35148 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35151 2012-02-20 Joseph Myers <joseph@codesourcery.com>
35153 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
35155 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35156 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
35157 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
35158 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35160 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
35162 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35163 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
35165 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
35167 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
35168 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
35170 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
35172 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
35175 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
35177 * math/w_acos.c: Use non-signaling floating-point comparisons.
35178 * math/w_acosf.c: Likewise.
35179 * math/w_acosh.c: Likewise.
35180 * math/w_acoshf.c: Likewise.
35181 * math/w_acoshl.c: Likewise.
35182 * math/w_acosl.c: Likewise.
35183 * math/w_asin.c: Likewise.
35184 * math/w_asinf.c: Likewise.
35185 * math/w_asinl.c: Likewise.
35186 * math/w_atanh.c: Likewise.
35187 * math/w_atanhf.c: Likewise.
35188 * math/w_atanhl.c: Likewise.
35189 * math/w_exp2.c: Likewise.
35190 * math/w_exp2f.c: Likewise.
35191 * math/w_exp2l.c: Likewise.
35192 * math/w_j0.c: Likewise.
35193 * math/w_j0f.c: Likewise.
35194 * math/w_j0l.c: Likewise.
35195 * math/w_j1.c: Likewise.
35196 * math/w_j1f.c: Likewise.
35197 * math/w_j1l.c: Likewise.
35198 * math/w_jn.c: Likewise.
35199 * math/w_jnf.c: Likewise.
35200 * math/w_log.c: Likewise.
35201 * math/w_log10.c: Likewise.
35202 * math/w_log10f.c: Likewise.
35203 * math/w_log10l.c: Likewise.
35204 * math/w_log2.c: Likewise.
35205 * math/w_log2f.c: Likewise.
35206 * math/w_log2l.c: Likewise.
35207 * math/w_logf.c: Likewise.
35208 * math/w_logl.c: Likewise.
35209 * math/w_sqrt.c: Likewise.
35210 * math/w_sqrtf.c: Likewise.
35211 * math/w_sqrtl.c: Likewise.
35212 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
35213 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
35214 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
35215 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
35216 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
35218 2012-02-19 Joseph Myers <joseph@codesourcery.com>
35221 * manual/string.texi (strnlen): Use correct parameter name in
35222 equivalent expression.
35224 2012-02-19 Joseph Myers <joseph@codesourcery.com>
35227 * manual/users.texi (seteuid): Consistently use neweuid for
35230 2012-02-19 Joseph Myers <joseph@codesourcery.com>
35233 * manual/nss.texi (Services in the NSS configuration): Correct
35234 list of services in example configuration file.
35236 2012-02-19 Nick Bowler <nbowler@draconx.ca>
35239 * manual/arith.texi: Remove statements about negative zero
35240 behaving identically to zero.
35242 2012-02-18 Joseph Myers <joseph@codesourcery.com>
35245 * manual/install.texi: Do not document upgrading from libc5.
35247 2012-02-18 Joseph Myers <joseph@codesourcery.com>
35250 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
35252 2012-02-18 David S. Miller <davem@davemloft.net>
35254 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
35255 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
35256 %o7 across the call.
35257 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
35259 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
35260 SETUP_PIC_REG_LEAF.
35261 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35262 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
35263 * sysdeps/sparc/crtn.S: Likewise.
35265 2012-02-17 Ulrich Drepper <drepper@gmail.com>
35267 * aout/Makefile: Remove.
35269 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
35272 * manual/examples/argp-ex1.c (main): Format definition in GNU
35274 * manual/examples/argp-ex2.c (main): Likewise.
35275 * manual/examples/argp-ex3.c (main): Likewise.
35276 * manual/examples/argp-ex4.c (main): Likewise.
35277 * manual/examples/longopt.c (main): Use new-style prototype
35279 * manual/examples/strncat.c (main): Specify return type and use
35280 (void) for arguments.
35281 * manual/examples/subopt.c (main): Use char **argv argument.
35283 2012-02-17 Joseph Myers <joseph@codesourcery.com>
35286 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
35289 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
35292 * manual/string.texi (strchr): Change when strchrnul is
35295 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
35298 * manual/locale.texi (setlocale): Document LOCPATH.
35300 2012-02-17 Joseph Myers <joseph@codesourcery.com>
35303 * manual/process.texi (execle): Move @dots{} before last argument.
35305 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
35308 * manual/charset.texi (Generic Charset Conversion): Fix typo
35309 (LC_TYPE -> LC_CTYPE).
35311 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
35314 * manual/arith.texi (scalbn): Use @var{} on parameter names.
35315 (scalbnf): Likewise.
35316 (scalbnl): Likewise.
35317 (scalbln): Likewise.
35318 (scalblnf): Likewise.
35319 (scalblnl): Likewise.
35320 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
35321 (vwarnx): Likewise.
35324 * manual/filesys.texi (telldir): Use braces around return type.
35325 * manual/llio.texi (mmap): Add space after comma.
35326 (mmap64): Likewise.
35327 * manual/math.texi (jn): Use @var{} on parameter names.
35333 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
35335 * manual/resource.texi (ulimit): Use @dots{} instead of literal
35337 (sched_get_priority_min): Remove semicolon on @deftypefun line.
35338 (sched_get_priority_max): Likewise.
35339 * manual/signal.texi (sigvec): Add space after comma.
35340 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
35342 (if_indextoname): Likewise.
35343 (if_freenameindex): Likewise.
35344 (sendto): Use ',' instead of '.' in prototype.
35345 * manual/startup.texi (syscall): Use @dots{} instead of literal
35347 * manual/stdio.texi (__fpending): Separate initial words of
35348 paragraph from @deftypefun line.
35349 * manual/syslog.texi (syslog): Use @dots{} instead of literal
35351 (vsyslog): Use @var{} on parameter names.
35352 * manual/terminal.texi (stty): Use @var{} on parameter names.
35353 * manual/users.texi (getutmp): Use @var{} on parameter names.
35354 (getutmpx): Likewise.
35356 2012-02-17 Joseph Myers <joseph@codesourcery.com>
35359 * manual/stdio.texi (fopen): Fix typos in description of
35362 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
35365 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
35366 get clock_id definition.
35368 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
35371 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
35372 (madvise): Cast every argument to void on its own.
35374 2012-02-17 Joseph Myers <joseph@codesourcery.com>
35377 * manual/startup.texi (Exit Status): Fix typo.
35379 2012-02-17 Joseph Myers <joseph@codesourcery.com>
35382 * manual/examples/argp-ex1.c: Include <stdlib.h>.
35383 * manual/examples/argp-ex2.c: Likewise.
35384 * manual/examples/argp-ex3.c: Likewise.
35386 2012-02-16 Richard Henderson <rth@redhat.com>
35388 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
35389 * sysdeps/s390/s390-32/initfini.c: Remove.
35390 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
35391 * sysdeps/s390/s390-64/initfini.c: Remove.
35393 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
35395 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
35396 compiler output for sysdeps/generic/initfini.c.
35397 * sysdeps/sh/elf/initfini.c: Remove file.
35399 2012-02-16 David S. Miller <davem@davemloft.net>
35402 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
35404 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
35405 * sysdeps/sparc/crti.S: New file.
35406 * sysdeps/sparc/crtn.S: New file.
35407 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
35408 * sysdeps/sparc/sparc64/Makefile: Likewise.
35410 2012-02-15 Mike Frysinger <vapier@gentoo.org>
35413 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
35415 2012-02-15 Roland McGrath <roland@hack.frob.com>
35418 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
35420 * mach/devstream.c (cookie_io_functions_t): Macro removed.
35421 (write, read, close): Likewise.
35422 Patch by Aurelien Jarno <aurelien@aurel32.net>.
35424 2012-02-15 Joseph Myers <joseph@codesourcery.com>
35426 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
35427 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
35428 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
35429 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
35431 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
35432 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35435 2012-02-14 Marek Polacek <polacek@redhat.com>
35437 * sysdeps/x86_64/crti.S: New file.
35438 * sysdeps/x86_64/crtn.S: New file.
35439 * sysdeps/x86_64/elf/initfini.c: Remove file.
35441 2012-02-13 Joseph Myers <joseph@codesourcery.com>
35443 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
35444 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
35445 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
35446 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
35448 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
35449 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35452 2012-02-13 Joseph Myers <joseph@codesourcery.com>
35454 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
35455 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
35456 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
35457 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
35459 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
35460 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35463 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
35465 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
35466 __feraiseexcept instead of feraiseexcept.
35468 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
35469 nanosleep invocations.
35470 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
35471 strings, and add error checking for a nanosleep invocations.
35473 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
35475 Replace FSF snail mail address with URLs, as per GNU coding standards.
35476 Most of the snail mail addresses were wrong anyway, and omitting
35477 them makes the source code easier to maintain. Almost all of the
35478 changes are to license notices and to locale LC_IDENTIFICATION
35479 addresses, except for this one:
35480 * manual/libc.texinfo: In "Published by", give the FSF's URL,
35481 not its snail mail address.
35483 2012-02-09 Richard Henderson <rth@twiddle.net>
35485 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
35486 of kernel-features.h.
35488 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
35490 2012-02-08 Marek Polacek <polacek@redhat.com>
35492 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
35493 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
35494 * sysdeps/gnu/_G_config.h: Likewise.
35495 * sysdeps/generic/_G_config.h: Likewise.
35497 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
35499 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
35501 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35503 * sysdeps/powerpc/powerpc32/crti.S: New file.
35504 * sysdeps/powerpc/powerpc32/crtn.S: New file.
35505 * sysdeps/powerpc/powerpc64/crti.S: New file.
35506 * sysdeps/powerpc/powerpc64/crtn.S: New file.
35508 * Makeconfig (have-initfini): Don't set.
35509 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
35510 * configure.in (nopic_initfini): Don't substitute.
35511 * config.h.in (HAVE_INITFINI): Don't #undef.
35512 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
35513 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
35515 2012-02-08 Joseph Myers <joseph@codesourcery.com>
35517 Support crti.S and crtn.S provided directly by architectures.
35518 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
35519 [crti.S in sysdirs] (omit-deps): Likewise.
35520 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
35521 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
35522 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
35523 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
35524 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
35525 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
35526 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
35527 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
35528 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
35529 compiler output for sysdeps/generic/initfini.c.
35530 * sysdeps/i386/elf/Makefile: Remove file.
35531 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
35533 2012-02-07 Marek Polacek <polacek@redhat.com>
35535 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
35536 * sysdeps/gnu/_G_config.h: Likewise.
35537 * sysdeps/mach/hurd/_G_config.h: Likewise.
35539 2012-02-07 Marek Polacek <polacek@redhat.com>
35541 * math/Makefile (tests): Add tst-CMPLX2.
35542 * math/tst-CMPLX2.c: New file.
35544 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
35546 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35548 * math/libm-test.inc (jn_test): Add missing L suffix.
35550 2012-02-06 Marek Polacek <polacek@redhat.com>
35552 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
35553 * sysdeps/i386/fpu/e_powf.S: Likewise.
35554 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
35555 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
35556 * sysdeps/i386/fpu/e_acosh.S: Likewise.
35557 * sysdeps/i386/fpu/e_pow.S: Likewise.
35558 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
35559 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
35560 * sysdeps/i386/fpu/s_expm1.S: Likewise.
35561 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
35562 * sysdeps/i386/fpu/e_log2.S: Likewise.
35563 * sysdeps/i386/fpu/e_log2l.S: Likewise.
35564 * sysdeps/i386/fpu/e_scalb.S: Likewise.
35565 * sysdeps/i386/fpu/e_powl.S: Likewise.
35566 * sysdeps/i386/fpu/s_log1p.S: Likewise.
35567 * sysdeps/i386/fpu/e_log10f.S: Likewise.
35568 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
35569 * sysdeps/i386/fpu/e_logl.S: Likewise.
35570 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
35571 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
35572 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
35573 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
35574 * sysdeps/i386/fpu/e_log2f.S: Likewise.
35575 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
35576 * sysdeps/i386/fpu/e_log.S: Likewise.
35577 * sysdeps/i386/fpu/s_cexp.S: Likewise.
35578 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
35579 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
35580 * sysdeps/i386/fpu/e_logf.S: Likewise.
35581 * sysdeps/i386/fpu/e_log10l.S: Likewise.
35582 * sysdeps/i386/fpu/e_atanh.S: Likewise.
35583 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
35584 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
35585 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
35586 * sysdeps/i386/fpu/e_log10.S: Likewise.
35587 * sysdeps/i386/fpu/s_frexp.S: Likewise.
35588 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
35589 * sysdeps/i386/fpu/s_asinh.S: Likewise.
35590 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
35591 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
35592 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
35593 * sysdeps/i386/asm-syntax.h: Likewise.
35594 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
35595 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
35596 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
35597 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
35598 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
35599 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
35600 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
35601 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
35602 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
35603 * sysdeps/powerpc/sysdep.h: Likewise.
35604 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
35605 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
35607 2012-02-06 Joseph Myers <joseph@codesourcery.com>
35610 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
35612 2012-02-06 Joseph Myers <joseph@codesourcery.com>
35614 * sysdeps/i386/sysdep.h: Include <features.h>.
35615 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
35618 2012-02-05 Joseph Myers <joseph@codesourcery.com>
35620 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
35622 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
35625 2012-02-03 Joseph Myers <joseph@codesourcery.com>
35627 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
35628 (SETUP_PIC_REG): Use GET_PC_THUNK.
35629 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
35632 2012-02-03 Joseph Myers <joseph@codesourcery.com>
35634 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
35635 for non-PIC compilation.
35636 (SETUP_PIC_REG): Add .p2align directive.
35637 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
35638 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
35639 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
35640 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
35641 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
35642 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
35643 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
35644 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
35645 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
35646 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
35647 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
35648 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
35649 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
35650 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
35651 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
35652 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
35653 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
35654 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
35655 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
35656 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
35657 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
35658 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
35659 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
35660 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
35661 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
35662 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
35663 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
35664 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
35665 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
35666 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
35667 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
35668 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
35669 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
35670 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
35671 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
35672 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
35673 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
35674 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
35675 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
35676 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
35677 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
35679 2012-02-03 Joseph Myers <joseph@codesourcery.com>
35681 * math/tst-CMPLX.c: Include <stdio.h>.
35683 2012-01-31 Joseph Myers <joseph@codesourcery.com>
35685 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
35687 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
35688 * sysdeps/sparc/bits/mathdef.h: Likewise.
35690 2012-01-31 Marek Polacek <polacek@redhat.com>
35692 * libio/libio.h: Don't define _PARAMS.
35693 * locale/programs/config.h: Don't define PARAMS.
35694 * stdlib/strtol_l.c: Likewise.
35695 (__strtol_l): Remove PARAMS from the prototype.
35697 2012-01-31 Ulrich Drepper <drepper@gmail.com>
35699 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
35700 names. Just use the correct names. Remove unnecessary wrapper
35702 * malloc/arena.c: Likewise.
35703 * malloc/hooks.c: Likewise.
35705 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
35706 ARENA_TEST says not to. Simplify test for creation of a new arena.
35707 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
35709 2012-01-30 Ulrich Drepper <drepper@gmail.com>
35711 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
35713 (update_get_addr): New function.
35714 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
35715 GET_ADDR_MODULE parameter.
35717 2012-01-30 Joseph Myers <joseph@codesourcery.com>
35719 * crypt/cert.c: Remove __STDC__ conditionals.
35720 * crypt/crypt-entry.c: Likewise.
35721 * crypt/crypt_util.c: Likewise.
35722 * libio/filedoalloc.c: Likewise.
35723 * libio/fileops.c: Likewise.
35724 * libio/genops.c: Likewise.
35725 * libio/iofclose.c: Likewise.
35726 * libio/iofdopen.c: Likewise.
35727 * libio/iofopen.c: Likewise.
35728 * libio/iofopen64.c: Likewise.
35729 * libio/iogetdelim.c: Likewise.
35730 * libio/iopopen.c: Likewise.
35731 * libio/obprintf.c: Likewise.
35732 * libio/oldfileops.c: Likewise.
35733 * libio/oldiofclose.c: Likewise.
35734 * libio/oldiofdopen.c: Likewise.
35735 * libio/oldiofopen.c: Likewise.
35736 * libio/oldiopopen.c: Likewise.
35737 * libio/wfiledoalloc.c: Likewise.
35738 * libio/wgenops.c: Likewise.
35739 * locale/programs/xmalloc.c: Likewise.
35740 * misc/syslog.c: Likewise.
35741 * stdio-common/xbug.c: Likewise.
35742 * string/memchr.c: Likewise.
35743 * string/memcmp.c: Likewise.
35744 * string/memrchr.c: Likewise.
35745 * string/rawmemchr.c: Likewise.
35746 * sysdeps/posix/getcwd.c: Likewise.
35747 * time/strftime_l.c: Likewise.
35749 2012-01-30 Joseph Myers <joseph@codesourcery.com>
35751 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
35752 * config.make.in (config-cflags-sse2avx): Define.
35753 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
35756 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
35758 * scripts/config.guess: Update from upstream config git repository.
35759 * scripts/config.sub: Likewise.
35761 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
35763 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
35765 (R_TILEPRO_*, R_TILEGX_*): New macros.
35767 * scripts/firstversions.awk: Fix bug in version range handling.
35769 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
35771 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
35773 * include/sys/epoll.h: New file.
35774 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
35777 2012-01-28 Ulrich Drepper <drepper@gmail.com>
35779 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
35780 Avoid unnecessary __WORDSIZE == 64 test.
35781 (fmaxf): Use VEX format if possible.
35786 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
35787 * math/math_private.h: Remove libc_fegetround* and
35789 * sysdeps/i386/configure.in: Check for -msse2avx.
35790 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
35791 also if SSE2AVX is defined.
35792 Remove libc_fegetround* and libc_fesetround*.
35793 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
35794 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
35795 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
35797 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
35798 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
35799 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
35800 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
35801 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
35803 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
35805 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35807 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
35809 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
35811 2012-01-27 Ulrich Drepper <drepper@gmail.com>
35814 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
35816 * Makeconfig (libm): Define.
35817 * elf/Makefile: Add rules to build and run tst-relsort1.
35818 * elf/tst-relsort1.c: New file.
35819 * elf/tst-relsort1mod1.c: New file.
35820 * elf/tst-relsort1mod2.c: New file.
35822 2012-01-27 Joseph Myers <joseph@codesourcery.com>
35824 * math/s_ldexp.c: Remove __STDC__ conditionals.
35825 * math/s_ldexpf.c: Likewise.
35826 * math/s_ldexpl.c: Likewise.
35827 * math/s_nextafter.c: Likewise.
35828 * math/s_nexttowardf.c: Likewise.
35829 * math/s_significand.c: Likewise.
35830 * math/s_significandf.c: Likewise.
35831 * math/s_significandl.c: Likewise.
35832 * math/w_jnl.c: Likewise.
35833 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
35834 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
35835 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
35836 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
35837 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
35838 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
35839 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
35840 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
35841 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
35842 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
35843 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
35844 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
35845 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
35846 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
35847 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
35848 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
35849 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
35850 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
35851 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
35852 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
35853 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
35854 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
35855 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
35856 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
35857 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
35858 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
35859 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
35860 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
35861 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
35862 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
35863 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
35864 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
35865 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
35866 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
35867 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
35868 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
35869 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
35870 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
35871 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
35872 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
35873 * sysdeps/ieee754/k_standard.c: Likewise.
35874 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
35875 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
35876 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
35877 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
35878 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
35879 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
35880 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
35881 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
35882 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
35883 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
35884 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
35885 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
35886 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
35887 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
35888 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
35889 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
35890 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
35891 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
35892 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
35893 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
35894 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
35895 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
35896 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
35897 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
35898 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
35899 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
35900 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
35901 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
35902 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
35903 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
35904 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
35905 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
35906 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
35907 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
35908 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
35909 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
35910 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
35911 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
35912 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
35913 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
35914 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
35915 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
35916 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
35917 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
35918 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
35919 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
35920 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
35921 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
35922 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
35923 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
35924 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
35925 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
35926 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
35927 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
35928 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
35929 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
35930 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
35931 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
35932 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
35933 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
35934 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
35935 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
35936 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
35937 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
35938 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
35939 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
35940 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
35941 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
35942 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
35943 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
35944 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
35945 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
35946 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
35947 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
35948 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
35949 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
35950 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
35951 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
35952 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
35953 * sysdeps/ieee754/s_matherr.c: Likewise.
35954 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
35955 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
35956 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
35957 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
35959 2012-01-26 Joseph Myers <joseph@codesourcery.com>
35961 * crypt/md5.h: Remove __STDC__ conditionals.
35962 * libio/libioP.h: Likewise.
35963 * locale/programs/config.h: Likewise.
35964 * sysdeps/generic/sysdep.h: Likewise.
35965 * sysdeps/i386/asm-syntax.h: Likewise.
35966 * sysdeps/s390/asm-syntax.h: Likewise.
35967 * sysdeps/unix/sysdep.h: Likewise.
35968 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
35969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
35971 2012-01-26 Joseph Myers <joseph@codesourcery.com>
35973 * libio/libio.h: Remove __STDC__ conditionals.
35974 * malloc/obstack.h: Likewise.
35975 * math/complex.h: Likewise.
35976 * math/math.h: Likewise.
35977 * sysdeps/generic/_G_config.h: Likewise.
35978 * sysdeps/gnu/_G_config.h: Likewise.
35979 * sysdeps/mach/hurd/_G_config.h: Likewise.
35980 * sysdeps/powerpc/bits/mathdef.h: Likewise.
35981 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
35982 * sysdeps/sparc/bits/mathdef.h: Likewise.
35984 2012-01-26 Ulrich Drepper <drepper@gmail.com>
35987 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
35988 Clean up HAS_* macros.
35989 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
35990 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
35992 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
35994 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
35995 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
35996 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
35997 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
35998 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
36000 2012-01-25 Joseph Myers <joseph@codesourcery.com>
36002 * elf/tst-unique3.cc (gets): Remove declaration.
36003 * elf/tst-unique3lib.cc (gets): Likewise.
36004 * elf/tst-unique3lib2.cc (gets): Likewise.
36005 * elf/tst-unique4.cc (gets): Likewise.
36007 2012-01-24 Ulrich Drepper <drepper@gmail.com>
36009 * include/stdio.h: Add C++ protection. Add gets declarations and
36011 * debug/tst-chk1.c: Don't declare gets here.
36012 * stdio-common/tst-gets.c: Likewise.
36014 2012-01-24 Joseph Myers <joseph@codesourcery.com>
36016 * posix/glob: Remove directory.
36018 2012-01-24 Joseph Myers <joseph@codesourcery.com>
36020 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
36022 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
36024 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
36025 of the non-standard EPFNOSUPPORT.
36027 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
36029 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
36030 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
36031 ANYWHERE set to 1 only on KERN_NO_SPACE error.
36033 2012-01-21 Ulrich Drepper <drepper@gmail.com>
36035 * wcsmbs/uchar.h: Test __STDC_VERSION__.
36037 2012-01-20 Ulrich Drepper <drepper@gmail.com>
36039 * nscd/aicache.c (addhstaiX): Do not cache negative results of
36041 * nscd/grpcache.c (cache_addgr): Likewise.
36042 * nscd/hstcache.c (cache_addhst): Likewise.
36043 * nscd/initgrcache.c (addinitgroupsX): Likewise.
36044 * nscd/pwdcache.c (cache_addpw): Likewise.
36045 * nscd/servicescache.c (cache_addserv): Likewise.
36047 2012-01-16 Ulrich Drepper <drepper@gmail.com>
36049 * malloc/malloc.c: Various cleanups.
36050 * malloc/hooks.c: Likewise.
36052 * stdlib/Makefile (tests): Add bug-fmtmsg1.
36053 * stdlib/bug-fmtmsg1.c: New file.
36055 * stdlib/fmtmsg.c (init): Add missing unlock.
36056 Patch by Peng Haitao <penght@cn.fujitsu.com>.
36058 2012-01-12 Marek Polacek <polacek@redhat.com>
36060 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
36063 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
36065 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
36066 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
36067 macro to ensure uniqueness of label name.
36068 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
36069 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
36071 2012-01-11 Ulrich Drepper <drepper@gmail.com>
36073 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
36075 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
36076 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
36077 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
36078 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
36080 2012-01-10 Ulrich Drepper <drepper@gmail.com>
36082 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
36084 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
36085 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
36086 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
36088 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
36090 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
36091 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
36092 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
36093 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
36095 * math/bits/math-finite.h: Add ldexp support.
36097 2012-01-10 Marek Polacek <polacek@redhat.com>
36099 * locale/programs/localedef.h (show_archive_content): Add noreturn
36102 2012-01-09 Ulrich Drepper <drepper@gmail.com>
36104 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
36106 2012-01-08 Ulrich Drepper <drepper@gmail.com>
36108 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
36110 * io/Makefile (headers): Add bits/poll2.h.
36112 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
36114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
36115 typo #include statement.
36117 2012-01-08 Ulrich Drepper <drepper@gmail.com>
36119 * include/sys/cdefs.h: Define __attribute_alloc_size.
36120 * catgets/gencat.c: Add alloc_size attribute and apply consistently
36121 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
36122 * elf/pldd.c: Likewise.
36123 * iconv/iconv_charmap.c: Likewise.
36124 * iconv/iconvconfig.c: Likewise.
36125 * iconv/strtab.c: Likewise.
36126 * locale/programs/locale.c: Likewise.
36127 * locale/programs/localedef.h: Likewise.
36128 * locale/programs/simple-hash.c: Likewise.
36129 * nscd/nscd.h: Likewise.
36130 * nss/makedb.c: Likewise.
36131 * sysdeps/generic/ldconfig.h: Likewise.
36132 * locale/programs/localedef.c: Remove xmalloc prototype.
36133 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
36135 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
36137 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
36140 2012-01-08 Ulrich Drepper <drepper@gmail.com>
36142 * math/Makefile (tests): Add tst-CMPLX.
36143 * math/tst-CMPLX.c: New file.
36145 * math/complex.h (CMPLXL): Fix typo.
36147 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
36148 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
36150 * debug/tst-chk1.c: Add poll and ppoll tests.
36151 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
36152 * include/sys/poll.h: Add hidden proto for ppoll.
36153 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
36154 * sysdeps/mach/hurd/ppoll.c: Likewise.
36155 * io/ppoll.c: Likewise.
36156 * debug/poll_chk.c: New file.
36157 * debug/ppoll_chk.c: New file.
36158 * include/bits/poll2.h: New file.
36159 * io/bits/poll2.h: New file.
36162 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
36164 * configure.in: static is always set to yes. Remove.
36165 * config.make.in: Don't set build-static.
36166 * Makeconfig: Remove use of build-static.
36167 * dlfcn/Makefile: Likewise.
36168 * elf/Makefile: Likewise.
36169 * math/Makefile: Likewise.
36170 * misc/Makefile: Likewise.
36171 * nptl/Makefile: Likewise.
36172 * sysdeps/mach/hurd/Makefile: Likewise.
36174 * configure.in: PWD_P is not used anymore.
36175 * config.make.in: Remove PWD_P entry.
36177 * configure.in: Remove last remnants of RANLIB.
36178 No need to check for signed size_t anymore.
36179 Don't set libc_commonpagesize and libc_relro_required here for Alpha
36181 Remove __builtin_expect test because we require at least gcc 3.4.
36182 * aclocal.m4: Likewise.
36184 * wcsmbs/mbrtoc16.c: Implement using towc function.
36185 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
36186 * wcsmbs/wcsmbsload.c: Likewise.
36187 * iconv/gconv_simple.c: Likewise.
36188 * iconv/gconv_int.h: Likewise.
36189 * iconv/gconv_builtin.h: Likewise.
36190 * iconv/iconv_prog.c: Remove CHAR16 handling.
36192 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
36194 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
36196 * configure.in: Remove --with-elf and --enable-bounded options.
36197 Dont set base_machine for ia64. More non-ELF conditions removed.
36198 Remove testing and setting of leading underscore information.
36199 * config.make.in (build-bounded): Set to no.
36200 * config.h.in: Remove NO_UNDERSCORES entry.
36201 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
36203 * csu/start.c: Remove !NO_UNDERSCORE code.
36204 * locale/localeinfo.h: Likewise.
36205 * sysdeps/generic/machine-gmon.h: Likewise.
36206 * sysdeps/generic/sysdep.h: Likewise.
36207 * sysdeps/i386/sysdep.h: Likewise.
36208 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
36209 * sysdeps/mach/sysdep.h: Likewise.
36210 * sysdeps/s390/s390-32/sysdep.h: Likewise.
36211 * sysdeps/s390/s390-64/sysdep.h: Likewise.
36212 * sysdeps/sh/sysdep.h: Likewise.
36213 * sysdeps/sparc/sparc32/alloca.S: Likewise.
36214 * sysdeps/unix/i386/sysdep.S: Likewise.
36215 * sysdeps/unix/sparc/start.c: Likewise.
36216 * sysdeps/unix/sparc/sysdep.S: Likewise.
36217 * sysdeps/unix/sparc/sysdep.h: Likewise.
36218 * sysdeps/unix/start.c: Likewise.
36219 * sysdeps/unix/x86_64/sysdep.S: Likewise.
36220 * sysdeps/x86_64/sysdep.h: Likewise.
36222 2012-01-07 Ulrich Drepper <drepper@gmail.com>
36225 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
36227 * argp/argp-fmtstream.h: Use const instead __const.
36228 * argp/argp.h: Likewise.
36229 * assert/assert.h: Likewise.
36230 * bits/fenv.h: Likewise.
36231 * bits/sched.h: Likewise.
36232 * bits/sigset.h: Likewise.
36233 * bits/sigthread.h: Likewise.
36234 * catgets/nl_types.h: Likewise.
36235 * conform/data/pthread.h-data: Likewise.
36236 * crypt/crypt-private.h: Likewise.
36237 * crypt/crypt.h: Likewise.
36238 * crypt/crypt_util.c: Likewise.
36239 * ctype/ctype.h: Likewise.
36240 * debug/execinfo.h: Likewise.
36241 * debug/mbsnrtowcs_chk.c: Likewise.
36242 * debug/mbsrtowcs_chk.c: Likewise.
36243 * debug/wcsnrtombs_chk.c: Likewise.
36244 * debug/wcsrtombs_chk.c: Likewise.
36245 * debug/wcstombs_chk.c: Likewise.
36246 * dirent/dirent.h: Likewise.
36247 * dlfcn/dlfcn.h: Likewise.
36248 * elf/neededtest4.c: Likewise.
36249 * grp/grp.h: Likewise.
36250 * gshadow/gshadow.h: Likewise.
36251 * iconv/gconv.h: Likewise.
36252 * iconv/gconv_int.h: Likewise.
36253 * iconv/gconv_simple.c: Likewise.
36254 * iconv/iconv.h: Likewise.
36255 * iconv/loop.c: Likewise.
36256 * iconv/skeleton.c: Likewise.
36257 * include/aio.h: Likewise.
36258 * include/aliases.h: Likewise.
36259 * include/argz.h: Likewise.
36260 * include/arpa/inet.h: Likewise.
36261 * include/assert.h: Likewise.
36262 * include/dirent.h: Likewise.
36263 * include/dlfcn.h: Likewise.
36264 * include/execinfo.h: Likewise.
36265 * include/fcntl.h: Likewise.
36266 * include/fenv.h: Likewise.
36267 * include/glob.h: Likewise.
36268 * include/grp.h: Likewise.
36269 * include/libintl.h: Likewise.
36270 * include/mntent.h: Likewise.
36271 * include/netdb.h: Likewise.
36272 * include/pwd.h: Likewise.
36273 * include/rpc/netdb.h: Likewise.
36274 * include/sched.h: Likewise.
36275 * include/search.h: Likewise.
36276 * include/shadow.h: Likewise.
36277 * include/signal.h: Likewise.
36278 * include/stdio.h: Likewise.
36279 * include/stdlib.h: Likewise.
36280 * include/string.h: Likewise.
36281 * include/sys/socket.h: Likewise.
36282 * include/sys/stat.h: Likewise.
36283 * include/sys/statfs.h: Likewise.
36284 * include/sys/statvfs.h: Likewise.
36285 * include/sys/syslog.h: Likewise.
36286 * include/sys/time.h: Likewise.
36287 * include/sys/uio.h: Likewise.
36288 * include/time.h: Likewise.
36289 * include/unistd.h: Likewise.
36290 * include/utmp.h: Likewise.
36291 * include/wchar.h: Likewise.
36292 * include/wctype.h: Likewise.
36293 * inet/aliases.h: Likewise.
36294 * inet/arpa/inet.h: Likewise.
36295 * inet/netinet/ether.h: Likewise.
36296 * inet/netinet/in.h: Likewise.
36297 * intl/libintl.h: Likewise.
36298 * io/bits/fcntl2.h: Likewise.
36299 * io/fcntl.h: Likewise.
36300 * io/ftw.h: Likewise.
36301 * io/sys/poll.h: Likewise.
36302 * io/sys/stat.h: Likewise.
36303 * io/sys/statfs.h: Likewise.
36304 * io/sys/statvfs.h: Likewise.
36305 * io/utime.h: Likewise.
36306 * libio/bits/stdio.h: Likewise.
36307 * libio/bits/stdio2.h: Likewise.
36308 * libio/libio.h: Likewise.
36309 * libio/libioP.h: Likewise.
36310 * libio/stdio.h: Likewise.
36311 * locale/lc-ctype.c: Likewise.
36312 * locale/locale.h: Likewise.
36313 * login/utmp.h: Likewise.
36314 * malloc/arena.c: Likewise.
36315 * malloc/malloc.c: Likewise.
36316 * malloc/malloc.h: Likewise.
36317 * malloc/mcheck.c: Likewise.
36318 * malloc/mtrace.c: Likewise.
36319 * math/bits/mathcalls.h: Likewise.
36320 * math/fenv.h: Likewise.
36321 * math/math_private.h: Likewise.
36322 * misc/bits/error.h: Likewise.
36323 * misc/bits/syslog.h: Likewise.
36324 * misc/err.h: Likewise.
36325 * misc/error.h: Likewise.
36326 * misc/fstab.h: Likewise.
36327 * misc/mntent.h: Likewise.
36328 * misc/regexp.h: Likewise.
36329 * misc/search.h: Likewise.
36330 * misc/sgtty.h: Likewise.
36331 * misc/sys/mman.h: Likewise.
36332 * misc/sys/syslog.h: Likewise.
36333 * misc/sys/uio.h: Likewise.
36334 * misc/sys/xattr.h: Likewise.
36335 * misc/ttyent.h: Likewise.
36336 * nis/rpcsvc/ypclnt.h: Likewise.
36337 * nss/nss.h: Likewise.
36338 * posix/bits/unistd.h: Likewise.
36339 * posix/fnmatch.h: Likewise.
36340 * posix/glob.h: Likewise.
36341 * posix/sched.h: Likewise.
36342 * posix/spawn.h: Likewise.
36343 * posix/sys/wait.h: Likewise.
36344 * posix/unistd.h: Likewise.
36345 * posix/wordexp.h: Likewise.
36346 * pwd/pwd.h: Likewise.
36347 * resolv/netdb.h: Likewise.
36348 * resource/sys/resource.h: Likewise.
36349 * rt/aio.h: Likewise.
36350 * rt/bits/mqueue2.h: Likewise.
36351 * rt/mqueue.h: Likewise.
36352 * shadow/shadow.h: Likewise.
36353 * signal/signal.h: Likewise.
36354 * socket/send.c: Likewise.
36355 * socket/sendto.c: Likewise.
36356 * socket/sys/socket.h: Likewise.
36357 * stdio-common/printf.h: Likewise.
36358 * stdlib/bits/stdlib.h: Likewise.
36359 * stdlib/fmtmsg.h: Likewise.
36360 * stdlib/monetary.h: Likewise.
36361 * stdlib/stdlib.h: Likewise.
36362 * stdlib/ucontext.h: Likewise.
36363 * streams/stropts.h: Likewise.
36364 * string/argz.h: Likewise.
36365 * string/bits/string2.h: Likewise.
36366 * string/string.h: Likewise.
36367 * string/strings.h: Likewise.
36368 * sunrpc/rpc/auth.h: Likewise.
36369 * sunrpc/rpc/auth_des.h: Likewise.
36370 * sunrpc/rpc/clnt.h: Likewise.
36371 * sunrpc/rpc/netdb.h: Likewise.
36372 * sunrpc/rpc/pmap_clnt.h: Likewise.
36373 * sunrpc/rpc/xdr.h: Likewise.
36374 * sysdeps/generic/inttypes.h: Likewise.
36375 * sysdeps/generic/net/if.h: Likewise.
36376 * sysdeps/generic/sys/swap.h: Likewise.
36377 * sysdeps/gnu/net/if.h: Likewise.
36378 * sysdeps/gnu/utmpx.h: Likewise.
36379 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
36380 * sysdeps/i386/i486/bits/string.h: Likewise.
36381 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
36382 * sysdeps/s390/bits/string.h: Likewise.
36383 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
36384 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
36385 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
36386 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
36387 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
36388 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
36389 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
36390 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
36391 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
36392 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
36393 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
36394 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
36395 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
36396 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
36397 * sysdeps/unix/sysv/linux/readv.c: Likewise.
36398 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
36399 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
36400 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36401 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
36402 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
36403 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
36404 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
36405 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
36406 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
36407 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
36408 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
36409 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
36410 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36411 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
36412 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
36413 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
36414 * sysvipc/sys/ipc.h: Likewise.
36415 * sysvipc/sys/msg.h: Likewise.
36416 * sysvipc/sys/sem.h: Likewise.
36417 * sysvipc/sys/shm.h: Likewise.
36418 * termios/termios.h: Likewise.
36419 * time/sys/time.h: Likewise.
36420 * time/time.h: Likewise.
36421 * wcsmbs/bits/wchar2.h: Likewise.
36422 * wcsmbs/uchar.h: Likewise.
36423 * wcsmbs/wchar.h: Likewise.
36424 * wctype/wctype.h: Likewise.
36427 * Makeconfig: Remove all but ELF support including AIX support.
36428 * Makerules: Likewise.
36429 * config.h.in: Likewise.
36430 * config.make.in: Likewise.
36431 * configure: Likewise.
36432 * configure.in: Likewise.
36433 * csu/Makefile: Likewise.
36434 * csu/version.c: Likewise.
36435 * debug/Makefile: Likewise.
36436 * dlfcn/Makefile: Likewise.
36437 * elf/Makefile: Likewise.
36438 * extra-lib.mk: Likewise.
36439 * iconv/Makefile: Likewise.
36440 * include/libc-symbols.h: Likewise.
36441 * include/shlib-compat.h: Likewise.
36442 * resolv/Makefile: Likewise.
36443 * resolv/res_libc.c: Likewise.
36444 * rt/Makefile: Likewise.
36445 * sysdeps/i386/asm-syntax.h: Likewise.
36446 * sysdeps/i386/sysdep.h: Likewise.
36447 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
36448 * sysdeps/mach/sysdep.h: Likewise.
36449 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
36450 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
36451 * sysdeps/s390/asm-syntax.h: Likewise.
36452 * sysdeps/s390/s390-32/sysdep.h: Likewise.
36453 * sysdeps/s390/s390-64/sysdep.h: Likewise.
36454 * sysdeps/sh/sysdep.h: Likewise.
36455 * sysdeps/unix/sparc/sysdep.h: Likewise.
36456 * sysdeps/wordsize-32/divdi3.c: Likewise.
36457 * sysdeps/x86_64/sysdep.h: Likewise.
36459 * argp/Versions: Remove _argp_unlock_xxx.
36462 * abilist/ld.abilist: Update. Adjust for removal of tls option.
36463 * abilist/libBrokenLocale.abilist: Likewise.
36464 * abilist/libanl.abilist: Likewise.
36465 * abilist/libc.abilist: Likewise.
36466 * abilist/libcrypt.abilist: Likewise.
36467 * abilist/libdl.abilist: Likewise.
36468 * abilist/libm.abilist: Likewise.
36469 * abilist/libnsl.abilist: Likewise.
36470 * abilist/libpthread.abilist: Likewise.
36471 * abilist/libresolv.abilist: Likewise.
36472 * abilist/librt.abilist: Likewise.
36473 * abilist/libthread_db.abilist: Likewise.
36474 * abilist/libutil.abilist: Likewise.
36475 * abilist/libnss_db.abilist: New file.
36477 * scripts/abilist.awk: Add support for indirect functions.
36479 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
36481 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
36483 * shlib-versions: Remove entries for ports architectures.
36485 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
36487 * elf/stackguard-macros.h: Remove support for IA-64.
36488 * elf/tst-auditmod1.c: Likewise.
36489 * sysdeps/generic/ldsodefs.h: Likewise.
36491 * sysdeps/unix/sysv/linux/configure.in: Ports should define
36492 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
36496 * configure.in: Remove --enable-omitfp support.
36498 * config.make.in: Likewise.
36499 * Makeconfig: Likewise.
36500 * manual/install.texi: Likewise.
36502 In case anyone cares, the IA-64 architecture could move to ports.
36503 * sysdeps/ia64/*: Removed.
36504 * sysdeps/unix/sysv/linux/ia64/*: Removed.
36505 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
36508 * configure.in: Remove entries for unsupported architectures.
36511 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
36512 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
36514 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
36515 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
36516 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
36517 fall back to using wcrtomb.
36518 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
36519 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
36521 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
36522 * wcsmbs/tst-c16c32-1.c: New file.
36524 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
36527 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
36529 * elf/tst-unique3.cc: Add explicit declaration of gets.
36530 * elf/tst-unique3lib.cc: Likewise.
36531 * elf/tst-unique3lib2.cc: Likewise.
36532 * elf/tst-unique4.cc: Likewise.
36534 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
36536 2012-01-06 Joseph Myers <joseph@codesourcery.com>
36539 * assert/assert.h (static_assert): Don't define for C++.
36540 * libio/stdio.h (gets): Do declare for C++ <= C++11.
36541 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
36543 2012-01-03 Ulrich Drepper <drepper@gmail.com>
36545 * iconv/loop.c (single loop): Fix assertion in storing of
36548 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
36550 2012-01-01 Ulrich Drepper <drepper@gmail.com>
36552 * posix/getconf.c: Update copyright year.
36553 * nss/getent.c: Likewise.
36554 * nss/makedb.c: Likewise.
36555 * iconv/iconvconfig.c: Likewise.
36556 * iconv/iconv_prog.c: Likewise.
36557 * elf/ldconfig.c: Likewise.
36558 * elf/pldd.c: Likewise.
36559 * elf/sotruss.ksh: Likewise.
36560 * catgets/gencat.c: Likewise.
36561 * csu/version.c: Likewise.
36562 * elf/ldd.bash.in: Likewise.
36563 * elf/sprof.c (print_version): Likewise.
36564 * locale/programs/locale.c: Likewise.
36565 * locale/programs/localedef.c: Likewise.
36566 * login/programs/pt_chown.c: Likewise.
36567 * nscd/nscd.c (print_version): Likewise.
36568 * debug/xtrace.sh: Likewise.
36569 * malloc/memusage.sh: Likewise.
36570 * malloc/mtrace.pl: Likewise.
36571 * debug/catchsegv.sh: Likewise.
36573 2011-12-30 Jakub Jelinek <jakub@redhat.com>
36575 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
36578 2011-12-24 Ulrich Drepper <drepper@gmail.com>
36581 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
36582 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
36584 * iconv/gconv_int.h: Likewise.
36585 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
36586 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
36587 from libc for GLIBC_2.16.
36588 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
36589 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
36590 * wcsmbs/uchar.h: Really define mbstate_t.
36591 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
36592 * wcsmbs/c16rtomb.c: New file.
36593 * wcsmbs/mbrtoc16.c: New file.
36594 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
36595 for C/POSIX locale.
36596 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
36597 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
36599 * wcsmbs/wchar.h: Add missing __restrict.
36601 2011-12-23 Ulrich Drepper <drepper@gmail.com>
36604 * time/Makefile (routines): Add timespec_get.
36605 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
36606 * time/time.h: Define TIME_UTC and declare timespec_get. Define
36607 timespec for ISO C11.
36608 * time/timespec_get.c: New file.
36609 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
36610 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
36613 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
36614 * stdlib/stdlib.h: Declare aligned_alloc.
36615 * Versions.def: Add GLIBC_2.16 for libc.
36616 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
36619 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
36622 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
36626 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
36629 * assert/assert.h (static_assert): Define.
36631 * version.h: Update for 2.16 development version.
36634 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
36637 * version.h (RELEASE): Bump for 2.15 release.
36638 * include/features.h (__GLIBC_MINOR__): Bump to 15.
36640 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
36641 Patch by Marek Polacek <mpolacek@redhat.com>.
36643 * bits/byteswap.h: Protect long long constants with __extension__.
36644 * sysdeps/i386/bits/byteswap.h: Likewise.
36645 * sysdeps/ia64/bits/byteswap.h: Likewise.
36646 * sysdeps/s390/bits/byteswap.h: Likewise.
36647 * sysdeps/x86_64/bits/byteswap.h: Likewise.
36649 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36652 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
36653 destination buffer.
36654 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
36656 2011-12-23 Marek Polacek <polacek@redhat.com>
36658 * elf/dl-addr.c (determine_info): Add inline keyword.
36659 * elf/tst-auditmod4b.c (check_avx): Likewise.
36660 * elf/tst-auditmod6b.c (check_avx): Likewise.
36661 * elf/tst-auditmod6c.c (check_avx): Likewise.
36662 * elf/tst-auditmod7b.c (check_avx): Likewise.
36664 2011-12-23 Ulrich Drepper <drepper@gmail.com>
36666 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
36669 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36672 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
36673 processing for last bytes.
36675 2011-08-06 Bruno Haible <bruno@clisp.org>
36678 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
36679 U+0385, not to U+1FEE.
36682 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
36683 entry for U+00A5 U+0301.
36685 2011-12-22 Ulrich Drepper <drepper@gmail.com>
36688 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
36689 buffer for the output is too small.
36691 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
36695 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
36696 SSE flags if possible.
36698 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36701 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
36702 processing for last bytes.
36704 2011-12-22 Joseph Myers <joseph@codesourcery.com>
36706 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
36707 (syscall-list-default-options, syscall-list-default-condition)
36708 (syscall-list-includes): Define.
36709 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
36710 list of ABIs and options and #if conditions for each ABI. Do not
36711 handle common syscalls between ABIs specially.
36712 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
36714 (syscall-list-variants, syscall-list-32bit-options)
36715 (syscall-list-32bit-condition, syscall-list-64bit-options)
36716 (syscall-list-64bit-condition): Define.
36717 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
36718 (syscall-list-variants, syscall-list-32bit-options)
36719 (syscall-list-32bit-condition, syscall-list-64bit-options)
36720 (syscall-list-64bit-condition): Define.
36721 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
36723 (syscall-list-variants, syscall-list-32bit-options)
36724 (syscall-list-32bit-condition, syscall-list-64bit-options)
36725 (syscall-list-64bit-condition): Define.
36726 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
36728 (syscall-list-variants, syscall-list-32bit-options)
36729 (syscall-list-32bit-condition, syscall-list-64bit-options)
36730 (syscall-list-64bit-condition): Define.
36732 2011-12-22 Ulrich Drepper <drepper@gmail.com>
36734 * locale/iso-639.def: Add brx entry.
36737 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
36738 Proposed by Mariusz_Cukr <marcukr@op.pl>.
36740 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
36741 __feraiseexcept_renamed.
36743 2011-12-21 Ulrich Drepper <drepper@gmail.com>
36746 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
36747 EPOLLET with unsigned values.
36748 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36749 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
36751 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
36752 to large cancellation.
36753 * math/s_cacoshf.c: Likewise.
36754 * math/s_cacoshl.c: Likewise.
36756 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
36760 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
36761 * math/s_cacoshf.c: Likewise.
36762 * math/s_cacoshl.c: Likewise.
36764 2011-12-21 Ulrich Drepper <drepper@gmail.com>
36767 * iconv/gconv.h: Define __GCONV_SWAP.
36768 * iconvdata/unicode.c: The swap bit must be stored in __flags.
36769 * iconvdata/utf-16.c: Likewise.
36770 * iconvdata/utf-32.c: Likewise.
36772 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
36775 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
36776 numerator after shifting it by one limb.
36778 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
36780 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
36781 under [__USE_EXTERN_INLINES].
36783 2011-12-17 Ulrich Drepper <drepper@gmail.com>
36786 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
36788 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36790 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
36791 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
36793 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
36794 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
36795 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
36796 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
36797 for strncasecmp/strncasecmp_l compilation.
36798 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
36799 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
36801 2011-12-08 Marek Polacek <mpolacek@redhat.com>
36804 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
36807 2011-12-17 Ulrich Drepper <drepper@gmail.com>
36810 * time/tzfile.c (__tzfile_read): Check values from file header.
36812 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
36814 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
36815 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
36816 * powerpc/powerpc32/dl-start.S: Likewise.
36817 * powerpc/powerpc32/elf/start.S: Likewise.
36818 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
36819 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
36820 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
36821 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
36822 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
36823 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
36824 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
36825 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
36826 * powerpc/powerpc32/fpu/s_round.S: Likewise.
36827 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
36828 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
36829 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
36830 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
36831 * powerpc/powerpc32/memset.S: Likewise.
36832 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
36833 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
36834 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
36835 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
36836 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
36837 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
36838 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
36839 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
36840 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
36841 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
36842 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
36843 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
36844 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
36846 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36848 * math/libm-test.inc: Added more nearbyint tests.
36849 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
36850 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
36851 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
36852 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
36854 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
36856 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
36859 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36861 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
36862 Add wcscpy-ssse3 wcscpy-c.
36863 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
36864 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
36865 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
36866 * sysdeps/x86_64/wcschr.S: New file.
36867 * sysdeps/x86_64/wcsrchr.S: New file.
36868 * string/test-strcmp.c: Remove checking of wcscmp function for
36870 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
36871 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
36872 wcsrchr-sse2 wcsrchr-c.
36873 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
36874 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
36875 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
36876 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
36877 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
36878 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
36879 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
36880 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
36881 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
36882 * wcsmbc/wcschr.c (WCSCHR): New macro.
36884 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36886 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
36887 * wcsmbs/test-wcsrchr.c: New file.
36888 * string/test-strrchr.c: Add wcsrchr support.
36890 * wcsmbs/test-wcscpy.c: New file.
36891 * string/test-strcpy.c: Add wcscpy support.
36894 2011-12-10 Ulrich Drepper <drepper@gmail.com>
36896 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
36899 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
36902 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
36904 2011-12-04 Ulrich Drepper <drepper@gmail.com>
36906 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
36907 Minor optimizations.
36909 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
36910 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
36911 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
36913 2011-12-03 Ulrich Drepper <drepper@gmail.com>
36915 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
36916 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
36917 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
36918 for gcc to avoid warnings.
36919 * inet/Makefile (tests): Add tst-checks.
36920 * inet/tst-checks.c: New file.
36922 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
36925 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
36928 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
36929 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
36931 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
36933 2011-12-02 Ulrich Drepper <drepper@gmail.com>
36935 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
36938 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
36940 2011-11-29 Joseph Myers <joseph@codesourcery.com>
36942 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
36943 conditional on GCC version.
36944 (__arch_compare_and_exchange_val_8_acq)
36945 (__arch_compare_and_exchange_val_16_acq)
36946 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
36947 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
36948 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
36950 2011-12-02 Joseph Myers <joseph@codesourcery.com>
36952 * sysdeps/sh/backtrace.c: New file.
36954 2011-12-02 Andreas Schwab <schwab@redhat.com>
36956 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
36959 2011-12-01 Andreas Schwab <schwab@redhat.com>
36961 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
36962 falling back to utime.
36964 2011-11-30 Andreas Schwab <schwab@redhat.com>
36966 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
36967 expectations for float.
36969 2011-11-29 Andreas Schwab <schwab@redhat.com>
36971 * locale/weight.h (findidx): Add parameter len.
36972 * locale/weightwc.h (findidx): Likewise.
36973 * posix/fnmatch_loop.c (FCT): Adjust caller.
36974 * posix/regcomp.c (build_equiv_class): Likewise.
36975 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
36976 * posix/regexec.c (check_node_accept_bytes): Likewise.
36977 * string/strcoll_l.c (STRCOLL): Likewise.
36978 * string/strxfrm_l.c (STRXFRM): Likewise.
36980 2011-11-17 Ulrich Drepper <drepper@gmail.com>
36982 * Makefile.in: Remove CVSOPT handling.
36983 * configure.in: Remove use of AC_REVISION.
36984 * iconvdata/Makefile (distribute): No need to filter out CVS.
36985 * scripts/list-sources.sh: Remove CVS, subversion and monotone
36988 2011-11-16 Andreas Schwab <schwab@redhat.com>
36990 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
36991 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
36992 [USE_AS_STRNCASECMP_L]: Likewise.
36993 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
36994 NO_TLS_DIRECT_SEG_REFS.
36995 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
36996 Fix argument offsets for non-PIC.
36997 [USE_AS_STRNCASECMP_L]: Likewise.
36998 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
36999 NO_TLS_DIRECT_SEG_REFS.
37001 2011-11-15 Ulrich Drepper <drepper@gmail.com>
37003 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
37005 * locale/loadlocale.c (_nl_load_locale): Likewise.
37007 2011-11-15 Andreas Schwab <schwab@redhat.com>
37009 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
37010 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
37011 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
37012 (SYSCALL_GETTIME): Set errno on error.
37014 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
37015 count references to noai6ai_cached.
37017 2011-11-15 Ulrich Drepper <drepper@gmail.com>
37019 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
37021 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
37022 FD_CLOEXEC for /proc/self/maps.
37024 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
37025 FD_CLOEXEC for /proc/meminfo.
37027 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
37030 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
37031 FD_CLOEXEC for given file.
37033 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
37035 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
37036 FD_CLOEXEC for /etc/hosts.
37037 (_gethtent): Likewise.
37039 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
37041 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
37042 cancellation and set FD_CLOEXEC for /etc/netgroup.
37044 * nss/nss_files/files-key.c (search): Don't allow cancellation when
37045 reading /etc/publickey.
37047 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
37048 allow cancellation when reading /etc/group.
37050 * nss/nss_files/files-alias.c (internal_setent): Don't allow
37052 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
37054 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
37055 when using data file.
37057 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
37059 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
37060 (write_nis_obj): Use "c" and "e" in fopen.
37062 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
37064 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
37066 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
37068 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
37070 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
37073 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
37075 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
37077 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
37079 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
37080 file parsing and set FD_CLOEXEC.
37082 2011-11-14 Ulrich Drepper <drepper@gmail.com>
37084 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
37086 2011-11-14 Andreas Schwab <schwab@redhat.com>
37088 * malloc/arena.c (arena_get2): Don't call reused_arena when
37089 _int_new_arena failed.
37091 2011-11-14 Ulrich Drepper <drepper@gmail.com>
37093 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
37094 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
37095 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
37096 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37097 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
37098 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
37099 to compile strcasecmp and strncasecmp.
37100 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
37101 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
37103 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
37105 2011-11-13 Ulrich Drepper <drepper@gmail.com>
37107 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
37108 locale-defines.sym to gen-as-const-headers.
37109 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
37110 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
37111 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
37112 to compile strcasecmp and strncasecmp.
37113 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
37114 strcasecmp_l and strncasecmp_l.
37115 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
37116 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
37117 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
37118 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
37119 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
37120 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
37121 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
37122 * sysdeps/i386/i686/multiarch/strncase.S: New file.
37123 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
37124 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
37125 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
37127 2011-11-12 Ulrich Drepper <drepper@gmail.com>
37129 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
37130 result of SYSDEP_GETTIME_CPU to retval.
37131 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
37132 parameter list to macro. Remove trailing semicolon. Adjust users.
37134 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
37137 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
37139 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
37141 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
37142 from unused variable.
37144 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
37146 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
37149 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
37152 * sunrpc/rpc_prot.c (rejected): Fix case value.
37154 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
37155 unsigned long long int to avoid warnings in shift.
37157 * posix/regex_internal.c (re_string_reconstruct): Actually use result
37159 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
37162 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
37163 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
37164 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
37166 * nis/nis_table.c (nis_list): Use variable of correct type for
37167 result of __follow_path call.
37169 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37171 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
37172 of math functions ceil, trunc, floor, round, and sqrt, when
37173 avaliable on the platform.
37174 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
37176 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
37177 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
37178 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
37180 2011-10-30 Marek Polacek <mpolacek@redhat.com>
37182 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
37183 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
37185 2011-11-11 Roland McGrath <roland@hack.frob.com>
37187 * include/unistd.h: Fix __readlink return type.
37188 Reported by Chris Metcalf <cmetcalf@tilera.com>.
37190 2011-11-11 Ulrich Drepper <drepper@gmail.com>
37192 * stdlib/ucontext.h: Undo last change for makecontext.
37194 2011-11-11 Andreas Schwab <schwab@redhat.com>
37196 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
37198 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
37199 * setjmp/setjmp.h: Mark functions as non-leaf.
37200 * setjmp/bits/setjmp2.h: Likewise.
37201 * stdlib/ucontext.h: Likewise.
37203 2011-11-10 Andreas Schwab <schwab@redhat.com>
37205 * malloc/arena.c (_int_new_arena): Don't increment narenas.
37206 (reused_arena): Don't check arena limit.
37207 (arena_get2): Atomically check arena limit.
37209 2011-11-08 Ulrich Drepper <drepper@gmail.com>
37211 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
37212 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
37214 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
37217 2011-11-07 Andreas Schwab <schwab@redhat.com>
37219 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
37220 handler when locking.
37222 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
37223 Fix size of allocated buffer.
37225 2011-11-04 Andreas Schwab <schwab@redhat.com>
37228 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
37229 declarations for long double functions.
37230 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
37232 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
37234 2011-11-03 Andreas Schwab <schwab@redhat.com>
37236 * nscd/nscd.c (main): Don't start AVC thread until credentials are
37239 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
37242 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
37244 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
37246 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
37248 * include/alloca.h (stackinfo_alloca_round): Define.
37249 (extend_alloca): Use it.
37250 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
37251 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
37254 * scripts/check-local-headers.sh: Ignore libaudit.h.
37256 * nscd/Makefile (extra-objs): Make recursively expanded.
37258 2011-11-01 Ulrich Drepper <drepper@gmail.com>
37260 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
37261 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
37263 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
37264 * posix/tst-rfc3484-2.c: Likewise.
37265 * posix/tst-rfc3484-3.c: Likewise.
37267 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
37269 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
37271 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
37272 process_vm_writev from libc using GLIBC_2.15 version.
37274 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
37276 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
37278 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
37281 2011-10-31 Ulrich Drepper <drepper@gmail.com>
37284 * nss/getent.c (initgroups_keys): Show error message in case no group
37287 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
37288 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
37289 __bump_nl_timestamp.
37290 * nscd/connections (nscd_init): When host database is served open
37291 netlink socket and request notification about configuration changes.
37292 (main_loop_poll): Track netlink file descriptor and bump timestamp
37293 in case data becomes available.
37294 (main_loop_epoll): Likewise.
37295 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
37296 (database_pers_head): Add extra_data fileds.
37297 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
37298 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
37299 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
37301 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
37302 in6ai data, call __free_in6ai.
37303 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
37304 Add -DHAVE_NETLINK.
37305 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
37306 interface information. Reuse previous data if netlink timestamp
37308 (__bump_nl_timestamp): New function.
37309 (__free_in6ai): New function.
37311 2011-10-30 Ulrich Drepper <drepper@gmail.com>
37313 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
37314 close_not_cancel_no_status here.
37315 (__check_pf): Reorganize code a bit to not call close twice if OOM.
37317 2011-10-29 Ulrich Drepper <drepper@gmail.com>
37320 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
37323 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
37324 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
37325 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
37327 2011-07-03 Andreas Jaeger <aj@suse.de>
37330 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
37331 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
37332 * math/libm-test.inc (sin_test): Add test case.
37334 2011-10-29 Ulrich Drepper <drepper@gmail.com>
37337 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
37338 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
37340 * elf/chroot_canon.c (chroot_canon): Cleanups.
37342 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
37345 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
37346 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
37348 * string/test-strchr.c: Make usable for strchrnul testing.
37349 * string/test-strchrnul.c: New file.
37350 * string/Makefile (strop-tests): Add strchrnul.
37352 * po/it.po: Update from translation team.
37353 * po/es.po: Likewise.
37355 2011-10-28 Ulrich Drepper <drepper@gmail.com>
37357 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
37358 the three constants needed as parameters. Drop the others.
37359 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
37360 __m128i_strloadu_tolower.
37361 Create and initialize variable zero and use it in all the places
37362 where _mm_setzero_si128 was used.
37364 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
37365 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
37366 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
37367 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
37369 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
37370 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
37371 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
37372 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
37373 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
37374 __mpranred, __mptan.
37375 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
37376 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
37377 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
37378 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
37379 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
37380 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
37381 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
37382 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
37383 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
37385 2011-10-28 Andreas Schwab <schwab@redhat.com>
37387 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
37388 redefine if SHARED.
37389 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
37391 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
37392 wide char related routines to wcsmbs subdir.
37394 2011-10-27 Andreas Schwab <schwab@redhat.com>
37397 * misc/sys/cdefs.h (__THROWNL): Define.
37398 * posix/unistd.h: Use __THREADNL instead of __THREAD
37399 for memory synchronization functions.
37401 2011-10-26 Roland McGrath <roland@hack.frob.com>
37404 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
37406 * manual/stdio.texi (Obstack Streams): Node removed.
37408 2011-10-26 Andreas Schwab <schwab@redhat.com>
37410 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
37411 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37412 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37414 * math/math_private.h (math_force_eval): Allow non-addressable
37416 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
37418 2011-10-25 Ulrich Drepper <drepper@gmail.com>
37420 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
37421 file is not needed.
37423 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
37424 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
37425 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37426 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37427 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37428 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37429 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
37430 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
37432 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
37433 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
37434 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
37435 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
37436 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
37437 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
37438 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
37439 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
37440 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
37441 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
37442 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
37443 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
37444 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
37445 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
37446 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
37447 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
37448 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
37449 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
37450 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
37452 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
37453 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
37455 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
37456 place. Use VEX encoding when compiling for AVX.
37458 2011-10-25 Andreas Schwab <schwab@redhat.com>
37460 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
37461 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
37463 * string/test-strchr.c (do_test): Don't generate NUL bytes.
37465 2011-10-25 Ulrich Drepper <drepper@gmail.com>
37467 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
37468 useless if() expression.
37469 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
37470 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
37471 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
37472 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37473 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
37474 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37475 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37476 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37477 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
37478 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37479 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
37480 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37481 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
37482 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37483 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
37484 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37485 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
37486 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
37487 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
37489 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
37491 2011-10-25 Andreas Schwab <schwab@redhat.com>
37493 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
37495 * elf/dl-fini.c (_dl_sort_fini): Likewise.
37497 2011-10-25 Ulrich Drepper <drepper@gmail.com>
37499 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
37500 .text section. Avoid duplicate constants.
37501 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
37502 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37503 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
37504 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37505 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37506 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37507 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37508 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37509 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
37510 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
37511 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
37512 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
37513 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
37514 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
37515 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
37516 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
37517 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
37518 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
37519 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
37520 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37521 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
37522 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
37523 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
37524 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
37525 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
37526 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
37527 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
37528 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
37529 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
37530 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
37531 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
37532 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
37533 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
37534 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
37535 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
37536 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
37537 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
37538 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
37539 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
37540 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
37541 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
37542 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
37543 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
37544 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
37545 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
37547 2011-10-24 Ulrich Drepper <drepper@gmail.com>
37549 * sysdeps/x86_64/dla.h: Move to ...
37550 * sysdeps/x86_64/fpu/dla.h: ...here.
37551 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
37552 situations. Use __builtin_fma only for gcc 4.6 and up.
37554 * config.make.in: Add have-mfma4 entry.
37555 * configure.in: Substitute libc_cv_cc_fma4.
37556 * math/Makefile (dbl-only-routines): Add sincostab.
37557 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
37558 Use __sincostab not sincos.
37559 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
37561 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37562 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37563 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37564 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
37566 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
37567 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
37568 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
37569 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
37571 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
37572 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
37574 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
37575 define aliases when function name is a macro.
37576 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
37577 sysdeps/ieee754/dbl-64/sincos.tbl.
37578 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
37579 fma4-enabled routines.
37580 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
37581 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
37582 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
37583 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
37584 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
37585 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
37586 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
37587 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
37588 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
37589 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
37590 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
37591 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
37592 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
37593 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
37594 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
37595 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
37596 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
37597 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
37598 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
37599 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
37600 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
37601 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
37602 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
37603 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
37604 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
37605 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
37606 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
37607 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
37608 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
37609 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
37611 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
37613 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37614 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37615 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37616 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37617 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37618 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37619 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37620 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37622 2011-10-24 Andreas Schwab <schwab@redhat.com>
37624 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
37626 2011-10-23 Ulrich Drepper <drepper@gmail.com>
37628 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
37630 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
37632 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
37634 * string/strnlen.c: Don't define STRNLEN, reverse logic.
37635 Remove unused variable magic_bits.
37636 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
37638 * string/strnlen.c: Define and use STRNLEN macro.
37639 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
37640 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
37641 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
37642 * wcsmbs/wcslen.c: Define and use WCSLEN.
37643 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
37644 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
37645 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
37646 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
37647 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
37648 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
37649 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
37651 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37653 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37654 strnlen-sse2-no-bsf.
37655 Rename strlen-no-bsf to strlen-sse2-no-bsf.
37656 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
37657 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
37658 Add strnlen support.
37659 (USE_AS_STRNLEN): New macro.
37660 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
37661 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
37662 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
37663 * sysdeps/x86_64/wcslen.S: New file.
37665 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
37667 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
37668 XMM-moves are used for copying on small sizes.
37670 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37672 * wcsmbs/Makefile (strop-tests): Add wcschr.
37673 * wcsmbs/test-wcschr.c: New file.
37674 * string/test-strchr.c: Update.
37675 Add wcschr support.
37678 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37680 * wcsmbs/Makefile (strop-tests): Add wcslen.
37681 * wcsmbs/test-wcslen.c: New file.
37682 * string/test-strlen.c: Update.
37683 Add wcslen support.
37686 2011-10-23 Ulrich Drepper <drepper@gmail.com>
37688 * po/it.po: Update from translation team.
37690 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37692 * sysdeps/x86_64/wcscmp.S: Update.
37693 Fix wrong comparison semantics.
37694 wcscmp shall use signed comparison not unsigned.
37695 Don't use substraction to avoid overflow bug.
37696 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
37697 * wcsmbc/wcscmp.c: Likewise.
37698 * string/test-strcmp.c: Likewise.
37699 Add new tests to check cases with negative values.
37701 2011-10-23 Ulrich Drepper <drepper@gmail.com>
37703 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
37704 * sysdeps/x86_64/dla.h: ...here. New file.
37705 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
37706 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37707 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37708 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37709 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37710 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37711 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37712 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37713 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37715 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
37717 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
37718 __ynl_finite aliases.
37720 2011-10-22 Ulrich Drepper <drepper@gmail.com>
37722 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37724 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
37726 [DLA_FMA] (EMULV): Use DLA_FMA.
37727 [DLA_FMA] (MUL12): Use EMULV.
37728 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
37729 that are not needed.
37730 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37731 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37732 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37733 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37734 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37735 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37736 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37738 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
37740 * math/s_nan.c: Undef __nan.
37741 * math/s_nanf.c: Undef __nanf.
37742 * math/s_nanl.c: Undef __nanl.
37743 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
37746 2011-10-22 Ulrich Drepper <drepper@gmail.com>
37748 * math/s_catan.c: Add branch predictions.
37749 * math/s_catanf.c: Likewise.
37750 * math/s_catanh.c: Likewise.
37751 * math/s_catanhf.c: Likewise.
37752 * math/s_catanhl.c: Likewise.
37753 * math/s_catanl.c: Likewise.
37754 * math/s_cexp.c: Likewise.
37755 * math/s_cexpf.c: Likewise.
37756 * math/s_cexpl.c: Likewise.
37757 * math/s_clog.c: Likewise.
37758 * math/s_clog10.c: Likewise.
37759 * math/s_clog10f.c: Likewise.
37760 * math/s_clog10l.c: Likewise.
37761 * math/s_clogf.c: Likewise.
37762 * math/s_clogl.c: Likewise.
37763 * math/s_csqrt.c: Likewise.
37764 * math/s_csqrtf.c: Likewise.
37765 * math/s_csqrtl.c: Likewise.
37766 * math/s_ctanf.c: Likewise.
37767 * math/s_ctanh.c: Likewise.
37768 * math/s_ctanhf.c: Likewise.
37769 * math/s_ctanhl.c: Likewise.
37770 * math/s_ctanl.c: Likewise.
37772 * math/math_private.h: Define __nan, __nanf, __nanl.
37773 * math/s_cacosh.c: Include <math_private.h>.
37774 * math/s_cacoshl.c: Likewise.
37775 * math/s_casinh.c: Likewise.
37776 * math/s_casinhf.c: Likewise.
37777 * math/s_casinhl.c: Likewise.
37778 * math/s_ccos.c: Rely entire on ccosh.
37779 * math/s_ccosf.c: Rely entire on ccoshf.
37780 * math/s_ccosl.c: Rely entirely on ccoshl.
37781 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
37782 Remove tests for FE_INVALID.
37783 * math/s_ccoshf.c: Likewise.
37784 * math/s_ccoshl.c: Likewise.
37785 * math/s_csin.c: Likewise.
37786 * math/s_csinf.c: Likewise.
37787 * math/s_csinh.c Likewise.
37788 * math/s_csinhf.c: Likewise.
37789 * math/s_csinhl.c: Likewise.
37790 * math/s_csinl.c: Likewise.
37791 * math/s_ctan.c: Likewise.
37792 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
37793 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
37794 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
37796 2011-10-21 Ulrich Drepper <drepper@gmail.com>
37798 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
37799 compilation problems.
37801 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
37804 2011-10-20 Ulrich Drepper <drepper@gmail.com>
37806 * sysdeps/i386/configure.in: Test for -mfma4 option.
37807 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
37808 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
37809 COMMON_CPUID_INDEX_80000001.
37810 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
37811 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
37812 use it if FMA3 is not supported.
37813 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
37815 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
37816 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
37818 2011-10-20 Andreas Schwab <schwab@redhat.com>
37821 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
37822 it would create a cycle with a link time dependency.
37824 2011-10-19 Ulrich Drepper <drepper@gmail.com>
37826 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
37828 * string/Makefile (strop-tests): Add rawmemchr.
37829 * string/test-rawmemchr.c: New file.
37831 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
37832 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
37833 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
37834 when compiling str{,n}casecmp and when AVX is available. Hook up
37835 new optimized code in initializers.
37837 2011-10-19 Andreas Schwab <schwab@redhat.com>
37839 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
37840 __feraiseexcept instead of feraiseexcept.
37842 2011-10-18 Ulrich Drepper <drepper@gmail.com>
37844 * math/math_private.h: Define defaults for libc_fetestexcept and
37846 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
37847 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
37848 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
37849 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
37850 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
37851 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
37852 libc_fetestexcept and libc_feupdateenv.
37854 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
37855 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
37856 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
37857 * sysdeps/x86_64/fpu/math_private.h: Define special version of
37858 libc_feholdexcept_setround.
37860 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
37861 Add s_nearbyint-c and s_nearbyintf-c.
37862 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
37863 nearbyintf inlines.
37864 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
37865 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
37866 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
37867 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
37869 * math/math_private.h: Define defaults for libc_fegetround,
37870 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
37871 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
37872 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
37873 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
37874 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
37875 standard functions.
37876 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
37877 Remove comments and hacks for old compiler versions.
37878 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
37879 libc_fegetround, libc_fesetround, libc_feholdexcept, and
37880 libc_feholdexceptl.
37882 2011-10-18 Andreas Schwab <schwab@redhat.com>
37884 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
37885 (__feraiseexcept_renamed): Add __NTH.
37886 (feraiseexcept): Add __NTH. Rename local variables to fix
37887 namespace violations.
37889 2011-10-17 Ulrich Drepper <drepper@gmail.com>
37891 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
37893 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
37895 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
37896 recently added interfaces.
37897 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
37899 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
37900 about macro parameter expansion.
37902 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
37903 __NO_MATH_INLINES is defined. Cleanups.
37905 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
37906 and __floorf is target has SSE4.1.
37907 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
37908 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
37909 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
37910 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
37912 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
37914 (floorf): Likewise.
37916 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
37918 2011-10-17 Andreas Schwab <schwab@redhat.com>
37920 * misc/sys/cdefs.h: Fix last change.
37922 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
37925 2011-10-16 Ulrich Drepper <drepper@gmail.com>
37927 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
37929 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
37930 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37931 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
37932 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37933 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37934 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
37935 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37936 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37937 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
37938 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
37939 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
37940 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
37941 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
37942 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
37943 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
37944 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
37945 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
37946 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
37947 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
37948 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
37949 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
37950 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
37952 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
37953 ceil, ceilf, floor, floorf.
37955 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
37956 Perform IRELATIVE relocations last.
37958 * elf/do-rel.h: Add another parameter nrelative, replacing the
37959 local variable with the same name. Change name of the function
37960 to end in Rel or Rela (uppercase).
37961 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
37962 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
37963 elf_dynamic_do_##reloc function.
37965 2011-10-15 Ulrich Drepper <drepper@gmail.com>
37967 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
37968 is sufficient, at least on modern CPUs.
37970 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
37972 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
37973 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
37975 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
37977 * math/bits/math-finite.h: Add entries for exp.
37978 * math/e_expl.c: Add __*_finite alias.
37979 * sysdeps/i386/fpu/e_exp.S: Likewise.
37980 * sysdeps/i386/fpu/e_expf.S: Likewise.
37981 * sysdeps/i386/fpu/e_expl.c: Likewise.
37982 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37983 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
37984 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
37985 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
37986 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
37987 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
37988 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
37990 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
37991 is sufficient, at least on modern CPUs.
37993 * ctype/ctype-info.c (__ctype_init): Define.
37994 * include/ctype.h (__ctype_init): Declare.
37995 (__ctype_b_loc): The variable is always initialized.
37996 (__ctype_toupper_loc): Likewise.
37997 (__ctype_tolower_loc): Likewise.
37998 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
37999 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
38001 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
38003 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
38005 * configure.in: Also look in $cxxmachine/include for C++ system
38008 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38010 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
38011 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
38012 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
38013 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
38014 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
38015 (USE_AS_WMEMCMP): New macro.
38017 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
38018 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
38019 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
38020 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
38021 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38022 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
38023 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
38024 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
38025 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
38026 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
38027 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
38028 (USE_AS_WMEMCMP): New macro.
38029 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
38030 * sysdeps/string/test-memcmp.c: Update.
38031 Fix simple_wmemcmp.
38033 * wcsmbs/wmemcmp.c: Update.
38034 (WMEMCMP): New macro.
38037 2011-10-12 Andreas Jaeger <aj@suse.de>
38040 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
38042 2011-10-15 Ulrich Drepper <drepper@gmail.com>
38044 * libio/iofwide.c (do_length): Avoid warning.
38046 * ctype/ctype.h (__isctype_f): Add missing __THROW.
38048 2011-10-14 Ulrich Drepper <drepper@gmail.com>
38050 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
38052 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
38053 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
38054 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
38055 * sysdeps/i386/i686/fpu/e_log.S: New file.
38056 * sysdeps/i386/i686/fpu/e_logf.S: New file.
38057 * sysdeps/i386/i686/fpu/e_logl.S: New file.
38059 * ctype/ctype.h: Add support for inlined isXXX functions when
38060 compiling C++ code.
38062 2011-10-14 Andreas Schwab <schwab@redhat.com>
38064 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38066 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
38068 2011-10-13 Roland McGrath <roland@hack.frob.com>
38071 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
38073 2011-10-13 Andreas Schwab <schwab@redhat.com>
38075 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
38076 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
38079 * sysdeps/x86_64/memrchr.S: Check for zero size.
38081 * string/stratcliff.c: Add memrchr tests.
38083 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38085 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38086 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
38087 rawmemchr-sse2 rawmemchr-sse2-bsf.
38088 * sysdeps/i386/i686/multiarch/memchr.S: New file.
38089 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
38090 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
38091 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
38092 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
38093 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
38094 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
38095 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
38096 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
38097 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
38098 * string/memrchr.c (MEMRCHR): New macro.
38100 2011-10-12 Ulrich Drepper <drepper@gmail.com>
38102 Add integration with gcc's -ffinite-math-only and optimize wrapper
38104 * Versions.def: Define GLIBC_2.15 version for libm.
38105 * math/Makefile (headers): Add bits/math-finite.h.
38106 * math/bits/math-finite.h: New file.
38107 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
38108 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
38109 * math/e_acoshl.c: Add __*_finite alias.
38110 * math/e_acosl.c: Likewise.
38111 * math/e_asinl.c: Likewise.
38112 * math/e_atan2l.c: Likewise.
38113 * math/e_atanhl.c: Likewise.
38114 * math/e_coshl.c: Likewise.
38115 * math/e_exp10.c: Likewise.
38116 * math/e_exp10f.c: Likewise.
38117 * math/e_exp10l.c: Likewise.
38118 * math/e_exp2l.c: Likewise.
38119 * math/e_fmodl.c: Likewise.
38120 * math/e_gammal_r.c: Likewise.
38121 * math/e_hypotl.c: Likewise.
38122 * math/e_j0l.c: Likewise.
38123 * math/e_j1l.c: Likewise.
38124 * math/e_jnl.c: Likewise.
38125 * math/e_lgammal_r.c: Likewise.
38126 * math/e_log10l.c: Likewise.
38127 * math/e_log2l.c: Likewise.
38128 * math/e_logl.c: Likewise.
38129 * math/e_powl.c: Likewise.
38130 * math/e_sinhl.c: Likewise.
38131 * math/e_sqrtl.c: Likewise.
38132 * math/e_scalb.c: Completely rewritten and optimized.
38133 * math/e_scalbf.c: Likewise.
38134 * math/e_scalbl.c: Likewise.
38135 * math/w_acos.c: Likewise.
38136 * math/w_acosf.c: Likewise.
38137 * math/w_acosl.c: Likewise.
38138 * math/w_acosh.c: Likewise.
38139 * math/w_acoshf.c: Likewise.
38140 * math/w_acoshl.c: Likewise.
38141 * math/w_asin.c: Likewise.
38142 * math/w_asinf.c: Likewise.
38143 * math/w_asinl.c: Likewise.
38144 * math/w_atan2.c: Likewise.
38145 * math/w_atan2f.c: Likewise.
38146 * math/w_atan2l.c: Likewise.
38147 * math/w_atanh.c: Likewise.
38148 * math/w_atanhf.c: Likewise.
38149 * math/w_atanhl.c: Likewise.
38150 * math/w_exp10.c: Likewise.
38151 * math/w_exp10f.c: Likewise.
38152 * math/w_exp10l.c: Likewise.
38153 * math/w_fmod.c: Likewise.
38154 * math/w_fmodf.c: Likewise.
38155 * math/w_fmodl.c: Likewise.
38156 * math/w_j0.c: Likewise.
38157 * math/w_j0f.c: Likewise.
38158 * math/w_j0l.c: Likewise.
38159 * math/w_j1.c: Likewise.
38160 * math/w_j1f.c: Likewise.
38161 * math/w_j1l.c: Likewise.
38162 * math/w_jn.c: Likewise.
38163 * math/w_jnf.c: Likewise.
38164 * math/w_log.c: Likewise.
38165 * math/w_logf.c: Likewise.
38166 * math/w_logl.c: Likewise.
38167 * math/w_log10.c: Likewise.
38168 * math/w_log10f.c: Likewise.
38169 * math/w_log10l.c: Likewise.
38170 * math/w_log2.c: Likewise.
38171 * math/w_log2f.c: Likewise.
38172 * math/w_log2l.c: Likewise.
38173 * math/w_pow.c: Likewise.
38174 * math/w_powf.c: Likewise.
38175 * math/w_powl.c: Likewise.
38176 * math/w_remainder.c: Likewise.
38177 * math/w_remainderf.c: Likewise.
38178 * math/w_remainderl.c: Likewise.
38179 * math/w_scalb.c: Likewise.
38180 * math/w_scalbf.c: Likewise.
38181 * math/w_scalbl.c: Likewise.
38182 * math/w_sqrt.c: Likewise.
38183 * math/w_sqrtf.c: Likewise.
38184 * math/w_sqrtl.c: Likewise.
38185 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
38186 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
38188 * math/math_private.h: Declare __kernel_standard_f.
38189 * math/w_cosh.c: Remove cruft and optimize a bit.
38190 * math/w_coshf.c: Likewise.
38191 * math/w_coshl.c: Likewise.
38192 * math/w_exp2.c: Likewise.
38193 * math/w_exp2f.c: Likewise.
38194 * math/w_exp2l.c: Likewise.
38195 * math/w_hypot.c: Likewise.
38196 * math/w_hypotf.c: Likewise.
38197 * math/w_hypotl.c: Likewise.
38198 * math/w_lgamma.c: Likewise.
38199 * math/w_lgamma_r.c: Likewise.
38200 * math/w_lgammaf.c: Likewise.
38201 * math/w_lgammaf_r.c: Likewise.
38202 * math/w_lgammal.c: Likewise.
38203 * math/w_lgammal_r.c: Likewise.
38204 * math/w_sinh.c: Likewise.
38205 * math/w_sinhf.c: Likewise.
38206 * math/w_sinhl.c: Likewise.
38207 * math/w_tgamma.c: Likewise.
38208 * math/w_tgammaf.c: Likewise.
38209 * math/w_tgammal.c: Likewise.
38210 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38211 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38212 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
38213 Minor optimizations. Pretty printing. Remove cruft.
38214 * sysdeps/i386/fpu/e_acosf.S: Likewise.
38215 * sysdeps/i386/fpu/e_acosh.S: Likewise.
38216 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
38217 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
38218 * sysdeps/i386/fpu/e_acosl.c: Likewise.
38219 * sysdeps/i386/fpu/e_asin.S: Likewise.
38220 * sysdeps/i386/fpu/e_asinf.S: Likewise.
38221 * sysdeps/i386/fpu/e_atan2.S: Likewise.
38222 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
38223 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
38224 * sysdeps/i386/fpu/e_atanh.S: Likewise.
38225 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
38226 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
38227 * sysdeps/i386/fpu/e_exp10.S: Likewise.
38228 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
38229 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
38230 * sysdeps/i386/fpu/e_exp2.S: Likewise.
38231 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
38232 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
38233 * sysdeps/i386/fpu/e_fmod.S: Likewise.
38234 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
38235 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
38236 * sysdeps/i386/fpu/e_hypot.S: Likewise.
38237 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
38238 * sysdeps/i386/fpu/e_log.S: Likewise.
38239 * sysdeps/i386/fpu/e_log10.S: Likewise.
38240 * sysdeps/i386/fpu/e_log10f.S: Likewise.
38241 * sysdeps/i386/fpu/e_log10l.S: Likewise.
38242 * sysdeps/i386/fpu/e_log2.S: Likewise.
38243 * sysdeps/i386/fpu/e_log2f.S: Likewise.
38244 * sysdeps/i386/fpu/e_log2l.S: Likewise.
38245 * sysdeps/i386/fpu/e_logf.S: Likewise.
38246 * sysdeps/i386/fpu/e_logl.S: Likewise.
38247 * sysdeps/i386/fpu/e_pow.S: Likewise.
38248 * sysdeps/i386/fpu/e_powf.S: Likewise.
38249 * sysdeps/i386/fpu/e_powl.S: Likewise.
38250 * sysdeps/i386/fpu/e_remainder.S: Likewise.
38251 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
38252 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
38253 * sysdeps/i386/fpu/e_scalb.S: Likewise.
38254 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
38255 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
38256 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
38257 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
38258 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
38259 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
38260 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38261 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38262 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
38263 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
38264 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
38265 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
38266 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
38267 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38268 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
38269 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
38270 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
38271 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38272 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
38273 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
38274 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38275 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38276 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
38277 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38278 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38279 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
38280 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
38281 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
38282 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
38283 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
38284 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
38285 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
38286 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
38287 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
38288 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
38289 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
38290 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
38291 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
38292 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
38293 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
38294 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
38295 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
38296 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
38297 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
38298 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
38299 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
38300 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
38301 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
38302 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
38303 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
38304 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
38305 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
38306 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
38307 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
38308 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
38309 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
38310 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
38311 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
38312 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
38313 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
38314 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
38315 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
38316 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
38317 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
38318 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
38319 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
38320 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
38321 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
38322 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
38323 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
38324 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
38325 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
38326 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
38327 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
38328 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
38329 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
38330 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
38331 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
38332 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
38333 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
38334 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
38335 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
38336 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
38337 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
38338 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
38339 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
38340 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
38341 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
38342 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
38343 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
38344 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
38345 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
38346 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
38347 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
38348 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
38349 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
38350 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
38351 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
38352 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
38353 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
38354 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
38355 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
38356 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
38357 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
38358 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
38359 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
38360 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
38361 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
38362 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
38363 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
38364 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
38365 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
38366 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38367 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
38368 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
38369 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
38370 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
38371 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
38372 (__isnanf): Likewise.
38373 (__isinf_ns): Likewise.
38374 (__isinf_nsf): Likewise.
38375 (__finite): Likewise.
38376 (__finitef): Likewise.
38377 (__ieee754_sqrt): Define as macro.
38378 (__ieee754_sqrtf): Define as macro.
38379 (__ieee754_sqrtl): Define as macro.
38380 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
38382 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
38383 __FINITE_MATH_ONLY__ consistent.
38384 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
38386 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
38388 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
38391 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
38393 2011-10-09 Ulrich Drepper <drepper@gmail.com>
38395 * po/ja.po: Update from translation team.
38397 2011-10-08 Roland McGrath <roland@hack.frob.com>
38399 * locale/programs/locarchive.c (prepare_address_space): New function.
38400 (create_archive, enlarge_archive, open_archive): Use it.
38402 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
38403 inside [SHARED], where it is used.
38405 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
38407 * nss/getent.c (netgroup_keys): Remove unused variable.
38408 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
38410 2011-10-08 Ulrich Drepper <drepper@gmail.com>
38412 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
38413 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
38414 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
38415 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
38416 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
38417 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
38418 * math/Makefile (libm-calls): Add s_isinf_ns.
38419 * math/divtc3.c: Use __isinf_nsl instead of isinf.
38420 * math/multc3.c: Likewise.
38421 * math/s_casin.c: Likewise.
38422 * math/s_casinf.c: Likewise.
38423 * math/s_casinl.c: Likewise.
38424 * math/s_ccos.c: Likewise.
38425 * math/s_ccosf.c: Likewise.
38426 * math/s_ccosl.c: Likewise.
38427 * math/s_ctan.c: Likewise.
38428 * math/s_ctanf.c: Likewise.
38429 * math/s_ctanh.c: Likewise.
38430 * math/s_ctanhf.c: Likewise.
38431 * math/s_ctanhl.c: Likewise.
38432 * math/s_ctanl.c: Likewise.
38433 * math/w_fmod.c: Likewise.
38434 * math/w_fmodf.c: Likewise.
38435 * math/w_fmodl.c: Likewise.
38436 * math/w_remainder.c: Likewise.
38437 * math/w_remainderf.c: Likewise.
38438 * math/w_remainderl.c: Likewise.
38439 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
38440 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
38441 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
38442 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
38443 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
38444 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
38445 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
38446 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
38448 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
38450 * stdio-common/printf_fphex.c: Likewise.
38451 * stdio-common/printf_size.c: Likewise.
38453 * math/e_exp10.c: Include math_private.h using <...> not "...".
38454 * math/e_exp10f.c: Likewise.
38455 * math/e_exp10l.c: Likewise.
38456 * math/e_exp2l.c: Likewise.
38457 * math/e_j0l.c: Likewise.
38458 * math/e_j1l.c: Likewise.
38459 * math/e_jnl.c: Likewise.
38460 * math/e_lgammal_r.c: Likewise.
38461 * math/e_rem_pio2l.c: Likewise.
38462 * math/e_scalb.c: Likewise.
38463 * math/e_scalbf.c: Likewise.
38464 * math/e_scalbl.c: Likewise.
38465 * math/k_cosl.c: Likewise.
38466 * math/k_sinl.c: Likewise.
38467 * math/k_tanl.c: Likewise.
38468 * math/s_cacoshf.c: Likewise.
38469 * math/s_catan.c: Likewise.
38470 * math/s_catanf.c: Likewise.
38471 * math/s_catanh.c: Likewise.
38472 * math/s_catanhf.c: Likewise.
38473 * math/s_catanhl.c: Likewise.
38474 * math/s_catanl.c: Likewise.
38475 * math/s_ccosh.c: Likewise.
38476 * math/s_ccoshf.c: Likewise.
38477 * math/s_ccoshl.c: Likewise.
38478 * math/s_cexp.c: Likewise.
38479 * math/s_cexpf.c: Likewise.
38480 * math/s_cexpl.c: Likewise.
38481 * math/s_clog.c: Likewise.
38482 * math/s_clog10.c: Likewise.
38483 * math/s_clog10f.c: Likewise.
38484 * math/s_clog10l.c: Likewise.
38485 * math/s_clogf.c: Likewise.
38486 * math/s_clogl.c: Likewise.
38487 * math/s_csin.c: Likewise.
38488 * math/s_csinf.c: Likewise.
38489 * math/s_csinh.c: Likewise.
38490 * math/s_csinhf.c: Likewise.
38491 * math/s_csinhl.c: Likewise.
38492 * math/s_csinl.c: Likewise.
38493 * math/s_csqrt.c: Likewise.
38494 * math/s_csqrtf.c: Likewise.
38495 * math/s_csqrtl.c: Likewise.
38496 * math/s_ctan.c: Likewise.
38497 * math/s_ctanf.c: Likewise.
38498 * math/s_ctanh.c: Likewise.
38499 * math/s_ctanhf.c: Likewise.
38500 * math/s_ctanhl.c: Likewise.
38501 * math/s_ctanl.c: Likewise.
38502 * math/s_ldexp.c: Likewise.
38503 * math/s_ldexpf.c: Likewise.
38504 * math/s_ldexpl.c: Likewise.
38505 * math/s_significand.c: Likewise.
38506 * math/s_significandf.c: Likewise.
38507 * math/s_significandl.c: Likewise.
38508 * math/w_acos.c: Likewise.
38509 * math/w_acosf.c: Likewise.
38510 * math/w_acosh.c: Likewise.
38511 * math/w_acoshf.c: Likewise.
38512 * math/w_acoshl.c: Likewise.
38513 * math/w_acosl.c: Likewise.
38514 * math/w_asin.c: Likewise.
38515 * math/w_asinf.c: Likewise.
38516 * math/w_asinl.c: Likewise.
38517 * math/w_atan2.c: Likewise.
38518 * math/w_atan2f.c: Likewise.
38519 * math/w_atan2l.c: Likewise.
38520 * math/w_atanh.c: Likewise.
38521 * math/w_atanhf.c: Likewise.
38522 * math/w_atanhl.c: Likewise.
38523 * math/w_cosh.c: Likewise.
38524 * math/w_coshf.c: Likewise.
38525 * math/w_coshl.c: Likewise.
38526 * math/w_dremf.c: Likewise.
38527 * math/w_exp10.c: Likewise.
38528 * math/w_exp10f.c: Likewise.
38529 * math/w_exp10l.c: Likewise.
38530 * math/w_exp2.c: Likewise.
38531 * math/w_exp2f.c: Likewise.
38532 * math/w_fmod.c: Likewise.
38533 * math/w_fmodf.c: Likewise.
38534 * math/w_fmodl.c: Likewise.
38535 * math/w_hypot.c: Likewise.
38536 * math/w_hypotf.c: Likewise.
38537 * math/w_hypotl.c: Likewise.
38538 * math/w_j0.c: Likewise.
38539 * math/w_j0f.c: Likewise.
38540 * math/w_j0l.c: Likewise.
38541 * math/w_j1.c: Likewise.
38542 * math/w_j1f.c: Likewise.
38543 * math/w_j1l.c: Likewise.
38544 * math/w_jn.c: Likewise.
38545 * math/w_jnf.c: Likewise.
38546 * math/w_jnl.c: Likewise.
38547 * math/w_lgamma.c: Likewise.
38548 * math/w_lgamma_r.c: Likewise.
38549 * math/w_lgammaf.c: Likewise.
38550 * math/w_lgammaf_r.c: Likewise.
38551 * math/w_lgammal.c: Likewise.
38552 * math/w_lgammal_r.c: Likewise.
38553 * math/w_log.c: Likewise.
38554 * math/w_log10.c: Likewise.
38555 * math/w_log10f.c: Likewise.
38556 * math/w_log10l.c: Likewise.
38557 * math/w_log2.c: Likewise.
38558 * math/w_log2f.c: Likewise.
38559 * math/w_log2l.c: Likewise.
38560 * math/w_logf.c: Likewise.
38561 * math/w_logl.c: Likewise.
38562 * math/w_pow.c: Likewise.
38563 * math/w_powf.c: Likewise.
38564 * math/w_powl.c: Likewise.
38565 * math/w_remainder.c: Likewise.
38566 * math/w_remainderf.c: Likewise.
38567 * math/w_remainderl.c: Likewise.
38568 * math/w_scalb.c: Likewise.
38569 * math/w_scalbf.c: Likewise.
38570 * math/w_scalbl.c: Likewise.
38571 * math/w_sinh.c: Likewise.
38572 * math/w_sinhf.c: Likewise.
38573 * math/w_sinhl.c: Likewise.
38574 * math/w_sqrt.c: Likewise.
38575 * math/w_sqrtf.c: Likewise.
38576 * math/w_sqrtl.c: Likewise.
38577 * math/w_tgamma.c: Likewise.
38578 * math/w_tgammaf.c: Likewise.
38579 * math/w_tgammal.c: Likewise.
38581 * po/ja.po: Update from translation team.
38583 2011-09-29 Andreas Jaeger <aj@suse.de>
38586 * sunrpc/netname.c (netname2host): Fix logic.
38590 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
38592 * math/w_remainder.c (__remainder): Likewise.
38593 * math/w_remainderf.c (__remainderf): Likewise.
38594 * math/libm-test.inc (remainder_test): Add test cases.
38596 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38598 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
38601 2011-10-07 Ulrich Drepper <drepper@gmail.com>
38603 * string/test-memcmp.c: Avoid unncessary #defines.
38604 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
38606 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38608 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
38609 Use new sse2 version for core i3 - i7 as it's faster
38610 than sse42 version.
38611 (bit_Prefer_PMINUB_for_stringop): New.
38612 * sysdeps/x86_64/rawmemchr.S: Update.
38613 Replace with faster SSE2 version.
38614 * sysdeps/x86_64/memrchr.S: New file.
38615 * sysdeps/x86_64/memchr.S: Update.
38616 Replace with faster SSE2 version.
38618 2011-09-12 Marek Polacek <mpolacek@redhat.com>
38620 * elf/dl-load.c (lose): Add cast to avoid warning.
38622 2011-10-07 Ulrich Drepper <drepper@gmail.com>
38624 * po/ca.po: Update from translation team.
38626 * inet/getnetgrent_r.c: Hook up nscd.
38627 * nscd/Makefile (routines): Add nscd_netgroup.
38628 (nscd-modules): Add netgroupcache.
38629 (CFLAGS-netgroupcache.c): Define.
38630 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
38631 (cache_search): Add const to second parameter.
38632 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
38634 (dbs): Add netgrdb entry.
38635 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
38636 (verify_persistent_db): Handle netgrdb.
38637 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
38638 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
38640 (netgroup_response_header): Define.
38641 (innetgroup_response_header): Define.
38642 (datahead): Add netgroup_response_header and innetgroup_response_header
38644 * nscd/nscd.conf: Add entries for netgroup cache.
38645 * nscd/nscd.h (dbtype): Add netgrdb.
38646 (_PATH_NSCD_NETGROUP_DB): Define.
38647 (netgroup_iov_disabled): Declare.
38648 (xmalloc, xcalloc, xrealloc): Move declarations here.
38649 (cache_search): Adjust prototype.
38650 Add netgroup-related prototypes.
38651 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
38652 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
38653 (__nscd_innetgr): Declare.
38654 * nscd/selinux.c (perms): Use access_vector_t as element type and
38655 add netgroup-related initializers.
38656 * nscd/netgroupcache.c: New file.
38657 * nscd/nscd_netgroup.c: New file.
38658 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
38659 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
38660 For four parameters use innetgr.
38661 * nss/nss_files/files-init.c: Add definition and callback for netgr.
38662 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
38663 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
38664 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
38666 * nscd/connections.c (register_traced_file): Don't register file
38667 for disabled databases.
38669 2011-10-06 Ulrich Drepper <drepper@gmail.com>
38671 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
38673 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
38674 from tree and freeing node.
38676 2011-09-25 Jiri Olsa <jolsa@redhat.com>
38678 * nss/nsswitch.c (__nss_database_lookup): Handle
38679 nss_parse_service_list out of memory case.
38681 2011-09-15 Jiri Olsa <jolsa@redhat.com>
38683 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
38684 out of memory case.
38686 2011-10-04 Andreas Schwab <schwab@redhat.com>
38688 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
38689 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
38691 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
38692 elf_machine_rela, elf_machine_lazy_rel.
38693 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
38694 (ELF_DYNAMIC_DO_REL): Likewise.
38695 (ELF_DYNAMIC_DO_RELA): Likewise.
38696 (ELF_DYNAMIC_RELOCATE): Likewise.
38697 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
38698 to ELF_DYNAMIC_DO_REL.
38699 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
38700 (dl_main): In trace mode always set __RTLD_NOIFUNC.
38701 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
38703 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
38704 skip_ifunc, don't call ifunc function if non-zero.
38705 (elf_machine_rela): Likewise.
38706 (elf_machine_lazy_rel): Likewise.
38707 (elf_machine_lazy_rela): Likewise.
38708 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
38709 (elf_machine_lazy_rel): Likewise.
38710 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
38712 (elf_machine_lazy_rel): Likewise.
38713 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38715 (elf_machine_lazy_rel): Likewise.
38716 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
38717 (elf_machine_lazy_rel): Likewise.
38718 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
38719 (elf_machine_lazy_rel): Likewise.
38720 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
38721 (elf_machine_lazy_rel): Likewise.
38722 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
38723 (elf_machine_lazy_rel): Likewise.
38724 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
38725 (elf_machine_lazy_rel): Likewise.
38726 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
38727 (elf_machine_lazy_rel): Likewise.
38729 2011-09-28 Ulrich Drepper <drepper@gmail.com>
38731 * nss/nss_files/files-init.c (_nss_files_init): Use static
38732 initialization for all the *_traced_file variables.
38734 2011-09-28 Andreas Schwab <schwab@redhat.com>
38736 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38738 2011-09-27 Roland McGrath <roland@hack.frob.com>
38741 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
38743 2011-09-27 Andreas Schwab <schwab@redhat.com>
38745 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
38746 Reread the line before reparsing it.
38748 2011-09-26 Andreas Schwab <schwab@redhat.com>
38750 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
38752 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
38753 Maxim Kuvyrkov <maxim@codesourcery.com>
38754 Joseph Myers <joseph@codesourcery.com>
38756 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
38757 if needed for __stack_chk_guard.
38759 2011-09-19 Roland McGrath <roland@hack.frob.com>
38761 * sysdeps/posix/spawni.c (script_execute): Always define it.
38762 It will be optimized away if unused.
38763 (maybe_script_execute): New function.
38764 (__spawni): Call it.
38766 * Makerules: Don't include tls.make.
38767 (config-tls): Always set to thread.
38768 * tls.make.c: File removed.
38770 2011-09-19 Mike Frysinger <vapier@gentoo.org>
38772 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
38773 * config.make.in (CPPFLAGS-config): New substituted variable.
38775 2011-09-15 Ulrich Drepper <drepper@gmail.com>
38777 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
38780 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
38781 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
38783 2011-09-15 Roland McGrath <roland@hack.frob.com>
38785 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
38786 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
38787 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
38788 (CALL_FAIL): Likewise.
38789 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
38790 (CALL_FAIL): Macro removed.
38791 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
38793 2011-09-15 Ulrich Drepper <drepper@gmail.com>
38795 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
38796 for __FINITE_MATH_ONLY__ == 1.
38798 2011-09-15 Andreas Schwab <schwab@redhat.com>
38800 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
38801 __ieee754_sqrt instead of sqrt.
38802 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
38803 __ieee754_sqrtf instead of sqrtf.
38804 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
38805 __floorf instead of floorf.
38806 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
38807 __floorf, __truncf instead of floorf, truncf.
38809 2011-09-14 Ulrich Drepper <drepper@gmail.com>
38811 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
38813 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
38814 __extern_always_inline.
38815 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
38818 2011-09-14 Andreas Schwab <schwab@redhat.com>
38820 * elf/rtld.c (dl_main): Also relocate in dependency order when
38821 doing symbol dependency testing.
38823 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
38825 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38826 Always define `refsym'.
38828 2011-09-13 Andreas Schwab <schwab@redhat.com>
38830 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
38831 (__FD_ELT): Renamed from __FDELT.
38832 * misc/bits/select2.h (__FD_ELT): Likewise.
38833 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
38834 __FD_MASK instead of __FDELT, __FDMASK.
38835 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
38837 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
38840 * elf/Makefile (gen-ldd): Fix pattern.
38842 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
38843 (init_tls): Likewise.
38845 2011-09-12 Ulrich Drepper <drepper@gmail.com>
38847 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
38849 2011-09-12 Andreas Schwab <schwab@redhat.com>
38851 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
38852 `struct cmsghdr *' instead of `void *'.
38853 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
38856 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
38858 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
38860 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
38861 ldd_rewrite_script.
38863 2011-09-11 Ulrich Drepper <drepper@gmail.com>
38865 * configure.in: Remove --with-tls option.
38866 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
38867 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
38868 out in case it is missing.
38869 * sysdeps/ia64/elf/configure.in: Likewise.
38870 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
38871 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
38872 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
38873 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
38874 * sysdeps/sh/elf/configure.in: Likewise.
38875 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
38876 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
38877 * sysdeps/x86_64/elf/configure.in: Likewise.
38878 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
38879 * sysdeps/mach/hurd/tls.h: Likewise.
38882 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
38885 * configure.in: Fix use of AC_INIT.
38887 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
38889 2011-09-10 Ulrich Drepper <drepper@gmail.com>
38891 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
38893 * malloc/hooks.c: Likewise.
38896 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
38897 variables statically.
38898 (narenas): Initialize.
38899 (list_lock): Initialize.
38900 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
38901 initializtion of main_arena and list_lock. Small cleanups.
38902 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
38903 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
38904 Add initializers to main_arena and mp_.
38905 (malloc_state): Remove pagesize member. Change all users to use
38908 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
38909 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
38910 is always initialized.
38912 * malloc/malloc.c: Removed unused configurations and dead code.
38913 * malloc/arena.c: Likewise.
38914 * malloc/hooks.c: Likewise.
38915 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
38917 * include/tls.h: Removed. USE___THREAD must always be defined.
38918 * bits/libc-tsd.h: Don't handle !USE___THREAD.
38919 * elf/dl-libc.c: Likewise.
38920 * elf/dl-tsd.c: Likewise.
38921 * include/errno.h: Likewise.
38922 * include/netdb.h: Likewise.
38923 * include/resolv.h: Likewise.
38924 * inet/herrno-loc.c: Likewise.
38925 * inet/herrno.c: Likewise.
38926 * malloc/arena.c: Likewise.
38927 * malloc/hooks.c: Likewise.
38928 * malloc/malloc.c: Likewise.
38929 * resolv/res-state.c: Likewise.
38930 * resolv/res_libc.c: Likewise.
38931 * sysdeps/i386/dl-machine.h: Likewise.
38932 * sysdeps/ia64/dl-machine.h: Likewise.
38933 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
38934 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
38935 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
38936 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
38937 * sysdeps/sh/dl-machine.h: Likewise.
38938 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
38939 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
38940 * sysdeps/unix/i386/sysdep.S: Likewise.
38941 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
38942 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
38943 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
38944 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
38945 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
38946 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
38947 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
38948 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
38949 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38950 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
38951 * sysdeps/unix/x86_64/sysdep.S: Likewise.
38952 * sysdeps/x86_64/dl-machine.h: Likewise.
38953 * tls.make.c: Likewise.
38955 * configure.in: Remove --with-__thread option. Make tests for
38956 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
38957 tls_model attribute fail if no support is available. Remove
38959 * Makeconfig: Adjust for dropped configure option. All features are
38961 * Makerules: Likewise.
38962 * Versions.def: Likewise.
38963 * argp/argp-fmtstream.c: Likewise.
38964 * argp/argp-fmtstream.h: Likewise.
38965 * argp/argp-help.c: Likewise.
38966 * assert/assert.c: Likewise.
38967 * config.h.in: Likewise.
38968 * config.make.in: Likewise.
38969 * configure: Likewise.
38970 * configure.in: Likewise.
38971 * csu/Versions: Likewise.
38972 * csu/init.c: Likewise.
38973 * elf/tst-audit2.c: Likewise.
38974 * elf/tst-tls10.c: Likewise.
38975 * elf/tst-tls10.h: Likewise.
38976 * elf/tst-tls11.c: Likewise.
38977 * elf/tst-tls12.c: Likewise.
38978 * elf/tst-tls14.c: Likewise.
38979 * elf/tst-tlsmod11.c: Likewise.
38980 * elf/tst-tlsmod12.c: Likewise.
38981 * elf/tst-tlsmod13.c: Likewise.
38982 * elf/tst-tlsmod13a.c: Likewise.
38983 * elf/tst-tlsmod14a.c: Likewise.
38984 * elf/tst-tlsmod15b.c: Likewise.
38985 * elf/tst-tlsmod16a.c: Likewise.
38986 * elf/tst-tlsmod16b.c: Likewise.
38987 * elf/tst-tlsmod7.c: Likewise.
38988 * elf/tst-tlsmod8.c: Likewise.
38989 * elf/tst-tlsmod9.c: Likewise.
38990 * gmon/gmon.c: Likewise.
38991 * grp/fgetgrent_r.c: Likewise.
38992 * grp/putgrent.c: Likewise.
38993 * hurd/fopenport.c: Likewise.
38994 * include/libc-symbols.h: Likewise.
38995 * include/tls.h: Likewise.
38996 * intl/gettextP.h: Likewise.
38997 * intl/loadinfo.h: Likewise.
38998 * locale/global-locale.c: Likewise.
38999 * locale/localeinfo.h: Likewise.
39000 * mach/devstream.c: Likewise.
39001 * malloc/arena.c: Likewise.
39002 * malloc/set-freeres.c: Likewise.
39003 * misc/err.c: Likewise.
39004 * misc/getttyent.c: Likewise.
39005 * misc/mntent_r.c: Likewise.
39006 * posix/getopt.c: Likewise.
39007 * posix/wordexp.c: Likewise.
39008 * pwd/fgetpwent_r.c: Likewise.
39009 * resolv/Versions: Likewise.
39010 * resolv/res_hconf.c: Likewise.
39011 * shadow/fgetspent_r.c: Likewise.
39012 * shadow/putspent.c: Likewise.
39013 * stdio-common/printf_fphex.c: Likewise.
39014 * stdio-common/tmpfile.c: Likewise.
39015 * stdlib/abort.c: Likewise.
39016 * stdlib/fmtmsg.c: Likewise.
39017 * sunrpc/auth_unix.c: Likewise.
39018 * sunrpc/clnt_perr.c: Likewise.
39019 * sunrpc/clnt_tcp.c: Likewise.
39020 * sunrpc/clnt_udp.c: Likewise.
39021 * sunrpc/clnt_unix.c: Likewise.
39022 * sunrpc/openchild.c: Likewise.
39023 * sunrpc/svc_simple.c: Likewise.
39024 * sunrpc/svc_tcp.c: Likewise.
39025 * sunrpc/svc_udp.c: Likewise.
39026 * sunrpc/svc_unix.c: Likewise.
39027 * sunrpc/xdr.c: Likewise.
39028 * sunrpc/xdr_array.c: Likewise.
39029 * sunrpc/xdr_rec.c: Likewise.
39030 * sunrpc/xdr_ref.c: Likewise.
39031 * sunrpc/xdr_stdio.c: Likewise.
39033 2011-09-09 Ulrich Drepper <drepper@gmail.com>
39035 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39037 2011-07-03 Andreas Jaeger <aj@suse.de>
39039 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
39040 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
39041 regenerate with gen-libm-tests.pl.
39043 2010-05-12 Petr Baudis <pasky@suse.cz>
39046 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
39047 around j0() zero points by switching to j1().
39048 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
39049 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
39050 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
39051 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
39053 2011-09-09 Ulrich Drepper <drepper@gmail.com>
39055 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
39057 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
39059 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
39060 Patch in part by Pavel Roskin <proski@gnu.org>.
39063 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
39065 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
39066 Free memory block if necessary.
39069 * libio/genops.c (INTDEF): For string streams the _lock pointer can
39070 be NULL. Don't lock in this case.
39072 2011-09-09 Roland McGrath <roland@hack.frob.com>
39074 * elf/elf.h (ELFOSABI_GNU): New macro.
39075 (ELFOSABI_LINUX): Define to that.
39077 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
39079 * string/strncat.c (strncat): Undef the symbol in case it has been
39080 defined in bits/string.h.
39082 2011-09-09 Ulrich Drepper <drepper@gmail.com>
39084 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
39086 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
39089 2011-08-17 Andreas Jaeger <aj@suse.de>
39091 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
39093 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
39094 Ian Lance Taylor <iant@google.com>
39096 * math/libm-test.inc (lround_test): New testcase.
39097 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
39099 2011-09-08 Ulrich Drepper <drepper@gmail.com>
39101 * Makefile: Remove support for automatic cvs check-ins.
39102 * Makerules: Likewise.
39103 * config.make.in: Likewise.
39104 * configure.in: Likewise.
39105 * intl/Makefile: Likewise.
39106 * locale/Makefile: Likewise.
39107 * po/Makefile: Likewise.
39108 * posix/Makefile: Likewise.
39109 * sysdeps/gnu/Makefile: Likewise.
39110 * sysdeps/mach/hurd/Makefile: Likewise.
39111 * sysdeps/sparc/sparc32/Makefile: Likewise.
39114 * posix/Makefile (bug-regex32-ENV): Define.
39115 Patch by John Stanley <jpsinthemix@verizon.net>.
39117 * misc/Makefile (headers): Add bits/select2.h.
39118 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
39119 * misc/bits/select2.h: New file.
39120 * include/bits/select2.h: New file.
39121 * debug/Makefile (routines): Add fdelt_chk.
39122 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
39123 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
39125 * debug/fdelt_chk.c: New file.
39127 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
39128 * wcsmbs/test-wmemcmp.c: Likewise.
39129 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
39130 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
39132 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39134 * string/Makefile (strop-tests): Add memcmp.
39135 * string/test-wmemcmp.c: New file.
39136 * string/test-memcmp.c: Add wmemcmp support.
39138 2011-09-08 Roland McGrath <roland@hack.frob.com>
39141 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
39144 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
39145 garbage value in a __mach_port_mod_refs call in the cases of the
39146 task-self and thread-self ports.
39148 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
39150 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
39152 2011-09-08 Andreas Schwab <schwab@redhat.com>
39154 * elf/dl-load.c (lose): Check for non-null L.
39156 2011-09-07 Ulrich Drepper <drepper@gmail.com>
39158 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
39160 * elf/dl-libc.c (dlerror_run): Pass back error code from
39164 * elf/dl-load.c (lose): Free l_origin if it is valid.
39166 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
39168 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
39169 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
39170 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
39171 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
39172 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
39173 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
39175 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39177 * sysdeps/powerpc/fpu/e_hypot.c: New file.
39178 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
39179 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
39180 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
39181 * sysdeps/powerpc/fpu/k_cosf.c: New file.
39182 * sysdeps/powerpc/fpu/k_sinf.c: New file.
39183 * sysdeps/powerpc/fpu/s_cosf.c: New file.
39184 * sysdeps/powerpc/fpu/s_sinf.c: New file.
39185 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
39186 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
39188 2011-08-15 Alan Modra <amodra@gmail.com>
39191 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
39192 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
39193 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
39194 ppc_mcount to static-only-routines.
39195 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
39197 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
39198 __mcount_internal with usual JUMPTARGET. Remove useless nop.
39200 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
39202 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
39203 for finite and infinity parameters.
39205 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
39207 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
39208 and add nop instructions for throughput optimization.
39209 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
39211 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
39213 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
39214 aligned copy for power7 with vector-scalar instructions.
39215 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
39217 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
39219 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
39222 2011-09-07 Andreas Schwab <schwab@redhat.com>
39225 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
39228 2011-09-07 Ulrich Drepper <drepper@gmail.com>
39230 * sysdeps/unix/sysv/linux/x86_64/init-first.c
39231 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
39232 syscall wrapper around clock_gettime in __vdso_clock_gettime.
39233 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
39236 2011-09-06 Ulrich Drepper <drepper@gmail.com>
39238 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
39239 Forgot to demangle the pointer.
39241 * sysdeps/i386/sysdep.h: Define atom_text_section.
39242 * sysdeps/x86_64/sysdep.h: Likewise.
39243 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
39244 section with atom_text_section.
39245 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
39246 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
39247 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
39248 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
39249 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
39251 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
39252 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
39253 already be defined. Change to take two parameters and don't assign
39254 result to variable. Adjust all users.
39255 Define INTERNAL_GETTIME if not already defined.
39256 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
39258 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
39259 HAVE_CLOCK_GETTIME_VSYSCALL.
39260 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
39262 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
39263 gettimeofday vsyscall, just use time.
39265 2011-09-06 Andreas Schwab <schwab@redhat.com>
39267 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
39270 2011-09-06 Ulrich Drepper <drepper@gmail.com>
39272 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
39274 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
39276 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
39277 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
39278 syscall if possible.
39280 2011-09-05 Ulrich Drepper <drepper@gmail.com>
39282 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
39283 e_ident. Don't pass to find_mapsXX.
39284 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
39286 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39288 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39289 strchr-sse2-no-bsf strrchr-sse2-no-bsf
39290 * sysdeps/x86_64/multiarch/strchr.S: Update.
39291 Check bit_slow_BSF bit.
39292 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
39293 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
39294 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
39296 2011-09-05 Ulrich Drepper <drepper@gmail.com>
39299 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
39301 (tryshell): Define.
39302 (__spawni): Change last parameter to be flag. Test
39303 SPAWN_XFLAGS_USE_PATH flag to use path or not.
39304 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
39305 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
39306 * posix/spawni.c: Likewise.
39307 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
39308 * posix/spawnp.c: Likewise. Change normal version to use
39309 SPAWN_XFLAGS_USE_PATH.
39310 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
39311 SPAWN_XFLAGS_TRY_SHELL.
39314 * posix/glob.h: Remove gcc 1.x support.
39317 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
39319 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39321 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39322 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
39324 * sysdeps/i386/i686/multiarch/strchr.S: New file.
39325 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
39326 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
39327 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
39328 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
39329 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
39331 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39333 * sysdeps/x86_64/wcscmp.S: New file.
39335 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
39336 wcscmp-c wcscmp-sse2
39337 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
39338 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
39339 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
39340 * wcsmbs/wcscmp.c: Allow renaming.
39342 2011-09-05 David S. Miller <davem@davemloft.net>
39344 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
39345 stack slot, rather than the struct return pointer slot.
39346 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
39347 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
39348 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
39349 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
39351 2011-09-05 Ulrich Drepper <drepper@gmail.com>
39353 * po/ja.po: Update from translation team.
39356 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
39357 kernel in 64-bit binaries.
39359 2011-09-01 David S. Miller <davem@davemloft.net>
39361 * elf/elf.h (HWCAP_SPARC_*): Move to..
39362 * sysdeps/sparc/sysdep.h: this new file and add new values.
39363 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
39364 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
39365 _DL_HWCAP_COUNT to 24.
39366 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
39368 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
39369 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
39370 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
39371 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
39372 instead of magic constants.
39373 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39375 2011-08-31 David S. Miller <davem@davemloft.net>
39377 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
39378 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
39379 Reimplement to do errno handling inline.
39380 (SYSCALL_ERROR_HANDLER): New macro.
39381 (__SYSCALL_STRING): Do not do errno handling in asm.
39382 (__CLONE_SYSCALL_STRING): Delete.
39383 (__INTERNAL_SYSCALL_STRING): Delete.
39384 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
39385 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
39386 (PSEUDO): Reimplement to do errno handling inline.
39387 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
39388 (SYSCALL_ERROR_HANDLER): New macro.
39389 (__SYSCALL_STRING): Do not do errno handling in asm.
39390 (__CLONE_SYSCALL_STRING): Delete.
39391 (__INTERNAL_SYSCALL_STRING): Delete.
39392 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
39393 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
39395 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
39396 (inline_syscall*): Add 'err' argument.
39397 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
39398 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
39399 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
39400 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
39402 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
39403 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
39405 2011-08-30 Andreas Schwab <schwab@redhat.com>
39407 * elf/rtld.c (dl_main): Relocate objects in dependency order.
39409 2011-08-29 Jiri Olsa <jolsa@redhat.com>
39411 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
39414 2011-08-24 David S. Miller <davem@davemloft.net>
39416 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
39418 2011-08-24 Andreas Schwab <schwab@redhat.com>
39420 * elf/Makefile: Add rules to build and run unload8 test.
39421 * elf/unload8.c: New file.
39422 * elf/unload8mod1.c: New file.
39423 * elf/unload8mod1x.c: New file.
39424 * elf/unload8mod2.c: New file.
39425 * elf/unload8mod3.c: New file.
39427 * elf/dl-close.c (_dl_close_worker): Reset private search list if
39430 2011-08-23 David S. Miller <davem@davemloft.net>
39432 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
39433 subtract stack bias.
39434 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
39435 %sp not %fp in calculations.
39436 (_JMPBUF_UNWINDS_ADJ): Likewise.
39438 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
39439 (aio_suspend): Call it to force an exception region around the
39440 AIO_MISC_WAIT() invocation.
39442 2011-08-23 Andreas Schwab <schwab@redhat.com>
39444 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
39447 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
39449 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
39451 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
39452 and <dl-machine.h>.
39453 (Elf64_FuncDesc): Remove.
39455 2011-08-22 David S. Miller <davem@davemloft.net>
39457 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
39458 sigaltstack check, add missing cfi directives.
39459 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
39460 missing cfi directives, and sigaltstack handling.
39462 2011-08-16 Andreas Schwab <schwab@redhat.com>
39465 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
39466 object is seen twice.
39467 * elf/dl-fini.c (_dl_sort_fini): Likewise.
39469 * elf/Makefile (distribute): Add tst-initorder2.c.
39470 (tests): Add tst-initorder2.
39471 (modules-names): Add tst-initorder2a tst-initorder2b
39472 tst-initorder2c tst-initorder2d. Add rules to build them.
39473 ($(objpfx)tst-initorder2.out): New rule.
39474 * elf/tst-initorder2.c: New file.
39475 * elf/tst-initorder2.exp: New file.
39477 2011-08-22 Andreas Schwab <schwab@redhat.com>
39479 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
39481 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
39482 dependencies back to end of function.
39484 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
39485 $(elfobjdir)/ld.so.
39487 2011-08-21 Ulrich Drepper <drepper@gmail.com>
39489 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
39490 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
39491 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
39492 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
39493 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
39494 of __vdso_gettimeofday.
39495 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
39496 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
39498 (_libc_vdso_platform_setup): Remove initialization of
39499 __vdso_gettimeofday and __vdso_time.
39501 2011-08-20 Ulrich Drepper <drepper@gmail.com>
39503 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
39504 and fgetc_unlocked.
39505 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
39508 * elf/dl-open.c (add_to_global): Report additions to the global scope
39509 for LD_DEBUG=scopes.
39510 (dl_open_worker): Also print scope of newly loaded dependencies.
39511 (_dl_show_scope): Indicate if there is no scope.
39514 * stdio-common/Makefile (tests): Add bug24.
39515 * stdio-common/bug24.c: New file.
39517 2011-08-19 Andreas Jaeger <aj@suse.de>
39520 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
39521 non-existant file when using close-on-exec mode.
39523 2011-08-20 Ulrich Drepper <drepper@gmail.com>
39525 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
39526 the very first instruction.
39528 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
39529 the CFI state in the end.
39530 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
39531 inclusion of dl-trampoline.h.
39532 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
39534 2011-08-19 Andreas Schwab <schwab@redhat.com>
39536 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
39537 expectations for long double.
39539 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
39540 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
39542 2011-08-14 David S. Miller <davem@davemloft.net>
39544 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
39545 artificual limit depends upon the system page size.
39547 2011-08-17 Ulrich Drepper <drepper@gmail.com>
39549 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
39550 * resolv/Makefile: Define CFLAGS-libresolv.
39552 2011-08-17 Andreas Schwab <schwab@redhat.com>
39554 * nss/makedb.c (compute_tables): Make variables used in nested
39557 2011-08-17 Ulrich Drepper <drepper@gmail.com>
39559 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
39560 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
39561 if buffer was too small.
39563 * elf/pldd.c (main): Attach to all threads in the process.
39564 Rewrite /proc handling to use *at functions.
39566 2011-08-16 Ulrich Drepper <drepper@gmail.com>
39568 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
39569 specifies first scope to show.
39570 (dl_open_worker): Update callers. Move printing scope of new
39571 object to before the relocation.
39572 * elf/rtld.c (dl_main): Update _dl_show_scope call.
39573 * sysdeps/generic/ldsodefs.h: Update declaration.
39575 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
39576 string for the scope number.
39578 2011-08-14 Ulrich Drepper <drepper@gmail.com>
39580 * nscd/servicescache.c (cache_addserv): Make sure written is always
39583 2011-08-14 Roland McGrath <roland@hack.frob.com>
39585 * sysdeps/i386/i486/bits/atomic.h
39586 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
39587 statement expression, so as to suppress "set but not used" warning.
39588 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
39590 * string/strncat.c (STRNCAT): Use prototype definition.
39592 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
39593 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
39595 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
39596 (localedef-modules): Add localedef.
39597 (locale-modules): Add locale.
39599 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
39600 * elf/rtld.c (dl_main): Invert order of assignment in last change,
39601 to avoid a warning.
39603 2011-08-14 David S. Miller <davem@davemloft.net>
39605 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
39606 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
39608 2011-08-13 Ulrich Drepper <drepper@gmail.com>
39610 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
39611 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
39612 * elf/rtld.c (dl_main): Set l_name of vDSO.
39613 Call _dl_show_scope when DL_DEBUG_SCOPES.
39614 (process_dl_debug): Recognize scopes flag and also set it for all.
39615 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
39616 Declare _dl_show_scope.
39618 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
39619 (do_dlopen): Pass caller_dlopen to dl_open.
39620 (__libc_dlopen_mode): Initialize caller_dlopen.
39622 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
39623 of libc. Make tolower call locale-independent. Optimize a bit by
39624 using isdigit instead of isalnum.
39625 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
39627 2011-08-12 Ulrich Drepper <drepper@gmail.com>
39629 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
39630 was a dependency or dynamically loaded.
39632 2011-08-11 Ulrich Drepper <drepper@gmail.com>
39634 * intl/l10nflist.c: Allow architecture-specific pop function.
39635 * sysdeps/x86_64/l10nflist.c: New file.
39637 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
39640 2011-08-10 Andreas Schwab <schwab@redhat.com>
39642 * include/dirent.h: Add libc_hidden_proto for scandirat and
39643 scandirat64. Don't declare __scandirat64.
39644 * dirent/scandirat.c: Add libc_hidden_def.
39645 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
39646 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
39648 2011-08-10 David S. Miller <davem@davemloft.net>
39650 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
39652 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
39653 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
39654 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
39656 2011-08-09 Ulrich Drepper <drepper@gmail.com>
39658 * Versions.def [libc]: Add GLIBC_2.15.
39659 * dirent/Makefile (routines): Add scandirat and scandirat64.
39660 * dirent/Versions [libc]: Export scandirat and scandirat64 for
39662 * dirent/dirent.h: Declare scandirat and scandirat64.
39663 * dirent/scandirat.c: New file.
39664 * dirent/scandirat64.c: New file.
39665 * sysdeps/wordsize-64/scandirat.c: New file.
39666 * sysdeps/wordsize-64/scandirat64.c: New file.
39667 * dirent/opendir.c: Define opendirat.
39668 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
39670 * dirent/scandir64.c: Adjust for scandir.c change.
39671 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
39672 __scandirat64, and __scandir_cancel_handler.
39673 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
39674 additional parameter and use openat instead of open (outside of ld.so).
39675 Add new __opendir as wrapper around __opendirat.
39676 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
39677 here without requiring old scandirat implementation.
39679 2011-08-08 Ulrich Drepper <drepper@gmail.com>
39681 * dirent/scandir.c (cancel_handler): Renamed to
39682 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
39683 defined. Adjust users.
39684 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
39685 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
39687 2011-08-04 Ulrich Drepper <drepper@gmail.com>
39689 * string/test-string.h (IMPL): Use __STRING to expand name and then
39692 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
39695 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39697 * string/Makefile: Update.
39698 (strop-tests): Append strncat.
39699 * string/test-wcscmp.c: New file.
39700 New comprehensive test for wcscmp.
39701 * string/test-strcmp.c: Update.
39702 (WIDE): New define.
39704 2011-07-22 Andreas Schwab <schwab@redhat.com>
39706 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
39709 2011-07-26 Andreas Schwab <schwab@redhat.com>
39711 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
39712 encoding to ACE if AI_IDN.
39714 2011-08-01 Jakub Jelinek <jakub@redhat.com>
39716 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
39717 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
39719 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39721 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
39722 Fix overflow bug in strncat.
39723 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
39725 * string/test-strncat.c: Update.
39726 Add new tests for checking overflow bugs.
39728 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39730 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39731 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
39732 * sysdeps/i386/i686/multiarch/strcat.S: New file.
39733 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
39734 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
39735 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
39736 * sysdeps/i386/i686/multiarch/strncat.S: New file.
39737 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
39738 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
39740 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
39741 (USE_AS_STRCAT): Define.
39742 Add strcat and strncat support.
39743 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
39745 2011-07-25 Andreas Schwab <schwab@redhat.com>
39747 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
39748 __n bigger than INT_MAX+1.
39749 (__strncmp_g): Likewise.
39751 2011-07-23 Ulrich Drepper <drepper@gmail.com>
39753 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
39754 * libio/stido.h: Likewise.
39756 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
39758 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
39761 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
39762 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
39763 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
39764 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
39765 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
39768 * scripts/test-installation.pl: Don't expect libnss_test1 to be
39771 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
39773 (_dl_x86_64_save_sse): Likewise.
39775 2011-07-22 Ulrich Drepper <drepper@gmail.com>
39777 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
39779 (_dl_x86_64_save_sse): Likewise.
39781 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
39783 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
39785 2011-07-21 Andreas Schwab <schwab@redhat.com>
39787 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
39789 (_dl_x86_64_save_sse): Use correct AVX check.
39791 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39793 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
39794 bug in strncpy/strncat.
39795 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
39797 2011-07-21 Ulrich Drepper <drepper@gmail.com>
39799 * string/tester.c (test_strcat): Add tests for different alignments
39800 of source and destination.
39801 (test_strncat): Likewise.
39803 2011-07-20 Ulrich Drepper <drepper@gmail.com>
39806 * posix/glob.c (glob): Check passed in values before using them in
39807 expressions to avoid some overflows.
39808 (glob_in_dir): Likewise.
39811 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
39812 check for AVX enablement so that we don't crash with old kernels and
39814 * elf/tst-audit4.c: Add same checks here.
39815 * elf/tst-audit6.c: Likewise.
39817 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
39819 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
39821 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
39823 2011-07-20 Ulrich Drepper <drepper@gmail.com>
39825 * po/cs.po: Update from translation team.
39826 * po/bg.po: Likewise.
39828 2011-07-12 Marek Polacek <mpolacek@redhat.com>
39830 * misc/sys/cdefs.h: Add support for const attribute.
39831 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
39832 to gnu_dev_{major,minor,makedev} functions.
39834 2011-07-20 Marek Polacek <mpolacek@redhat.com>
39836 * intl/dcigettext.c (get_output_charset): Add missing bracket.
39838 2011-07-20 Andreas Schwab <schwab@redhat.com>
39840 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
39843 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39845 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
39846 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
39847 register in order to avoid conflicts with the soft frame pointer
39848 being held in r11 when necessary.
39849 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
39850 (INTERNAL_VSYSCALL_NCS): Likewise.
39852 2011-07-14 Marek Polacek <mpolacek@redhat.com>
39854 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
39855 * elf/dl-fini.c (_dl_fini): Adjust caller.
39856 * elf/dl-close.c (_dl_close_worker): Likewise.
39857 * sysdeps/generic/ldsodefs.h: Adjust declaration.
39859 2011-07-15 Marek Polacek <mpolacek@redhat.com>
39861 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
39862 "aux_cache->nlibs < 0".
39864 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
39865 in the reload-count case.
39867 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39869 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39870 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
39871 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
39872 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
39873 * sysdeps/x86_64/multiarch/strcat.S: New file.
39874 * sysdeps/x86_64/multiarch/strncat.S: New file.
39875 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
39876 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
39877 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
39878 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
39879 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
39880 (USE_AS_STRCAT): Define.
39881 Add strcat and strncat support.
39882 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
39883 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
39884 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
39885 * string/strncat.c: Update.
39886 (USE_AS_STRNCAT): Define.
39887 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39888 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
39890 * sysdeps/x86_64/multiarch/init-arch.h
39891 (bit_Prefer_PMINUB_for_stringop): New.
39892 (index_Prefer_PMINUB_for_stringop): Likewise.
39893 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
39894 bit_Prefer_PMINUB_for_stringop.
39896 2011-07-19 Ulrich Drepper <drepper@gmail.com>
39898 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
39900 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
39901 of casting of buffer.
39902 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
39903 buffer32 and buffer64.
39904 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
39905 writes instead of casting of buffer.
39906 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
39908 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
39911 2011-07-19 Andreas Schwab <schwab@redhat.com>
39913 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
39915 2011-07-19 Ulrich Drepper <drepper@gmail.com>
39917 * nscd/nscd.c (termination_handler): Don't do anything for a database
39918 if it has not yet been initialized.
39920 2011-07-18 Ulrich Drepper <drepper@gmail.com>
39922 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
39924 2011-07-15 Marek Polacek <mpolacek@redhat.com>
39926 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
39928 2011-07-18 Ulrich Drepper <drepper@gmail.com>
39930 * po/nl.po: Update from translation team.
39931 * po/sv.po: Likewise.
39933 2011-07-16 Roland McGrath <roland@hack.frob.com>
39935 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
39936 now disallowed by GCC.
39938 * configure.in (use-default-link): Default to yes if a test -shared
39939 link meets our qualifications.
39940 * configure: Regenerated.
39942 * config.make.in (output-format): New variable.
39943 * configure.in: Check for ld --print-output-format support.
39944 * configure: Regenerated.
39945 * Makerules ($(common-objpfx)format.lds)
39946 [$(output-format) != unknown]: Just use $(output-format),
39947 instead of the linker-script munging.
39949 2011-07-14 Roland McGrath <roland@hack.frob.com>
39951 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
39952 of $(common-objpfx)shlib.lds.
39953 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
39955 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
39956 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
39958 * configure.in (-z relro check): Adjust test code to add a large
39959 writable data section after it.
39960 * configure: Regenerated.
39962 2011-07-11 Roland McGrath <roland@hack.frob.com>
39964 * configure.in (-z relro check): Fix test code to make the variable
39966 * configure: Regenerated.
39968 2011-07-11 Ulrich Drepper <drepper@gmail.com>
39970 * nscd/nscd.h (struct traced_file): Define.
39971 (struct database_dyn): Remove inotify_descr, reset_res, and filename
39972 elements. Add traced_files.
39973 (inotify_fd): Declare.
39974 (register_traced_file): Declare.
39975 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
39976 (inotify_fd): Export.
39977 (resolv_conf_descr): Remove.
39978 (nscd_init): Move inotify descriptor creation to main.
39979 Don't register files for notification here.
39980 (register_traced_file): New function.
39981 (invalidate_cache): Don't use reset_res to determine whether to call
39982 res_init, go through the list of registered files.
39983 (main_loop_poll): The inotify descriptors are now stored in the
39984 structures for the traced files.
39985 (main_loop_epoll): Likewise
39986 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
39987 to __nss_disable_nscd.
39988 * nscd/cache.c (prune_cache): There is no single inotify descriptor
39989 for a database anymore. Check the records for all the registered
39991 * nss/Makefile (libnss_files-routines): Add files-init.
39992 (libnss_db-routines): Add db-init.
39993 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
39994 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
39995 * nss/nss_db/db-init.c: New file.
39996 * nss/nss_files/files-init.c: New file.
39997 * nss/nsswitch.c (nss_load_library): New function. Broken out of
39998 __nss_lookup_function.
39999 (__nss_lookup_function): Call nss_load_library.
40000 (nss_load_all_libraries): New function.
40001 (__nss_disable_nscd): Take parameter with callback function for files
40002 to register. Set is_nscd. Load all the DSOs for the NSS modules
40003 used for the cached services.
40004 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
40005 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
40006 options for features to all the files in nscd.
40008 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
40010 2011-07-10 Roland McGrath <roland@hack.frob.com>
40012 * csu/elf-init.c (__libc_csu_init): Comment typo.
40014 2011-07-09 Ulrich Drepper <drepper@gmail.com>
40016 * po/pl.po: Update from translation team.
40017 * po/ja.po: Likewise.
40018 * po/ru.po: Likewise.
40019 * po/ko.po: Likewise.
40020 * po/fr.po: Likewise.
40022 2011-07-09 Roland McGrath <roland@hack.frob.com>
40024 * configure.in (.ctors/.dtors header and trailer check):
40025 Use an empirical test on a built program.
40026 * configure: Regenerated.
40028 * configure.in (-z relro check): Use an empirical test on a built DSO.
40029 Detect, but do not require, on ia64.
40030 * configure: Regenerated.
40032 * configure.in (READELF): Find it with AC_CHECK_TOOL.
40033 Update tests that use readelf to use $READELF instead.
40034 * configure: Regenerated.
40036 2011-07-08 Ulrich Drepper <drepper@gmail.com>
40038 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
40039 if the result is not used.
40041 2011-07-05 Andreas Jaeger <aj@suse.de>
40044 * stdlib/tst-strtod.c: Add testcase.
40046 2011-07-07 Ulrich Drepper <drepper@gmail.com>
40048 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
40049 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
40050 The latter has a higher limit. Take additional parameter to pass to
40052 (__pathconf): Pass file to __statfs_link_max.
40053 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
40055 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
40059 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
40060 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
40062 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
40063 (__statfs_filesize_max): Likewise.
40064 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
40066 2011-07-05 Andreas Jaeger <aj@suse.de>
40068 * resolv/res_comp.c (dn_skipname): Remove unused variable.
40070 2011-07-06 Marek Polacek <mpolacek@redhat.com>
40072 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
40074 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
40077 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
40079 * Makefile (strop-tests): Add strncat.
40080 * string/test-strncat.c: New file.
40082 2011-06-30 Marek Polacek <mpolacek@redhat.com>
40084 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
40086 2011-06-21 Andreas Jaeger <aj@suse.de>
40088 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
40089 Copy rule from iconvdata/Makefile.
40091 2011-07-06 Ulrich Drepper <drepper@gmail.com>
40094 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
40095 but no long options are defined, just return 'W'.
40097 2011-06-22 Marek Polacek <mpolacek@redhat.com>
40100 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
40102 2011-07-06 Ulrich Drepper <drepper@gmail.com>
40104 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
40106 (innetgr): Likewise.
40108 2011-07-05 Roland McGrath <roland@hack.frob.com>
40110 * config.make.in (install_root): Default to $(DESTDIR).
40112 2011-07-05 Ulrich Drepper <drepper@gmail.com>
40114 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
40116 2011-07-02 Roland McGrath <roland@hack.frob.com>
40118 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
40120 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
40121 containing directory rather than embedding absolute directory names.
40123 * scripts/check-local-headers.sh: Rewritten using awk.
40124 Match by word, not by line. Print error messages for matches.
40125 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
40127 * Makerules [shlib-lds-flags empty]:
40128 ($(common-objpfx)libc_pic.opts): New target.
40129 ($(common-objpfx)libc_pic.os.clean): New target.
40130 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
40132 * config.make.in (OBJCOPY): New variable.
40133 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
40134 * configure: Regenerated.
40136 * config.make.in (use-default-link): New variable.
40137 * configure.in (use_default_link): Grok --with-default-link to set it.
40138 * configure: Regenerated.
40139 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
40140 (shlib-lds, shlib-lds-flags): Define to empty.
40142 * Makerules (shlib-lds): New variable.
40143 (shlib-lds-flags): New variable.
40144 (build-shlib, build-moduile, build-module-asneeded): Use it.
40145 ($(common-objpfx)libc.so): Use $(shlib-lds).
40146 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
40147 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
40149 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
40150 DT_FLAGS/DT_FLAGS_1 with zero flags.
40152 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
40153 linker script munging.
40155 2011-07-02 Ulrich Drepper <drepper@gmail.com>
40157 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
40159 * crypt/sha512.c (sha512_process_block): Perform total addition using
40160 128-bit if possible.
40161 (__sha512_finish_ctx): Likewise.
40162 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
40164 * crypt/sha256.c (SWAP64): Define.
40165 (sha256_process_block): Perform total addition using 64-bit if
40167 (__sha256_finish_ctx): Likewise.
40169 2011-07-01 Ulrich Drepper <drepper@gmail.com>
40171 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
40172 * nscd/initgrcache.c (addinitgroupsX): Likewise.
40173 * nscd/hstcache.c (cache_addhst): Likewise.
40174 * nscd/grpcache.c (cache_addgr): Likewise.
40175 * nscd/aicache.c (addhstaiX): Likewise
40176 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
40178 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
40180 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
40181 * nscd/initgrcache.c (addinitgroupsX): Likewise.
40182 * nscd/hstcache.c (cache_addhst): Likewise.
40183 * nscd/grpcache.c (cache_addgr): Likewise.
40184 * nscd/aicache.c (addhstaiX): Likewise
40186 2011-07-01 Andreas Schwab <schwab@redhat.com>
40188 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
40189 domain only when needed.
40191 2011-06-30 Andreas Schwab <schwab@redhat.com>
40193 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
40194 is always restored.
40196 2011-06-29 Ulrich Drepper <drepper@gmail.com>
40198 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
40199 are re-adding the entry.
40200 * nscd/servicescache.c (cache_addserv): Likewise.
40202 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
40204 * sysdeps/generic/dl-irel.h: fix protection against multiple
40206 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
40208 2011-06-28 Ulrich Drepper <drepper@gmail.com>
40211 * malloc/memusage.sh: Fix quoting in message.
40212 * debug/xtrace.sh: Likewise.
40214 * configure.in: Remove support for --experimental-malloc option, make
40216 * config.make.in: Likewise.
40217 * malloc/Makefile: Likewise.
40219 2011-06-27 Andreas Schwab <schwab@redhat.com>
40221 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
40222 two-byte characters.
40224 2011-06-27 Roland McGrath <roland@hack.frob.com>
40226 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
40227 AC_CACHE_CHECK invocation.
40228 * configure: Regenerated.
40230 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
40232 2011-06-27 Ulrich Drepper <drepper@gmail.com>
40235 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
40236 bit from old_res_options.
40238 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
40240 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
40241 value type for setfct.
40243 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
40245 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
40246 __gettimeofday instead of gettimeofday.
40248 2011-06-26 Ulrich Drepper <drepper@gmail.com>
40250 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
40252 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
40254 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
40256 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
40259 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
40261 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40262 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
40263 strcpy-sse2-unaligned strncpy-sse2-unaligned
40264 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
40265 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
40266 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
40267 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
40268 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
40269 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
40270 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
40271 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
40272 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
40273 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
40274 (STRCPY): Support SSE2 and SSSE3 versions.
40276 2011-06-24 Ulrich Drepper <drepper@gmail.com>
40279 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
40280 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
40281 kernels which artificially limit size of requests.
40283 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
40285 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40286 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
40287 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
40288 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
40289 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
40290 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
40291 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
40292 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
40293 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
40294 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
40295 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
40296 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
40297 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
40298 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
40299 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
40300 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40301 Enable unaligned load optimization for Intel Core i3, i5 and i7
40303 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
40305 (index_Fast_Unaligned_Load): Define.
40306 (HAS_FAST_UNALIGNED_LOAD): Define.
40308 2011-06-23 Marek Polacek <mpolacek@redhat.com>
40310 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
40312 2011-06-22 Ulrich Drepper <drepper@gmail.com>
40315 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
40316 until it is clear that the information is realy needed.
40317 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
40319 2011-06-22 Andreas Schwab <schwab@redhat.com>
40321 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
40323 2011-06-22 Ulrich Drepper <drepper@gmail.com>
40325 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
40326 /sys/devices/system/cpu/online if it is usable.
40328 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
40329 reading the information from the /proc filesystem to once a second.
40331 2011-06-21 Andreas Jaeger <aj@suse.de>
40333 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
40334 NULL after inclusion of kernel headers.
40336 2011-06-21 Ulrich Drepper <drepper@gmail.com>
40338 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
40339 calls to internal_setent.
40342 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
40343 addresses using gethostbyname4_r ignore IPv4 addresses.
40345 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
40346 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
40348 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
40350 2011-06-20 David S. Miller <davem@davemloft.net>
40352 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
40354 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
40356 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
40357 (elf_irel): Use it.
40358 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
40359 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
40360 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
40361 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
40362 * sysdeps/x86_64/dl-irel.h: Likewise.
40364 * elf/dl-runtime.c: Use elf_ifunc_invoke.
40365 * elf/dl-sym.c: Likewise.
40367 2011-06-15 Ulrich Drepper <drepper@gmail.com>
40369 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
40370 need to dereference resplen2.
40372 2011-06-14 Andreas Schwab <schwab@redhat.com>
40374 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
40376 2011-06-15 Ulrich Drepper <drepper@gmail.com>
40378 * Makeconfig: Define vardbdir and inst_vardbdir.
40379 * nss/Makefile: Add rules to install db-Makefile.
40381 * nss/nss_db/db-XXX.c: Cleanup.
40383 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
40384 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
40386 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
40387 * nss/makedb.c: Implement -g option to specify that value strings
40388 are generated and should not be added to table iterated over for
40390 * nss/nss_db/db-initgroups.c: New file.
40392 * nss/getent.c: Add support for initgroups lookups through getgrouplist
40395 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
40396 (internal_getgrouplist): Adjust to name change.
40397 Update use_initgroups_entry if this is not the first call.
40398 * nss/databases.def: Add initgroups entry.
40400 * nss/makedb.c (compute_tables): Check result of multiple hash table
40401 sizes to minimize maximum chain length.
40403 2011-06-14 Ulrich Drepper <drepper@gmail.com>
40405 * Versions.def: Add entry for libnss_db.
40406 * shlib-versions: Likewise.
40407 * nss/Makefile: Add rules to build libnss_db.
40408 * nss/Versions: Add libnss_db information. Organize libnss_files
40410 * nss/db-Makefile: Add gshadow support. Change rules for the new
40411 makedb progra. Some minor improvements to generate smaller files.
40412 * nss/nss_db/nss_db.h: Move NSS database header data structures to
40414 * nss/makedb.c: ...here.
40415 Improve database format to be smaller and require less memory at
40417 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
40419 * nss/nss_db/db-netgrp.c: Likewise.
40420 * nss/nss_db/db-open.c: Likewise.
40421 * nss/nss_files/flies-XXX.x: Adjust comments.
40422 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
40423 * nss/nss_files/files-grp.c: Likewise.
40424 * nss/nss_files/files-hosts.c: Likewise.
40425 * nss/nss_files/files-network.c: Likewise.
40426 * nss/nss_files/files-proto.c: Likewise.
40427 * nss/nss_files/files-pwd.c: Likewise.
40428 * nss/nss_files/files-rpc.c: Likewise.
40429 * nss/nss_files/files-service.c: Likewise.
40430 * nss/nss_files/files-sgrp.c: Likewise.
40431 * nss/nss_files/files-spwd.c: Likewise.
40432 * nss/nss_db/db-alias.c: Removed.
40433 * nss/nss_db/dummy-db.h: Removed.
40435 2011-06-02 Ulrich Drepper <drepper@gmail.com>
40437 * nss/makedb.c: Rewritten to not use database library.
40438 * nss/Makefile: Update to build new makedb program.
40440 2011-06-14 Andreas Jaeger <aj@suse.de>
40442 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
40443 memset declaration.
40445 2011-06-10 Andreas Schwab <schwab@redhat.com>
40447 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
40450 2011-06-10 Roland McGrath <roland@hack.frob.com>
40452 * Makerules (shlib.lds): Fail if the linker script comes out empty.
40453 * elf/Makefile ($(objpfx)ld.so): Likewise.
40455 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
40456 Don't list ld.so twice in dependencies.
40458 * posix/bug-regex31.c: Include <stdlib.h>.
40460 * nscd/hstcache.c (cache_addhst): Remove unused variable.
40462 * nis/nss_compat/compat-spwd.c
40463 (getspent_next_nss_netgr): Remove unused variable.
40464 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
40466 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
40467 nonmembers" output to use the right array.
40469 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
40471 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
40473 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
40474 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
40475 * catgets/gencat.c (read_input_file): Likewise.
40476 * locale/programs/locarchive.c (enlarge_archive): Likewise.
40478 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
40479 variable definition inside #if's controlling its use.
40481 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
40483 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
40485 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
40487 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
40490 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
40492 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
40493 * configure: Regenerated.
40495 * Makerules: Revert last change.
40496 * elf/Makefile: Likewise.
40498 2011-06-09 Roland McGrath <roland@hack.frob.com>
40500 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
40501 * elf/Makefile ($(objpfx)librtld.os): Likewise.
40502 (reloc-link): Likewise.
40504 2011-06-09 Ulrich Drepper <drepper@gmail.com>
40506 * elf/Makefile: Add rules to build pldd.
40507 * elf/pldd.c: New file.
40508 * elf/pldd-xx.c: New file.
40510 2011-06-07 Ulrich Drepper <drepper@gmail.com>
40512 * version.h: Update for 2.15 development version.
40514 2011-06-07 David S. Miller <davem@davemloft.net>
40516 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
40518 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
40519 elf_machine_lazy_rel): Likewise.
40520 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
40521 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
40522 elf_machine_lazy_rel): Likewise.
40523 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
40524 dl_hwcap via passed in argument.
40525 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
40528 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40530 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
40532 2011-06-06 Roland McGrath <roland@hack.frob.com>
40535 * manual/fdl-1.1.texi: New file, verbatim from:
40536 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
40537 * manual/lgpl-2.1.texi: New file, verbatim from:
40538 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
40539 * manual/Makefile (licenses): New variable, list those new file names.
40541 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
40543 * manual/fdl.texi: File removed.
40544 * manual/lesser.texi: File removed.
40545 * manual/libc.texinfo (Copying, Documentation License):
40546 Use new @include file names, put @appendix directive before @include.
40548 2011-06-04 Jakub Jelinek <jakub@redhat.com>
40551 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
40552 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
40553 (mq_open): Add __NTH.
40555 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
40557 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40558 Assume Intel Core i3/i5/i7 processor if AVX is available.
40560 2011-05-31 Ulrich Drepper <drepper@gmail.com>
40562 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
40565 2011-05-31 Andreas Schwab <schwab@redhat.com>
40567 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
40568 memory. Use alloca_account. Fix memory leak when retrying.
40570 2011-05-31 Ulrich Drepper <drepper@gmail.com>
40572 * version.h (RELEASE): Bump for 2.14 release.
40573 * include/features.h (__GLIBC_MINOR__): Bump to 14.
40575 * config.make.in (RANLIB): Remove entry.
40577 2011-05-30 Ulrich Drepper <drepper@gmail.com>
40579 * po/Makefile (po-sed-cmd): Add ksh to extensions.
40580 (libc.pot): Work around missing support for .ksh extension in xgettext.
40583 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
40584 if both request failed.
40585 (send_dg): In case of server errors clear resplen or *resplen2.
40588 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
40589 when there are multiple maps.
40590 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
40591 (_dl_fini): Remove test here.
40593 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
40595 2011-05-29 Ulrich Drepper <drepper@gmail.com>
40598 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
40599 bit from old_res_options.
40600 (gaih_inet): Likewise.
40603 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
40606 * resolv/res_init.c (res_setoptions): Make the code more compact.
40609 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
40613 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
40615 * malloc/malloc.h: Mark malloc hook variables as deprecated.
40618 * malloc/malloc.h: Declare malloc hook variables as volatile.
40620 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
40624 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
40625 raise in the comment.
40626 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
40627 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
40628 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
40630 2011-05-28 Ulrich Drepper <drepper@gmail.com>
40633 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
40634 grow the buffers more if it already has to be sufficient.
40635 (build_wcs_upper_buffer): Likewise.
40636 * posix/regexec.c (check_matching): Likewise.
40637 (clean_state_log_if_needed): Likewise.
40638 (extend_buffers): Don't enlarge buffers beyond size of the input
40640 Patches mostly by Emil Wojak <emil@wojak.eu>.
40641 * posix/bug-regex32.c: New file.
40642 * posix/Makefile (tests): Add bug-regex32.
40644 * locale/findlocale.c (_nl_find_locale): Return right away if
40645 _nl_explode_name failed.
40646 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
40648 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
40650 * debug/xtrace.sh: Unify messages.
40651 * malloc/memusage.sh: Likewise.
40654 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
40655 time symbol from vDSO. Substitute with vsyscall if not available.
40656 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
40659 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
40660 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
40661 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
40662 Add sendmmsg and internal_sendmmsg.
40663 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
40664 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
40665 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
40667 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
40668 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
40669 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
40671 2011-05-27 Ulrich Drepper <drepper@gmail.com>
40674 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
40675 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
40677 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
40681 * iconvdata/Makefile (tests): Add bug-iconv9.
40682 * iconvdata/bug-iconv9.c: New file.
40684 2011-05-27 Andreas Schwab <schwab@redhat.com>
40687 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
40689 2011-05-25 Jakub Jelinek <jakub@redhat.com>
40691 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
40692 (struct user_regs_struct): Change intcs field back to cs.
40694 2011-05-25 Ulrich Drepper <drepper@gmail.com>
40696 * po/ja.po: Update from translation team.
40698 2011-05-23 Ulrich Drepper <drepper@gmail.com>
40701 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
40702 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
40704 2011-05-20 Andreas Schwab <schwab@redhat.com>
40706 * stdlib/longlong.h: Update from GCC.
40708 2011-05-23 Andreas Schwab <schwab@redhat.com>
40710 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
40712 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
40713 Add parameter name.
40714 (__sysconf): Pass it down.
40716 2011-05-22 Ulrich Drepper <drepper@gmail.com>
40719 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
40721 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
40722 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
40723 add in in __libc_use_alloca calls. Adjust callers.
40724 (glob): Use malloc in some situations.
40726 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
40727 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
40730 2011-05-21 Ulrich Drepper <drepper@gmail.com>
40732 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
40733 and CLOCK_BOOTTIME_ALARM.
40736 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
40739 * string/_strerror.c (__strerror_r): Print negative errors as signed
40743 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
40744 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
40745 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
40747 * configure.in: Fix typo in redirection and correct removal of test
40748 files in two cases.
40751 * locale/setlocale.c (new_composite_name): Fix test to check for
40752 identical name of all categories.
40755 * libio/filedoalloc.c (local_isatty): New function.
40756 (_IO_file_doallocate): Use local_isatty.
40757 * stdio-common/perror.c (perror): In case a new stream is used
40758 forward the stream error.
40759 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
40762 2011-05-20 Ulrich Drepper <drepper@gmail.com>
40765 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
40767 * include/alloca.h (extend_alloca_account): Define.
40770 * posix/regex.h: Fix comments with documentation of user-accessible
40771 fields after compilation and describe correct free'ing of pattern
40772 after re_compile_pattern.
40773 Patch by Reuben Thomas <rrt@sc3d.org>.
40775 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
40777 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
40778 and -mno-altivec to prevent the compiler from using Altivec and/or
40779 VSX instructions when the corresponding registers are not available.
40781 2011-05-19 Andreas Schwab <schwab@redhat.com>
40783 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
40785 2011-05-19 Ulrich Drepper <drepper@gmail.com>
40787 * libio/freopen.c (freopen): Use __dup2, not dup2.
40788 * libio/freopen64.c (freopen64): Likewise.
40790 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
40793 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
40794 * math/Makefile (tests): Add test-powl.
40795 (CFLAGS-test-powl.c): Define.
40796 * math/test-powl.c: New file.
40798 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
40800 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
40802 2011-05-17 Ulrich Drepper <drepper@gmail.com>
40805 * iconvdata/gb18030.c: Update to GB18020-2005.
40807 2011-05-16 Ulrich Drepper <drepper@gmail.com>
40809 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
40810 RE_SYNTAX_POSIX_AWK): Update to match recent development.
40811 Patch by Aharon Robbins <arnold@skeeve.com>.
40814 * stdlib/putenv.c (putenv): Don't always create copy of the variable
40818 * misc/pselect.c (__pselect): Handle timeout value errors hidden
40819 through underflows.
40822 * misc/error.c (error_at_line): Ensure file_name and old_file_name
40823 point to strings before performing equality test for error_one_per_line
40827 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
40830 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
40831 (struct user_fpregs_struct): Avoid __uint*_t types.
40834 * malloc/mtrace.c (tr_where): Add additional parameter to point to
40835 symbol info. Use it instead of calling _dl_addr locally.
40836 (lock_and_info): New function.
40837 (tr_freehook): Call lock_and_info and pass symbol info as additional
40838 parameter to tr_where.
40839 (tr_mallochook): Likewise.
40840 (tr_reallochook): Likewise.
40841 (tr_memalignhook): Likewise.
40843 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
40844 used and couldn't be at all thread-safe.
40846 2011-05-15 Ulrich Drepper <drepper@gmail.com>
40848 * libio/freopen.c (freopen): Don't close old file descriptor
40849 before the new one is opened. Instead dup the new file descriptor
40850 to the old one after the new stream is created.
40851 * libio/freopen64.c (freopen64): Likewise.
40852 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
40853 * libio/fileops.c (_IO_new_file_close_it): Handle new
40854 _IO_FLAGS2_NOCLOSE flag.
40855 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
40856 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
40857 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
40858 _IO_FLAGS2_NOCLOSE flag.
40859 * include/unistd.h: Add hidden_proto for dup3.
40860 Define __have_dup3.
40861 * io/dup3.c: Define hidden symbol.
40862 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
40865 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
40866 when an incomplete long option is used.
40867 * posix/tst-getopt_long1.c: New file.
40868 * posix/Makefile (tests): Add tst-getopt_long1.
40871 * scripts/config.guess: Update from autoconf-2.68.
40872 * scripts/config.sub: Likewise.
40875 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
40877 (has_cpuclock): ...this. New function.
40878 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
40879 macro here based on has_cpuclock code.
40882 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40883 First byte (not low byte) is now always NUL.
40884 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
40886 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40887 Use non-cancelable interfaces.
40890 * locale/iso-639.def: Add entry for Sorani.
40893 * include/stdlib.h: Move include protection to the right place.
40894 Define abort_msg_s. Declare __abort_msg with it.
40895 * stdlib/abort.c (__abort_msg): Adjust type.
40896 * assert/assert.c (__assert_fail_base): New function. Majority
40897 of code from __assert_fail. Allocate memory for __abort_msg with
40899 (__assert_fail): Now call __assert_fail_base.
40900 * assert/assert-perr.c: Remove bulk of implementation. Use
40901 __assert_fail_base.
40902 * include/assert.hL Declare __assert_fail_base.
40903 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
40905 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
40907 2011-05-14 Ulrich Drepper <drepper@gmail.com>
40911 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
40912 until all modules are registered in the DTV.
40913 * elf/Makefile: Add rules to build and run tst-tls19.
40914 * elf/tst-tls19.c: New file.
40915 * elf/tst-tls19mod1.c: New file.
40916 * elf/tst-tls19mod2.c: New file.
40917 * elf/tst-tls19mod3.c: New file.
40918 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
40921 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
40925 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
40926 two-byte sequence errors.
40927 * iconvdata/Makefile (tests): Add bug-iconv8.
40928 * iconvdata/bug-iconv8.c: New file.
40931 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
40934 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
40937 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
40938 (dummy_getcfa): New function.
40939 (init): Get _Unwind_GetCFA address, use dummy if not found.
40940 (backtrace_helper): In recursion check, also check whether CFA changes.
40941 (__backtrace): Completely initialize arg.
40943 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
40944 storing incomplete byte sequence in state object. Avoid testing for
40945 guaranteed too small input if we know there is enough data available.
40947 2011-05-11 Andreas Schwab <schwab@redhat.com>
40949 * Makeconfig (+link-pie): Indent.
40950 * Rules (binaries-pie): Define if $(have-fpie) and
40952 (binaries-shared): Also filter out $(binaries-pie).
40953 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
40954 * nscd/Makefile (others-pie): Add nscd.
40955 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
40956 ($(objpfx)nscd): Remove command override.
40957 * login/Makefile (others-pie): Add pt_chown.
40958 ($(objpfx)pt_chown): Remove command override.
40959 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
40960 remove command overrides.
40962 2011-05-13 Ulrich Drepper <drepper@gmail.com>
40964 * libio/tst_putwc.c: Fix error messages.
40967 * libio/fileops.c (_IO_new_file_close_it): Always flush when
40968 currently writing and seek to current position when not.
40969 * libio/Makefile (tests): Add bug-fclose1.
40970 * libio/bug-fclose1.c: New file.
40972 2011-05-12 Ulrich Drepper <drepper@gmail.com>
40975 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
40976 don't set DF_1_NODELETE here.
40977 (do_lookup_x): When entering new entry test for copy relocation
40978 and if necessary set DF_1_NODELETE flag.
40979 * elf/tst-unique4.cc: New file.
40980 * elf/tst-unique4.h: New file.
40981 * elf/tst-unique4lib.cc: New file.
40982 * elf/Makefile: Add rules to build and run tst-unique4.
40983 Patch by Piotr Bury <pbury@goahead.com>.
40985 2011-05-11 Ulrich Drepper <drepper@gmail.com>
40988 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
40991 * misc/mntent_r.c (addmntent): Flush the stream after the output
40994 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
40995 (is_trusted_path_normalize): Skip initial colon. Append slash
40996 to empty buffer. Duplicate is_trusted_path code but allow
40997 constructed patch to be prefix.
40998 (is_dst): Allow $ORIGIN followed by /.
40999 (_dl_dst_substitute): Correct clearing of check_for_trusted.
41000 Correct testing of result of is_trusted_path_normalize
41001 (decompose_rpath): Fix warning.
41003 2011-05-10 Ulrich Drepper <drepper@gmail.com>
41006 * grp/initgroups.c (internal_getgrouplist): When we found the service
41007 list through the initgroups entry in nsswitch.conf do not always
41008 continue on a successful lookup. Don't always use the
41009 __nss_group_database value if it is set.
41010 * nss/nsswitch.conf (initgroups): Change action for successful db
41011 lookup to continue for compatibility.
41013 2011-05-09 Ulrich Drepper <drepper@gmail.com>
41016 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
41018 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
41020 * iconvdata/tst-tables.sh: Likewise.
41021 * iconvdata/cp770.c: New file.
41022 * iconvdata/cp771.c: New file.
41023 * iconvdata/cp772.c: New file.
41024 * iconvdata/cp773.c: New file.
41025 * iconvdata/cp774.c: New file.
41026 * iconvdata/testdata/CP770: New file.
41027 * iconvdata/testdata/CP770..UTF8: New file.
41028 * iconvdata/testdata/CP771: New file.
41029 * iconvdata/testdata/CP771..UTF8: New file.
41030 * iconvdata/testdata/CP772: New file.
41031 * iconvdata/testdata/CP772..UTF8: New file.
41032 * iconvdata/testdata/CP773: New file.
41033 * iconvdata/testdata/CP773..UTF8: New file.
41034 * iconvdata/testdata/CP774: New file.
41035 * iconvdata/testdata/CP774..UTF8: New file.
41037 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
41039 * iconvdata/gen-8bit-gap.sh: Likewise.
41040 * iconvdata/gen-8bit.sh: Likewise.
41042 * locale/iso-639.def: Add ary entry.
41045 * locale/C-translit.h.in: Add U20A1 transliteration.
41048 * locale/iso-639.def: Add wae entry.
41049 Patch by Kevin Bortis <bortis@translate-wae.ch>.
41052 * locale/programs/localedef.c (construct_output_path): Use ssize_t
41056 * locale/C-translit.h.in: Add entry for U20B9.
41057 Patch by pravin.d.s@gmail.com.
41059 2011-05-08 Ulrich Drepper <drepper@gmail.com>
41062 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
41063 ENAMETOOLONG use generic getcwd.
41064 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
41065 in rtld. Use *stat64.
41066 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
41067 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
41068 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
41069 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
41070 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
41071 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
41072 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
41073 __fstatat64 macros.
41074 * include/dirent.h: Add libc_hidden_proto for rewinddir.
41075 * dirent/rewinddir.c: Add libc_hidden_def.
41076 * sysdeps/mach/hurd/rewinddir.c: Likewise.
41077 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
41079 * include/dirent.h (__alloc_dir): Add flags parameter.
41080 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
41081 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
41083 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
41084 from fdopendir if O_CLOEXEC is already set.
41086 2011-03-15 Alan Modra <amodra@gmail.com>
41088 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
41089 l_tls_firstbyte_offset non-zero. Save padding offset in
41090 l_tls_firstbyte_offset for later use.
41091 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
41092 freeing static tls block.
41094 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
41096 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
41097 where #ifdef was intended. The intent is to prevent ARG_MAX from
41098 being defined by the kernel headers.
41100 2011-05-07 Ulrich Drepper <drepper@gmail.com>
41103 * resolv/resolv.h: Define RES_NOTLDQUERY.
41104 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
41105 no-tld-query and set RES_NOTLDQUERY.
41106 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
41107 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
41108 modern BIND to search name as TLD unless forbidden.
41110 2011-05-07 Petr Baudis <pasky@suse.cz>
41111 Ulrich Drepper <drepper@gmail.com>
41114 * elf/dl-load.c (fillin_rpath): Move trusted path check...
41115 (is_trusted_path): ...to here.
41116 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
41117 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
41118 using is_trusted_path_normalize() in setuid scripts.
41120 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
41122 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
41123 __BEGIN/__END_DECLS.
41125 2011-05-06 Ulrich Drepper <drepper@gmail.com>
41127 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
41128 NSS_STATUS_NOTFOUND if no record was found.
41130 2011-05-05 Andreas Schwab <schwab@redhat.com>
41132 * sunrpc/Makefile (headers): Add rpc/netdb.h.
41133 (headers-not-in-tirpc): Remove rpc/netdb.h
41134 * resolv/netdb.h: Revert last change.
41136 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
41138 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
41139 circular dependency between libgcc.a and libc.a.
41141 2011-05-05 Andreas Schwab <schwab@redhat.com>
41143 * resolv/netdb.h: Don't include <rpc/netdb.h>.
41144 * nis/Makefile: Don't install rpcsvc/*.
41145 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
41146 instead of <rpc/types.h>.
41147 (MAXHOSTNAMELEN): Define.
41149 2011-05-03 Andreas Schwab <schwab@redhat.com>
41151 * elf/ldconfig.c (add_dir): Don't crash on empty path.
41153 2011-04-28 Maciej Babinski <mbabinski@google.com>
41156 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
41157 gethostbyname4_r when IPv6 results are possible.
41159 2011-05-02 Ulrich Drepper <drepper@gmail.com>
41162 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
41163 _PC_PIPE_BUF handling.
41165 2011-04-30 Bruno Haible <bruno@clisp.org>
41168 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
41169 * resolv/netdb.h (getnameinfo): Change type of flags parameter
41171 * inet/getnameinfo.c (getnameinfo): Likewise.
41173 2011-04-29 Ulrich Drepper <drepper@gmail.com>
41175 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
41176 to groups setting in database lookup.
41177 * nss/nsswitch.conf: Add initgroups entry.
41179 2011-04-22 Ulrich Drepper <drepper@gmail.com>
41182 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
41184 Patch by Eric Blake <eblake@redhat.com>.
41186 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
41188 * sunrpc/Makefile (need-export-routines): Add svc_run.
41189 (routines): Remove svc_run.
41190 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
41191 * sunrpc/clnt_perr.c (clnt_perrno): Export.
41192 * sunrpc/svc_run.c (svc_run): Likewise.
41193 * sunrpc/svc_udp.c (svcudp_create): Likewise.
41195 2011-04-21 Ulrich Drepper <drepper@gmail.com>
41197 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
41198 problem in reallocation in last patch.
41200 2011-04-20 Ulrich Drepper <drepper@gmail.com>
41202 * sunrpc/Makefile: Move inclusion of Rules.
41204 2011-04-19 Ulrich Drepper <drepper@gmail.com>
41206 * nss/nss_files/files-initgroups.c: New file.
41207 * nss/Makefile (libnss_files-routines): Add files-initgroups.
41208 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
41209 _nss_files_initgroups_dyn.
41211 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
41213 * elf/elf.h (R_ARM_IRELATIVE): Define.
41215 2011-04-19 Ulrich Drepper <drepper@gmail.com>
41217 * po/ru.po: Update from translation team.
41219 2011-04-17 Ulrich Drepper <drepper@gmail.com>
41221 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
41224 2011-02-06 Mike Frysinger <vapier@gentoo.org>
41227 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
41228 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
41229 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
41230 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
41231 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
41233 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
41235 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
41237 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
41238 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
41239 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
41241 2011-04-17 Ulrich Drepper <drepper@gmail.com>
41244 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
41246 * stdlib/bug-getcontext.c: New file.
41247 * stdlib/Makefile: Add rules to build and run bug-getcontext.
41249 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41251 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
41252 instructions into .machine "z9-109".
41253 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
41254 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
41256 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41258 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
41259 between environment variables and auxiliary vector.
41261 2011-04-16 Ulrich Drepper <drepper@gmail.com>
41263 * Makefile: Add rules to build linkobj/libc.so.
41264 * include/libc-symbols.h: Define libc_hidden_nolink.
41265 * include/rpc/auth.h: Mark functions which are to be hidden.
41266 * include/rpc/auth_des.h: Likewise.
41267 * include/rpc/auth_unix.h: Likewise.
41268 * include/rpc/clnt.h: Likewise.
41269 * include/rpc/des_crypt.h: Likewise.
41270 * include/rpc/key_prot.h: Likewise.
41271 * include/rpc/pmap_clnt.h: Likewise.
41272 * include/rpc/pmap_prot.h: Likewise.
41273 * include/rpc/pmap_rmt.h: Likewise.
41274 * include/rpc/rpc_msg.h: Likewise.
41275 * include/rpc/svc.h: Likewise.
41276 * include/rpc/svc_auth.h: Likewise.
41277 * include/rpc/xdr.h: Likewise.
41278 * nis/Makefile: Link all DSOs against linkobj/libc.so.
41279 * nss/Makefile: Likewise.
41280 * sunrpc/Makefile: Don't install headers. Build library with normal
41281 entry points. Don't build rpcinfo. Link RPC tests appropriately.
41282 * sunrpc/auth_des.c: Hide exported symbols by default, export some
41283 for the compat linking library. Remove use of INTDEF/INTUSE.
41284 * sunrpc/auth_none.c: Likewise.
41285 * sunrpc/auth_unix.c: Likewise.
41286 * sunrpc/authdes_prot.c: Likewise.
41287 * sunrpc/authuxprot.c: Likewise.
41288 * sunrpc/clnt_gen.c: Likewise.
41289 * sunrpc/clnt_perr.c: Likewise.
41290 * sunrpc/clnt_raw.c: Likewise.
41291 * sunrpc/clnt_simp.c: Likewise.
41292 * sunrpc/clnt_tcp.c: Likewise.
41293 * sunrpc/clnt_udp.c: Likewise.
41294 * sunrpc/clnt_unix.c: Likewise.
41295 * sunrpc/des_crypt.c: Likewise.
41296 * sunrpc/des_soft.c: Likewise.
41297 * sunrpc/get_myaddr.c: Likewise.
41298 * sunrpc/key_call.c: Likewise.
41299 * sunrpc/key_prot.c: Likewise.
41300 * sunrpc/netname.c: Likewise.
41301 * sunrpc/pm_getmaps.c: Likewise.
41302 * sunrpc/pm_getport.c: Likewise.
41303 * sunrpc/pmap_clnt.c: Likewise.
41304 * sunrpc/pmap_prot.c: Likewise.
41305 * sunrpc/pmap_prot2.c: Likewise.
41306 * sunrpc/pmap_rmt.c: Likewise.
41307 * sunrpc/publickey.c: Likewise.
41308 * sunrpc/rpc_cmsg.c: Likewise.
41309 * sunrpc/rpc_common.c: Likewise.
41310 * sunrpc/rpc_dtable.c: Likewise.
41311 * sunrpc/rpc_prot.c: Likewise.
41312 * sunrpc/rpc_thread.c: Likewise.
41313 * sunrpc/rtime.c: Likewise.
41314 * sunrpc/svc.c: Likewise.
41315 * sunrpc/svc_auth.c: Likewise.
41316 * sunrpc/svc_authux.c: Likewise.
41317 * sunrpc/svc_raw.c: Likewise.
41318 * sunrpc/svc_run.c: Likewise.
41319 * sunrpc/svc_simple.c: Likewise.
41320 * sunrpc/svc_tcp.c: Likewise.
41321 * sunrpc/svc_udp.c: Likewise.
41322 * sunrpc/svc_unix.c: Likewise.
41323 * sunrpc/svcauth_des.c: Likewise.
41324 * sunrpc/xcrypt.c: Likewise.
41325 * sunrpc/xdr.c: Likewise.
41326 * sunrpc/xdr_array.c: Likewise.
41327 * sunrpc/xdr_float.c: Likewise.
41328 * sunrpc/xdr_intXX_t.c: Likewise.
41329 * sunrpc/xdr_mem.c: Likewise.
41330 * sunrpc/xdr_rec.c: Likewise.
41331 * sunrpc/xdr_ref.c: Likewise.
41332 * sunrpc/xdr_sizeof.c: Likewise.
41333 * sunrpc/xdr_stdio.c: Likewise.
41335 2011-04-10 Ulrich Drepper <drepper@gmail.com>
41338 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
41339 * sysdeps/ia64/dl-tls.h: Likewise.
41340 * sysdeps/powerpc/dl-tls.h: Likewise.
41341 * sysdeps/s390/dl-tls.h: Likewise.
41342 * sysdeps/sh/dl-tls.h: Likewise.
41343 * sysdeps/sparc/dl-tls.h: Likewise.
41344 * sysdeps/x86_64/dl-tls.h: Likewise.
41345 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
41347 2011-03-14 Andreas Schwab <schwab@redhat.com>
41349 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
41350 rpath element also skip the following colon.
41351 (expand_dynamic_string_token): Add is_path parameter and pass
41352 down to DL_DST_REQUIRED and _dl_dst_substitute.
41353 (decompose_rpath): Call expand_dynamic_string_token with
41354 non-zero is_path. Ignore empty rpaths.
41355 (_dl_map_object_from_fd): Call expand_dynamic_string_token
41358 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
41360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
41363 2011-04-09 Ulrich Drepper <drepper@gmail.com>
41366 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
41367 Patch by Filipe David Manana <fdmanana@apache.org>.
41369 2011-04-07 Andreas Schwab <schwab@redhat.com>
41371 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
41372 Maintain aligned stack.
41373 (CHECK_RSP): Remove unused macro.
41375 2011-04-03 Ulrich Drepper <drepper@gmail.com>
41377 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
41378 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
41380 2011-04-02 Ulrich Drepper <drepper@gmail.com>
41382 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
41384 * include/features.h: Mention __USE_XOPEN2K8 in comment.
41386 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
41389 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
41390 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
41391 * sysdeps/x86_64/memmove.c: New file.
41392 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
41393 (memcpy): Renamed to ...
41394 (__new_memcpy): This.
41395 (memcpy): Provide GLIBC_2_14 memcpy.
41396 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
41397 (memcpy): Provide GLIBC_2_2_5 memcpy.
41399 2011-04-01 Ulrich Drepper <drepper@gmail.com>
41402 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
41404 2011-03-30 Andreas Schwab <schwab@redhat.com>
41406 * misc/syncfs.c: New file.
41407 * misc/Makefile (routines): Add syncfs.
41408 * posix/unistd.h: Declare syncfs.
41409 * sysdeps/unix/syscalls.list: Add syncfs.
41411 2011-04-01 Andreas Schwab <schwab@redhat.com>
41413 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
41415 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
41416 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41417 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41418 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41419 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41420 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
41421 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41423 2011-04-01 Ulrich Drepper <drepper@gmail.com>
41425 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
41426 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41427 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
41428 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41429 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41430 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41431 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41433 * io/Makefile: Compile fallocate.c, fallocate64.c, and
41434 sync_file_range.c with -fexceptions.
41435 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
41436 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
41437 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
41438 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
41439 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
41440 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
41441 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
41442 sync_file_range as cancellation point
41443 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
41444 now a wrapper around __call_sync_file_range with cancellation handling.
41445 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
41446 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
41447 function name to __call_sync_file_range.
41448 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
41449 Add call_sync_file_range.
41451 2011-04-01 Andreas Schwab <schwab@redhat.com>
41453 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41456 2011-04-01 Ulrich Drepper <drepper@gmail.com>
41458 * iconv/iconv.h: Fix typo in comment.
41459 * io/fcntl.h: Likewise.
41460 * libio/stdio.h: Likewise.
41461 * posix/spawn.h: Likewise.
41462 * posix/unistd.h: Likewise.
41463 * stdlib/stdlib.h: Likewise.
41464 * time/time.h: Likewise.
41465 * wcsmbs/wchar.h: Likewise.
41467 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
41468 open_by_handle): Add.
41469 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
41470 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
41471 Augment a few comments.
41472 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41473 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41474 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41475 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41476 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41477 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
41480 * io/fcntl.h (AT_EMPTY_PATH): Define.
41482 2011-03-30 Ulrich Drepper <drepper@gmail.com>
41484 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
41485 * sysdeps/unix/sysv/linux/bits/time.h: New file.
41486 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
41488 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
41489 * Versions.def: Add GLIBC_2.14.
41490 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
41493 2011-03-22 Ulrich Drepper <drepper@gmail.com>
41495 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
41497 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
41499 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
41502 * string/test-strncmp.c (do_page_test): New function.
41503 (check2): Likewise.
41504 (test_main): Call check2.
41505 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
41507 2011-03-20 Ulrich Drepper <drepper@gmail.com>
41510 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
41511 Handle cache information in CPU leaf 4.
41512 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
41514 2011-03-18 Ulrich Drepper <drepper@gmail.com>
41517 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
41518 character representation.
41519 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
41521 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
41523 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
41524 END(__isnan) to END(__isnanf) to match function entry point/label
41525 EALIGN(__isnanf,...).
41527 2011-03-10 Jakub Jelinek <jakub@redhat.com>
41529 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
41531 2011-03-10 Ulrich Drepper <drepper@gmail.com>
41534 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
41535 copy from the symbol referenced in the relocation to initialize the
41537 Patch by Piotr Bury <pbury@goahead.com>.
41538 * elf/Makefile: Add rules to build and tst-unique3.
41539 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
41540 * elf/tst-unique3.cc: New file.
41541 * elf/tst-unique3.h: New file.
41542 * elf/tst-unique3lib.cc: New file.
41543 * elf/tst-unique3lib2.cc: New file.
41545 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
41547 2011-03-10 Mike Frysinger <vapier@gentoo.org>
41549 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
41550 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
41553 2011-03-06 Ulrich Drepper <drepper@gmail.com>
41555 * elf/dl-load.c (_dl_map_object): If we are looking for the first
41556 to-be-loaded object along a path to loader is ld.so.
41558 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
41559 Ulrich Drepper <drepper@gmail.com>
41561 * sysdeps/x86_64/memset.S: After aligning destination, code
41562 branches to different locations depending on the value of
41563 misalignment, when multiarch is enabled. Fix this.
41565 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
41567 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
41568 Set _x86_64_preferred_memory_instruction for AMD processsors.
41569 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41570 Set bit_Prefer_SSE_for_memop for AMD processors.
41572 2011-03-04 Ulrich Drepper <drepper@gmail.com>
41574 * libio/fmemopen.c (fmemopen): Optimize a bit.
41576 2011-03-03 Andreas Schwab <schwab@redhat.com>
41578 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
41580 2011-03-03 Roland McGrath <roland@redhat.com>
41582 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
41584 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
41586 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
41587 __bzero_ultra1 instead of __memset_ultra1.
41589 2011-02-23 Andreas Schwab <schwab@redhat.com>
41590 Ulrich Drepper <drepper@gmail.com>
41593 * include/link.h (struct link_map): Add l_orig_initfini.
41594 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
41595 returning unsuccessfully.
41596 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
41597 close of a file loaded at startup, restore the original l_initfini
41599 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
41600 list, store the pointer.
41601 * elf/Makefile ($(objpfx)noload-mem): New rule.
41602 (noload-ENV): Define.
41603 (tests): Add $(objpfx)noload-mem.
41604 * elf/noload.c: Include <memcheck.h>.
41605 (main): Call mtrace. Close all opened handles.
41607 2011-02-17 Andreas Schwab <schwab@redhat.com>
41610 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
41611 dependencies are missing.
41613 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
41615 Fix __if_freereq crash: Unlike the generic version which uses free,
41617 * sysdeps/mach/hurd/ifreq.h: New file.
41619 2011-01-27 Petr Baudis <pasky@suse.cz>
41620 Ulrich Drepper <drepper@gmail.com>
41623 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
41624 to extend_alloca().
41625 * stdio-common/bug23.c: New file.
41626 * stdio-common/Makefile (tests): Add bug23.
41628 2010-09-28 Andreas Schwab <schwab@redhat.com>
41629 Ulrich Drepper <drepper@gmail.com>
41632 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
41633 before performing relro protection. At old place add assertion
41634 to make sure nothing changed.
41636 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
41637 Glauber de Oliveira Costa <glommer@gmail.com>
41639 * elf/elf.h: Add new ARM TLS relocs.
41641 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
41643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
41644 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
41646 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
41648 * sysdeps/wordsize-64/tst-writev.c: New file.
41650 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
41652 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
41653 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
41654 insns in _dl_start to prevent a TOC reference before relocs are
41657 2011-02-15 Ulrich Drepper <drepper@gmail.com>
41660 * Makeconfig: Remove RANLIB definition.
41661 * Makerules: Don't use RANLIB.
41662 * aclocal.m4: Remove ranlib test.
41663 * configure.in: No need to check for ranlib.
41664 * elf/rtld-Rules: Don't use RANLIB.
41666 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
41668 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
41670 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
41671 inclusion protection macro.
41673 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
41674 SIGRTMIN and SIGRTMAX and print information in that case only when
41675 SIGRTMIN is defined.
41677 2011-02-11 Jakub Jelinek <jakub@redhat.com>
41679 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
41680 arginfo fn returning -1.
41682 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
41683 and thousands string is zero terminated.
41685 2011-02-03 Andreas Schwab <schwab@redhat.com>
41687 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
41688 sysdeps/unix/sysv/linux/bits/socket.h.
41690 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
41692 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
41693 (__CPU_COUNT): Remove old macros.
41694 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
41695 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
41696 (__CPU_ALLOC, __CPU_FREE): Add macros.
41697 (__sched_cpualloc, __sched_cpufree): Add declarations.
41699 2011-02-05 Ulrich Drepper <drepper@gmail.com>
41701 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
41702 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
41703 * nscd/aicache.c (addhstaiX): Return timeout of added value.
41704 (readdhstai): Return value of addhstaiX call.
41705 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
41706 (addgrbyX): Return value returned by cache_addgr.
41707 (readdgrbyname): Return value returned by addgrbyX.
41708 (readdgrbygid): Likewise.
41709 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
41710 (addpwbyX): Return value returned by cache_addpw.
41711 (readdpwbyname): Return value returned by addhstbyX.
41712 (readdpwbyuid): Likewise.
41713 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
41714 (addservbyX): Return value returned by cache_addserv.
41715 (readdservbyname): Return value returned by addservbyX:
41716 (readdservbyport): Likewise.
41717 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
41718 (addhstbyX): Return value returned by cache_addhst.
41719 (readdhstbyname): Return value returned by addhstbyX.
41720 (readdhstbyaddr): Likewise.
41721 (readdhstbynamev6): Likewise.
41722 (readdhstbyaddrv6): Likewise.
41723 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
41724 (readdinitgroups): Return value returned by addinitgroupsX.
41725 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
41726 (prune_cache): Keep track of timeout value of re-added entries.
41727 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
41728 * nscd/nscd.h: Adjust prototypes of readd* functions.
41730 2011-02-04 Roland McGrath <roland@redhat.com>
41732 * nis/nis_server.c (nis_servstate): Use the right name for 0.
41733 (nis_stats): Likewise.
41734 * nis/nis_modify.c (nis_modify): Likewise.
41735 * nis/nis_remove.c (nis_remove): Likewise.
41736 * nis/nis_add.c (nis_add): Likewise.
41738 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
41740 * posix/fnmatch_loop.c: Add some consts.
41742 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
41744 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
41747 * config.make.in (config-cflags-novzeroupper): Define.
41748 * configure.in: Substitute libc_cv_cc_novzeroupper.
41749 * elf/Makefile (AVX-CFLAGS): Define.
41750 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
41751 (CFLAGS-tst-auditmod4a.c): Likewise.
41752 (CFLAGS-tst-auditmod4b.c): Likewise.
41753 (CFLAGS-tst-auditmod6b.c): Likewise.
41754 (CFLAGS-tst-auditmod6c.c): Likewise.
41755 (CFLAGS-tst-auditmod7b.c): Likewise.
41756 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
41758 2011-02-02 Ulrich Drepper <drepper@gmail.com>
41760 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
41761 function to the callback.
41762 Patch partly by Jiri Olsa <jolsa@redhat.com>.
41764 2011-02-02 Andreas Schwab <schwab@redhat.com>
41766 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
41769 2011-01-19 Ulrich Drepper <drepper@gmail.com>
41772 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
41774 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
41776 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
41779 * elf/Makefile: Add rules to build and run new test.
41780 * elf/tst-initorder.c: New file.
41781 * elf/tst-initorder.exp: New file.
41782 * elf/tst-initordera1.c: New file.
41783 * elf/tst-initordera2.c: New file.
41784 * elf/tst-initordera3.c: New file.
41785 * elf/tst-initordera4.c: New file.
41786 * elf/tst-initorderb1.c: New file.
41787 * elf/tst-initorderb2.c: New file.
41788 * elf/tst-order-a1.c: New file.
41789 * elf/tst-order-a2.c: New file.
41790 * elf/tst-order-a3.c: New file.
41791 * elf/tst-order-a4.c: New file.
41792 * elf/tst-order-b1.c: New file.
41793 * elf/tst-order-b2.c: New file.
41794 * elf/tst-order-main.c: New file.
41795 New test case by George Gensure <werkt0@gmail.com>.
41797 2010-10-01 Andreas Schwab <schwab@redhat.com>
41799 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
41800 decoding ACE if AI_CANONIDN.
41802 2011-01-18 Ulrich Drepper <drepper@gmail.com>
41804 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
41806 2011-01-17 Ulrich Drepper <drepper@gmail.com>
41808 * version.h (RELEASE): Bump for 2.13 release.
41809 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
41811 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
41813 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
41815 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
41816 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
41817 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
41818 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
41819 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
41820 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
41822 * posix/getconf.c: Update copyright year.
41823 * catgets/gencat.c: Likewise.
41824 * csu/version.c: Likewise.
41825 * debug/catchsegv.sh: Likewise.
41826 * debug/xtrace.sh: Likewise.
41827 * elf/ldconfig.c: Likewise.
41828 * elf/ldd.bash.in: Likewise.
41829 * elf/sprof.c (print_version): Likewise.
41830 * iconv/iconv_prog.c: Likewise.
41831 * iconv/iconvconfig.c: Likewise.
41832 * locale/programs/locale.c: Likewise.
41833 * locale/programs/localedef.c: Likewise.
41834 * malloc/memusage.sh: Likewise.
41835 * malloc/mtrace.pl: Likewise.
41836 * nscd/nscd.c (print_version): Likewise.
41837 * nss/getent.c: Likewise.
41839 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
41840 PF_CAIF, and PF_ALG.
41841 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41843 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
41845 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
41846 (modules-names): Use them.
41847 (ifunc-test-modules, ifunc-pie-tests): Define.
41848 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
41849 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
41850 (test-extras): Likewise.
41851 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
41852 $(compile-command.c).
41853 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
41854 (all-built-dso): Define.
41855 (check-textrel.out, check-execstack.out): Depend on it.
41857 * configure.in: Don't override --enable-multi-arch.
41859 2011-01-15 Ulrich Drepper <drepper@gmail.com>
41862 * nscd/hstcache.c (tryagain): Define.
41863 (cache_addhst): Return tryagain not notfound for temporary errors.
41864 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
41867 2011-01-14 Ulrich Drepper <drepper@gmail.com>
41870 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
41871 to make the syscall.
41872 * sysdeps/unix/sysv/linux/setgroups.c: New file.
41875 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
41876 and fall back to matching as normal character if the string ends before
41877 the matching ']' is found. This is what POSIX requires.
41878 * posix/testfnm.c: Adjust test result.
41879 * posix/globtest.sh: Adjust test result. Add new test.
41880 * posix/tst-fnmatch.input: Likewise.
41881 * posix/tst-fnmatch2.c: Add new test.
41883 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
41885 * elf/Makefile (check-execstack): Revert last change. Depend on
41887 (check-execstack.h): New target.
41888 (generated): Add check-execstack.h.
41889 * elf/check-execstack.c: Include "check-execstack.h".
41890 (main): Revert last change.
41891 (handle_file): Return zero if GNU_STACK is absent and
41892 DEFAULT_STACK_PERMS doesn't include PF_X.
41894 2011-01-13 Ulrich Drepper <drepper@gmail.com>
41896 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
41897 in child fails because the descriptor is already closed.
41898 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
41899 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
41900 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
41903 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
41907 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
41908 temporary buffer used to handle multi lookups locally.
41909 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
41911 2011-01-12 Ulrich Drepper <drepper@gmail.com>
41913 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
41916 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
41918 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
41919 alignment for SSE2.
41921 2011-01-12 Ulrich Drepper <drepper@gmail.com>
41924 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
41925 characters. When rounding increased number of integer digits recompute
41927 * stdio-common/tst-grouping.c: New file.
41928 * stdio-common/Makefile: Add rules to build and run tst-grouping.
41930 2011-01-09 Ulrich Drepper <drepper@gmail.com>
41932 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
41933 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
41935 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
41937 * bits/select.h: Likewise.
41939 2011-01-08 Ulrich Drepper <drepper@gmail.com>
41941 * po/ja.po: Update from translation team.
41943 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
41946 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
41947 implementation just like for lxstat, fxstatat, et al.
41949 2010-12-27 Jim Meyering <meyering@redhat.com>
41952 * posix/regexec.c (build_trtable): Return failure indication upon
41953 calloc failure. Otherwise, re_search_internal could infloop on OOM.
41955 2010-12-25 Ulrich Drepper <drepper@gmail.com>
41958 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
41959 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
41960 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
41961 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
41964 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
41967 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
41968 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
41970 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
41972 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
41973 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
41974 script has SORT_BY_INIT_PRIORITY.
41975 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
41976 NO_CTORS_DTORS_SECTIONS is defined.
41977 * elf/soinit.c: Likewise.
41978 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
41979 NO_CTORS_DTORS_SECTIONS is defined.
41980 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
41981 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
41982 * sysdeps/sh/init-first.c: Likewise.
41983 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
41985 2010-12-24 Ulrich Drepper <drepper@gmail.com>
41987 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
41988 always use the slow path.
41990 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
41992 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
41993 similar rule which adds the sysdep directories to the header search in
41994 order to pick up the correct platform stackinfo.h.
41995 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
41996 perform test if it is, otherwise return successfully without testing.
41997 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
41998 DEFAULT_STACK_PERMS define in stackinfo.h.
41999 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
42000 defined in stackinfo.h.
42001 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
42002 DEFAULT_STACK_PERMS defined in stackinfo.h.
42003 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
42004 * sysdeps/ia64/stackinfo.h: Likewise.
42005 * sysdeps/s390/stackinfo.h: Likewise.
42006 * sysdeps/sh/stackinfo.h: Likewise.
42007 * sysdeps/sparc/stackinfo.h: Likewise.
42008 * sysdeps/x86_64/stackinfo.h: Likewise.
42009 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
42010 PF_X for powerpc64. Retain PF_X for powerpc32.
42012 2010-12-19 Ulrich Drepper <drepper@gmail.com>
42014 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
42016 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
42017 GETDENTS_64BIT_ALIGNED.
42019 2010-12-14 Ulrich Drepper <dreper@gmail.com>
42021 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
42023 2010-12-10 Andreas Schwab <schwab@redhat.com>
42025 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
42028 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
42029 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
42031 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
42032 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
42034 2010-12-09 Ulrich Drepper <drepper@gmail.com>
42037 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
42040 2010-12-09 Jakub Jelinek <jakub@redhat.com>
42042 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
42044 2010-12-03 Ulrich Drepper <drepper@gmail.com>
42046 * po/it.po: Update from translation team.
42048 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
42050 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
42053 2010-11-30 Ulrich Drepper <drepper@gmail.com>
42055 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
42057 2010-11-24 Andreas Schwab <schwab@redhat.com>
42059 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
42061 (gaih_getanswer_slice): Likewise.
42063 2010-10-20 Jakub Jelinek <jakub@redhat.com>
42065 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
42067 2010-05-31 Petr Baudis <pasky@suse.cz>
42070 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
42071 silently even in the chroot mode.
42073 2010-11-22 Ulrich Drepper <drepper@gmail.com>
42075 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
42076 last patch a bit. Pretty printing
42078 2010-05-31 Petr Baudis <pasky@suse.cz>
42081 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
42082 initialization of skip_initgroups_dyn.
42084 2010-11-19 Ulrich Drepper <drepper@gmail.com>
42086 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
42087 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
42089 2010-11-16 Ulrich Drepper <drepper@gmail.com>
42091 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
42093 2010-11-11 Andreas Schwab <schwab@redhat.com>
42095 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
42096 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
42097 (tst-fnmatch-ENV): Set MALLOC_TRACE.
42098 ($(objpfx)tst-fnmatch-mem): New rule.
42099 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
42100 * posix/tst-fnmatch.c (main): Call mtrace.
42102 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
42104 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42105 Support Intel processor model 6 and model 0x2c.
42107 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
42109 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
42112 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
42115 * string/test-strncasecmp.c (check_result): New function.
42116 (do_one_test): Use it.
42117 (check1): New function.
42118 (test_main): Use it.
42119 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
42120 Support strcasecmp and strncasecmp.
42122 2010-11-08 Ulrich Drepper <drepper@gmail.com>
42125 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
42126 * sysdeps/x86_64/bits/byteswap.h: Likewise.
42128 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
42130 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
42132 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42134 * sysdeps/x86_64/multiarch/bzero.S: New file.
42135 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
42136 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
42137 * sysdeps/x86_64/multiarch/memset.S: New file.
42138 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
42139 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42140 Set bit_Prefer_SSE_for_memop for Intel processors.
42141 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
42143 (index_Prefer_SSE_for_memop): Define.
42144 (HAS_PREFER_SSE_FOR_MEMOP): Define.
42146 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
42148 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
42149 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
42151 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
42154 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
42155 (__x86_64_raw_data_cache_size_half): Likewise.
42156 (__x86_64_raw_shared_cache_size): Likewise.
42157 (__x86_64_raw_shared_cache_size_half): Likewise.
42159 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
42160 (__x86_64_raw_data_cache_size_half): Likewise.
42161 (__x86_64_raw_shared_cache_size): Likewise.
42162 (__x86_64_raw_shared_cache_size_half): Likewise.
42163 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
42164 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
42165 and __x86_64_raw_shared_cache_size_half. Round
42166 __x86_64_data_cache_size_half, __x86_64_data_cache_size
42167 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
42168 to multiple of 256 bytes.
42170 2010-11-03 Ulrich Drepper <drepper@gmail.com>
42173 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
42174 of inacessible symlinks. Verify result of symlink before returning it.
42175 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
42176 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
42178 2010-10-28 Erich Ritz <erichritz@gmail.com>
42180 * math/math.h (isinf): Fix typo in comment.
42182 2010-11-01 Ulrich Drepper <drepper@gmail.com>
42184 * po/da.po: Update from translation team.
42186 2010-10-26 Ulrich Drepper <drepper@gmail.com>
42188 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
42189 is added to the list.
42191 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42192 Ulrich Drepper <drepper@gmail.com>
42194 * elf/dl-object.c (_dl_new_object): Don't append the new object to
42195 the global list here. Move code to...
42196 (_dl_add_to_namespace_list): ...here. New function.
42197 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
42198 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
42199 * elf/dl-load.c (lose): Don't remove the element from the list.
42200 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
42201 (_dl_map_object): Likewise.
42203 2010-10-25 Ulrich Drepper <drepper@gmail.com>
42206 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
42207 into all bytes of SSE register.
42208 Patch by Richard Li <richardpku@gmail.com>.
42210 2010-10-24 Ulrich Drepper <drepper@gmail.com>
42213 * malloc/malloc.c (_int_free): Fill correct number of bytes when
42216 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
42218 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
42219 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
42220 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
42221 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
42222 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
42224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
42226 2010-10-22 Andreas Schwab <schwab@redhat.com>
42228 * include/dlfcn.h (__RTLD_SECURE): Define.
42229 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
42230 mode & __RTLD_SECURE instead.
42231 (open_path): Rename preloaded parameter to secure.
42232 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
42233 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
42234 * elf/dl-deps.c (openaux): Likewise.
42235 * elf/rtld.c (struct map_args): Remove is_preloaded.
42236 (map_doit): Don't use it.
42237 (dl_main): Likewise.
42238 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
42239 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
42241 2010-09-09 Andreas Schwab <schwab@redhat.com>
42243 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
42244 (sysd-rules-targets): Remove duplicates.
42245 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
42246 rtld-%.$o dependency.
42248 2010-10-18 Andreas Schwab <schwab@redhat.com>
42250 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
42251 _dl_map_object do it.
42253 2010-10-19 Ulrich Drepper <drepper@gmail.com>
42255 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
42256 fast fma builtins, define the macros in the C99 standard.
42257 (FP_FAST_FMAF): Likewise.
42258 (FP_FAST_FMAL): Likewise.
42259 * sysdeps/x86_64/bits/mathdef.h: Likewise.
42261 * bits/mathdef.h: Update copyright year.
42262 * sysdeps/powerpc/bits/mathdef.h: Likewise.
42264 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
42266 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
42267 builtins, define the macros in the C99 standard.
42268 (FP_FAST_FMAF): Likewise.
42269 (FP_FAST_FMAL): Likewise.
42270 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
42272 (FP_FAST_FMAF): Likewise.
42274 2010-10-15 Jakub Jelinek <jakub@redhat.com>
42277 * math/libm-test.inc (fma_test): Some new testcases.
42278 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
42279 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
42280 y and infinite z. Do multiplication by C already in long double.
42281 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
42282 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
42283 y and infinite z. Do bitwise or of inexact bit into u.d.
42284 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
42285 * sysdeps/i386/fpu/s_fmaf.S: Removed.
42286 * sysdeps/i386/fpu/s_fma.S: Removed.
42287 * sysdeps/i386/fpu/s_fmal.S: Removed.
42289 2010-10-16 Jakub Jelinek <jakub@redhat.com>
42292 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
42293 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
42294 computation is not scheduled after fetestexcept. Fix value
42295 of minimum denormal long double.
42297 2010-10-14 Jakub Jelinek <jakub@redhat.com>
42300 * math/libm-test.inc (fma_test): Add some more tests.
42301 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
42304 2010-10-15 Andreas Schwab <schwab@redhat.com>
42306 * scripts/data/localplt-s390-linux-gnu.data: New file.
42307 * scripts/data/localplt-s390x-linux-gnu.data: New file.
42309 2010-10-13 Jakub Jelinek <jakub@redhat.com>
42312 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
42313 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
42315 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
42317 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
42318 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
42319 if one of x and y is very large and the other is subnormal.
42320 * sysdeps/s390/fpu/s_fmaf.c: New file.
42321 * sysdeps/s390/fpu/s_fma.c: New file.
42322 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
42323 * sysdeps/powerpc/fpu/s_fma.S: New file.
42324 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
42325 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
42326 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
42328 2010-10-12 Jakub Jelinek <jakub@redhat.com>
42331 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
42333 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
42334 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
42335 * sysdeps/i386/i686/multiarch/s_fma.c: Include
42336 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
42337 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
42338 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
42339 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
42341 2010-10-12 Ulrich Drepper <drepper@redhat.com>
42344 * posix/regcomp.c (parse_branch): One more memory leak plugged.
42345 * posix/bug-regex31.input: Add test case.
42347 2010-10-11 Ulrich Drepper <drepper@gmail.com>
42349 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
42350 * posix/bug-regex31.input: New file.
42353 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
42354 (parse_sub_exp): Fix last change, use postorder.
42356 * posix/bug-regex31.c: New file.
42357 * posix/Makefile: Add rules to build and run bug-regex31.
42359 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
42362 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
42365 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
42366 to have entries in sys_siglist.
42369 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
42372 2010-10-07 Jakub Jelinek <jakub@redhat.com>
42375 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
42376 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
42377 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
42378 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
42379 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
42380 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
42381 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
42382 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
42383 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
42384 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
42385 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
42386 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
42387 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
42388 * math/ftestexcept.c (fetestexcept): Likewise.
42389 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
42390 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
42391 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
42392 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
42393 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
42394 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
42395 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
42397 2010-10-11 Ulrich Drepper <drepper@gmail.com>
42400 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
42403 2010-10-06 Ulrich Drepper <drepper@gmail.com>
42405 * string/bug-strstr1.c: New file.
42406 * string/Makefile: Add rules to build and run bug-strstr1.
42408 2010-10-05 Eric Blake <eblake@redhat.com>
42411 * string/str-two-way.h (two_way_long_needle): Always clear memory
42412 when skipping input due to the shift table.
42414 2010-10-03 Ulrich Drepper <drepper@gmail.com>
42417 * malloc/mcheck.c: Handle large requests.
42420 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
42421 for strncmp and strncasecmp.
42422 * string/stratcliff.c: Add tests for strcmp and strncmp.
42423 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
42425 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
42427 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
42430 2010-09-30 Andreas Jaeger <aj@suse.de>
42432 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
42433 (CGROUP_SUPER_MAGIC): Define.
42434 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42435 Handle btrfs and cgroup file systems.
42436 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
42439 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
42441 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
42442 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
42444 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42447 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
42448 trying to locate the ELF header.
42450 2010-09-27 Andreas Schwab <schwab@redhat.com>
42453 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
42454 Mask out sign-bit copies when constructing f_fsid.
42456 2010-09-24 Petr Baudis <pasky@suse.cz>
42458 * debug/stack_chk_fail_local.c: Add missing licence exception.
42459 * debug/warning-nop.c: Likewise.
42461 2010-09-15 Joseph Myers <joseph@codesourcery.com>
42463 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
42464 implementing getdents64 using getdents syscall, set d_type if
42465 __ASSUME_GETDENTS32_D_TYPE.
42467 2010-09-16 Andreas Schwab <schwab@redhat.com>
42469 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
42470 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
42472 2010-09-21 Ulrich Drepper <drepper@redhat.com>
42475 * posix/unistd.h: Undo change of feature selection for ftruncate from
42478 2010-09-20 Ulrich Drepper <drepper@redhat.com>
42480 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
42483 2010-09-20 Andreas Schwab <schwab@redhat.com>
42485 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
42487 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
42489 2010-09-14 Andreas Schwab <schwab@redhat.com>
42491 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
42492 variables after CHECK_SP call.
42493 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
42495 2010-09-13 Andreas Schwab <schwab@redhat.com>
42496 Ulrich Drepper <drepper@redhat.com>
42498 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
42499 re-relocationg ld.so.
42500 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
42501 _dl_init_paths call.
42502 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
42505 2010-09-14 Ulrich Drepper <drepper@redhat.com>
42507 * resolv/res_init.c (__res_vinit): Count the default server we added.
42509 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
42510 Ulrich Drepper <drepper@redhat.com>
42513 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
42514 (____longjmp_chk): Use %ebx for saving value across system call.
42517 2010-09-06 Andreas Schwab <schwab@redhat.com>
42519 * manual/Makefile: Don't mix pattern rules with normal rules.
42521 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
42523 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
42525 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
42526 * libio/iofopncook.c (_IO_cookie_init): Likewise.
42527 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
42528 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
42529 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42532 2010-09-04 Ulrich Drepper <drepper@redhat.com>
42535 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
42536 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
42538 2010-09-02 Ulrich Drepper <drepper@redhat.com>
42540 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
42541 * sysdeps/x86_64/addmul_1.S: Likewise.
42542 * sysdeps/x86_64/lshift.S: Likewise.
42543 * sysdeps/x86_64/mul_1.S: Likewise.
42544 * sysdeps/x86_64/rshift.S: Likewise.
42545 * sysdeps/x86_64/sub_n.S: Likewise.
42546 * sysdeps/x86_64/submul_1.S: Likewise.
42548 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
42550 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
42551 Define __sched_param instead of SCHED_* and sched_param when
42552 <bits/sched.h> is included with __need_schedparam defined.
42553 * bits/sched.h [__need_schedparam]
42554 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
42555 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
42556 (__defined_schedparam): Define to 1.
42557 (__sched_param): New structure, identical to sched_param.
42558 (__need_schedparam): Undefine.
42560 2010-08-31 Mike Frysinger <vapier@gentoo.org>
42562 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
42563 (epoll_create1): Declare.
42565 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
42567 2010-08-31 Andreas Schwab <schwab@redhat.com>
42570 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
42571 shifting retval into place.
42573 2010-09-01 Ulrich Drepper <drepper@redhat.com>
42575 * nis/rpcsvc/nis.h: Update copyright notice.
42576 * nis/rpcsvc/nis.x: Likewise.
42577 * nis/rpcsvc/nis_callback.h: Likewise.
42578 * nis/rpcsvc/nis_callback.x: Likewise.
42579 * nis/rpcsvc/nis_object.x: Likewise.
42580 * nis/rpcsvc/nis_tags.h: Likewise.
42581 * nis/rpcsvc/yp.h: Likewise.
42582 * nis/rpcsvc/yp.x: Likewise.
42583 * nis/rpcsvc/ypupd.h: Likewise.
42584 * nis/yp_xdr.c: Likewise.
42585 * nis/ypupdate_xdr.c: Likewise.
42587 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
42588 mainly the body of pmap_getport. Add parameters to specify timeouts.
42589 (pmap_getport): Use __libc_rpc_getport.
42590 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
42591 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
42592 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
42594 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
42596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
42599 2010-08-27 Roland McGrath <roland@redhat.com>
42601 * sysdeps/i386/i686/multiarch/Makefile
42602 (CFLAGS-varshift.c): New variable.
42604 2010-08-27 Ulrich Drepper <drepper@redhat.com>
42606 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
42607 * sysdeps/i386/i686/multiarch/varshift.c: New file.
42609 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
42611 * sysdeps/x86_64/strlen.S: Minimal code improvement.
42613 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
42615 * sysdeps/x86_64/strlen.S: Unroll the loop.
42616 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42617 strlen-sse2 strlen-sse2-bsf.
42618 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
42619 __strlen_no_bsf if bit_Slow_BSF is set.
42620 (__strlen_sse42): Removed.
42621 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
42622 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
42624 2010-08-25 Roland McGrath <roland@redhat.com>
42626 * sysdeps/x86_64/multiarch/varshift.S: File removed.
42627 * sysdeps/x86_64/multiarch/varshift.c: New file.
42628 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
42629 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
42630 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
42631 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
42633 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
42635 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42636 strlen-sse2 strlen-sse2-bsf.
42637 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
42638 __strlen_sse2_bsf if bit_Slow_BSF is unset.
42639 (__strlen_sse2): Removed.
42640 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
42641 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
42642 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
42643 bit_Slow_BSF for Atom.
42644 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
42645 (index_Slow_BSF): Define.
42646 (HAS_SLOW_BSF): Define.
42648 2010-08-25 Ulrich Drepper <drepper@redhat.com>
42651 * resolv/res_init.c (__res_vinit): When no server address at all
42652 is given default to loopback.
42654 2010-08-24 Roland McGrath <roland@redhat.com>
42656 * configure.in: Remove config-name.h generation.
42657 * configure: Regenerated.
42658 * config-name.in: File removed.
42659 * scripts/config-uname.sh: New file.
42660 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
42661 ($(objdir)config-name.h): New target.
42663 * sunrpc/rpc_parse.h: Avoid nested comment.
42665 2010-08-24 Richard Henderson <rth@redhat.com>
42666 Ulrich Drepper <drepper@redhat.com>
42667 H.J. Lu <hongjiu.lu@intel.com>
42669 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
42670 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
42671 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
42672 Replace _mm_srli_si128 with __m128i_shift_right. Replace
42673 _mm_alignr_epi8 with _mm_loadu_si128.
42674 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
42675 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
42676 (__m128i_shift_right): Removed.
42677 * sysdeps/i386/i686/multiarch/varshift.h: New file.
42678 * sysdeps/i386/i686/multiarch/varshift.S: New file.
42679 * sysdeps/x86_64/multiarch/varshift.h: New file.
42680 * sysdeps/x86_64/multiarch/varshift.S: New file.
42682 2010-08-21 Mike Frysinger <vapier@gentoo.org>
42684 * configure.in: Move assembler checks to before sysdep dir checking.
42686 2010-08-20 Petr Baudis <pasky@suse.cz>
42688 * LICENSES: Sync the sunrpc license.
42690 2010-08-19 Ulrich Drepper <drepper@redhat.com>
42692 * sunrpc/auth_des.c: Update copyright notice once again.
42693 * sunrpc/auth_none.c: Likewise.
42694 * sunrpc/auth_unix.c: Likewise.
42695 * sunrpc/authdes_prot.c: Likewise.
42696 * sunrpc/authuxprot.c: Likewise.
42697 * sunrpc/bindrsvprt.c: Likewise.
42698 * sunrpc/clnt_gen.c: Likewise.
42699 * sunrpc/clnt_perr.c: Likewise.
42700 * sunrpc/clnt_raw.c: Likewise.
42701 * sunrpc/clnt_simp.c: Likewise.
42702 * sunrpc/clnt_tcp.c: Likewise.
42703 * sunrpc/clnt_udp.c: Likewise.
42704 * sunrpc/clnt_unix.c: Likewise.
42705 * sunrpc/des_crypt.c: Likewise.
42706 * sunrpc/des_soft.c: Likewise.
42707 * sunrpc/get_myaddr.c: Likewise.
42708 * sunrpc/getrpcport.c: Likewise.
42709 * sunrpc/key_call.c: Likewise.
42710 * sunrpc/key_prot.c: Likewise.
42711 * sunrpc/openchild.c: Likewise.
42712 * sunrpc/pm_getmaps.c: Likewise.
42713 * sunrpc/pm_getport.c: Likewise.
42714 * sunrpc/pmap_clnt.c: Likewise.
42715 * sunrpc/pmap_prot.c: Likewise.
42716 * sunrpc/pmap_prot2.c: Likewise.
42717 * sunrpc/pmap_rmt.c: Likewise.
42718 * sunrpc/rpc/auth.h: Likewise.
42719 * sunrpc/rpc/auth_unix.h: Likewise.
42720 * sunrpc/rpc/clnt.h: Likewise.
42721 * sunrpc/rpc/des_crypt.h: Likewise.
42722 * sunrpc/rpc/key_prot.h: Likewise.
42723 * sunrpc/rpc/netdb.h: Likewise.
42724 * sunrpc/rpc/pmap_clnt.h: Likewise.
42725 * sunrpc/rpc/pmap_prot.h: Likewise.
42726 * sunrpc/rpc/pmap_rmt.h: Likewise.
42727 * sunrpc/rpc/rpc.h: Likewise.
42728 * sunrpc/rpc/rpc_des.h: Likewise.
42729 * sunrpc/rpc/rpc_msg.h: Likewise.
42730 * sunrpc/rpc/svc.h: Likewise.
42731 * sunrpc/rpc/svc_auth.h: Likewise.
42732 * sunrpc/rpc/types.h: Likewise.
42733 * sunrpc/rpc/xdr.h: Likewise.
42734 * sunrpc/rpc_clntout.c: Likewise.
42735 * sunrpc/rpc_cmsg.c: Likewise.
42736 * sunrpc/rpc_common.c: Likewise.
42737 * sunrpc/rpc_cout.c: Likewise.
42738 * sunrpc/rpc_dtable.c: Likewise.
42739 * sunrpc/rpc_hout.c: Likewise.
42740 * sunrpc/rpc_main.c: Likewise.
42741 * sunrpc/rpc_parse.c: Likewise.
42742 * sunrpc/rpc_parse.h: Likewise.
42743 * sunrpc/rpc_prot.c: Likewise.
42744 * sunrpc/rpc_sample.c: Likewise.
42745 * sunrpc/rpc_scan.c: Likewise.
42746 * sunrpc/rpc_scan.h: Likewise.
42747 * sunrpc/rpc_svcout.c: Likewise.
42748 * sunrpc/rpc_tblout.c: Likewise.
42749 * sunrpc/rpc_util.c: Likewise.
42750 * sunrpc/rpc_util.h: Likewise.
42751 * sunrpc/rpcinfo.c: Likewise.
42752 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
42753 * sunrpc/rpcsvc/key_prot.x: Likewise.
42754 * sunrpc/rpcsvc/klm_prot.x: Likewise.
42755 * sunrpc/rpcsvc/mount.x: Likewise.
42756 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
42757 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
42758 * sunrpc/rpcsvc/rex.x: Likewise.
42759 * sunrpc/rpcsvc/rstat.x: Likewise.
42760 * sunrpc/rpcsvc/rusers.x: Likewise.
42761 * sunrpc/rpcsvc/sm_inter.x: Likewise.
42762 * sunrpc/rpcsvc/spray.x: Likewise.
42763 * sunrpc/rpcsvc/yppasswd.x: Likewise.
42764 * sunrpc/rtime.c: Likewise.
42765 * sunrpc/svc.c: Likewise.
42766 * sunrpc/svc_auth.c: Likewise.
42767 * sunrpc/svc_authux.c: Likewise.
42768 * sunrpc/svc_raw.c: Likewise.
42769 * sunrpc/svc_run.c: Likewise.
42770 * sunrpc/svc_simple.c: Likewise.
42771 * sunrpc/svc_tcp.c: Likewise.
42772 * sunrpc/svc_udp.c: Likewise.
42773 * sunrpc/svc_unix.c: Likewise.
42774 * sunrpc/svcauth_des.c: Likewise.
42775 * sunrpc/xcrypt.c: Likewise.
42776 * sunrpc/xdr.c: Likewise.
42777 * sunrpc/xdr_array.c: Likewise.
42778 * sunrpc/xdr_float.c: Likewise.
42779 * sunrpc/xdr_mem.c: Likewise.
42780 * sunrpc/xdr_rec.c: Likewise.
42781 * sunrpc/xdr_ref.c: Likewise.
42782 * sunrpc/xdr_sizeof.c: Likewise.
42783 * sunrpc/xdr_stdio.c: Likewise.
42785 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
42788 2010-08-19 Andreas Schwab <schwab@redhat.com>
42790 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
42792 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
42794 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
42795 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
42796 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
42797 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
42798 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
42799 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
42800 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
42801 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
42802 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
42803 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
42804 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
42805 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
42806 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
42807 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
42809 2010-07-26 Anton Blanchard <anton@samba.org>
42811 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
42812 * malloc/arena.c (heap_trim): Likewise.
42814 2010-08-16 Ulrich Drepper <drepper@redhat.com>
42816 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
42818 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
42819 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
42821 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
42823 * sysdeps/i386/elf/Makefile: New file.
42825 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
42827 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
42828 from fanotify_init.
42829 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
42830 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
42832 2010-08-15 Ulrich Drepper <drepper@redhat.com>
42834 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
42836 * sysdeps/multiarch/strcmp.S: Likewise.
42838 2010-08-14 Ulrich Drepper <drepper@redhat.com>
42840 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
42841 strncase_l-nonascii.
42842 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
42843 Add strncase_l-ssse3.
42844 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
42845 * sysdeps/x86_64/strcmp.S: Likewise.
42846 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
42847 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
42848 * sysdeps/x86_64/strncase.S: New file.
42849 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
42850 * sysdeps/x86_64/strncase_l.S: New file.
42851 * string/Makefile (strop-tests): Add strncasecmp.
42852 * string/test-strncasecmp.c: New file.
42854 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
42857 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
42858 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
42860 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
42862 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
42864 2010-08-12 Ulrich Drepper <drepper@redhat.com>
42866 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
42867 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
42868 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
42870 2010-05-01 Alan Modra <amodra@gmail.com>
42872 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
42873 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
42874 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
42875 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
42876 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
42877 tidying. Don't tail-call __sigjmp_save for static lib.
42878 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
42880 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
42881 (CALL_MCOUNT): Add eh info, and nop after bl.
42882 (TAIL_CALL_SYSCALL_ERROR): New macro.
42883 (PSEUDO_RET): Use it.
42884 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
42885 Correct save location of integer regs and cr.
42886 (_dl_profile_resolve): Correct cr save location. Delete nops
42887 after bl when SHARED. Reduce cfi size a little by better
42888 placement of cfi directives.
42889 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
42890 make a stack frame. Instead use parm save area as a temp.
42891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
42892 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
42893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
42894 Don't make a stack frame for parent, use parm save area.
42895 Increase child stack frame to 112 bytes. Don't save unused reg,
42896 and adjust reg usage. Set up cfi on error recovery and
42897 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
42898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
42899 (__makecontext): Add dummy nop after jump to exit.
42900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
42901 Use correct parm save area and cr save, reduce stack frame.
42902 Correct cfi for possible PSEUDO_RET frame setup.
42903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
42904 Branch to local label emitted by PSEUDO_RET rather than
42907 2010-08-12 Andreas Schwab <schwab@redhat.com>
42910 * locale/programs/locale.c (print_assignment): New function.
42911 (show_locale_vars): Use it.
42913 2010-08-11 Ulrich Drepper <drepper@redhat.com>
42915 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
42917 (struct statfs64): Likewise.
42918 (_STATFS_F_FLAGS): Define.
42919 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
42920 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42921 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
42922 (ST_VALID): Define locally.
42923 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
42924 __statvfs_getflags, use the provided value.
42925 * sysdeps/unix/sysv/linux/kernel-features.h: Define
42926 __ASSUME_STATFS_F_FLAGS.
42928 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
42930 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
42931 Add sys/fanotify.h.
42932 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
42933 fanotify_mask for GLIBC_2.13.
42934 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
42935 fanotify_init and fanotify_mark.
42936 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
42937 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
42939 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
42941 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
42942 prlimit64 for GLIBC_2.13.
42943 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
42945 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
42947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
42948 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
42949 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
42950 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
42951 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
42953 * sysdeps/unix/sysv/linux/prlimit.c: New file.
42956 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
42957 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
42959 * nss/Makefile: Add rules to build and run tst-nss-test1.
42960 * shlib-versions: Add entry for libnss_test1.
42961 * nss/nss_test1.c: New file.
42962 * nss/tst-nss-test1.c: New file.
42964 * nss/nsswitch.c (__nss_database_custom): Define new variable.
42965 (__nss_configure_lookup): Set appropriate entry in
42966 __nss_configure_lookup to true.
42967 * nss/nsswitch.h: Define enum with indeces of databases in
42968 databases and __nss_database_custom arrays. Declare
42969 __nss_database_custom.
42970 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
42971 to avoid using nscd when custom rules are installed.
42972 * nss/getXXbyYY_r.c: Likewise.
42973 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
42975 * nss/nss_files/files-parse.c: Whitespace fixes.
42977 2010-08-09 Ulrich Drepper <drepper@redhat.com>
42980 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
42981 * posix/fnmatch_loop.c: Likewise.
42983 2010-07-17 Andi Kleen <ak@linux.intel.com>
42985 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
42986 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
42987 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
42988 * Versions.def [GLIBC_2.13]: Add.
42990 2010-08-06 Ulrich Drepper <drepper@redhat.com>
42992 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
42993 Also fail if tpwd after pwuid call is NULL.
42995 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
42997 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
42998 when converting to ms.
43000 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
43002 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
43003 EOPNOTSUPP errors with ENOTTY.
43004 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
43005 EOPNOTSUPP errors with ENOTTY.
43007 2010-07-31 Ulrich Drepper <drepper@redhat.com>
43009 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
43010 Add strcasecmp_l-ssse3.
43011 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
43013 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
43014 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
43015 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
43017 2010-07-30 Ulrich Drepper <drepper@redhat.com>
43019 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
43021 * string/Makefile (strop-tests): Add strcasecmp.
43022 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
43023 strcasecmp_l-nonascii.
43024 (gen-as-const-headers): Add locale-defines.sym.
43025 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
43026 * sysdeps/x86_64/strcasecmp.S: New file.
43027 * sysdeps/x86_64/strcasecmp_l.S: New file.
43028 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
43029 * sysdeps/x86_64/locale-defines.sym: New file.
43030 * string/test-strcasecmp.c: New file.
43032 * string/test-strcasestr.c: Test both ends of the range of characters.
43033 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
43035 2010-07-29 Roland McGrath <roland@redhat.com>
43038 * manual/locale.texi (Yes-or-No Questions): Fix example code.
43040 2010-07-27 Ulrich Drepper <drepper@redhat.com>
43042 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
43045 2010-07-27 Andreas Schwab <schwab@redhat.com>
43047 * manual/memory.texi (Malloc Tunable Parameters): Document
43050 2010-07-26 Roland McGrath <roland@redhat.com>
43053 * configure.in (-fgnu89-inline check): Set and substitute
43054 gnu89_inline, not libc_cv_gnu89_inline.
43055 * configure: Regenerated.
43056 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
43058 2010-07-26 Ulrich Drepper <drepper@redhat.com>
43060 * string/test-strnlen.c: New file.
43061 * string/Makefile (strop-tests): Add strnlen.
43062 * string/tester.c (test_strnlen): Add a few more test cases.
43063 * string/tst-strlen.c: Better error reporting.
43065 * sysdeps/x86_64/strnlen.S: New file.
43067 2010-07-24 Ulrich Drepper <drepper@redhat.com>
43069 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
43070 lower-latency instructions.
43072 2010-07-23 Ulrich Drepper <drepper@redhat.com>
43074 * string/test-strcasestr.c: New file.
43075 * string/test-strstr.c: New file.
43076 * string/Makefile (strop-tests): Add strstr and strcasestr.
43077 * string/str-two-way.h: Don't undefine MAX.
43078 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
43080 2010-07-21 Andreas Schwab <schwab@redhat.com>
43082 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43083 strcasestr-nonascii.
43084 (CFLAGS-strcasestr-nonascii.c): Define.
43085 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
43086 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
43087 Remove unused attribute.
43089 2010-07-20 Roland McGrath <roland@redhat.com>
43091 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
43092 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
43093 ld.so.cache was broken. With it, there is no way to disable dsocaps
43094 like LD_HWCAP_MASK can disable hwcaps.
43096 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
43098 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
43100 2010-07-16 Ulrich Drepper <drepper@redhat.com>
43102 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
43103 call in strcasestr.
43104 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
43105 __strcasestr_sse42_nonascii.
43106 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
43107 strcasestr-nonascii.c.
43108 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
43110 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
43112 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
43113 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
43114 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
43115 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
43117 2010-07-09 Ulrich Drepper <drepper@redhat.com>
43119 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
43122 2010-07-06 Andreas Schwab <schwab@redhat.com>
43125 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
43128 2010-07-06 Ulrich Drepper <drepper@redhat.com>
43130 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
43131 _PC_PIPE_BUF using F_GETPIPE_SZ.
43133 2010-07-05 Roland McGrath <roland@redhat.com>
43135 * manual/arith.texi (Rounding Functions): Fix rint description
43136 implicit in round description.
43138 2010-07-02 Ulrich Drepper <drepper@redhat.com>
43140 * elf/Makefile: Fix linking for a few tests to make recent linker
43143 2010-06-30 Andreas Schwab <schwab@redhat.com>
43145 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
43146 $(common-objpfx)libc_nonshared.a.
43148 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
43150 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
43151 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
43152 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
43153 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
43154 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
43155 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
43156 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
43157 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
43158 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
43159 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
43160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
43161 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
43162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
43163 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
43164 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
43165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
43166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
43167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
43168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
43169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
43170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
43171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
43172 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
43173 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
43174 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
43175 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
43176 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
43177 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
43178 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
43179 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
43180 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
43181 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
43182 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
43183 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
43184 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
43185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
43186 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
43187 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
43188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
43189 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
43190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
43191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
43192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
43193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
43194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
43195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
43196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
43197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
43199 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
43201 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
43202 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
43203 * string/memmove.c (memmove): Renamed to ...
43204 (MEMMOVE): ...this. Default to memmove.
43205 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
43206 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
43208 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43209 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
43210 mempcpy-ssse3-back memmove-ssse3-back.
43211 * sysdeps/x86_64/multiarch/bcopy.S: New file .
43212 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
43213 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
43214 * sysdeps/x86_64/multiarch/memcpy.S: New file.
43215 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
43216 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
43217 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
43218 * sysdeps/x86_64/multiarch/memmove.c: New file.
43219 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
43220 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
43221 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
43222 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
43223 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
43224 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
43226 (index_Fast_Copy_Backward): Define.
43227 (HAS_ARCH_FEATURE): Define.
43228 (HAS_FAST_REP_STRING): Define.
43229 (HAS_FAST_COPY_BACKWARD): Define.
43231 2010-06-21 Andreas Schwab <schwab@redhat.com>
43233 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
43234 Restore proper fallback handling.
43236 2010-06-19 Ulrich Drepper <drepper@redhat.com>
43239 * posix/group_member.c (__group_member): Correct checking loop.
43241 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
43242 OOM in getpwuid_r correctly. Return error number when the caller
43243 should return, otherwise -1.
43244 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
43245 call returning > 0 value.
43246 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
43248 2010-06-07 Andreas Schwab <schwab@redhat.com>
43250 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
43251 libc_nonshared.a from targets in modules-names.
43253 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
43255 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
43258 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
43260 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
43261 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
43262 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
43263 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
43265 2010-06-02 Andreas Schwab <schwab@redhat.com>
43267 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
43269 2010-06-14 Ulrich Drepper <drepper@redhat.com>
43271 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
43273 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
43274 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43275 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43276 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43277 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43278 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
43280 2010-06-14 Roland McGrath <roland@redhat.com>
43282 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
43284 2010-06-07 Jakub Jelinek <jakub@redhat.com>
43286 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
43287 __REDIRECT followed by __THROW.
43288 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
43289 * posix/getopt.h (getopt): Likewise.
43291 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
43293 * hurd/lookup-at.c (__file_name_lookup_at): Accept
43294 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
43295 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
43297 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
43298 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
43300 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
43302 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
43304 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
43307 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43308 Properly check family and model.
43310 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
43312 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
43314 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
43316 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
43318 2010-05-21 Ulrich Drepper <drepper@redhat.com>
43320 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
43323 2010-05-19 Andreas Schwab <schwab@redhat.com>
43325 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
43328 2010-05-21 Andreas Schwab <schwab@redhat.com>
43330 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
43331 and internal_recvmmsg.
43332 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
43333 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
43334 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
43335 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
43337 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
43338 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
43339 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
43341 2010-05-20 Andreas Schwab <schwab@redhat.com>
43343 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
43345 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
43347 POWER7 optimizations.
43348 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
43349 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
43351 2010-05-19 Ulrich Drepper <drepper@redhat.com>
43353 * version.h: Update for 2.13 development version.
43355 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
43357 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
43358 exceptions. Return 0.
43360 2010-05-07 Roland McGrath <roland@redhat.com>
43362 * elf/ldconfig.c (main): Add a const.
43364 2010-05-06 Ulrich Drepper <drepper@redhat.com>
43366 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
43367 (args_options): Add no-idn option.
43368 (ahosts_keys_int): Add idn_flags to ai_flags.
43369 (parse_option): Handle 'i' option to clear idn_flags.
43371 * malloc/malloc.c (_int_free): Possible race in the most recently
43372 added check. Only act on the data if no current modification
43375 See ChangeLog.17 for earlier changes.